<?xml version="1.0" encoding="UTF-8"?><page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/dataEntry.xsd">
<id>rewards/processRunDefinition</id>
<name>key_reward_settlement_run_definition</name>
<datapath>processRunDefinition/code</datapath>
<module>REWARDS</module>
<functioncall>
<functions>
<function>
</function>
</functions>
</functioncall>
<datasources>
<datasource>
<key>form</key>
<classname>com.crm.web.generator.datasource.DTODatasource</classname>
</datasource>
</datasources>
<mainmenu>
<components>
<component>
<id>cmpHome</id>
<name>key_home</name>
<visiblemodes>read</visiblemodes>
<elements>
<button>
<id>btnHome</id>
<name>key_home</name>
<setmode>read</setmode>
<refresh>page</refresh>
<url>page.do?act=summary&xml=rewards/settlementProcessRunDefinitions</url>
</button>
</elements>
</component>
<component>
<id>cmpNew</id>
<name>key_new</name>
<visiblemodes>read</visiblemodes>
<elements>
<button>
<id>btnNew</id>
<name>key_new</name>
<setmode>new</setmode>
<refresh>page</refresh>
<functioncall>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIRewardSettlementRunDefinition</classname>
<functionname>createButton</functionname>
<resultaction>replace</resultaction>
<datatype>root</datatype>
</function>
</functions>
</functioncall>
</button>
</elements>
</component>
<component>
<id>cmpEdit</id>
<name>key_edit</name>
<visiblemodes>read</visiblemodes>
<elements>
<button>
<id>btnEdit</id>
<name>key_edit</name>
<visibilityconditions>
'[[getValue,java.lang.String,isEditable]]'!='0' &&
'[[getAlias,java.lang.String,IS_PROCESS_RUN_DEF_LATEST_VERSION]]'!='0'
</visibilityconditions>
<setmode>edit</setmode>
<refresh>page</refresh>
<disableonclick>true</disableonclick>
<functioncall>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIRewardSettlementRunDefinition</classname>
<functionname>editButton</functionname>
<resultaction>replace</resultaction>
<datatype>root</datatype>
<parameters>
<parameter>
<value>[[getDTO]]</value>
<datatype>java.lang.Object</datatype>
</parameter>
</parameters>
</function>
</functions>
</functioncall>
</button>
<button>
<id>btnEdit</id>
<name>key_edit</name>
<visibilityconditions>
'[[getValue,java.lang.String,isEditable]]'=='0' ||
'[[getAlias,java.lang.String,IS_PROCESS_RUN_DEF_LATEST_VERSION]]'=='0'
</visibilityconditions>
<style>TopToolbarItemsDisabled</style>
</button>
</elements>
</component>
<component>
<id>cmpDelete</id>
<name>key_delete</name>
<visiblemodes>read</visiblemodes>
<elements>
<button>
<id>btnDelete</id>
<name>key_delete</name>
<visibilityconditions>
'[[getValue,java.lang.String,isDeletable]]'!='0' &&
'[[getAlias,java.lang.String,IS_PROCESS_RUN_DEF_LATEST_VERSION]]'!='0'
</visibilityconditions>
<setmode>read</setmode>
<refresh>page</refresh>
<url>page.do?act=summary&xml=processrun/processRunDefinitions</url>
<functioncall>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIRewardSettlementRunDefinition</classname>
<functionname>deleteButton</functionname>
<datatype>root</datatype>
<parameters>
<parameter>
<value>[[getDTO]]</value>
<datatype>java.lang.Object</datatype>
</parameter>
</parameters>
</function>
</functions>
</functioncall>
</button>
<button>
<id>btnDelete</id>
<name>key_delete</name>
<visibilityconditions>
'[[getValue,java.lang.String,isDeletable]]'=='0' ||
'[[getAlias,java.lang.String,IS_PROCESS_RUN_DEF_LATEST_VERSION]]'=='0'
</visibilityconditions>
<style>TopToolbarItemsDisabled</style>
</button>
</elements>
</component>
<component>
<id>cmpSave</id>
<name>key_save</name>
<visiblemodes>edit,new</visiblemodes>
<elements>
<button>
<id>btnSave</id>
<name>key_save</name>
<setmode>read</setmode>
<refresh>page</refresh>
<functioncall>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIRewardSettlementRunDefinition</classname>
<functionname>saveButton</functionname>
<resultaction>replace</resultaction>
<datatype>root</datatype>
<parameters>
<parameter>
<value>[[getDTO]]</value>
<datatype>java.lang.Object</datatype>
</parameter>
</parameters>
</function>
</functions>
</functioncall>
</button>
</elements>
</component>
<component>
<id>cmpCancel</id>
<name>key_cancel</name>
<visiblemodes>edit,new</visiblemodes>
<elements>
<button>
<id>btnCancel</id>
<name>key_cancel</name>
<setmode>read</setmode>
<refresh>cancel,page.do?act=summary&xml=rewards/settlementProcessRunDefinitions</refresh>
</button>
</elements>
</component>
<component>
<id>cmpActions</id>
<name>key_actions</name>
<visiblemodes>read</visiblemodes>
<elements>
<menu>
<id>menuActions</id>
<name>key_actions</name>
<visiblemodes>read</visiblemodes>
<menuitems>
<button>
<id>btnSubmit</id>
<name>key_submit</name>
<setmode>read</setmode>
<visibilityconditions>
'[[getValue,java.lang.String,processRunDefinition/lifeCycleState]]'=='EFFECTIVE'
</visibilityconditions>
<refresh>page</refresh>
<buttonlook>true</buttonlook>
<visiblemodes>read</visiblemodes>
<functioncall>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIRewardSettlementRunDefinition</classname>
<functionname>submitButton</functionname>
<resultaction>replace</resultaction>
<datatype>root</datatype>
<parameters>
<parameter>
<value>[[getDTO]]</value>
<datatype>java.lang.Object</datatype>
</parameter>
</parameters>
</function>
</functions>
</functioncall>
</button>
<button>
<id>btnSetAsEffective</id>
<name>key_set_as_effective</name>
<setmode>read</setmode>
<visibilityconditions>
'[[getValue,java.lang.String,processRunDefinition/lifeCycleState]]'=='NOT_EFFECTIVE'
</visibilityconditions>
<refresh>page</refresh>
<visiblemodes>read</visiblemodes>
<functioncall>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIProcessRunDefinition</classname>
<functionname>setAsEffective</functionname>
<resultaction>fieldreplace</resultaction>
<datapath>processRunDefinition</datapath>
<parameters>
<parameter>
<value>[[getValue,java.lang.String,processRunDefinition]]</value>
<datatype>java.lang.Object</datatype>
</parameter>
</parameters>
</function>
</functions>
</functioncall>
</button>
<button>
<id>btnSetAsNotEffective</id>
<name>key_set_as_not_effective</name>
<setmode>read</setmode>
<visibilityconditions>
'[[getValue,java.lang.String,processRunDefinition/lifeCycleState]]'=='EFFECTIVE'
&&
'[[getAlias,java.lang.String,processRunDefinition/setAsNotEffective]]'!='1'
</visibilityconditions>
<refresh>page</refresh>
<visiblemodes>read</visiblemodes>
<functioncall>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIProcessRunDefinition</classname>
<functionname>setAsNotEffective</functionname>
<resultaction>fieldreplace</resultaction>
<datapath>processRunDefinition</datapath>
<parameters>
<parameter>
<value>[[getValue,java.lang.String,processRunDefinition]]</value>
<datatype>java.lang.Object</datatype>
</parameter>
</parameters>
</function>
</functions>
</functioncall>
</button>
</menuitems>
</menu>
</elements>
</component>
</components>
</mainmenu>
<main>
<components>
<component>
<id>cmpRewardSettlementType</id>
<name>key_reward_settlement_type</name>
<elements>
<selectbox>
<id>slbRewardSettlementType</id>
<label>key_reward_settlement_type</label>
<lookuptype>ejb</lookuptype>
<datapath>rewardSettlementType</datapath>
<classname>com.crm.dataobject.rewards.RewardSettlementType</classname>
<datatype>enum</datatype>
<reload>true</reload>
<refresh>page</refresh>
<onload>
<type>ejb</type>
<classname>ejb/CRMUIRewardSettlementRunDefinition</classname>
<functionname>getRewardSettlementTypeOptions</functionname>
</onload>
<onchange>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIRewardSettlementRunDefinition</classname>
<functionname>resetInputSettings</functionname>
<resultaction>replace</resultaction>
<datatype>root</datatype>
<parameters>
<parameter>
<value>[[getDTO]]</value>
<datatype>java.lang.Object</datatype>
</parameter>
</parameters>
</function>
</functions>
</onchange>
<width>49%</width>
</selectbox>
</elements>
</component>
<component>
<id>cmpDays</id>
<name/>
<elements>
<textbox>
<id>txtAmount</id>
<label>key_customer_event_performed_x_days_ago</label>
<datapath>daysAgo</datapath>
<datatype>java.lang.Integer</datatype>
<width>30%</width>
</textbox>
</elements>
</component>
<component>
<id>cmpPreviousVersions</id>
<name>key_view_previous_versions</name>
<elements>
<modal>
<id>mdlPreviousVersions</id>
<label/>
<name>key_view_previous_versions</name>
<visiblemodes>read</visiblemodes>
<type>search</type>
<refresh>page</refresh>
<datasetname>processrun.loaddefinitions</datasetname>
<datasetreturnhiddenfield>PROCESSRUNDEFID</datasetreturnhiddenfield>
<datatype>alias</datatype>
<datapath>runDefID</datapath>
<alwayseditable>true</alwayseditable>
<filter>
PROCESSRUNDEFINITIONS.PROCESSRUNDEFUNIFIEDCODE = '[[getValue,java.lang.String,processRunDefinition/code]]'
AND PROCESSRUNDEFINITIONS.PROCESSRUNDEFVERSION < [[getValue,java.lang.String,processRunDefinition/version]]
AND PROCESSRUNDEFINITIONS.PROCESSRUNDEFDELETED = 0
</filter>
<assignments>
<assignment>
<datapath>runDefID</datapath>
<value>id</value>
<datatype>alias</datatype>
</assignment>
</assignments>
<onclosefunction>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIRewardSettlementRunDefinition</classname>
<functionname>loadForm</functionname>
<resultaction>replace</resultaction>
<datatype>root</datatype>
<parameters>
<parameter>
<value>[[getAlias,java.lang.String,runDefID]]</value>
<datatype>java.lang.String</datatype>
</parameter>
</parameters>
</function>
</functions>
</onclosefunction>
</modal>
</elements>
</component>
<component>
<id>cmpCurrentVersion</id>
<name>key_current_version</name>
<visibilityconditions>'[[getAlias,java.lang.String,IS_PROCESS_RUN_DEF_LATEST_VERSION]]'=='0'</visibilityconditions>
<elements>
<button>
<id>mdlPreviousVersions</id>
<label/>
<name>key_current_version</name>
<refresh>page</refresh>
<functioncall>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIRewardSettlementRunDefinition</classname>
<functionname>loadForm</functionname>
<resultaction>replace</resultaction>
<datatype>root</datatype>
<parameters>
<parameter>
<value>[[getAlias,java.lang.String,LATEST_PROCESS_RUN_DEF_ID]]</value>
<datatype>java.lang.String</datatype>
</parameter>
</parameters>
</function>
</functions>
</functioncall>
</button>
</elements>
</component>
<component>
<id>cmpEmptyLine3</id>
<visibilityconditions>'[[getAlias,java.lang.String,IS_PROCESS_RUN_DEF_LATEST_VERSION]]'=='1'</visibilityconditions>
<name>key_empty_line</name>
<elements>
<emptyline>
</emptyline>
</elements>
</component>
<component>
<id>cmpEmptyLine4</id>
<name>key_empty_line</name>
<visiblemodes>new</visiblemodes>
<elements>
<emptyline>
</emptyline>
</elements>
</component>
<component>
<id>cmpSchemesDrilldown</id>
<name>key_reward_schemes</name>
<elements>
<drilldown>
<id>ddSchemes</id>
<tabid>tabSchemes</tabid>
</drilldown>
</elements>
</component>
<component>
<id>cmpRewardSettlementRun</id>
<name>key_reward_settlement_runs</name>
<elements>
<summary>
<id>sumRewardSettlementRun</id>
<name>key_reward_settlement_runs</name>
<hidefilters>true</hidefilters>
<openlinksinmodal>true</openlinksinmodal>
<autosearch>true</autosearch>
<showactions>true</showactions>
<value>rewards/settlementProcessRuns?PROCESSRUNDEFINITIONS.PROCESSRUNDEFUNIFIEDCODE~[[getValue,java.lang.String,processRunDefinition/code]]</value>
</summary>
</elements>
</component>
<component>
<id>cmpSchedulingSettingsSummary</id>
<name/>
<elements>
</elements>
</component>
<component>
<id>cmpEmptyLineRunOn</id>
<name>key_empty_line</name>
<visibilityconditions>'[[getValue,java.lang.String,schedulerTask/runmode]]' == '1'</visibilityconditions>
<elements>
<emptyline>
</emptyline>
</elements>
</component>
<component>
<id>cmpEmptyLineRepeatDates</id>
<name>key_empty_line</name>
<visibilityconditions>'[[getValue,java.lang.String,schedulerTask/runmode]]' == '3'</visibilityconditions>
<elements>
<emptyline>
</emptyline>
</elements>
</component>
<component>
<id>cmpEmptyLineRepeatOptions</id>
<name>key_empty_line</name>
<visibilityconditions>'[[getValue,java.lang.String,schedulerTask/runmode]]' == '3'</visibilityconditions>
<elements>
<emptyline>
</emptyline>
</elements>
</component>
<component>
<id>cmpEmptyLineRepeatEndProcess</id>
<name>key_empty_line</name>
<visibilityconditions>'[[getValue,java.lang.String,schedulerTask/runmode]]' == '3'</visibilityconditions>
<elements>
<emptyline>
</emptyline>
</elements>
</component>
<component>
<id>cmpEmptyLineRecurrenceStartProcess</id>
<name>key_empty_line</name>
<visibilityconditions>'[[getValue,java.lang.String,schedulerTask/runmode]]' == '2'</visibilityconditions>
<elements>
<emptyline>
</emptyline>
</elements>
</component>
<component>
<id>cmpEmptyLineRecurrenceRepeatProcess</id>
<name>key_empty_line</name>
<visibilityconditions>'[[getValue,java.lang.String,schedulerTask/runmode]]' == '2'</visibilityconditions>
<elements>
<emptyline>
</emptyline>
</elements>
</component>
<component>
<id>cmpScheduledDate</id>
<name>key_scheduled_date</name>
<elements>
<textbox>
<id>txtScheduledDate</id>
<label>key_scheduled_date</label>
<datapath>processRunDefinition/scheduledDate</datapath>
<datatype>java.util.Date</datatype>
<readonly>true</readonly>
</textbox>
</elements>
</component>
</components>
</main>
<details>
<tabs>
<tab>
<id>tabSchemes</id>
<name>key_reward_schemes</name>
<datasourcesetkey>schemeCriteria</datasourcesetkey>
<tabmenu>
<components>
<component>
<visibilityconditions>
'[[getAlias,java.lang.String,PROCESS_RUN_LOG_ENTRIES_EXIST]]'!='1'
</visibilityconditions>
<id>cmpAdd</id>
<name>key_add</name>
<visiblemodes>edit,new</visiblemodes>
<elements>
<modal>
<id>mdlAdd</id>
<name>key_add</name>
<type>search</type>
<refresh>tab,tabSchemes</refresh>
<datasetname>rewards.loadschemes</datasetname>
<datasetreturnhiddenfield>REWSCHID</datasetreturnhiddenfield>
<assignments>
<assignment>
<datapath>modal</datapath>
<datatype>alias</datatype>
</assignment>
</assignments>
<onclosefunction>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIRewardRunDefinition</classname>
<functionname>addRewardSchemeCriterionButton</functionname>
<resultaction>setappend</resultaction>
<datapath>schemeCriteria</datapath>
<datasourcesetkey>schemeCriteria</datasourcesetkey>
<parameters>
<parameter>
<value>[[getAlias,java.lang.String,modal]]</value>
<datatype>java.util.ArrayList</datatype>
</parameter>
</parameters>
</function>
</functions>
</onclosefunction>
</modal>
</elements>
</component>
<component>
<visibilityconditions>
'[[getAlias,java.lang.String,PROCESS_RUN_LOG_ENTRIES_EXIST]]'!='1'
</visibilityconditions>
<id>cmpRemove</id>
<name>key_remove</name>
<visiblemodes>edit,new</visiblemodes>
<elements>
<button>
<id>btnRemove</id>
<name>key_remove</name>
<refresh>tab,tabSchemes</refresh>
<functioncall>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIRewardRunDefinition</classname>
<functionname>removeRewardSchemeCriterionButton</functionname>
<datasourcesetkey>schemeCriteria</datasourcesetkey>
<resultaction>setdelete</resultaction>
<parameters>
<parameter>
<value>[[getSelectedDTOs,java.lang.String,schemeCriteria]]</value>
<datatype>java.lang.Object</datatype>
</parameter>
</parameters>
</function>
</functions>
</functioncall>
</button>
</elements>
</component>
</components>
</tabmenu>
<components>
<component>
<id>cmpSelect</id>
<name/>
<elements>
<rowselector>
<id>rowID</id>
<datapath>id</datapath>
</rowselector>
</elements>
</component>
<component>
<id>cmpName</id>
<name>key_name</name>
<elements>
<textbox>
<id>txtName</id>
<datapath>scheme/name</datapath>
<datatype>java.lang.String</datatype>
<readonly>true</readonly>
</textbox>
</elements>
</component>
<component>
<id>cmpAltCode</id>
<name>key_alternative_code</name>
<elements>
<textbox>
<id>txtAltCode</id>
<datapath>scheme/altCode</datapath>
<datatype>java.lang.String</datatype>
<readonly>true</readonly>
</textbox>
</elements>
</component>
<component>
<id>cmpDesc</id>
<name>key_description</name>
<elements>
<textbox>
<id>txtDesc</id>
<datapath>scheme/description</datapath>
<datatype>java.lang.String</datatype>
<readonly>true</readonly>
</textbox>
</elements>
</component>
</components>
</tab>
</tabs>
</details>
</page> |