Describe the complete receipt process
The receipt process can be a part of backflush process.
Note: if you cancel the receipt process with userevent, the system can't make a rollback for complete backflush process
Sequence of the Events for Receipt
workordermanagement.receiptstart()
For every line, which sent to this process
workordermanagement.PostCalculation()
workordermanagement.GetPrice() / GetPrice_Negativeposition()
workordermanagement.ReceiptLine()
After all checks the system generate the document
Note: If the system must create for more then one work order position a receipt, the system check all work order positions before generating the document self
For every Document line, Batch/Serial Number and / or Bin Location
workordermanagement.getSerialNumber() / getBatchNumber() (only if not defined)
stockmanagement.ReceiptLine()
For every generated document
workordermanagement.receiptend()
stockmanagement.receiptend()
In Error case
stockmanagement.receiptrollback()
Note:
in receipt single process and time receipt - backflush process the order of events are different.