/[Apache-SVN]
ViewVC logotype

Revision 1719096


Jump to revision: Previous Next
Author: jleroux
Date: Thu Dec 10 15:20:02 2015 UTC (8 years, 5 months ago)
Changed paths: 3
Log Message:
"Applied fix from trunk for revision: 1719094  " 
------------------------------------------------------------------------
r1719094 | jleroux | 2015-12-10 16:17:02 +0100 (jeu. 10 déc. 2015) | 17 lignes

A patch from Pierre Smits for "Wrong purchase invoice item type for product type IDs RAW_MATERIAL, GOOD" https://issues.apache.org/jira/browse/OFBIZ-6763

Reported by Michael Powacht
System incorrectly derives invoice item type INV_FPROD_ITEM (instead of  PINV_FPROD_ITEM, for example) in purchase invoices for purchase orders with products of type RAW_MATERIAL and GOOD. As a result, the GL account derivation is incorrect as well where a revenue GL account gets debited instead of GL "Uninvoiced Shipment Receipts". 
The incorrect accounting entry posted is:
DR Revenue (as a result of invoice item type INV_FPROD_ITEM)
CR A/P
The correct entry should be:
DR Uninvoiced Shipment Receipts (derived from PINV_FPROD_ITEM)
 CR A/P
It seems the above is caused by missing entries in table invoice_item_type_map where 
INVOICE_ITEM_MAP_KEY should contain RAW_MATERIAL and GOOD and/or PRODUCT_ORDER_ITEM.
The above symptom does not affect the Goods Receipt Transactions, which gets correctly posted as:
DR Inventory
CR Uninvoiced Shipment Receipts

jleroux: Rupert Howell gave the missing data in a comment, Pierre the patch
------------------------------------------------------------------------


Changed paths

Path Details
Directoryofbiz/branches/release13.07/ modified , props changed
Directoryofbiz/branches/release13.07/applications/accounting/data/AccountingTypeData.xml modified , text changed
Directoryofbiz/branches/release13.07/applications/accounting/data/DemoGlSetupData.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26