Share via


InventTransInvoice::updateDimensionsFromInvoice Method [AX 2012]

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

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.

See Also

Reference

InventTransInvoice Class