QCOrder/CreateQcOrder(Type/c,DocEntry/i,BaseDocEntry/i,BaseLineNumber/i,BaseLineNumber2/i)
Create a QC order related to a document
Type:
F = Workorder routing position (Docentry=0, BaseX=Reference to the the Routing Position)
E = Work order BoM - PostIn Document (Docentry = PostIn Document, Base = Reference to the BoM Position)
For all other types, use CreateQcORderFromSAPDocument
Example: Create QC Order for a Routing Position
The DocEntry is always 0
get QCOrder/CreateQcOrder("F",0,1000,10,10 )
Note:
If you need QC order related to Issue/Receipt document, please use
get QCOrder/CreateQcOrderFromSAPDocument