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.
Returns a dimension set that can be applied to the InventJournalTrans.dimension field.
Syntax
server private static DimensionDefault copyDimensionOnServer(
    InventJournalTrans _inventJournalTrans, 
    DimensionDefault _dimension, 
   [DimensionCopy _dimensionCopy])
Run On
Server
Parameters
- _inventJournalTrans
 Type: InventJournalTrans Table
 A InventJournalTrans table buffer.
- _dimension
 Type: DimensionDefault Extended Data Type
 A dimension set that should be applied to the InventJournalTrans.dimension field.
- _dimensionCopy
 Type: DimensionCopy Class
 A dimensionCopy object previously instantiated using the current InventJournalTrans buffer; optional.
Return Value
Type: DimensionDefault Extended Data Type
A dimension set that can be applied to the InventJournalTrans.dimension field.
Remarks
This method makes sure that potential linked dimensions are not overwritten.
The method is executed on the server.