User Profile
Joni Wolff
84
Posts
15
Kudos
5
Solutions
‎18-02-2025
12:37
In v3 you can use GET /api/v3/SalesOrders/{type}/{orderId}/shipment
... View more
‎04-02-2025
13:42
If the order types number series have been setup to default be auto-generated, you can in the API use the field "overrideNumberSeries": true.
This way, with the order type, if created from UI it will get an order id generated by the system. And from the API, if the "overrideNumberSeries" is set true and a non-existing "orderId" is provided, the order will be created with the provided order id.
... View more
‎26-11-2024
20:29
Hej
Det är i planerna att förbättra keyboard navigeringen, men för att flytta med piltangeter mellan rader och kolumner, så kan man göra följande:
Efter att ha matat in önskar värde i t.ex. Utpris kolumnen, klicka Enter så kommer man ut ur editeringsläget. Därefter kan man använda piltangenter för att scrolla mellan rader och kolumner.
När du flyttat dig till önskad rad och kolumn, klicka Enter för att komma in i editeringsläge och kunna ange värde. Därefter igen Enter för att igen kunna flytta sig med piltangenterna.
... View more
‎01-11-2024
15:53
1 Kudo
Hi! This has now been solved, "overrideNumberSeries" has been introduced in POST salesOrders
https://community.visma.com/t5/News-in-Developers-Visma-net/Release-Notes-Sales-Order-Service-API-1-1-0-1185/ba-p/692324
... View more
‎01-11-2024
15:50
1 Kudo
We will fix so that the error does not appear if the default supplier does not have a currency ID set, but until then, as a workaround, setting the currency ID on the supplier will eliminate the error.
... View more
‎31-10-2024
12:28
ok, It would be nice to have shipment as an expand option so one don't have to make 2 requests to get the invoiceNo.
... View more
‎27-08-2024
08:30
Hi
Just wanted to let you know that expand by LOT/Serial is now available in the Sales order API v3 in the GET/Inventory endpoint
... View more
‎21-08-2024
13:51
Because of an error, the release notes during the period May - August 2024 were not automatically posted. Here are the release notes for this period.
Release notes
Description
LOT/Serial numbers available in GET/Inventory
It is now possible to expand LOT/serial in GET/Inventory endpoint. If you use expand=lotSerial without expand=location, it will show the Lot/serial for item on Warehouse level If you use expand=lotSerial and expand=location, it will show the Lot/serial for item on Warehouse location level Only Lot/Serial numbers that has a quantity will be included in the response
Access to order in interactive API now restricted based on user's access to branch
For the POST and PATCH endpoints, if a call is done with a user token for a user without access to the order's branch, the endpoint will now return a 404 error.
POST/SalesOrders/Lines extended with sortOrder
You can now in POST/SalesOrder/lines set the sortorder for the added line(s). If not provided, the new line(s) will be added last and if providing sort order that already exist, the lines with higher sort order value will get increased sort order.
"isRotRutDeductable" removed from GET/api/v3/SalesOrders/{type}/{orderId}
"isRotRutDeductable" is now, as announced previously, removed from GET/api/v3/SalesOrders/{type}/{orderId}. You use the field "isRotRutDeductible" instead.
"appartment" removed from GET
"appartment" is now, as announced previously, removed from GET/api/v3/SalesOrders/{type}/{orderId}/rotrut. You use the field "apartment" instead.
Input for sortOrder in PATCH/SalesOrders/lines
It is now possible to set sortOrder to a value higher than the line count of the order. Previously this was not possible and you received an error.
Access to order in interactive API now restricted based on user's access to branch
For the GET endpoints, if a call is done with a user token for a user without access to the order's branch, the endpoint will now return a 404 error.
PurchaseOrderSource set according to warehouse
Earlier, after changing the warehouse on a line, purchaseOrderSource was not updated according to the warehouse. This has now been fixed.
Supplier not found or is not active error
From now, when the supplier number contain leading or trailing spaces in the id, there will be no error message.
Validation for supplierId
Now it is no longer needed that purchase order source is set to be able to set the supplier ID for the order line
Status added in GET/shipment
The shipment status field is now included in the GET/shipment endpoint
Orders created via the new Sales order service now included in classic menu search
Orders created via the new Sales order service (API and UI) are no longer missing from the classic menu search results under Transactions and registers.
Validation of warehouse location for receipt lines
When adding a order line with operation: "Receipt", and the warehouse location do not allow receipts, you will get an error.
Projects restricted to customer
If you have restricted projects based on customer in the Project preferences (PM101000) window, and you set a project for an order, you will now get a 400 error if the project is not connected to the order's customer.
... View more
‎29-01-2024
08:28
1 Kudo
Hi! Just wanted to let you know that this has now been fixed
... View more
‎01-12-2023
08:12
Due to an issue with the automatic release notes to the Community starting from 28th of September 2023 I'm posting the release notes for this time period manually.
Release notes
Description
Support for setting status to Open
Setting the order status to Open is now supported, for example, when the current status is Cancelled.
... View more
Categories:
‎17-11-2023
11:29
Working for us now, thank you.
... View more
‎10-11-2023
09:27
Due to an issue with the automatic release notes to the Community starting from 28th of September 2023 I'm posting the release notes for this time period manually.
Release notes
Description
Supplier price not set correctly
When the supplier on an order line differs from the line item's default supplier, the supplier price is no longer set incorrectly.
purchaseOrderId field is available in GET/lines and GET /lines/{lineId}
The purchaseOrderId field is now available in GET/lines and GET /lines/{lineId}. This field displays the purchase order number that is linked to the sales order line.
Support for multi-language
If multi-language is set up in the system, the description of the order line and inventory item is now set according to the language of the customer.
... View more
Categories:
‎01-11-2023
10:36
Due to an issue with the automatic release notes to the Community starting from 28th of September 2023 I'm posting the release notes for this time period manually.
Release notes
Description
Filter Inventory endpoint with LastModifiedDate
It is now possible to filter the Inventory endpoint with the LastModifiedDateTime value
Support for Completed in order line
Setting the Completed field in order lines is now supported.
Line replacement unit cost converted to order currency
Earlier, the line replacement unit cost was not converted to the currency of the order, but the base currency was used instead. This has now been fixed.
Support for cancelling an order
You can now cancel an order by changing the status of an order to Cancelled. Note that, when you set an order to Cancelled, you cannot update any more fields.
Support for Attachment information in GET order and GET order lines
You can now get information about the attachments that have been added to an order or order lines via GET Order and GET order lines.
... View more
‎17-10-2023
17:13
For the breaking changes we will follow the same guideline as what is today in the Visma.net ERP API, i.e. latest 3 months before.
In the closest roadmap we have not planned to introduce createShipment in V3. Could you elaborate a bit more for why it is highly needed in V3? Is it, for example, for the easier use of the API through the sales process or expectation of better performance in that endpoint etc?
... View more
‎16-08-2023
09:22
1 Kudo
Hi! This is a bug, the freight amount should be set to the same as the freight cost when the Shipping term has not been defined, this is not happening at the moment. We have created a case to fix this and release notes will be published when it is fixed.
... View more
‎27-06-2023
09:40
Hi, Getting back with more details about the problem from 21st of June. Around the interval: 2023-06-21T02:10:00.406+03:00 and 2023-06-21T10:38:26.406+03:00 most of the calls to the Sales Order Service API returned 500. We have restarted the cluster of the service and then calls got back to normal. While investigating the cause of this we noticed that the calls our service makes to another internal service to retrieve information about a tenant are failing with an Unauthorized exception. From the logs it seemed that Authorization header was not included in those calls. Restarting the cluster fixed this problem but we created a task to further investigate why the Authorization header was not included and another case to improve the code to be more resilient when making calls to this internal service. Another action point for us is to improve the monitoring. The current monitoring detected the errors but we did not have any alarms set for a high rate of them. We will implement a warning when the error rate reaches 20% and a critical alarm for Central Operations when the rate reaches 50%. This will allow us to respond faster when something similar might happen.
... View more
‎09-06-2023
15:11
This has appeared as an issue again? but this time I get error and inventory not found?
... View more
‎19-05-2023
11:15
We have now released the functionality in Sales Order Service API for supporting setting salesperson in header and sales person and commissionable in order line.
Based on the sales person set on the line, we now also calculate the commissions for the order.
... View more
‎12-05-2023
07:23
@Trygve Storrønningen1 "What expectations could we have to the stability in v3 till 30th June 2024 - how moving/breaking will it be?"
Could you clarify this a bit? Are you referring to the new date of 31st of December, if that might move?
If you are thinking of it v3 will be removed or made obsolete, that is not the case. We will continuously add more functionality to v3 until we have everything in place to cover the endpoints specified in v1/v2. The plan then being to be functional complete by Q2-2024.
... View more
‎11-05-2023
12:48
Hi! Just a follow up on this, have you setup this similar flow also in v1/v2 for POST Sales orders, using the paymentRef?
... View more
‎25-04-2023
11:25
1 Kudo
Hi!
Setting salesperson on the order header and order line is soon finished, will be released most likely by end of the week. What is left after that is the calculation of the commissions in the order. The plan is to have everything done during the next 2 weeks.
... View more
‎05-04-2023
13:26
Hi
The Ship via and Shipping terms are available now. Can be found under shipping:
"shipping": {
"shipViaId": "DHL",
"termsId": "DAT"
}
If not provided, and customer location has default values, the fields will be set with the default values.
... View more
‎05-04-2023
12:31
Yes, we will use the same structure for the error situations. Of course, there might be edge cases that we might miss. When you find any of those let us know and we will apply the same structure.
... View more
‎29-03-2023
07:40
Thanks for the input! We will discuss on a good way to solve this also considering what you stated about the status.
... View more
‎21-02-2023
15:41
Thanks for the confirmations @SitterIT & @Anders_Traventus !
... View more
‎13-02-2023
10:01
1 Kudo
Problem solved
... View more
‎13-01-2023
12:16
Would it not make sense that the data that is returned at least looking the same? A simple example (Endpoint for single SalesOrder): GET /salesorders/SO/000100 In this request, the Status field is an object that looks like this: "status": {
"description": "string",
"cancelled": true,
"hold": true
}, But in the request (Endpoint for list of salesOrders): GET /salesorders here the status field is a simple string: "status": "string", I would have assumed that, at the very least, since it's both a GET that the data that is returned looks the same in both endpoints, even if they don't return the exact same amount of data for the whole salesorder An option to "expand" on attributes, as is possible for the endpoint for a specific salesorder, seems like something that should exist for the list endpoint as well.
... View more
‎13-01-2023
12:15
When the user is "saving" it's expected to have success or failure. If I'm adding two lines, changing one and deleting one + setting a field to trigger something on the order head I expect it to either complete or fail completely, and be able to retry the request
... View more
‎21-12-2022
11:06
2 Kudos
We have an early Christmas gift for you! We have now released new endpoints in the Visma.net ERP Sales Order API for deleting order and order lines:
DELETE/api/v3/SalesOrders/{type}/{orderId} - Delete an existing order
DELETE/api/v3/SalesOrders/{type}/{orderId}/lines - Delete lines form existing order
In the near future we will also release endpoints for updating(PATCH) order and order lines & adding lines to existing orders(POST)
Please view the following post for additional information on the API:
https://community.visma.com/t5/News-in-Developers-Visma-net/Getting-started-with-the-first-neXtGen-service-Visma-net-ERP/ba-p/401436
Merry Christmas & Happy New Year!
... View more
- Tags:
- neXtGen-API
‎16-12-2022
10:24
Release Notes
Documentation
Subaccount error when POSTing order
Previously, you got an error when creating an order and the default subaccount of the order line contained a segment with empty segment value. This is now fixed.
If you are new to the neXtGen services, please look at the Getting started with the first neXtGen service: Visma.net ERP Sales Order API for an introduction.
... View more
Activity Feed for Joni Wolff
- Posted Re: Get shipments for order on Forum in Developers Visma.net. ‎18-02-2025 12:37
- Posted Re: Find order type numbering sequence? on Forum in Developers Visma.net. ‎04-02-2025 13:42
- Posted Re: Använda pil upp/ner för att navigera mellan rader i nya orderfönstret - Status changed to: Nytt förbättringsförslag on Förbättringsförslag för Visma Net. ‎26-11-2024 20:29
- Got a Kudo for Re: Issue when Using SalesOrdersv3 to add orders with existing ordernumber. ‎04-11-2024 14:01
- Got a Kudo for Re: (0005-InvalidState) Currency rate not found for to EUR with rate type SPOT.. ‎04-11-2024 10:35
- Posted Re: Issue when Using SalesOrdersv3 to add orders with existing ordernumber on Forum in Developers Visma.net. ‎01-11-2024 15:53
- Posted Re: (0005-InvalidState) Currency rate not found for to EUR with rate type SPOT. on Forum in Developers Visma.net. ‎01-11-2024 15:50
- Posted Re: Invoicenumber missing https://salesorder.visma.net/ on Forum in Developers Visma.net. ‎29-10-2024 09:02
- Posted Re: Expose "expand Inventory Summary by Lot/Serial Number" option & the fields via Inv on Ideas in Developers Visma.net. ‎27-08-2024 08:30
- Posted [Release Notes] - Sales Order Service API May - August 2024 on News in Developers Visma.net. ‎21-08-2024 13:51
- Got a Kudo for Re: Salesorder API v3 creating orderLines without subaccount. ‎08-02-2024 08:44
- Posted Re: Salesorder API v3 creating orderLines without subaccount on Forum in Developers Visma.net. ‎29-01-2024 08:28
- Got a Kudo for Re: Salesorder API v3 creating orderLines without subaccount. ‎11-01-2024 11:28
- Posted Re: Salesorder API v3 creating orderLines without subaccount on Forum in Developers Visma.net. ‎11-01-2024 11:13
- Posted Re: Salesorder API v3 creating orderLines without subaccount on Forum in Developers Visma.net. ‎09-01-2024 09:55
- Posted [Release Notes] - Sales Order Service API 11th of November 2023 - 1st of December 2023 on News in Developers Visma.net. ‎01-12-2023 08:12
- Posted Re: Getting DNS error when posting Salesorder v3 on Forum in Developers Visma.net. ‎17-11-2023 10:00
- Posted Re: Getting DNS error when posting Salesorder v3 on Forum in Developers Visma.net. ‎17-11-2023 09:01
- Posted Re: Getting DNS error when posting Salesorder v3 on Forum in Developers Visma.net. ‎17-11-2023 08:38
- Posted [Release Notes] - Sales Order Service API 1st of November 2023 - 10th of November 2023 on News in Developers Visma.net. ‎10-11-2023 09:27