Before you interpret Logic4 fields
Identify the entity and direction. Logic4 → Optiply imports and Optiply → Logic4 purchase-order exports use different fields.
Confirm the warehouse, visibility, status and purchase-price options for your connection. Use a record you may view and leave its values unchanged.
Steps to compare Logic4 fields
- Identify the record as a product, supplier, sales order, purchase order or receipt.
- Confirm whether it enters or leaves Optiply.
- Find its field in the matching table.
- Check the option or condition beside that field.
- Compare the source value with the destination value.
- Use the setup guide if the difference needs a connection-specific check.
For stock, compare the selected warehouses rather than one warehouse against an all-warehouse total. For prices, distinguish product BuyPrice from creditor prices.
What you see when the Logic4 comparison worked
You identify the source field, destination field and applicable option. You distinguish an external reference from the matched Optiply product or supplier ID.
Fields in the Logic4 mapping
Products — Logic4 to Optiply
| Optiply field | Logic4 source or rule |
|---|---|
name | ProductName1, plus nonempty ProductName2 |
remoteId | ProductId |
articleCode | ProductId |
skuCode | ProductCode |
eanCode | BarCode1 |
price | SellPriceGross |
unlimitedStock | false |
stockLevel | Whole-number FreeStock, summed by product for selected warehouses |
status | Visibility, configured status-ID and custom product rules below |
notBeingBought | Optional configured status-ID rule |
assembled | True for IsComposedProduct or IsAssemblyProduct |
| Source creation time | DateTimeAdded |
All warehouses are selected when no warehouse list is configured. A selected warehouse list limits the stock sum.
Products start enabled. Configured disabled status IDs and custom product rules can disable them.
When both visibility fields are present, false IsVisibleInLogic4 disables the product. The webshop visibility check defaults on and disables false IsVisibleOnWebShop products.
map_notBeingBought defaults off. When enabled, notBeingBought starts false and becomes true for configured notBeingBought_statusIds.
Suppliers — Logic4 to Optiply
| Optiply field | Logic4 source or rule |
|---|---|
name | CompanyName |
remoteId | Id |
emails | Valid email extracted from EmailAddress |
Supplier products — Logic4 to Optiply
| Optiply field | Logic4 source or rule |
|---|---|
name | ProductName1 plus nonempty ProductName2 |
remoteId | ProductId_CreditorId |
productId | ProductId, matched to an enabled imported Optiply product |
supplierId | CreditorId, matched to the imported Optiply supplier |
skuCode | CreditorProductCode |
articleCode | ProductId |
eanCode | BarCode1 |
status | enabled for matched supplier-product records |
preferred | IsActive |
price | Selected purchase-price rule below |
lotSize | BuyCountIncrement, when enabled, with minimum 1 |
minimumPurchaseQuantity | MinBuyAmount, when enabled, with minimum 1 |
MOQ and lot-size mapping default on. Each can be disabled for the connection.
The purchase-price choices are product BuyPrice, CreditorBuyPrice, or no price sync. Confirm the selected choice rather than assuming a default.
Creditor price uses the first CreditorBuyPrices entry. A missing or zero creditor price uses product BuyPrice. Negative prices are left unset.
Sales orders and invoices — Logic4 to Optiply
| Optiply field | Logic4 source or rule |
|---|---|
remoteId | Order or invoice Id |
placed | CreationDate |
totalValue | Totals.AmountEx |
Line productId | ProductId, matched to the imported product |
Line quantity | Qty |
Line subtotalValue | NettPrice * Qty, rounded to two decimals |
| Line parent | Matched order or invoice |
Sales orders and invoices have separate switches. Both default on. With both enabled, only invoices without InvoiceBelongsToOrderNumber join the sales orders.
Configured sellorders_create_statusIds and sellorders_delete_statusIds control eligible statuses and deletion handling. Empty lists do not apply a status filter.
Purchase orders — Optiply to Logic4
| Logic4 destination | Optiply source or rule |
|---|---|
CreatedAt | Order placed, or processing time when absent |
Remarks | OP- followed by the Optiply purchase-order ID |
CreditorId | Supplier's Logic4 remote ID |
BranchId | Configured export branch, or empty when absent |
Line ProductId | Product's Logic4 remote ID |
Line QtyToOrder | Line quantity |
Line QtyToDeliver | Line quantity |
Line OrderedOnDateByDistributor | Order creation value, when enabled |
Line ExpectedDeliveryDate | Order expected delivery date, normalized before export |
The distributor-order-date option defaults on. Contact Support before changing it or the export branch.
Both quantity fields receive the line quantity. Check an order's approval state in Logic4 separately before further action.
Purchase orders — Logic4 to Optiply
| Optiply field | Logic4 source or rule |
|---|---|
remoteId | Id |
supplierId | CreditorId, matched to the imported supplier |
placed | CreatedAt |
totalValue | 0 |
completed | Processing time when BuyOrderClosed is true |
Line remoteId | BuyOrderRowId |
Line buyOrderId | BuyOrderId, matched to the imported order |
Line productId | ProductId, matched to the imported product |
Line quantity | QtyToOrder |
Line subtotalValue | QtyToOrder * Price |
Line expectedDeliveryDate | ExpectedDeliveryDate |
An OP- reference identifies an order originating in Optiply. Completion uses processing time, not a separate Logic4 completion timestamp.
Receipts — Logic4 to Optiply
| Optiply field | Logic4 delivery source or rule |
|---|---|
quantity | Rows.Qty_Delivered |
occurred | DateTimeProcessed |
remoteId | Rows.Id |
buyOrderLineId | Matched imported purchase line |
Positive delivery quantities are retained after purchase-line matching. Older order-row receipt handling uses ordered minus undelivered quantity and processing time.
Check which receipt flow applies before comparing historical receipt values.
Limits of interpreting Logic4 fields
- Warehouse selections, status rules, prices and enabled flows depend on the connection.
- Synchronization timing depends on the agreed schedule and API limits. Large datasets can require different timing.
- Source references must match imported products, suppliers and purchase lines before relationship fields can resolve.
- Receipt-flow changes can affect historical comparisons. Do not replace earlier receipt quantities or dates without a connection review.
- A purchase-order export does not confirm approval or delivery in Logic4.
If a Logic4 field does not match
Check the entity, direction, warehouse selection and price or status option first. Keep the original values unchanged.
Use the Logic4 setup guide for the Support handoff. Check the original exported order before requesting another attempt or a replacement.