Use a separate AgreementTerm for commission invoices dueDate
------------------------------------------------------------
Key: OFBIZ-363
URL:
http://issues.apache.org/jira/browse/OFBIZ-363 Project: OFBiz (The Open for Business Project)
Issue Type: Improvement
Components: accounting
Reporter: Si Chen
Priority: Minor
Currently the commission invoice code is going through each comission agreement term's termDays and then using the minimum of all termDays to set the dueDate of the entire invoice.
This seems rather counterintuitive. For example, why is it minimum rather than maximum of all termDays?
It seems a simpler and more intuitive approach would be to add an additional AgreementTerm of type "FIN_PAYMENT_TERM" with a termDays which would be the days due of the commission invoice. This would also bring commissions in line with other purchasing agreements and accounts payable invoices.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira