Beas QC orders support GET and PUT commands.
QC orders are created per function Create QcOrder() or CreateQcOrderFromSAPDocument().
QC orders are changeable per PUT command or different functions.
For transfer, you can use the Transfer command.
Relation DocumentBatchSerial
This allows to link to BatchNumber/SerialNumbers related to SAP Document. Only working if QC order is linked to SAP Document get all related BatchNumbers for QC Order 1392
For this we use the middle Object "DocumentBatchSerial", which return all linked Batch and Serial SystemNumbers.
get QCOrder?$select=DocumentBatchSerial/ItemCode,DocumentBatchSerial/SystemNumber,
Note: This does not work if the QC order was created manually without reference to an SAP document.
Good alternative: Use get QCOrder/QCOrderBatches(DocEntry) This function returns all Batches. Not compatible to SerialNumbers. |