Calculating Minimum Purchase Quantity(MPQ) For Single Item Receipt.

Let us assume we are creating IR from PO’s: So, PO Quantity=100 MPQ=13 so now, So PO (Quantity/MPQ) = Temporary Quantity Now we will use Math.ceil(Temporary Quantity)=> Some Multiple So MPQ x Some Multiple = Required quantity to be Received. For example:- Let PO Quantity = 100, MPQ = 13 Now, By our formula =>… Continue reading Calculating Minimum Purchase Quantity(MPQ) For Single Item Receipt.

Storing Item Receipt number in Bill and Bill number in Item Receipt

Requirement There is a bill button on the IR record and if the user clicks the bill button from the IR record, the IR number should populate to the custom field in the bill record. And once the user saves the bill, the corresponding bill number need to be stored in a custom field in… Continue reading Storing Item Receipt number in Bill and Bill number in Item Receipt