Siebel Product Administration Guide > Product and Promotion Eligibility and Compatibility >
Enabling Pre-Pick Compatibility
By default, post-pick compatibility is used. To enable pre-pick compatibility, perform the following tasks:
For more information about pre-pick and post-pick compatibility, see About Pre-Pick Compatibility. Modifying the Web Template to Enable Pre-Pick Compatibility
To enable pre-pick compatibility, you must modify the Web template to include the parameter ForceRefresh=Y. To do this:
- Manually set the Web template for the UI control.
- Edit the Web template to set the ForceRefresh flag to Y.
To manually set the Web template for the UI control
- Navigate to the Administration - Product screen, then the Product Definitions view.
- Modify the product definition:
- Select the Locked Flag check box for the product.
- Drill down on the Workspace version.
- Click the User Interface Tab.
- In the User Interface list, add a new record and complete the necessary fields.
- Drill down on the Name field of the User Interface record you just created.
- In the Group Item List, add a new record and complete the necessary fields.
- In the tree structure, right click any item and add select Add Item to add it to the group.
- For the item you added, select the desired UI Control Web template.
For example, you might select eCfgControlCheckPriceJS.swt for a check box control.
To edit the Web template to set ForceRefresh to Y
- Navigate to the directory \siebel install directory\webtempl/
- In that directory, find the Web template file for the UI control and open it using a text editor such as Notepad.
For example, you might use Notepad to edit the file eCfgControlCheckPriceJS.swt.
NOTE: The Web templates for controls all begin with eCfgControl.
- Edit the file:
- Search for the tag <swe: control>.
- Add a line that says: ForceRefresh="Y".
- Save the changes.
The edited file has the following code: <!-- Template Start: eCfgControlCheckJS.swt -->
<swe:include file="eCfgPort_HeaderJS.swt"/>
<tr>
<td colspan=3>
<swe:for-each id="500" CfgLoopType="DomainAndChildren" startValue="1500" count="Dynamic" iteratorName="101Id"
Usage="CheckBox"
CfgFieldList="CfgFieldName:Name, CfgUIControl:lblName, HtmlAttrib_width:310, Default:Y*
CfgFieldName:RequireMoreChild, Default:Y*
CfgFieldName:Explanation, CfgUIControl:lblExplanation*
CfgFieldName:Customize, CfgUIControl:lblCustomize"
>
<swe:control id="swe:111Id + 4000" CfgHtmlType="CfgCheckBox" ForceRefresh= "Y"
CfgJSShow="showCheckBox" CfgJSUpdateExclusion="updateExcludedItemForPort" CfgJSUpdateSelection="updatePortItemsForCheckBox"/>
</swe:for-each>
</td>
</tr>
<swe:include file="eCfgPort_FooterJS.swt"/>
<!-- Template End: eCfgControlCheckJS.swt -->
Setting the Server Parameter to Enable Pre-Pick Compatibility
Use the following procedure to set the server parameter to enable pre-pick compatibility. To enable pre-pick compatibility
- Navigate to the Administration - Server Configuration screen, then the Servers and Parameters view.
- In the Server Parameters list, query to find the parameter Order Management - PrePick Compatibility.
- In the Value field for this parameter, enter True.
The Value on Restart field also changes to True.
Setting the Server Parameter to Enable Pre-Pick Compatibility on the Siebel Developer Web Client
Use the following procedure to set the server parameter to enable pre-pick compatibility on the Siebel Developer Web Client. To enable pre-pick compatibility
- Use any text editor to open the .cfg file of the Siebel Developer Web Client.
- If the InfraObjMgr section already exists, add the following line to that section:
PrePickCompatibilityEnabled = TRUE
- If the InfraObjMgr section does not already exist, add both the section header and the line to the .cfg file, as follows:
[InfraObjMgr]
PrePickCompatibilityEnabled = TRUE
Verifying the Variable Map for Pre-Pick Compatibility
Verify that the needed variable map definition is present for the following two variable maps:
- Product Eligibility Variable Map - Context
- Cfg Eligibility Variable Map - Context
To verify the variable map
- Navigate to the Administration - Order Management screen, then the Variable Maps view.
- Query to find the variable map named Product Eligibility Variable Map - Context.
- Drill-down on this variable map.
- In the Variable Map Definitions list, query to find Pre Pick Compatibility.
- If this definition is not found:
- Lock the variable map.
- Add a new record to the Variable Map Definitions list and complete the necessary fields, described in the following table.
|
|
Variable Name |
Pre Pick Compatibility |
In/Out |
In |
Type |
Boolean |
On Null |
Ignore |
- Add a new record to the Variable Source list and complete the necessary fields, described in the following table.
|
|
Mode |
Any |
Path |
PARAM_OM_PREPICK_COMPATIBILITY_FLAG |
Source Type |
Server Parameter |
- Add another new record to the Variable Map Definitions list and complete the necessary fields, described in the following table.
|
|
Variable Name |
Pre Pick Mode |
In/Out |
In |
Type |
Text |
On Null |
Ignore |
- Add a new record to the Variable Source list and complete the necessary fields, described in the following table.
|
|
Mode |
Any |
Path |
$Current/Header/Pre Pick Mode |
Source Type |
Instance |
- Release the variable map.
- Repeat Step 1 to Step 5 for the variable map Cfg Eligibility Variable Map - Context.
- Clear the Cache.
|