Data is synchronized between Salesforce B2C Commerce and Order Management on different schedules for the development and production systems. In addition, certain data in the production instance of Order Management can be synchronized with either the Stage or Production instance of B2C Commerce. Configure this synchronization in the Demandware provider. When using the legacy connector, order data is exported from B2C Commerce in the form of XML files. All other data exported from B2C Commerce or from Order Management is in the form of zip files.
In a system not using the legacy connector, order data is sent via API calls rather than on a fixed schedule. Orders usually appear in Order management within two minutes of entering New or Open status in B2C Commerce.
Handle import and export synchronization files on the B2C Commerce side using the B2C Commerce Simple Feed Integration component. See the B2C Commerce documentation for information on this component.
Import and export file locations are detailed here, but in general, you don't access them directly.
This topic includes the following sections:
Development Order Management synchronization files are placed in or retrieved from the following directories:
/development/businessflow/to-demandware
/development/businessflow/from-demandware
Export Files from Order Management to B2C Commerce
Order
Management deposits export files in the to-demandware
directory with names that match the following conventions:
Data |
Filename |
Schedule |
---|---|---|
Catalog/ Item (delta only) |
|
Several times per day |
Catalog/ Item (full dataset) |
|
Weekly |
Inventory (delta only) |
|
Several times per day |
Inventory (full dataset) |
|
Daily |
Price Book |
|
Daily |
Customer |
|
|
Tax |
|
Import Files from B2C Commerce to Order Management
Order Management imports any files found in the
from-demandware
directory that have names matching any of
the following conventions:
Data |
Filename |
Schedule |
---|---|---|
Orders (legacy connector) |
|
Several times per day |
Catalog/ Item (full data set) |
|
Daily |
Catalog/ Item (delta only) |
|
Daily |
Price Book |
|
Daily |
Production Order Management files are placed in or retrieved from the following directories, depending on whether they synchronize with the Stage or Production B2C Commerce instance.
/stage/businessflow/to-demandware
/stage/businessflow/from-demandware
/production/businessflow/to-demandware
/production/businessflow/from-demandware
Export Files from Order Management to B2C Commerce
Order
Management deposits all export files in the
/stage/businessflow/to-demandware
directory. The
Inventory and Price Book export files are also placed in the
/production/businessflow/to-demandware
directory. The
export filenames match the following conventions:
Data |
Filename |
Schedule |
---|---|---|
Catalog/ Item (delta only) |
|
Several times per day |
Catalog/ Item (full dataset) |
|
Weekly |
Inventory (delta only) |
|
Several times per day |
Inventory (full dataset) |
|
Daily |
Price Book |
|
Daily |
Customer |
|
|
Tax |
|
Import Files from B2C Commerce to Order Management
Order Management imports files that match the following naming conventions from the Stage or
Production from-demandware
directory (based on the provider configuration
for each data type).
Data |
Filename |
Schedule |
---|---|---|
Orders (legacy connector) |
|
Several times per day |
Catalog/ Item |
|
Daily |
Catalog/ Item (delta only) |
|
Daily |
Price Book |
|
Daily |