InventTransOrigin::create Method
Creates a new record in the InventTransOrigin table.
Syntax
client server public static InventTransOrigin create(
InventTransId _inventTransId,
ItemId _itemId,
InventTransType _referenceCategory,
InventTransRefId _referenceId,
[DirPartyRecId _party,
InventDimId _itemInventDimId])
Run On
Called
Parameters
- _inventTransId
Type: InventTransId Extended Data Type
The InventTransId value of the record to be created.
- _itemId
Type: ItemId Extended Data Type
The ItemId value of the record to be created.
- _referenceCategory
Type: InventTransType Enumeration
The ReferenceCategory value of the record to be created.
- _referenceId
Type: InventTransRefId Extended Data Type
The ReferenceId value of the record to be created.
- _party
Type: DirPartyRecId Extended Data Type
The Party value of record to be created; optional.
- _itemInventDimId
Type: InventDimId Extended Data Type
The ItemInventDimId value of the record to be created; optional.
Return Value
Type: InventTransOrigin Table
The inventory originator that has been created.