Present all objects for external Production
ExternalPurchaseOrder List of all Purchase order related to external production Only with ExtenralDocEntry > 0 and Status = O
GET ExternalPurchaseOrder?$select=[fieldnames],&$filter=ExternalDocEntry bg 0 and ExternalStatus eq 'O'
Read related BoM Position
Get with WorkOrderProvisionBom (ExternalDocEntry): List of all BoM with Quantity information or PreAssign Function.
Post PreAssign (see PreAssign) {"BaseDocEntry":6002008,"BaseLineNumber":10,"RoutingPosition":40,"External":"Y","PDocType":"externalsend","ExternalDocEntry":240,"Format":"JSON"}
Create Transfer to the Supplier warehouse with: Post Transfer {"ExternalDocEntry":240, // ExternalPurchaseOrder.ExternalDocEntry Note: Item Version is part of Batch/Serial number. You don't need to define this in a transfer document.
|
ExternalPurchaseOrder List of all Purchase order related to external production, but
ExternalDocEntry can be 0 ( we don't check this) ExternalStatus must be closed ('C') But Purchase order line must be opened PurchaseOrderLines/LineStatus eq 'O'
GET ExternalPurchaseOrder?$select=[fieldnames],&$filter=ExternalStatus eq 'C' and PurchaseOrderLines eq 'O'
Create Goods Receipt from external production
POST ExternalPurchaseDelivery
Note: The system closes the Purchase automatically if total quantity is delivered (Scrap quantity ignored) or "CloseId" is true) The system activates the next operation automatically (allow to create receipts). The system closes the linked routing position if it - is not the last routing position - is not the first routing position, if backflushing process is on first operation - has provision
Note: Last or first operation:
Notes for settings: Stock undercut not checked by Backend. It's part of front end Max. Pur order quantity not checked by Backend. It's part of front end Provision issue: Only automatically issue is supported. Only material which is possible to book automatically. The back end can't open a window In error case of backflush process the system can't make an rollback from the goods receipt PO document. Only warning message in the resultString from ExternalPurchaseDelivery post. |
Get list of open "Issue Provision parts" Get ExternalPurchaseDelivery?$filter=ExternalStatus eq 'O' Return all PO Goods receipt with provision part {"value":[{ "DocEntry": 220,
The ExternalDocEnrty must be defined in PreAssign and Issue document.
Post PreAssign (see PreAssign) {"BaseDocEntry":6002008, // Work order
Issue Provision Issue function IssueWo: Use normal Issue function together with Transaction="issuewo". Note: Send ExternalDocEntry from ExternalPurchaseDelivery/ExternalDocEntry
Close process: Set parameter CloseExtIssue:true
Post Issue }
|