My Products
Help
Per-Willy
PARTNER

Error using endpoint POST/controller/api/v2/salesorder/{saleOrderNumber}/action/createPurchaseOrders

by Per-Willy

Have tested in several companies. Getting the same error. Gets this response message: 
{"referenceNumbers": [],
"errors": [
"'Error: 'tstamp' cannot be empty.' for SOLine with LineNbr and InventoryID .",

11-07-2023 11-03-13.jpg

11-07-2023 11-03-33.jpg

  

8 REPLIES 8
Per-Willy
PARTNER

by Per-Willy

You can see that in the first picture.

by Magnus Johnsen

Hi,

Could you please share an example of the JSON you are sending to create the SO and we'll test this on our end.

Thank you. 

Accepted solution
Per-Willy
PARTNER

by Per-Willy

This endpoint does not create an SO but a PO from an SO.

Accepted solution
Magnus Johnsen
VISMA

by Magnus Johnsen

Hi,

We are not having this issue on our end with the SalesOrders we have created.

To determine where the issue lies, we need to create the same salesOrder you have created on your end.

When you have shared how these salesOrders have been created we can investigate what the cause is.

Thank you. 

 

Per-Willy
PARTNER

by Per-Willy

This fails regardless of whether the SO is created manually in the GUI or via api.

 

by Magnus Johnsen

Ok, could you please send the company-id's where you have this issue as well as salesOrderNumbers to developersupport@visma.com and we'll forward this to the development team for investigation.

Thank you. 

Per-Willy
PARTNER

by Per-Willy

Wasn't meant to set the solution as accepted. Can you reopen the case?

lema
CONTRIBUTOR ***

by lema (Updated ‎13-07-2023 11:51 by lema )

s