IBM Support

JR46584: CMVC 228349 - Allow InventoryAvailability REST services to get inventory availability for online store only.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using Commerce Rest service to get inventory availability
    with the URL
    /wcs/resources/store/{storeId}/inventoryavailability/{productIds
    }, it will try to check the inventory in both online store and
    physical store with the same storeId. In case there is not a
    physical store with that storeId, it will throw an exception
    like following and can not return the inventory status for
    online store
    :
    
     Caused by:
    com.ibm.commerce.inventory.facade.server.exception.InventoryAppl
    icationException: No inventory configuration is found for the
    catalog entry 39478 and physical store 10051.
       at
    com.ibm.commerce.inventory.facade.server.commands.ComposeDOMInve
    ntoryAvailabilityCmdImpl.readInventoryConfigurationByCatentryIdA
    ndPhysicalStoreId(ComposeDOMInventoryAvailabilityCmdImpl.java:84
    6)
       at
    com.ibm.commerce.inventory.facade.server.commands.ComposeDOMInve
    ntoryAvailabilityForDKCmdImpl.composeNouns(ComposeDOMInventoryAv
    ailabilityForDKCmdImpl.java:401)
       at
    com.ibm.commerce.inventory.facade.server.commands.ComposeDOMInve
    ntoryAvailabilityForDKCmdImpl.execute(ComposeDOMInventoryAvailab
    ilityForDKCmdImpl.java:655)
    

Local fix

Problem summary

  • USERS AFFECTED:
     WebSphere Commerce users on v7.0 who use Rest service to get
    inventory availability for online store.
    
     PROBLEM ABSTRACT:
     Allow InventoryAvailability REST services to get inventory
    availability for online store only.
    
     BUSINESS IMPACT:
     User is unable able to get inventory availability for online
    store separately.
    
     RECOMMENDATION:
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR46584

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-08

  • Closed date

    2013-06-17

  • Last modified date

    2013-06-17

  • 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 EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 June 2013