Skip to Content
Former Member
Feb 10, 2005 at 05:49 PM

Internet Sales IPCItem is null



I've got an urgent question regarding the access of pricing conditions in internet sales. I've extended the maintain basket show action in order to list the items of my order basket. This works fine. But I can't get access to the respective pricing conditions??? Heres the code:

ItemList list = basket.getItems()

for(Iterator it = list.iterator(); it.hasNext(); )


ItemSalesDoc item = (ItemSalesDoc);

IPCItem ipcItem = (IPCItem) item.getExternalItem();

IPCPricingConditionSet pcondSet = ipcItem.getPricingConditions();

IPCPricingCondition[] cond = pcondSet.getPricingConditions();

for(int i=0; i<cond.length; i++)


System.out.println(cond <i>.getConditionTypeName());




The problem is that the IPCItem I would expect is null. Could anybody tell me what I'm doing wrong here. It is crucial for my project to be able to access this information!

Any help will be appreciated!

Thank you in advance,

Heiko Nolte