Custom program for average cost update in Cost Management
Hello
We are on Oracle R12 (12.0.6). We have a custom program for average cost update in Cost Management for adding freight charges to Inventory items.
After populating mtl_transactions_interface table, Process transaction interface runs and Actual Cost Worker program Completes in Warning status with a message in the Log file:
CSTPACIN.COST_INV_TXN:CSTPAVCP.average_cost_update (40): ORA-01400: cannot insert NULL into ("BOM"."CST_LAYER_COST_DETAILS"."ITEM_COST")
This happens for a situation where item in Purchase Order (Oracle Purchasing) is a promotional item and has quantity but no cost. the normal scenario of items having cost has no issues at all.Custom progra