Nilesh N Sonawane wrote:
We are not able to understand what is the trigger point of converting to Valuated sales stock and non-valuated sales stock (as there is same material and same item category in Sales Return doc.)
Just make sure that the Requirement Types of the sales order item are same or not. If they are same, then check the value of VBAP-KZBWS for both order items. If they are different any of the cases, then check the below.
1. Get the Requirement Type in sales order procurement tab
2. Get the corresponding Requirement Class in OVZH
3. Check the value of "Valuation" in Account assignment block of the Requirement Class in OVZG
4. If Valuation is 'M' then it is posted to BSX, if Valuation is Blank then it is posted to consumption GBB-VKA
Please note that it will not work for the existing sales orders even if you change the Requirement Class. So please run a new cycle.
Regards,
Asik.