Hi everyone,
I am currently working with ERPNext and I have a scenario regarding Landed Cost Voucher (LCV) that I would like some guidance on.
In the current ERPNext flow:
-
The LCV must be submitted before the Purchase Receipt (PR) in order for the LCV entries to be reflected in the Purchase Receipt.
-
The system automatically distributes landed costs across items in the purchase receipt, updating the stock ledger accordingly.
My scenario:
-
I want to submit the Purchase Receipt first, and then create a separate LCV.
-
The LCV is for a different supplier or service, separate from the supplier of the purchased items.
-
The process is as follows:
-
Submit the Material Receipt / Purchase Receipt (MRR/PR).
-
Create a Landed Cost Voucher for a specific Purchase Receipt.
-
The LCV should get the items from the Purchase Receipt and distribute costs proportionately (based on item quantity or amount) without needing to resubmit the PR.
-
-
Essentially, I want to separate the LCV entries from the Purchase Receipt entries, but still update the stock ledger correctly.
My question:
Is there a built-in function in ERPNext that allows creating and submitting a Landed Cost Voucher after the Purchase Receipt has been submitted, while still distributing costs to the existing stock ledger entries proportionately? If not, what would be the recommended approach to achieve this?
Any guidance, code snippet, or suggestion would be greatly appreciated.
Thank you!