Goods Receipt of Finished Goods against PO not posting to FG Inventory Account

In GST Regime, we had mapped Procurement Process for Sales Returns where Customer is giving Tax Invoice. This is applicable in scenario where goods were sold in Pre GST era and customer is doing Sales Return during GST era.

New PR and PO Types are created and mapping is done. It is working properly in case of standard finished goods.

But in case of Finished Goods (Configurable Material) Goods receipt against PO does not post to Finished Goods Inventory. Valuation is not happening because material with price indicator ‘S’ does not have a Standard Material Cost Estimatece. Hence Total amount goes to FG Price Difference account.

For these configurable materials (make to order scenario) we do have Sales Order BOM Cost Estimate.

We need to fetch Sales Order Cost Estimate while doing GR (101 mvmt) against the Purchase order based on which Finished goods inventory valuation can be done properly for the configurable material.