RejectProd Method
- Last UpdatedNov 06, 2025
- 1 minute read
The RejectProd() method marks previously reported production as rejected.
public void RejectProd(
string rowID,
double rejectQty,
long newReasCd,
string newItemID,
string newLotNo,
string newUserID,
object newEntID
)
Parameters
- rowID
- Required. Holds the ID of the row being marked as rejected.
- rejectQty
- Required. Holds the amount of rejected material in the row.
- newReasCd
- Required. Holds the reason code for the rejected material.
- newItemID
- Optional. Holds a new item ID for the rejected material. Set to null if not used.
- newLotNo
- Optional. Holds a new lot number for the rejected material. Set to null if not used.
- newUserID
- Optional. Holds a new user ID for the rejected material. Set to null if not used.
- newEntID
- Optional. Holds a new storage location for the rejected material. Set to null if not used.