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 if RetailKitComponent and RetailKitComponentSubstitute have valid unit of measure reference.
Syntax
private void validateUOMReferences()
Run On
Server
Exceptions
Exception | Condition |
---|---|
Error | Throws exception if references without valid uom are found. |
Remarks
When adding product to a component line using RetailAddItems picker form, if the default uom isn't set in inventory management parameters, then the form saves the unitofmeasure of the component line as 0, hence check has to be made if uom referenes in component and substitute tables are valid.
This check is done before approving the kit, as user can not edit such properties once kit is approved.