Share via


SalesLineType_ReturnItem.allowPosQty Method [AX 2012]

Determines whether a positive quantity is enabled for the given return order line.

Syntax

public boolean allowPosQty()

Run On

Called

Return Value

Type: boolean
true if positive quantity is enabled; otherwise, false.

Remarks

A positive quantity is enabled for return order lines in two scenarios:

  1. If the return is rejected and the item(s) in question should be returned to the customer a line with positive quantity is created on the return order. The purpose of this line is to mark/reserve and reissue the item(s) from the inventory.

  2. If the applied disposition code implies scrapping, a new line with positive quantity is created and marked/reserved against the return order line. The line is hidden for the user and the purpose of the line is to prevent the returned item is issued from the inventory instead of being scrapped.

See Also

Reference

SalesLineType_ReturnItem Class