Skip to Content
0
Former Member
Feb 11, 2005 at 11:24 AM

Grant Internet Sales frontend access to Infos retrieved in Backend Exits

16 Views

Hi,

I'm new to Internet Sales and have a serious problem. I would like to access information retrieved in a backend

user exit from a custom internet sales action. The user exit code might look as shown below. The problem now is where to put the pricing condition infos in order to make it accessable?

Does anybody have a suggestion? I know that there is an all purpose cache in internet sales. But I would like to connect this information with the user session.

Cheers,

Heiko

public class MyPriceCalculator extends PriceCalculatorCRMIPC {

protected void customerExitAfterIpcItemsCreate(ItemPriceRequest itemrequests[], IPCItem items[])

{

System.out.println("customerExitAfterIpcItemsCreate called!");

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

{

IPCPricingConditionSet pricingConditions = items<i>.getPricingConditions();

IPCPricingCondition[] conditions = pricingConditions.getPricingConditions();

for(int j=0; j<conditions.length; j++)

{

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

}

}

}

}