Hi Anand, Robert & Slava,
I think a expense account for Discounts in Item Table would be a good way.
The big step to openerps-like tax in item is making the modelling worse if you have different taxes (like in germany)
depending on the POS. In Addition i descibe the scenarion with Default Discounts for Customer Groups, Customers or simply a Document totally discounted with a certain rate for its LifeCycle.
So i have a custom field for Default Discount in custom group that gets copied to its members
Default Discount (custom script) and may be overwritten there. In every DocType i have custom field Default discount Field that gets filled
with customers Default discount or may be manually filled or overwritten for this doc and populates over erpnext's mechanics from Quotation to Sales Order, Sales Invoice...
This Default Discount in the doc gets written to evey row in the items table if its unwritten.
So i have a customer with 10Percent Default Discount and every item gets 10% Discount untill i see an item thas i want to be only 5% and than i overwrite it and custom script
will never fill in Default Discount for this item again. At this opoint i use the max-discount field in items also to checked whether the automatically inserted Discount is to high an throw an alert.
Now all my Items have Default Tax - some 7% some with 19% and Documents Default tax master respects this. Now when i make an Invoice for a POS thats Needs to be totally 19% i get a different Sales Tax master to the Document, items Default tax isn't respected anylonger and erverything gets calculated fine with the discounts and 19% taxes.
I hope the descriptiopn of my scenario helps for your design discussion.
The hint in the Manual that says Sales Taxes .. could be used for Discounts ist missleading i think.
You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.