Manage transfer process
It is possible to
- create transfer,
- issue,
- move from on item to another item / Batch / bincode
- create Po Return docuemtn
Only possible for lines, which the QCOrder/TransferLoad() function will return
Primary key is the BatchNumber and BinCode
If all items booked, the system close automatically the transfer process
Load Transfer Lines
get QCOrder/TransferLoad(DocEntry)
This return all lines, which are open
To post the Transfer (all document types) you must send the lines in follow way
post QCOrder
{"transfer":{
"DocEntry":1000,
"PostingDate":...,
"DocumentDate":...,
"Remarks":"...",
"Ref":"...",
"DocumentLines": [
{DistNumber":"...", "BinCode":"..","DocType":0-3,"Quantity":x,"Reijected":true/false,"ToQuantity":x,"ToItemCode","ToBinCode":"",ToDistNumber":"","ToWhsCode":""},{...}
]
}
Field |
Mandatory |
Description |
DocEntry |
x |
QC order DocEntry |
PostingDate |
Posting Date / Tax Date |
|
DocumentDate |
Document Date |
|
Remarks |
Remarks / Notes |
|
Document Lines |
x |
Object Array It's mandatory to send DocumentLines in correct order: 1. DistNumber 2. BinCode (if bin warehouse related) 3. All other If other order is used, the system can work in wrong way or can return an error message If you send other properties, the system return an error. |
-> DistNumber |
x |
Distnumber/Batchnumber from Serial/Batch related item |
-> BinCode |
x |
BinCode, if Bin managed warehouse. Beas/SAP/WMS Bin managed warehouse supported |
-> DocType |
Transaction type. 0=transfer, 1=issue,2=edit,3=poReturn |
|
-> Quantity |
x |
Transfer / Move / Issue quantity |
-> ToQuantity, -> ToItemCode -> toVersion |
Target Item / Quantity / Warehouse If not defined, the system use Standard |
|
-> rejected |
Booelan: true for rejected (bad) quantity and false for good quantity |
It will return
{
"TransferDocEntry":x,
"TransferDocNumber":x,
"IssueDocEntry":x,
"IssueDocNumber":x,
"ReceiptDocEntry":x,
"ReceiptDocNumber":x,
"PoReturnDocEntry":x,
"PoReturnDocNumber":x
"CloseTransfer":true/false
}
Every entry only, if a document is created for this type.
Example: If only a transfer document was created, it return
{
"TransferDocEntry":x,
"TransferDocNumber":x,
"CloseTransfer":true
}
The System check, if all items transfered. If yes, it return"CloseTransfer":true otherwise false