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.
Creates the map used by the PdsCWValidation class from a container type.
Syntax
client server public static Map fieldMapFromContainers(container _fieldIds)
Run On
Called
Parameters
- _fieldIds
Type: container
A container with the field pairs to put in the map.
Return Value
Type: Map Class
A map usable by the PdsCWValidation class.
Remarks
This method is for the convenience of the developers as it is frequently easier to specify a container structure than it is to create and fill a Map. The passed container must contain a container for each field pair to be handled by a catch weight validation class. Each of these field pair containers must have the field IDs of the following fields in exactly that sequence:
Catch Weight Quantity |
A catch weight quantity field |
Inventory Quantity |
An inventory quantity field |
Allow Edit |
A Boolean value indicating whether the edit of the inventory quantity should be allowed; optional. |
Unit Id |
The unit in which the regular quantity field should be maintained; optional. |