Direct links to fixes
APAR status
Closed as program error.
Error description
The OrderItemAccessBean used within promotion evaluation is not available for custom code since the methods WCSOrderItemFactory.populateOrderItemFromBean(OrderItemAccessBea n orderItemBean, OrderItemKey orderItemKey, Object[] aTuple) and WCSOrderFactory.populateOrderFromBean(OrderAccessBean orderAccessBean, OrderKey orderKey) are declared private.
Local fix
Problem summary
USERS AFFECTED: WebSphere Commerce customers who want to be able to have custom logic that requires access to the OrderItemAccessBean. PROBLEM ABSTRACT: Methods in WCSOrderItemFactory and WCSOrderFactory do not allow for customization. BUSINESS IMPACT: Unable to insert custom logic to control applicability for promotions such as free gift, based on shipping address. RECOMMENDATION:
Problem conclusion
The following two method signatures have been modified from "private" to "protected": 1) WCSOrderItemFactory.populateOrderItemFromBean(OrderItemAccessBea n orderItemBean, OrderItemKey orderItemKey, Object[] aTuple) 2) WCSOrderFactory.populateOrderFromBean(OrderAccessBean orderAccessBean, OrderKey orderKey) ------------------------------------------------------------- The latest available maintenance information can be obtained from the Recommended Fixes for WebSphere Commerce technote: http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
Temporary fix
Comments
APAR Information
APAR number
JR48936
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
2013-12-31
Closed date
2014-05-02
Last modified date
2014-05-02
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":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSYT2H","label":"WebSphere Commerce Developer Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]
Document Information
Modified date:
07 December 2021