Validate Primary Invoice entered through PO Receipt

Purchase Order

Validate the Primary Invoice number entered through the PO Receipt, ensuring the Invoice Number has not already been entered before against the same vendor.

Purchase Order Sample script