on 10-11-2018 9:04 PM
Hello, I am trying to create a delivery with base document Sales Order and several lines, additional Delivery has Lots and Locations. The problem arises when I add the fields at the line level to link the base document.
I have tried to create the delivery without the base document and it works.
I have tried to create the delivery with a single line, lots, locations and it works.
But when doing so with more than one line, get the error message: "Internal error (-10) occurred"
I hope you can support me with this case.
Request:
{
"CardCode": "CL800100200",
"DocDate": "20181002",
"TaxDate": "20181002",
"DocDueDate": "20181002",
"NumAtCard": "PRUEBA PHR",
"DocumentLines":
[
{
"BaseType": "17",
"BaseEntry": 579910,
"BaseLine": 0,
"ItemCode": "MD000001",
"Quantity": 1,
"WarehouseCode": "BOD01",
"BatchNumbers":
[
{
"BatchNumber": "10350816",
"Quantity": 1,
"BaseLineNumber": 0
}
],
"DocumentLinesBinAllocations":
[
{
"BinAbsEntry": 1,
"Quantity": 1,
"AllowNegativeQuantity": "tNO",
"SerialAndBatchNumbersBaseLine": 0,
"BaseLineNumber": 0
}
]
},
{ "BaseType": "17",
"BaseEntry": 579910,
"BaseLine": 1,
"ItemCode": "MD000002",
"Quantity": 1,
"WarehouseCode": "BOD01",
"BatchNumbers":
[
{
"BatchNumber": "7735E",
"Quantity": 1,
"BaseLineNumber": 1
}
],
"DocumentLinesBinAllocations":
[
{
"BinAbsEntry": 1,
"Quantity": 1,
"AllowNegativeQuantity": "tNO",
"SerialAndBatchNumbersBaseLine": 0,
"BaseLineNumber": 1
}
]
}
]
}
Response:
{
"error": {
"code": -10,
"message": {
"lang": "en-us",
"value": "Internal error (-10) occurred"
}
}
}
User | Count |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.