Share via


InventBatchMergeJournalPostService.createOrUpdateResultBatch Method [AX 2012]

Creates or updates the result batch with the defined batch characteristics in the batch journal result record.

Syntax

private InventDim createOrUpdateResultBatch(InventMovement _movement)

Run On

Server

Parameters

  • _movement
    Type: InventMovement Class
    The inventory movement for the first transaction in which the result batch is established.

Return Value

Type: InventDim Table
The record for the InventDim table for the batch journal result line that may have been updated.

Exceptions

Exception Condition
Error

Thrown if the inventory batch was manually specified but does not exist.

-or-

Thrown if the generated record for the InventBatch table is not valid.

See Also

Reference

InventBatchMergeJournalPostService Class