Skip to Content
author's profile photo Former Member
Former Member

Internet Sales IPCItem is null

Hi,

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) it.next();

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());

}

System.out.println(item.getDescription());

}

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2005 at 03:00 AM

    Hi,

    Did you get a solution to this? I have a similar problem at the moment...

    If you have a solution, could you post it for reference?

    Thanks,

    Mark

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2005 at 02:30 PM

    Hi,

    I'm not sure if this is relevant, but in XCM for the B2B webshop, there is a setting in the UI section to turn on pricing analysis and setup the correct connection from B2B to the IPC to ensure this works.

    Is it possible this is either not configured or is turned off in your installation?

    Thanks,

    Gareth.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.