Issue with mtl_intercompany_invoices pkg.
We are in process of implementing intercompany transactions and have customized mtl_intercompany_invoices.get_transfer_price to return cost + markup price.
The issue is, when we ship the order, layer cost manager runs and makes a call to this pkg. When it makes a call to this pkg, it is supposed to pass txn id, order line id also.
I have a logic in this pkg to derive item id and ship org to get the tranasfer price.
The issue is, i am not getting txn id or order_line_id being passed to this pkg. log shows, txn_id an zero and order_line_id as -9999.