Executed for every line, which sent to this function
You can cancel the calculation for this work order position with return failure
Special case Receipt:
If this is a batch or serial managed item and DistNumber is not defined, this event is called BEFORE the System generate the DistNumber automatically
Special case Serial Numbers: If you define Quantity > 3, the system execute workordermanagement.receiptline only 1 time, but stockmanagement.receiptline 3 times - for every Serial number 1 time.
Costing Code
In this event you can change the CostingCode.
Note: If this is part of backflush process and you try to cancel the receipt process, the system can't rollback the issue process, which was part of the complete backflush process
Variable |
Read |
Write |
Description |
|
---|---|---|---|---|
e_WoDocEntry |
x |
Work order number |
||
e_WoLineNumber |
x |
Work order Position |
||
e_WoLineNumber2 |
x |
Bill of Material position |
||
e_ItemCode |
x |
ItemCode |
||
e_Version |
x |
Item Version |
||
e_Quantity |
x |
Quantity in Stock unit |
||
e_ProjectCode |
x |
Project Code |
||
e_WhsCode |
x |
|
||
e_BinCode |
x |
x |
|
|
e_RFID |
x |
x |
|
|
e_CostingCode e_CostingCode5 |
|
x |
Define costing code 1 - 5 (only available in first entry) |
|
e_CloseId |
x |
1= Close position after receipt process |
||
e_AccountId |
x |
x |
|