I have created two customized fields “PremiumPrice” and “AveragePrice” fields in the “PurchParamLine”. These two customized fields i also added in the “PurchLine” table.
The values of the fields “PurchLine.PremiumPrice” and “PurchLine.AveragePrice” should update in the fields “PurchParamLine.PremiumPrice” and “PurchParamLine.AveragePrice” when we create a “Posting Product Receipt”.
It runs on IL. Either debug the code in visual studio or remove the “Execute business operations in CIL” which make the life easy for debugging the code running on IL