för att få en personlig vy
för att få en personlig vy
Hello, we are using the API and need to convert a Sales Order into a Purchase Order. I can make this action in web front, but i don´t know if this action is allowed through API. Could you please tell me witch API method do i need to use?
Basically to do the next through API:
Thanks
Margarita
Löst! Gå till lösning.
Maybe the solution is to create a new purchase order based on the products on the sales order. You do not convert a sales order to a purchase order.
There may be different suppliers on the different products so there may even be several purchase orders from one sales order.
You also need to know if it should be a drop-shipment or a stock order for group delivery to the end customer.
Hi
As Mikael explains there are more then one Step from SO to PO
This means that if you fetch SO orders with the API and want to create PO orders through the API, you need to also update the connection between them to be able to handle them in Visma.net correctly
Or you can use routines to handle this automatically inside Visma.net
1. SalesOrder (Screen SO301000)
Create the Sales Order
Edit value PO Source on rows to Purchase to Order
2. Create Purchase Orders (Screen PO505000)
Routine that creates purchase orders from
a. Sales Orders (Purchase to Order or Drop Shipment)
b. Prepare Replenishment
3. Purchase Order (Screen PO301000)
Created Purchase Order
Hej!
Jag hittar inte hur jag länkar säljordern till inköpsordern/inköpsordrarna via APIet. Hur gör man?
@Mikael Björk @Thomas Mostrom How do you link the sales order lines to the purchase order through the API?
Hi, Kristofer
More information regarding this You will find in the Developer forum. But you need to be certified in Visma.net API to get access to this forum.
In short
SalesOrder
When creating the SO Sales Order you need the Orderlines on the SalesOrder be marked as DropShipment, Vendor etc.
Purchase Order
If you don´t use the processes inside Visma.net and creating the PO Purchase Order from API you need to enter values in 2 different Tabs
For example, on the Tab Other Information fields are in API
"salesOrderType": "string",
"salesOrderNbr": "string",
On the Sales Order, you will first see the link when the Purchase Order is moved forward to Purchase Receipts and Released.
Great, thank you Thomas! This sounds very interesting. I'll try this!
@Thomas Mostrom I don't manage to get the sales order closed. I add the sales order number on the purchase order and create a purchase receipt. The purchase order is then closed, but it doesn't close the sales order.
Hi, again
The SalesOrder will be closed after you create the Customer invoice and Release it.
OK, so do we also need to create the customer invoice through the API? Not using the Visma function that creates customer invoices from closed sales orders?
No,
You can use and setup the automatic schedules to execute Routines in Visma.net for this.
Hej Kristofer_.
Tyvärr har jag inte utvecklarkompetens, vi hoppas någon med den kan hjälpa till. Alternativt är att ställa frågan till er partner.
Klicka på de tre prickarna till höger i inlägget/artikeln och välj Prenumerera.
Läs mer om prenumeration härCopyright © 2019 Visma.com. All rights reserved.