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.
Synchronizes inventory dimensions on transactions for a specified transaction originator with inventory dimensions from a specified invoice.
Syntax
server public static void updateDimensionsFromInvoice(
InventTransOriginId _transOriginIdFrom,
InvoiceId _invoiceNum,
TransDate _invoiceDate,
InventTransOriginId _transOriginIdTo)
Run On
Server
Parameters
- _transOriginIdFrom
Type: InventTransOriginId Extended Data Type
The transaction originator ID of the transactions to synchronize from.
- _invoiceNum
Type: InvoiceId Extended Data Type
The invoice ID to synchronize from.
- _invoiceDate
Type: TransDate Extended Data Type
The date of issue for the invoice to synchronize from.
- _transOriginIdTo
Type: InventTransOriginId Extended Data Type
The transaction originator ID of the transactions to synchronize.
Exceptions
Exception | Condition |
---|---|
Error | Illegal inventory transaction. No transactions exist for the _transOriginIdTo parameter. -or- The item has automatic serial number allocation. Only one inventory transaction record for the _transOriginIdTo parameter must exist. |