InventQuarantineOrder_Split.splitReturnOrderQuarantine Method [AX 2012]
Controls the splitting of a quarantine order that is related to ReturnOrder lines.
Syntax
private void splitReturnOrderQuarantine(InventQuarantineOrder _quarantineOrder)
Run On
Called
Parameters
- _quarantineOrder
Type: InventQuarantineOrder Table
An InventQuarantineOrder table buffer.
Exceptions
Exception | Condition |
---|---|
Error | There are not enough items with the status of ordered or registered to perform the split. |
Remarks
The strategy to split ReturnOrder lines that are related to quarantine orders is to end the order in question, split the ReturnOrder line it points to, and then create two new quarantine orders pointing to the two ReturnOrder lines.