Hi, we see that with the API is possible to create a new document. Is possible to create a document linked with another?
For instance, from a sales order we could create a delivery note. (The equivalen to the button “Make delivery note” that reuses the information of the sales order).
Hi, did you find how to do this?
I’ve tried to call make delivery note method with rpc_call,
and created doc with REST - API according to its response.
But the resulting doc was not linked properly to the sales order.
Anyway around this?
Hi, Thanks for the response,
I’ve managed to solve this,
There is a fault on my part, when I replace the delivery note items field manually,
and forgot to put the link for sales order.
rpc_call did the trick.