CoreBOSBB
Some questions about the new financial fields - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18)
+--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4)
+--- Thread: Some questions about the new financial fields (/showthread.php?tid=1229)



Some questions about the new financial fields - Guido1982 - 08-24-2018

I just found out that my tax hooks are being used to create fields in the financial block in inventory modules that display the sum of all those taxes from the lines on that record. That is very cool and usefull! I do have some issues with it:
  • Setting a tax to inactive does not set the field to inactive. Maybe there are reasons behind this, but right now I can't think of them
  • Updating the tax name does not update the field labels. I could write a commit for that.



RE: Some questions about the new financiel fields - joebordes - 08-24-2018

  • The first one is on purpose so that you can see the total tax on records that have applied the tax while it was active. Sadly we don't have a way of showing fields on a per record basis.
  • I'd say that this second issues is simply an oversights. We missed it.  https://github.com/tsolucio/corebos/issues/346



RE: Some questions about the new financiel fields - Guido1982 - 08-24-2018

  • But would we have problems if we disabled the field for ALL records when we disable the tax?
  • No problem, I'll try to pick that up if I have some time.



RE: Some questions about the new financiel fields - joebordes - 08-24-2018

It would be a problem for the users. Imagine an Invoice where you use taxY, you get the breakdown in the financial fields block and see the exact amount of taxY applied on that invoice. Sometime later, you make taxY inactive, if we now hide the taxY field in the financial field block and you go to see the previous invoice where it was used you would get the wrong amounts. It is a historical issue.


RE: Some questions about the new financial fields - Guido1982 - 08-28-2018

Didn't think about that, but that makes sense.

In the meantime I assigned myself to the github issue.


RE: Some questions about the new financial fields - joebordes - 08-28-2018

ok