to get a personalized navigation.
to get a personalized navigation.
Hi,
I want to add a receipt line using the API: supplierInvoice.
Using the UI, I have 150 items. I select the line:
I then adjust the quantity to 4 pieces. Works perfectly.
Using the API i can use:
"addPOReceiptLines": [{"poReceiptNumber": {"value": "000002"},"poReceiptLineNumber": {"value": 1}}]
But then all the 150 items are used, i cannot adjust anything, because all functionality is done by the API.
Can you help me how i should do this using the API ?
Thanks
Solved! Go to Solution.
Hello,
This can be done by sending additional PUT request to the Supplier Invoice where POReceiptLines have been linked to.
You can first make a GET request to the specific invoice in order to obtain desired Invoice LineNumber then LineNumber should be used as a pointer for the update operation.
...
{
"invoiceLines": [
{
"operation": "Update",
"lineNumber": {
"value": 1
},
"transactionDescription": {
"value": "qty update"
},
"quantity": {
"value": 10
}
}
]
}
...
Ok, well i will give it a try.
But i am also missing the line after i adjusted the invoice from 150 to 4 items. I need a line of 146 items. Where is it ?
We'll check this out and get back to you.
Hello,
the behaviour as Financials ERP follows, once PR Line has been added to a specific supplier invoice and QTY amount modified (e.g. added QTY less than the total QTY of Purchase Receipt) then the same lineNbr no longer selectable in the same invoice > Add Purchase Receipt Line lookup table.
Once that invoice is released, user should create a new invoice then the remaining amount of the relevant Purchase Receipt Line (QTY not yet invoiced) will be available in the Add Purchase Receipt Line lookup table and Invoicing Details would have been updated accordingly.
Copyright © 2022 Visma.com. All rights reserved.