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.

E

Appendix: Conversion APIs

The conversion APIs are designed to enable conversion of certain entities into a production environment which, if converted through the Merchandising Data Conversion tool, may take longer to complete due to the volume of data being processed and require longer downtime for production systems during the phased data load. As these APIs are run in a production environment, they eliminate the need for the lift & shift activity during go-live, thus reducing the overall cutover period. When using the conversion APIs for a phased conversion, the key assumption is that the Merchandising Data Conversion tool was used for the initial phase of conversion. These conversion APIs are compatible with the existing file layout in the Merchandising Data Conversion tool and are designed to be run in the production environment after you have established the data quality and detailed migration process by performing multiple mock cycles and cutover rehearsal in a non-production environment.

These APIs are invoked through batch jobs scheduled using the Process Orchestration and Monitoring (POM) and go through all phases handled in the Merchandising Data Conversion tool (Import from File, Data Validation, and Business Validation).

Entities Supported

The following entities are supported for conversion into the production environment using conversion APIs.

Functional AreaNotes
PartnerAs in the Merchandising Data Conversion tool, the conversion API
supports creating partner and address information. If you have
confgured any custom fex attributes for partner or associated
addresses, these can be converted as well.
Also, if using the Retail Financials Integration (RFI) for integration with
PeopleSoft, Oracle Financials, or Cloud Financials, there is a cross-
reference that would also need to be maintained and needs to be
considered in conversion.
Item HTSOnly applicable if Import Management functionality is confgured on.
See
Data Entitiesabove for information on conversion of HTS.
Item ExpensesAs in the Merchandising Data Conversion tool, you can choose to
convert both expenses and assessments associated with item using the
conversion API.

June 3, 2026 Appendix E-1 of E-9

Appendix E Key Considerations

Functional AreaNotes
Purchase OrderAs in the Merchandising Data Conversion tool, the conversion API
supports create, ship, and receive fows for purchase orders.
To convert a closed purchase order from your legacy system to
Merchandising, you will need to perform entire fow of create, ship, and
receive for purchase orders. Currently, there is no provision to directly
load closed purchase orders through the data conversion API.
Purchase order receipt conversion updates inventory in the
ITEM_LOC_SOHtable. It is assumed that the inventory at item-location
level will be validated and reset during the inventory conversion to the
correct values.
Transactional stock ledger (TRAN_DATA) records created out of the
shipping and receiving of purchase orders should be cleared. Log an SR
with the Oracle Cloud Operations team to clear this data.
Customer OrderAs in the Merchandising Data Conversion tool, the conversion API
supports the create, ship, and receive fow of customer orders.
Non-Sellable InventoryTo convert any non-sellable inventory for item/location combinations.
Stock On HandThe relevant item/location records have already been established at this
phase of conversion through the item/location ranging process. If not,
then this should be a pre-conversion step for stock-on-hand conversion.
Stock LedgerEnsure that the inventory (ITEM_LOC_SOHtable) conversion is
completed before the stock ledger initialization job is run. If you wish to
align the cumulative mark-on and shrinkage percentage in advance of
the stock ledger conversion, to use that value for calculating the
balances, leverage theHALF_DATAandHALF_DATA_BUDGETentities.
Supplier Inventory
Management
As in the Merchandising Data Conversion tool, the conversion API
supports conversion of Inventory Management parameters for supplier
and supplier sites including supplier replenishment days.
Supplier Org UnitsAs in the Merchandising Data Conversion tool, the conversion API
supports conversion of association of Org Units to suppliers and
supplier sites.
Item Location HistoryTo convert Item Location History Information.

Key Considerations

  • The conversion APIs are managed through the USE_CONV indicator in the CONV_SYSTEM_OPTIONS table. To use conversion APIs, the USE_CONV parameter should be set to Y . In the non-production environment, you can set this indicator using the APEX Data Viewer. To enable this indicator in the production environment, you are required to log an SR with the Oracle Cloud Operations team.

  • You will need to do several mock runs using the Conversion APIs in a non-production environment to reach the optimum number for the thread count, chunk size, and parallel files that is suitable for your data load and machine size. Once benchmarked, to configure these in the production environment, log an SR with the Oracle Cloud Operations team. It should be noted when Golden Gate replication is turned on in the production environment, loading huge volumes of data can cause issues with replication.

  • The task execution engine in the Data Conversion tool is not available in the production environment. Some of the features from the task execution engine, like gathering stats on staging tables and so on, are incorporated in the conversion APIs.

June 3, 2026 Appendix E-2 of E-9

Appendix E Key Data File Assumptions

  • The conversion APIs do not require you to turn off the MFQUEUE publishing triggers in the production environment. These APIs are designed in such a manner that these will not publish the MFQUEUE records for converted data. However, data captured for integration to downstream systems through other business transactions (for example, through the MFCS UI) will continue to be published. As part of the conversion APIs, the publication tables will be loaded with published flag set to Y for setting up the converted data for future publication to downstream systems.

  • If other systems need to be seeded with the converted data, then use other data seeding options.

  • When testing in non-production environments, enable Flashback once the Mock conversion has started. This is to mimic the behavior of loading in the production environment where the flashback is always turned on.

  • In a new instance, the database optimizer may settle into a better execution plan after 2-3 runs of execution, so continue loading the files with smaller volumes for a few mock runs even if performance is not as expected.

  • To achieve optimal performance for data conversion using conversion APIs in your production environment, it is recommended that you avoid running heavy SQL APEX queries, conversion of parallel entities, and item induction/purchase order induction in parallel with conversion jobs.

Key Data File Assumptions

When generating your data files based on the template format, there are few key things to keep in mind:

  • When zipping your files, ensure that there is only one file per table.

  • The same file layouts that are used in the Data Conversion tool are extended for the conversion APIs. See the Download Templates and Key Data File Assumptions section in the Prepare for Conversion section for more details on file layout and assumptions.

  • The input files for entities with the file names having the same starting string such as HALF_DATA and HALF_DATA_BUDGET , are required to be sent in a sequential manner. The files in the object storage are searched with the file name string and may result in upload errors due to an unexpected file. For example: the HALF_DATA file should be processed first and then the HALF_DATA_BUDGET file.

  • Only the file extension defined for an entity in the CONV_ENTITY tables is accepted for processing.

  • Once your data files upload to the object storage is completed, sending a .complete file to indicate end of file upload for an entity is not mandatory.

  • The incoming prefix in the object storage for uploading the input files for Conversion APIs is different from the Data Conversion tool. Please reach out to the Oracle Cloud Operations team for instruction on the path.

Use Conversion API

Once your files have been created with the expected file name patterns and format, the Merchandising File Transfer service will be used for uploading the files to the object storage incoming prefix. You will receive instruction from the Oracle Cloud Operations team on file upload through the Merchandising File Transfer service that should be followed here. When this is complete, you will be ready to use the conversion APIs to load data from these files into

June 3, 2026 Appendix E-3 of E-9

Appendix E Loading to Merchandising Main Tables

Table NameDescription
CONV_PROCESS_TRACKERContains information on the data conversion
against a process ID. For data loading from
input fles to the staging table, it will have a
status ofEND_IMPORTfor success and
FAILED_IMPORTfor failure.
FILE_UPLOAD_STATUSHolds the status of the fles uploaded during
import. It will have status asSfor success andF
for failure.
FILE_UPLOAD_LOGWhen thesqlloaderimport failed, this table
will be populated with log/bad data from
sqlloaderlogs.

Loading to Merchandising Main Tables

The conversion job invokes data checks & business validations to ensure the correctness of data being migrated. The records that are successfully validated will be moved to the main Merchandising tables. The job picks up the process IDs where the status in the CONV_PROCESS_TRACKER table is END_IMPORT or END_VALIDATE . There is no input parameters required for running this job. The job also invokes the rejection process, which generates the reject files for any errors and moves them to the OUT directory, so that you can manually correct them and reload records to trigger a fresh file upload against that data. There is a conversion job created in POM for each entity supported for the data conversion through the production conversion API.

The common conversion tables that are available for monitoring and troubleshooting any errors reported during data validation and upload to the main tables are described below:

Table NameDescription
CONV_PROCESS_TRACKERContains information on the data conversion
against a process ID. It will hold an
intermediate status ofEND_VALIDATE, which is
updated after data validation is completed by a
conversion load job.
Upon completion of data upload from staging to
the main tables, the process status in the
CONV_PROCESS_TRACKERtable will be either
COMPLETE_NO_REJECTSor
COMPLETE_WITH_REJECTS.
CONV_VALIDATION_ERRORHolds the errors encountered during validation
and upload to the Merchandising main table. In
case of validation or upload errors, the record
status in the corresponding conversion staging
tables will be eitherEorPE- to indicate
processed with errors orSorPSto indicate
processed successfully.

Other Key Tables

Following is details about few other key tables containing metadata for the solution.

June 3, 2026 Appendix E-5 of E-9

Appendix E Stock Ledger Initialization Job

Table NameDescription
CONV_ENTITYContains information about the entities available for
conversion through the conversion API process along with the
fle format names for the zip fles and threading/chunk size
information. Confguration changes to this by end users is not
supported.
CONV_ENTITY_DETAILHolds information about the staging tables, archive tables and
the main tables that are used/loaded. This also contains the fle
format names for .dat fles for each entity supported by the
Conversion API Process. Confguration changes to this by end
users is not supported.
CONV_ENTITY_GATHER_STATSLists the tables for which statistics have to be gathered prior to
conversion process. When the GATHER_STATS_WITH_RUN
column is set to ‘Y’, stats are gathered for every conversion
cycle while ‘N’ indicates stats are gathered only for archive job.
Confguration changes to this by end users is not supported.
CONV_SYSTEM_OPTIONSHolds the system level parameters for the conversion process.
Confguration changes to this by end users is not supported.

Stock Ledger Initialization Job

To initialize the starting inventory totals in the stock ledger tables based on the stock-on-hand conversion in your production environment, run the CONV_SL_INIT_JOB_ADHOC job using POM. There is a parameter named as ACTION_TYPE in the CONV_ENTITY table for entity name SLOPNINIT . This can be configured based on the business need. The ACTION_TYPE should be set as New if you would like to recalculate the starting inventory totals after updating the stock on hand to zero. Any other value for this parameter would process only records with non-zero stock on hand. By default, the ACTION_TYPE would be New and, as needed, you can reset the parameter value by logging an SR with the Oracle Cloud Operations team. There are no input parameters required to run these jobs.

For phased rollouts, this job also supports initialization of the stock ledger tables by location and/or Department/Class/Subclass. For this, a filter file needs to be placed in the object storage before running this job.

File naming pattern

stock_ledger_initialize*.zip (which, in turn, contains
stock_ledger_initialize*.dat)

Filter File Format

Depending on what your rollout is based on, only those values should be passed in the file using comma as separator.

<Location>,<Department>,<Class>,<Subclass>

For example:

  • If the rollout is by location (some locations and all department/class/subclass), then only the locations should be provided in the file.

June 3, 2026 Appendix E-6 of E-9

Appendix E Backup and Purge Job

Sample File:

1521,,,
1111,,,
1321,,,
  • If rollout is by some locations and some departments/class/subclass, then only those locations/department/class/subclass combinations should be provided in the file.

Sample File:

1521,101,,
1111,102,1,
1321,103,2,3
  • If rollout is by all locations and some departments, then only the departments that are being rolled out should be provided in the file.

Sample File:

    ,101,,
,102,,
    ,103,,

Existing data will not be impacted when using filter files as long as the data is not common between the filters provided in the file and existing ITEM_LOC_SOH data. If no input file is passed, then CONV_SL_INIT_JOB_ADHOC will initialize the stock ledger tables based on the entire ITEM_LOC_SOH table for all locations and department/class/subclass. This would override the data for existing records as well.

Backup and Purge Job

To archive and purge the conversion staging tables and gather stats on the Merchandising main tables for the entities supported in the conversion APIs, execute the CONV_ARC_PURGE_STATS_JOB_ADHOC job from POM.

There are two parameters for this job: ENTITY_NAME and GATHER_STATS .

  • GATHER_STATS is an optional parameter and is set to Y to gather tables stats.

  • ENTITY_NAME is a required parameter and valid values are:

    • CREATE_PURCHASE_ORDERS

    • SHIP_PURCHASE_ORDERS

    • RECEIVE_PURCHASE_ORDERS

    • CLOSE_PURCHASE_ORDERS

    • ITEM_LOC_SOH

    • PARTNER

    • ITEM_HTS

    • ITEM_EXPENSES

    • CREATE_CUSTOMER_ORDERS

    • SHIP_CUSTOMER_ORDERS

June 3, 2026 Appendix E-7 of E-9

Appendix E Conversion Process Flow

  • RECEIVE_CUSTOMER_ORDERS

  • ITEM_LOC_HIST

  • SLOPNINIT

  • PARTNER_ORG_UNIT

  • SUP_INV_MGMT

  • HALF_DATA

  • HALF_DATA_BUDGET

  • INV_STATUS_QTY

In addition to archiving and purging the conversion tables for the above entities, this job also archives and purges the errors captured in the CONV_VALIDATION_ERROR table.

Conversion Process Flow

At a high level, for each entity you wish to convert using the conversion APIs in the production environment, you need to perform the following steps:

1. Place the conversion zip file into the object storage incoming prefix.

2. Run the CONV_<entity>_LOAD_JOB batch process using the Process Orchestration and Monitoring (POM). The batch moves the input files from the object storage to an inbound directory for data processing and loading into the conversion staging tables. There is separate load job for each conversion entity. For example, the

  • CONV_PARTNER_LOAD_JOB_ADHOC job loads the partner data in the related staging table.

3. The above batch process will insert a record with a unique process ID into the CONV_PROCESS_TRACKER table. You can monitor the load processing by querying this table using the Merchandising APEX Data Viewer link. The status END_IMPORT in the table indicates that load was successful. If there are errors during the data load into the staging tables, then the status is recorded as FAILED_IMPORT .

4. In case of errors during the data loading into the staging tables, to debug and troubleshoot the load errors, query the FILE_UPLOAD_STATUS and FILE_UPLOAD_LOG tables. These tables will provide the details of the files loaded and corresponding load errors.

5. Run the CONV_<entity >_JOB batch process using the Process Orchestration and Monitoring (POM). This job will perform data and business validation on the imported data in the conversion staging tables and upload the successfully validated records to the main Merchandising tables based on the entity being loaded. For example, the CONV_PARTNER_JOB_ADHOC job validates and uploads the partner data to relevant Merchandising tables.

6. After running step 5, the status in the CONV_PROCESS_TRACKER table - COMPLETE_NO_REJECTS indicates a successful load into the Merchandising tables and COMPLETE_WITH_REJECTS indicates the process completed with some rejected records. The status END_VALIDATE in the CONV_PROCESS_TRACKER table is an intermediate status once the job in step 5 completes data validation and is in the process of business validation and loading to Merchandising tables.

7. The successful records are inserted into the Merchandising main tables. Any rejected records are written to the CONV_VALIDATION_ERROR table. The reject file is generated and moved to the outgoing prefix in the object storage. You can download the file to view the errored data, make relevant corrections, and reprocess the rejects.

The entities below are supported for conversion into the production environment using the conversion APIs.

June 3, 2026 Appendix E-8 of E-9

Appendix E Conversion Process Flow

ENTITYCONVERSION LOAD JOB (TO
STAGE TABLES)
CONVERSION JOB (TO MAIN
TABLES)
CREATE_PURCHASE_ORDERSCONV_PO_LOAD_JOB_ADHOCCONV_PO_CREATE_JOB_ADHO
C
SHIP_PURCHASE_ORDERSCONV_PO_SHIP_LOAD_JOB_AD
HOC
CONV_PO_SHIP_JOB_ADHOC
RECEIVE_PURCHASE_ORDERSCONV_PO_RECEIVE_LOAD_JOB
_ADHOC
CONV_PO_RECEIVE_JOB_ADHO
C
CLOSE_PURCHASE_ORDERSCONV_PO_CLOSE_LOAD_JOB_A
DHOC
CONV_PO_CLOSE_JOB_ADHOC
ITEM_HTSCONV_ITEM_HTS_LOAD_JOB_A
DHOC
CONV_ITEM_HTS_JOB_ADHOC
ITEM_EXPENSESCONV_ITEM_EXP_LOAD_JOB_A
DHOC
CONV_ITEM_EXP_JOB_ADHOC
ITEM_LOC_SOHCONV_ITEM_LOC_SOH_LOAD_J
OB_ADHOC
CONV_ITEM_LOC_SOH_JOB_AD
HOC
PARTNERCONV_PARTNER_LOAD_JOB_A
DHOC
CONV_PARTNER_JOB_ADHOC
CREATE_CUSTOMER_ORDERSCONV_ORDCUST_LOAD_JOB_A
DHOC
CONV_ORDCUST_CREATE_JOB_
ADHOC
SHIP_CUSTOMER_ORDERSCONV_ORDCUST_SHIP_LOAD_J
OB_ADHOC
CONV_ORDCUST_SHIP_JOB_AD
HOC
RECEIVE_CUSTOMER_ORDERSCONV_ORDCUST_RECEIVE_LOA
D_JOB_ADHOC
CONV_ORDCUST_RECEIVE_JOB
_ADHOC
HALF_DATACONV_HALF_DATA_LOAD_JOB_
ADHOC
CONV_HALF_DATA_JOB_ADHO
C
HALF_DATA_BUDGETCONV_HALF_DATA_BUDGET_L
OAD_JOB_ADHOC
CONV_HALF_DATA_BUDGET_J
OB_ADHOC
SLOPNINIT-CONV_SL_INIT_JOB_ADHOC
SUP_INV_MGMTCONV_SUP_INV_MGMT_LOAD_
JOB_ADHOC
CONV_SUP_INV_MGMT_JOB_A
DHOC
PARTNER_ORG_UNITCONV_PARTNER_ORG_UNIT_L
OAD_JOB_ADHOC
CONV_PARTNER_ORG_UNIT_JO
B_ADHOC
INV_STATUS_QTYCONV_INV_STATUS_QTY_LOAD
_JOB_ADHOC
CONV_INV_STATUS_QTY_JOB_A
DHOC
ITEM_LOC_HISTCONV_ITEM_LOC_HIST_LOAD_
JOB_ADHOC
CONV_ITEM_LOC_HIST_JOB_A
DHOC

June 3, 2026 Appendix E-9 of E-9


In this guide

  • G Appendix: Tables ListMerchandising Cloud Services Data Conversion Implementation Guide · shares CLOSE_PURCHASE_ORDERS, CREATE_CUSTOMER_ORDERS, CREATE_PURCHASE_ORDERS, ITEM_EXPENSES
  • 17 Stock LedgerBatch Operations Guide · shares HALF_DATA, HALF_DATA_BUDGET, TRAN_DATA
  • 2 Data EntitiesMerchandising Cloud Services Data Conversion Implementation Guide · shares INV_STATUS_QTY, ITEM_LOC_HIST, TRAN_DATA
  • 14 Sales PostingBatch Operations Guide · shares FILE_UPLOAD_STATUS, TRAN_DATA