ERPNext Production plan - script for removing available stock from Assembly items

In the ERPNext Production plan, companies often need to produce only items which is not in the stock already.

Example 1 - You have a sales order for 10 QTY of X, but 3 QTY already available in the stock. So you need to produce only 7.

Example 2 - You have a sales order for 10 QTY of Y, but all 10 QTY already available in the stock. So you need not produce anything.

Use these client and server script to do these calculations.

1 Like