Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Validates that the policy on the InventModelGroup object is compatible with the product and whether the policy can be changed.
Syntax
public boolean checkPolicyForProduct(RefRecId _productRecId, InventModelGroupId _origModelGroupId)
Run On
Called
Parameters
- _productRecId
Type: RefRecId Extended Data Type
The product to validate the selected policy against.
- _origModelGroupId
Type: InventModelGroupId Extended Data Type
The currently selected item model group.
Return Value
Type: boolean
true if the policy can be changed and is valid for the product; otherwise, false.