Synchronisation General Board
This is an overview of what and when we synchronise data.
Entity | Sync FROM > TO | Frequency |
Products | Odoo > OP | 30min |
Product Deletions | Odoo > OP | 30min |
Stocks | Odoo > OP | 30min |
Product Compositions | Odoo > OP | 30min |
Suppliers | Odoo > OP | 30min |
Supplier Products | Odoo > OP | 30min |
Supplier Products Deletions | Odoo > OP | 30min |
Sell Orders | Odoo > OP | 30min |
Sell Order Deletions | Odoo > OP | 30min |
Buy Orders | Odoo > OP | 30min |
OP > Odoo | 15min |
|
Buy Order Line Added | Odoo > OP | 30min |
Buy Order Line Changes | Odoo > OP | 30min |
Buy Order Line Cancellation | Odoo > OP | 30min |
Receipt Lines (Item Deliveries) | Odoo > OP | 30min |
Flags
We provide several customizable options based on customer requests. Below are the key flags we can adjust:
use_templates : This will determine whether we create products based on templates or not
sell_price_with_taxes: If true, we will sync prices with already included taxes for products
sync_purchase_price: This flag will determine if we will sync purchase prices
average_purchase_price: This flag will determine if we also sync average cost on Supplier Products
pullAllOrders: if false, will only pull sellOrders with status “sale”, or “cancel” for deletions. If true, will pull all orders.
map_preferred: if true, we will sync the main preferred supplier for each product
language: Will dictate the language brought from the remote ex: en_US, nl_NL… by default: en_US
map_sellOrdersPOS: if true, we will pull and sync Sell Orders from Point of Sale.
Mapping Information
Products
Optiply | Odoo |
remoteId |
|
name |
|
skuCode |
|
articleCode |
|
price |
|
stockLevel |
|
status | IF THEN Otherwise |
eanCode |
|
assembled | If |
unlimitedStock |
|
We only sync Product.Type = Product, unless “is_Storable” exists, if so, we will also sync Product.Type = Consu & Product.is_Storable = true
(*1) If sell_prices_with_taxes is true we will sync tax_string
(*2) The language in which the name comes from the remote is determined by the language Flag (English by Default)
Product Compositions
Optiply | Odoo |
composedProductId |
|
partProductId |
|
partQuantity |
|
remoteId |
|
Suppliers
Optiply | Odoo |
name |
|
remoteId |
|
emails |
|
Supplier Products
Optiply | Odoo |
name |
|
remoteId |
|
price (*1) |
|
skuCode |
|
status |
|
minimumPurchaseQuantity |
|
deliveryTime |
|
supplier_id |
|
product_id |
|
preferred(*2) |
|
(*1) If sync_purchase_price and average_purchase_price is true we will sync avg_cost
(*2) If map_preferred, we will sync the preferred Supplier
Sell Orders
The customer can decide if he wants us to sync All Order Status or just the Completed (Status = sale).
By default, we only pull Completed (Status = Sale) Sell Orders.
Optiply | Odoo |
totalValue |
|
remoteID (*1) |
|
placed |
|
We do not sync Order changes in any way; order line changes, line deletions or new lines added to existing Orders will not be updated in Optiply.
Sell Order Lines
Optiply | Odoo |
product_id |
|
quantity |
|
subtotalValue |
|
remoteID |
|
sellOrderId |
|
Sell Orders POS
Optiply | Odoo |
totalValue |
|
remoteID |
|
placed |
|
Sell Order Lines POS
Optiply | Odoo |
product_id |
|
quantity |
|
subtotalValue |
|
remoteID |
|
sellOrderId |
|
We do not sync POS Sell Order changes in any way; order line changes, line deletions or new lines added to existing Orders will not be updated in Optiply.
Buy Orders - Odoo to Optiply
Optiply | Odoo |
optiplySupplierId |
|
placed |
|
completed |
|
expectedDeliveryDate |
|
totalValue |
|
remoteId |
|
Buy Order Lines - Odoo to Optiply
Optiply | Odoo |
subtotalvalue |
|
quantity |
|
remoteId |
|
buyOrderId |
|
productId |
|
Buy Orders Optiply to Odoo
Optiply | Odoo |
optiplySupplierRemoteId |
|
optiplyBuyOrderId |
|
completed |
|
expectedDeliveryDate |
|
Buy Orders Lines Optiply to Odoo
Optiply | Odoo |
quantity |
|
optiplyProductRemoteId |
|
Receipt Lines - Odoo to Optiply
Optiply | Odoo |
quantity |
|
occured |
|
remoteID |
|