validate_supplement_qty - Intergraph Smart Materials - 10.1 - Administration & Configuration - Hexagon

HxGN SMAT Connector for Jovix

Language
English
Product
Intergraph Smart Materials
Subproduct
Jovix
Search by Category
Administration & Configuration
Smart Materials/Smart Reference Data Version
10.1

This function is called when you try to reverse approve a PO with PO revision greater than zero and checks whether the PO can be reverse approved. If the function returns FALSE then the PO can be reverse approved and if the function returns TRUE then the PO cannot be reverse approved.

Default logic

This function checks the received quantity of a PO line item against the PO line item quantity of the previous supplement.

If the received quantity of a line item is less than the PO line item quantity of the previous supplement, then the function returns a value FALSE and the PO can be reverse approved. In Jovix, the corresponding PO is updated with the previous supplement values.

Parameter name

Parameter type

Description

p_base_poh_id

Input

Smart Materials base purchase order ID.

p_revision

Input

Purchase Order revision number.

CIP - Validate Supplement Quantity