Skip to content

App4Sales Platform

The App4Sales Platform connector integrates with the App4Sales Platform Gateway to retrieve projected stock in real time and export intake orders to the gateway's third-party order service.

ConnectorSupported Features
Items✅ Attributes   ✅ Name   ✅ Images   ✅ Family Code   ❌ Attachments   ✅ Stocks   ❌ Restock orders   ⚠️ Unit of Measures (no related UOM's)
Prices❌ Not supported
Projected Stock✅ Supported
Orders✅ Exporting   ❌ Retrieving
Customers✅ Retrieving   ✅ Creating   ❌ Updating   ❌ Deleting

Projected Stock

The connector can be used as the connector in a projected stock flow. When projected stock is requested, OCP calls the App4Sales Platform Gateway directly and calculates the projected quantity for the requested item and date.

The projected quantity is based on:

ValueUsage
Shelf stockCurrent stock baseline for the item.
To be deliveredOutgoing quantity without date information, subtracted from baseline.
Delivery date entriesIncoming quantities with dates up to and including the requested date.

Delivery date entries without a real date are ignored for date-based projections.

Orders

The connector can be used as an order export connector. When an intake order is exported, OCP sends the order to the App4Sales Platform Gateway third-party order endpoint.

Additionally you can setup a hook to modify the order before export.

Customers

The connector supports customer synchronization and creation.

Retrieving customers is supported via the customer synchronization flow.

Creating customers is also supported. On success, the gateway returns an external customer identifier that OCP stores against the customer record.

The following data is sent when creating a customer:

FieldRequiredDescription
CustomerCodeThe OCP customer code used to identify the customer.
NameThe customer's display name.
CocNumberChamber of commerce number.
VatNumberVAT identification number.
AddressesList of customer addresses.
ContactDetailsList of customer contact details.

WARNING

Updating and deleting customers is not yet supported by this connector.

Settings

Configure the following fields in the OCP App when setting up the App4Sales Platform connector:

FieldDescription
AdministrationNameAdministration name used by the gateway to route App4Sales Platform requests.

The App4Sales Platform Gateway URL is platform configuration and is not configured per connector.