EPPurchCOR::corReject Method [AX 2012]
Rejects ordered items.
Syntax
server public static boolean corReject(
TradeInventTransId _inventTransId,
PurchQty _reject,
str _comment)
Run On
Server
Parameters
- _inventTransId
Type: TradeInventTransId Extended Data Type
A unique identifier of the purchase line for which the reject will be created.
- _reject
Type: PurchQty Extended Data Type
The quantity to reject.
- _comment
Type: str
A comment to the rejected items.
Return Value
Type: boolean
true if ok; otherwise, false.
Remarks
Ordered items can be partially or fully rejected.