SalesFormletterParmDataPickingList.mcrAllowCreateParmLine Method [AX 2012]
Determines whether the specified sales line should be allowed to be included on picking lists.
Syntax
protected boolean mcrAllowCreateParmLine(SalesLine _salesLine, SalesTable _salesTable)
Run On
Server
Parameters
- _salesLine
Type: SalesLine Table
The SalesLine record for which this method includes on picking lists or not.
- _salesTable
Type: SalesTable Table
The sales order header record associated with the SalesLine.
Return Value
Type: boolean
true if the sales order line should be included on the picking lists; otherwise, false.
Remarks
Check for inventory availability. If there is enough quanitity on hand to fulfill the pick list, then check if the authorization on the payment record( in case of a credit card payment) is stale. If auth is stale do not allow.
Do not process continuity item lines.
Do not process continuity child orders with payment issues.