APAR status
Closed as program error.
Error description
Problem occurs when 'com.ibm.commerce.inventory.facade.server.commands.ComposeInvent oryAvailabilityCmd+ATPInventorySystem' API is called via scheduler job to fetch inventory availability. The checking criteria of preview context is incorrect. It returns mock-up inventory availability of 1.0, when it should return actual available inventory.
Local fix
First, run the SQL to find out the implementation class: select CLASSNAME from CMDREG where INTERFACENAME= 'com.ibm.commerce.inventory.facade.server.commands.ComposeInvent oryAvailabilityCmd+ATPInventorySystem'; Second, create a new class to extend the implementation class, overrides its method fetchATPAvailableQuantitiesInPreview() as below: protected void fetchATPAvailableQuantitiesInPreview(CatalogEntryAccessBean aabCatalogEntry) throws InventoryApplicationException { fetchATPAvailableQuantities(aabCatalogEntry); } Third, register the new class as the implementation class for interface "com.ibm.commerce.inventory.facade.server.commands.ComposeInvent oryAvailabilityCmd+ATPInventorySystem".
Problem summary
USERS AFFECTED: Users calling ComposeInventoryAvailabilityCmd+ATPInventorySystem API form the scheduler PROBLEM ABSTRACT: For ATP, ComposeInventoryAvailabilityCmd API returns mock-up inventory of 1.0 when its called from scheduler. BUSINESS IMPACT: Incorrect inventory availability RECOMMENDATION:
Problem conclusion
Modify OOB code to ensure preview context checking is correct and actual on-hand inventory is returned.
Temporary fix
Comments
APAR Information
APAR number
JR51455
Reported component name
WC BUS DEV ED W
Reported component ID
5724I3900
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-10-09
Closed date
2014-12-12
Last modified date
2015-01-29
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WC BUS DEV ED W
Fixed component ID
5724I3900
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYT2H","label":"WebSphere Commerce Developer Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":null,"label":null}}]
Document Information
Modified date:
29 January 2015