Hi @Øyvind Årseth Thank you for your reply I tested your mutation and here is the response {
"data": {
"useCompany": {
"batch_create": {
"affectedRows": 1,
"items": [
{
"batchNo": 115
}
]
},
"voucher_create": {
"affectedRows": 3,
"items": [
{
"batchNo": 115,
"voucherNo": 10001
},
{
"batchNo": 115,
"voucherNo": 10001
},
{
"batchNo": 115,
"voucherNo": 10002
}
]
}
}
},
"extensions": {
"vbnxt-trace-id": "00000000000000007a1d6f15b66afddb"
}
} So as you described, the line 1 doesn't balance, therefore Business suggest the same voucherno for the next line (line 2). Since line 1 and line 2 balances out, the next line (line 3) gets a new voucherno?? In VBS and earlier EDI import, we had the opertunity to set the same voucherno on all lines in a batch, it seems this isn't a possibility in VBNXT? We have also tried to get next voucherno as from the example for each batch we create, but the voucherserie doesn't update it self, so we get the same nextvoucherno evry time
... View more