You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on the following: we make some custom made items for our customers where we have to take a variable quantity of items out of stock. As this sometimes overlaps with the sales of these items, we would like to have one order in Exact where we add lines for each item we might need with its approximate quantity that we need. That way, Exact knows that this item is reserved for a customer.
However, I haven't quite managed yet to extract the ID of multiple SalesOrderLines out of Exact of the lines I have added to this order. Is there a way to get all the ID's of the inserted SalesOrderLines without having to insert them one by one (taking the limits into account).
I need the ID's of every single SalesOrderLine, because when the custom made item has been made, we import a StockCount in Exact, taking out of stock all the items we needed and then I want to delete the lines of the reserved items for this order.
Thanks in advance for your feedback!
The text was updated successfully, but these errors were encountered:
Is it not as simple as create the salesOrder, let Exact Online make the SalesOrderLines and than fetch the SalesOrderLines that belong to the created SalesOrder? Should be fairly fast and with only a few API calls (for example using the bulk endpoint and some oData filters).
I don't think it is (but I can be wrong of course). Please see below a more detailed example of what I would like to do.
Work order 1 needs the following:
3.5x item A
2x item B
6x item C
Work order 2 needs the following:
9x item A
10x item D
When I add the items to the SalesOrder in Exact (it's always the same order, for all different work orders), I want to add it line by line:
3.5x item A (Work order 1)
2x item B (Work order 1)
6x item C (Work order 1)
9x item A (Work order 2)
10x item D (Work order 2)
That's why I would like to be able to retrieve the id's of the lines I have just inserted, to be able to delete this line from the SalesOrder once the work order has been made. I hope this makes sense?
Dear all,
I'm currently working on the following: we make some custom made items for our customers where we have to take a variable quantity of items out of stock. As this sometimes overlaps with the sales of these items, we would like to have one order in Exact where we add lines for each item we might need with its approximate quantity that we need. That way, Exact knows that this item is reserved for a customer.
However, I haven't quite managed yet to extract the ID of multiple SalesOrderLines out of Exact of the lines I have added to this order. Is there a way to get all the ID's of the inserted SalesOrderLines without having to insert them one by one (taking the limits into account).
I need the ID's of every single SalesOrderLine, because when the custom made item has been made, we import a StockCount in Exact, taking out of stock all the items we needed and then I want to delete the lines of the reserved items for this order.
Thanks in advance for your feedback!
The text was updated successfully, but these errors were encountered: