Opinions needed....

Problem:
------------
At an purchase order or invoice, when the item product Id is blank, tax is not calculated and/or often give a screen error.

The reason:
----------------
Currently the CalcTax service has the productid as mandatory field in the input and uses this as a key in the Item sequence.

However:
1. on the purchase order it is possible to enter order items without a productId (Bulk) 2. when creating an invoice, it is possible to leave the productId blank on the invoiceItem.

And an invoice or order can have a mixed list of items with and without a productId.

Proposed solution:
-------------------------
1. add an optional Item sequence number list to the CalcTax service and make the productItem list also optional. 2. check in the CalcTax service that least one on the two lists (sequence or product) is provided for compatibility. 3. change the service that it works with a missing productId selecting the tax percentage from the entity TaxAuthorityRateProduct where the productId is null.

When no major objections i will create a Jira for this.

Regards,
Hans

AntWebsystems.com quality services for competitive rates.

Reply via email to