Share via


SalesLine.returnLineResetToExpected Method

Updates the return related fields in the product cancel registration scenario.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          public void returnLineResetToExpected(InventQtyRegistered _qtyRegistered, PdsCWQtyRegistered _cwQtyRegistered)

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void returnLineResetToExpected(InventQtyRegistered _qtyRegistered, PdsCWQtyRegistered _cwQtyRegistered)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void returnLineResetToExpected(InventQtyRegistered _qtyRegistered, PdsCWQtyRegistered _cwQtyRegistered)

  Microsoft Dynamics AX 2012 (FPK)
          public void returnLineResetToExpected(InventQtyRegistered _qtyRegistered)

  Microsoft Dynamics AX 2012 (SYS)
          public void returnLineResetToExpected(InventQtyRegistered _qtyRegistered)

Run On

Called

Parameters

Exceptions

Exception Condition
Error

Only lines that have return status registered can be reset to status open.

-or-

Only negative quantities can be register canceled.

See Also

Reference

SalesLine Table