Type_Inner_String
Type_Inner_String = 'Inner'
Example
procedure ScriptEvent(var Value: variant);
begin
Value := GetUomTypeNum(Type_Inner_String); // 2
end;
Usage
Type_Inner_String provides the exact Inner UOM-type text paired with Type_Inner for Velox unit-of-measure classification.
Value
| Property | Value |
|---|---|
| Script type | String |
| Text value | Inner |
| Paired number | Type_Inner = 2 |
| Database domain | Uom_Type.Num / Uom_Type.Description |
| Referencing fields | Uom.TypeNum, Product_Uom.UomTypeNum, Product_Price.UomTypeNum |
Additional Technical Info
Type_Inner_String is the script-visible String partner for Type_Inner. Its exact value is Inner.
It classifies a unit-of-measure record; it does not define an actual UOM code, pack size, price, quantity, conversion factor or inventory amount.
Implementation
Velox declares and registers exact text Inner. GetUomTypeNum maps it to 2; GetUomTypeCode performs the reverse mapping. String names are not tag entries.
Fresh-build VxData seeds Uom_Type row 2 with Description Inner. The database describes the domain as controlling whether UOMs can be used in quantity, tie and pallet contexts; a null Uom.TypeNum means the UOM is global.
The converter pair contains a distinct branch for this value and canonical text.
Behaviour
Text-to-number conversion is case-insensitive but non-trimming. Unsupported or padded text returns Null; number-to-text conversion returns Null for Null or an unsupported number.
Use this family only for UOM classification. It does not validate Uom.Code, UomCode, product pack data or price applicability.
Edge cases and quirks
Type_QuantityandType_Unitboth equal1;Type_Quantity_StringandType_Unit_Stringboth equalUnit. After evaluation they are indistinguishable.- The duplicate value/text is intentional in native source, not a separate database row named Quantity.
- The String identifier is not a tag-map entry.
- Text conversion accepts case differences but not leading/trailing whitespace.
- A null
Uom.TypeNumhas database meaning (global UOM); none of these constants represents null/global. - PascalScript retains no UOM-domain type after evaluation, so same-valued constants from other families are not interchangeable.
Side effects
Reading Type_Inner_String, comparing it or using the fixed converters has no I/O or state-changing effect.
Errors
Reading the constant does not raise an error. Converter misses return Null. Persisting a number outside the seeded/configured UOM type table can fail a foreign key.
Performance and concurrency
This is immutable compiled metadata. Access and the short fixed converter cases are constant-time for practical purposes and carry no shared mutable UOM state.
Remarks
The example is source-reviewed and non-destructive. It does not load a UOM record or calculate quantities.
Related entries
Type_Inneris the paired numeric identifier.GetUomTypeCodeconverts a supported type number to text.GetUomTypeNumconverts recognised text to a type number.