How is the accounting effects on Purchase Receipt confirmation generated?

Suggestion:
On confirmation the accounting effect is generated if the ‘INV_ACCT_PORCP’ flag in the Finance
parameters is set to ‘Y’.
On confirmation a Purchase payable voucher gets generated with the same Purchase amount.
The rate for issue of the material is determined on confirmation of the receipt.
Care should be taken to update all the receipt information before confirmation, record once confirmed cannot be edited.