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.
Create a new dimension in the appropriate table, if it doesn't exist yet.
Syntax
client server public static void checkAndCreateDimension(
TableId _dimensionTableId,
FieldId _dimensionNameFieldId,
Name _dimensionValue)
Run On
Called
Parameters
- _dimensionTableId
Type: TableId Extended Data Type
Id of the dimension table to search and create new values in.
- _dimensionNameFieldId
Type: FieldId Extended Data Type
Id of the unique field.
- _dimensionValue
Type: Name Extended Data Type
Dimension value that is checked for existance.
Remarks
The method tries to find records with _dimensionValue in the appropriate field. If no records found, creates a new one.