Sales orders
Supported sales orders scenarios
- Placing sales orders
- Cancelling sales orders
- Receive sales orders
Placing sales orders
Purpose:
Add direct sales sales orders in Floriday trading agent.
Prerequisites:
- Customer has up to date supply lines
- Information in a sales order meets all the criteria:
- Price should match with supply;
- Delivery period should match with DeliveryPeriod in supply;
- Order period should match with OrderPeriod in supply;
- Packing configuration should exist in the right SupplyLine or TradeItem;
- Delivery location should be a valid LocationGLN;
- Delivery date should match with DeliveryConditions of supplier.
NR | Proces steps | API call / scenario |
---|---|---|
1 | Creates a new sales order. | AddSalesOrder |
Cancelling sales orders
Purpose:
Cancelling direct sales sales orders in Floriday trading agent.
Prerequisites:
- Sales order does not have the status 'Committed'.
NR | Proces steps | API call / scenario |
---|---|---|
1 | Cancel a sales order before the cancellation deadline. | SetSalesOrderCanceled |
Receiving sales orders
Purpose:
Receiving placed direct sales sales orders in Floriday trading agent.
Prerequisites:
- Sales order must be placed on Floriday.
NR | Proces steps | API call / scenario |
---|---|---|
1 | Returns a list of sales orders. | GetSalesOrders |
2 | Returns a list of sales orders by ID. | GetSalesOrderById |
3 | Receive sales order by id and version. | *GetSalesOrderByIdAndVersion |
4A | Returns the maximum sequence number found in sales orders. | GetSalesOrdersMaxSequence |
4B | Receive sales orders based on the provided sequence number. | GetSalesOrdersBySequenceNumber |
5 | Receive the RFH delivery notes of the given sales order based on the fulfillment orders. Will return multiple delivery notes if the sales order is divided into multiple loadCarriers. | GetSalesOrderDeliveryNotesById |
6 | Receive invoice lines by sales order ID. | GetInvoiceLinesBySalesOrderId |
Note:
NR 5 is a temporary endpoint which will become obsolete if the Advanced shipping notes endpoints will be implemented.
Updated 3 months ago