Last updated on MARCH 02, 2017
Applies to:Siebel CRM - Version 22.214.171.124 [IP2014] and later
Information in this document applies to any platform.
In 81114, when a promotion is added to a quote, the constraints cause components to be added. However if the Headless Configuration Service is run afterwards then they get removed.
Steps to replicate:
>Create a customizable product "5 speed automatic". This will be the parent.
>Add 2 childs "C1" and "C2" in the parents structure where default and min cardinality are 0.
> Create a linked item where BO = Order Entry (Sales), BC = Order Entry - Line Items, BC Field = Action Code and Name = Action Code. Needs Execution Flag set to False.
> Create constraint where name = test, constraint = When possible, constrain (quantity of C1 from C1 = 1) to be true with a priority of 0. This should add "C1"
>Create constraint where name = Test 1 and value = When Action Code = Add requires selection of C2 from C2. This should add "C2"
> Add this inside any promotion with default cardinality as 1
> Go to sales order, create an order, go to catalog > Browse, go to the required catalog:Category and add the promotion.
> Refresh the line item BC and you will notice that C2 gets deleted.
The following code causes the Headless Configuration Service to be called at the end. In this case it was added to the "Sales Order Catalog Product List Applet - Add to Cart" applet which was the applet used to add the promotion:
if (MethodName == "AddToCart")
objApplication = TheApplication();
psInputs = NewPropertySet();
psOutputs = NewPropertySet();
objService = objApplication.GetService("Headless Configuration Service");
SetProperty("Integration Object","SIS OM Order");
SetProperty("Promotion Automatch","Min Max Cardinality");
objService.InvokeMethod("Apply Promotion Defaults",psInputs,psOutputs);
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms