InventSum.pdsCWAvailAttribReservation Method
Retrieves the available inventory for reservation based on batch attributes.
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
display PdsCWAvailReservation pdsCWAvailAttribReservation(Common _buffer, [NoYes _reserveOnOrdered])
Microsoft Dynamics AX 2012 R2 (SYS)
display PdsCWAvailReservation pdsCWAvailAttribReservation(Common _buffer, [NoYes _reserveOnOrdered])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
display PdsCWAvailReservation pdsCWAvailAttribReservation(Common _buffer)
Microsoft Dynamics AX 2012 (FPK)
display PdsCWAvailReservation pdsCWAvailAttribReservation(Common _buffer)
Run On
Called
Parameters
- _buffer
Type: Common Table
The current record for which to retrieve availability information.
- _reserveOnOrdered
Type: NoYes Enumeration
A NoYes parameter that specifies if reservation against ordered items should be allowed.
Return Value
Type: PdsCWAvailReservation Extended Data Type
Available for reservation minus the batch attribute limitation.
Remarks
Check the available inventory to determine is any of all is available based on the batch attributes. The return value cannot be less than 0.