Create QC order from SAP Document
QCOrder/CreateQcOrderFromSAPDocument(DocEntry/i,TableName/c)
Create a QC Order based on an SAP Document for all lines if a QC Inspection plan is defined for these items and the related rules are defined in the Configuration wizard.
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")