InventSite::changeDimension Method
If site link is enabled, replaces the site linked dimension to match the site.
Syntax
client server public static DimensionDefault changeDimension(DimensionDefault _dimension, InventSiteId _inventSiteId)
Run On
Called
Parameters
- _dimension
Type: DimensionDefault Extended Data Type
The dimension default value to change.
- _inventSiteId
Type: InventSiteId Extended Data Type
The site from which to default the dimension.
Return Value
Type: DimensionDefault Extended Data Type
The resulting dimension.
Remarks
If the site link is inactive, this method returns the dimension that was passed without any changes to it.