[OpenVPMS Developers] [JIRA] (OVPMS-1252) Add support for invoice level discounts on ESCI invoices

Message from Tim Anderson (Created) (JIRA) jira@openvpms.org

Add support for invoice level discounts on ESCI invoices --------------------------------------------------------

Key: OVPMS-1252 URL: https://openvpms.atlassian.net/browse/OVPMS-1252 Project: VPMS Web Application Issue Type: New Feature Components: Supplier Affects Versions: 1.5.1 Reporter: Tim Anderson Assignee: Tim Anderson

At present, OpenVPMS can't receive discounts from suppliers via ESCI as there is no support on act.supplierDelivery nor act.supplierDeliveryItem for discount information.

Discounts are represented in UBL via the AllowanceCharge element; for discounts its ChargeIndicator is set "false". AllowanceCharge elements may be present on both Invoice and InvoiceLine. For simplicity, we will only support AllowanceCharge elements on the Invoice.

When an Invoice is received from the supplier that has AllowanceCharge with "ChargeIndicator=false": # an "act.supplierAccountChargesCredit" will be created with IN_PROGRESS status; and # "act.supplierAccountCreditItem" acts created for each discount present; and # the "act.supplierAccountChargesCredit" linked to the "act.supplierDelivery" created for the invoice; and

The "act.supplierAccountCreditItem" won't have products assigned, as the discount is being represented as a virtual product; the user will be required to edit the Supplier Credit to assign a dummy product before finalising it.

-- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://openvpms.atlassian.net/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira

_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/developers Posts from this mailing list can be viewed online and replied to in the OpenVPMS Developer's forum- http://tinyurl.com/openvdf

Syndicate content