Accoutning_line_type is 37 and not 35 when performing RMA Receipt.
I'm trying to customize the Costing process for RMA Receipt using CSTSCHKB.pls file CSTPSCHK package. We've requirement of changing the account segment where Accounting Line Type = Cost of Goods Sold.
For this, I'm checking for accounting_line_type = 35 (Cost of Goods Sold) for making the change the COGS account. However, the value for accounting_line_type which is passed to this file is 37 (Cost Update Adjustment).
But, when the distributions are generated the Accounting Type is Cost of Goods Sold.
I would like to know why the value 37 is passed for accounting_line_type instead of 35. Also, the cost_element_id passed to this package is 0 instead of 1,3 and 5.