Globals.Bommask
Globals.Bommask returns the mask applied to BOM line quantities. The Inventory > Options > BOM Decimals affects this mask. The only change you will see in the Bommask is the number of decimal places based on the value in the BOM Decimals field.
Note: Globals are not available to Grid and External scripts until 17.02. Please check the scripting tree in the script window in Deacom to make sure Globals are available.
Applies To
Description
Properties and Methods
None
Available
The .Bommask property is available in:
- 15.03.016
- All newer builds
Note: The .Bommask property and all sub-classes, properties, and methods are only available in Form Layout scripts.
Type
String
Syntax
Globals.Bommask;
Parameters
None
Example
//--Assumes the Inventory > Options > BOM Decimals is set to 4
Event.Form.YesNo(`Globals.Bommask: ${Globals.Bommask}`);
/*
Expected Prompt Result:
999,999,999.9999
*/