QCorder supoport GET and PUT command
QC order created per function Create QcOrder() or CreateQcOrderFromSAPDocument()
QC order changeable per PUT command or different functions
For transfer use the Transfer command
Relation DocumentBatchSerial
This allow 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 a SAP document.
Good alternative: Use get QCOrder/QCOrderBatches(DocEntry) This function return all Batches. Not compatible to SerialNumbers. |