Backflush

Backflush is only available as POST command.

With this you can create the issue and receipt information for one work order in one time.

Related to Configuration wizard > Production > Work order Backlfushing Process > Enter time automatically the system will create the time receipt message for all routing positions automatically.

 

POST BackFlush
{
"DocEntry":6002133, // Work oder number
"LineNumber":10,  // Line Number 
"DocDate":"2020/10/10", // Optional Document date, if not today. 
"CloseEntry":true, // set to true, if you want to close the work order
"QuantityGood":1, // Good Quantity in Warehouse Unit
"IssueLines":[{"LineNumber2":10,"Quantity":1,"ItemCode":"RM","WhsCode":"01"}], // Issue information
"ReceiptLines": [ {"ItemCode": "FP", "Quantity":1.000000, "WhsCode": "01"}] // receipt information
}

 

This document creates

- Issue document

- Time Receipts entries (related to configuration wizard settings)

- Receipt document

Return created Receipt document

 

If the assembly is not stock-related, the system returns only OK without a created document.

You can read all needed Bill of Materials positions with the "PreAssign" function.

 

If you want to send more information for created receipt / issue documents, example remark or own udf, you can send the complete issue/receipt document incl. Header

 

{
"DocEntry":6002133, // Work oder number
"LineNumber":10,  // Line Number 
"DocDate":"2020/10/10", // Optional Document date, if not today. 
"CloseEntry":true, // set to true, if you want to close the work order
"QuantityGood":1, // Good Quantity in Warehouse Unit
"Issue": // All Issue information. See Issue document
   {"DocumentLines":[{"LineNumber2":10,"Quantity":1,"ItemCode":"RM","WhsCode":"01"}]},
"Receipt": // All receipt information. See Receipt document. Assembly self must be on last position.
   {"Remarks":"MyInfo","U_MyUDF":"abc", // use ths format to define additional properties on header level
    "DocumentLines": [  {"ItemCode": "FP", "Quantity":1.000000, "WhsCode": "01"}] }
}

 

 

 

Note:

You can always use this function. It does not check the parameter.