Create QC order from SAP Document
QCOrder/CreateQcOrderFromSAPDocument(DocEntry/i,TableName/c)
Create a QC Order based on a SAP Document for all lines, if a QC Inspection plan is defined for this items and related rules defined in configuration wizzard
Define the SAP Document by Table Name, example
from manual post in document
QCOrder/CreateQcOrderFromSAPDocment(100,"OIGE")
declare bsl b
b.GET QCOrder/CreateQcOrderFromSAPDocment(100,"OIGE")
let docentry=100;
let result=b.get ("QCOrder/CreateQcOrderFromSAPDocument(:docentry,'OIGE'") ;
Note: The system can generate more then one QC Document.
The System don't return the created Document number
Note: if QC Document created by transaction notification, the system send the command to the common service
If you want to create the QC order directly, you must use the function
CreateQcOrderFromSAPDocumentDirect(DocEntry,Table )