IBM Support

50 SP2 : yfs_export APIs : create API : missing valid'n check and GetAPI : Not giving exp'd data

Troubleshooting


Problem

50 SP2 : yfs_export APIs : create API : missing valid'n check and GetAPI : Not giving exp'd data

Symptom

Created a record in YFS_EXPORT table using createExportDataEx API and the data got created alright in the table. However, when I invoked getUnprocessedExportDataEx api, the record is not getting fetched

PART: API-PLAT 5.0 SP2 Platform
PRODUCT: Distributed Order Management
COMPONENT: getUnprocessedExportDataEx
OS: Solaris - 2.8
DATABASE: Oracle - 9.2.0.4
WEB SERVER: WebLogic - 8.1 SP1
WEB BROWSER: Internet Explorer - 6.0 sp1

Cause

Resolving The Problem

As per JavaDocs for createExportDataEx API
Validations:
Atleast one export system id (element /CreateExportDataEx/ExportSystemIds/ExportSystemId) must be passed. If this element is not passed, error 'No Export System Ids exist in the XML' is thrown.

In the input XML to BOTH createExportDataEx and getUnprocessedExportDataExAPI, if you pass, ExportSystemId as specified, you will get FIRST "unprocessed / status=00" record for that system.

Note : Currently it's not 100% enforcing the "validation/error behviour" as specified above. We have simulated this scenario and found that there are a few behavioral differences in JavaDocs and the way data is being extracted. Being sent to ENG for a defect fix.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI49365

Product Synonym

[<p><b>]Fact[</b><p>];

Document Information

Modified date:
16 June 2018

UID

swg21529986