VendPaymModeTable::setDefaultDimension Method
Creates a default dimension based on the specified values and the values from the specified payment mode.
Syntax
client server public static DimensionDefault setDefaultDimension(
PaymMode _paymMode,
DimensionDefault _defaultDimension,
DimensionDefault _curDefaultDimension)
Run On
Called
Parameters
- _paymMode
Type: PaymMode Extended Data Type
A record in the PaymMode table from which to get the default settings.
- _defaultDimension
Type: DimensionDefault Extended Data Type
The record ID of a record in the DimensionAttributeValueSetItem table that represents the vendor transaction default dimension.
- _curDefaultDimension
Type: DimensionDefault Extended Data Type
The record ID of a record in the DimensionAttributeValueSetItem table that represents the current default dimension.
Return Value
Type: DimensionDefault Extended Data Type
The record ID of a record in the DimensionAttributeValueSetItem table that represents the calculated default dimension.