Mirror of Oracle documentation

Converted for search and offline reading. Authoritative source: Oracle. Diagrams and some complex tables are simplified — check the PDF when in doubt.

4

Webservice Integration Configuration

This chapter describes configuration options for the service integration, where Xstore Office calls Merchandising and Pricing services directly or through OCDS. This chapter does not apply to the flat file-based integration.

Xstore Office: Direct Service Integration Communication

Configuration of the direct service integration involves self-service activities on both sides of the configuration. For Merchandising and POM configurations required for direct service integration from Merchandising and Pricing, see the sections Merchandising Configuration and POM Configuration below.

Note

When these services are initialized, some services need a few hours for initial data processing before they can be used. It is recommended to enable these services a day in advance before Xstore Office starts subscribing

For Merchandising and POM configurations required for direct service integration from Merchandising and Pricing, see the sections Merchandising Configuration and POM Configuration below.

Merchandising Configuration

To enable direct service integration, Oracle Retail Xstore Suite needs to be selected to have service based integration in the Integration section of System Options screen in Merchandising. For more information on System Options, refer to the Oracle Retail Merchandising Foundation Cloud Service Implementation Guide.

POM Configuration

These services are operationalized by background processes that can be enabled and configured for running frequency in the Batch Administration screen of POM. For more information on these batch jobs, refer to the Oracle Retail Merchandising Foundation Cloud Service Operations Guide .

Xstore Office Configuration

The direct service integration is set up through the Xadmin Integration Management feature and are stored in the Xstore Office database.

Table 4-1 RMFCS Connection Configuration

FieldsDescription
Endpoint URLA URL describing protocol, host name, port and
namespace of the Merchandising and Pricing
Web Services.
Example:https://XXX.XXXXXX.XX-XXXX-
X.ocs.oraclecloud.com/rgbu-XXX-XXXX-
XXXX-mfcs
Merchandising Chain ID(s)A comma separated list of the chain ids in
Merchandising containing stores in the Xstore
Organization.
Oracle Retail Pricing Cloud ServiceChoice of V1 or V2 RPCS APIs for regular price
change, clearance, and promotion integrations.

Xstore Office: OCDS Integration Communication

Xstore Office requests changes to Merchandising and Pricing data in OCDS by calling the REST web services.

The properties for the OCDS integration are set up through the Xadmin Integration Management feature and are stored in the Xstore Office Cloud Service database.

Table 4-2 OCDS Connection Configuration

FieldsDescription
Endpoint URLA URL describing protocol, host name, and port of the OCDS Web
Services.
Example:https://XXX-XXXX-ribcs-rics.oracleindustry.com
Service Path PrefixThe root service path for OCDS.
Example:/ords/ocds/omnichannel
OCDS Chain ID(s)A comma separated list of the chain ids in the Merchandising system
containing stores in the Xstore Organization.
UsernameThe username used to authenticate web service communication with
OCDS.
PasswordThe password used to authenticate web service communication with
OCDS.

Xstore Office: Additional OCDS/MFCS Configuration Options

Xadmin Integration Management feature includes the flowing configuration options which appear in the configuration wizard for both OCDS and MFCS configurations.

Table 4-3 Additional OCDS/MFCS Configuration Options

SettingDescription
Timeout ConnectNumber of seconds to wait for connection.
Timeout ReadNumber of seconds to wait for completion of response data.

Table 4-3 (Cont.) Additional OCDS/MFCS Configuration Options

SettingDescription
Enabled Data TypesThe types of data to be requested by Xstore Office. Once data starts
flowing this selection should not be changed. Typically all data types
are enabled unless not using VAT or (very uncommon) price/promotion.
Retain Job HistoryThe number of days to retain Job History data in the Xadmin database.
Scheduled Job Interval MinutesThis is the frequency with which Xadmin requests data from OCDS/
MFCS. The value should be greater than or equal to 30 minutes.
On Demand Job Interval
Minutes
This is the maximum amount of time that will elapse between when an
on-demand job is created and is executed. The value should be greater
than or equal to 5 minutes.
Orphan Data Protection Offset
Seconds
This is the minimum amount of time data must age before it can be
visible to Xstore Office. The offset helps to prevent related-data from
becoming orphaned due to system latency. The value should be
greater than or equal to 30 seconds.
Records Per Request LimitThis specifies the number of records to request in webservice calls. If
no limit is defined then MFCS/OCDS will determine the maximum
number of records.
Retail Location: Till
Accountability
This specifies if Retail Locations/Stores created from data are to use
Till Accountability or not.
Retail Location: Default LocaleThis specifies the Locale to use in Retail Locations created from data
when a LANG_ISO_CODE is not defined for a location. This setting
defines the value assigned to a Retail Location in the Xstore database
if the store was not assigned a Locale in Merchandising
Include Tax Location MappingTrue if retail location and tax location mappings are included in the
retail location MNT export; false otherwise. By default, it is set to true.
Item: Tax Group ID for non-
taxable Items
This specifies the Tax Group ID assigned to non-taxable items created
from MFCS/OCDS data.
Item: Include future date to
determine VAT code with the
greatest active date
This specifies if future date should be included to determine VAT code
with the greatest active date.
VAT Rounding CodeSpecifies how the system will round when calculating the tax amount.
VAT Rounding DigitsSpecifies how many decimal places to round to when calculating the
tax amount. The minimum rounding digit is 0 and the maximum
rounding digit is 10.
VAT Rounding at Transaction
Level
Specifies the ability to round at transaction level when calculating the
tax amount.
When the calculated tax will be rounded at the transaction level.
When unchecked, the calculated tax is rounded at the line item level.

Merchandising Chain to Xstore Organization Mapping

The Xstore Suite provides the opportunity to organize data by Organization, where centralized and store-level data can be isolated according to a retail organization structure. The Merchandising Cloud Services supports the use of one or more Chains, where a chain can be used to group various store formats.

The Integration in the On Premise and Cloud Xstore Office requires that at least one Merchandising Chain be mapped to an Xstore Organization. This configuration must not be changed once the mapping is established.

Oracle Retail Pricing Cloud Service Version

The Xstore Suite gives a customer the choice of using V1 or V2 RPCS APIs for regular price change, clearance, and promotion integrations. V1 is deprecated. V2 is backward compatible and serves as the default for new integrations. Existing integrations will continue to use V1 until the customer decides to switch through Xadmin integration UI.

V2 provides additional support for

  • Promotion Distribution Rule, see the Promotions section for more details

Integration Database Tables

There are three database tables in the Xadmin database that are exclusively used for integration with Merchandising and Pricing for both integration methods described in this document. See the Oracle® Retail Xstore Point-of-Service Software Database Dictionary for complete details on these tables.

Table 4-4 Integration Database Tables

Table NameDescription
OCDS_JOB_HISTORYWhen enabled in Xadmin, an integration job is executed by scheduled-
interval or on-demand, to detect foundation data changes in integration
service and extract them out into .mnt files. An entry in this table
records the status, start/end time and other information of a job
executed.
OCDS_ON_DEMANDAn entry in this table represents an on-demand job request. On-
demand jobs can be system generated (as in the case of new store
detection), or user generated (from the Xadmin UI).
OCDS_SUBTASK_DETAILSAn integration job executes a list of subtasks. Each subtask represents
a foundation data area to detect and extract out changes. The table
defines metadata for all subtasks. For a scheduled job, each and every
active subtask is executed. For an on-demand job, a subset of
subtasks specified for the job is executed.

The only table that requires seed data is the OCDS_SUBTASK_DETAILS; the other two tables will populate during operations of the integrations.

Enabling and Disabling Data Types

Retailers can determine the types of data requested from the integration service by Xstore Office. For example, if VAT information is not needed, then the integration can be configured to prevent requests for VAT data.

In Xstore Office Service’s Integration Manager, use the Configure tab when completing the wizard UI to establish the integration.

Migration to MFCS

By default on the initial run of the MFCS integration’s scheduled job, Xstore Office will request all data from the source system that has changed since the Unix epoch (January 1st, 1970 at

Aueyou sure you want to delete this integration? Warning! Store databases may contain foundation and pricing data from the deleted Integration. Ary existing deployments previously scheduled may Still exist and must be cancelled manually.

Purge Integration Data

Scheduled Job: Purge Before Full Refresh ([) On Demand Job: Purge Before Full Refresh ()


In this guide