Choose Tax based on custom field

71 views
Skip to first unread message

david...@gmail.com

unread,
Oct 6, 2017, 5:06:49 AM10/6/17
to iDempiere
Hello everyone,

I need iDempiere to choose the tax on the invoice-, order-, etc. lines based on a custom field I have in the project window.
So e.g. if an invoice is referenced to project where the custom checkbox is checked, there should be exempt tax rate on all lines of the invoice.

I found this:

http://wiki.idempiere.org/en/Developing_Plug-Ins_-_ITaxProviderFactory

but I feel this is not really solving my problem as I think it doesn't define which tax is used but how it is calculated.
Also the Tax Provider is referenced from the Tax Rate Window, so I guess it is only called if the "referencing Tax Rate" is chosen?

Anyway, if somebody has an idea how to implement this in a more or less clean way, or if there is a feature in iDempiere that lets me configure this I would be thankful for any advice.

Regards,
David

Hiep Lq

unread,
Oct 6, 2017, 5:17:00 AM10/6/17
to Mohemmed Bilal Ilyas
your requirement can done by handle before save of invoice

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/0cc50787-8c94-4897-ada1-7ed4deb07e51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex

Company: Thanh Hoa Fishery Import - Export J.s.c  (HasuvimexDL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam
Reply all
Reply to author
Forward
0 new messages