QCorder supoports GET and PUT commands.
QC order is created per function Create QcOrder() or CreateQcOrderFromSAPDocument().
QC order is 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 is not working, 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. |