Defining Object MasksMask Codes You can define mask codes for every object defined in ODM. One or more mask codes can be defined for every object. The mask code is system data that identifies the mask configuration to be used for the object attribute. If more than one mask code is defined for an object, LN determines which mask configuration of the active mask code will be used in each situation. One exception applies to the doc_rev and fldr objects that will have two mask codes. These two mask codes are required to generate the temporary revision and permanent revision in case of document revision and folder ID and folder revision in case of folders. The ERP administrator can modify the default mask supplied by the system, or specify a mask if none was supplied. If having a separate mask configuration is unnecessary, you can specify a default value and the mask is generated according to the specified value. Mask Configurations For each object attribute that supports masks, to specify the format to be used to generate values, you can define a mask configuration for the mask code. The mask configuration includes a mask that is composed of one or more mask template segments. Four types of mask template segments can be used to generate the mask configutaions:
You must use at least one generated segment template while you create a mask configuration for a object mask. Use a pound sign (#) in the generated segment to generate numbers and use an asterisk in the generated segment to generate characters. If a mask contains more than one generated segment, the user must specify the incremented segment. For example, if the mask code for folder versions contains two generated segments, then when a user creates a new folder revision, the user can increment the relevant segment of the mask configuration to indicate whether the revision is a major revision or a minor revision.
| |||