PO Receipt total cost validation against PO Order

Purchase Order

Validate the PO Receipt total cost vs total cost of the associated PO does not exceed a predefined margin. 

Purchase Order Sample script