Commit 14f4eb56 authored by prumde's avatar prumde

Updated for using SELL_PLAN_REVIEW_ALL_DM single datamodel

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@217063 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 814faf8f
...@@ -33,10 +33,9 @@ ...@@ -33,10 +33,9 @@
</filter> </filter>
</filters> </filters>
<page_title><![CDATA[Sell Planning Review]]></page_title> <page_title><![CDATA[Sell Planning Review]]></page_title>
<datasource id="1" dataSourceType="datamodel" filterKey='EMP_CODE' filterExpr=' context["EMP_CODE"] == "$EMP_CODE" ' ><![CDATA[SELL_PLAN_REVIEW_RSM_DM]]></datasource>
<datasource id="2" dataSourceType="datamodel" filterKey='EMP_CODE' filterExpr=' context["EMP_CODE"] == "$EMP_CODE" ' ><![CDATA[SELL_PLAN_REVIEW_ABM_DM]]></datasource> <datasource id="1" dataSourceType="datamodel" filterKey='EMP_CODE' filterExpr=' context["EMP_CODE"] == "$EMP_CODE" ' ><![CDATA[SELL_PLAN_REVIEW_ALL_DM]]></datasource>
<view id="1" name="Default" type="flatonly"> <view id="1" name="Default" type="flatonly">
<component datasource="1" id="1" type="COMPOSITE"> <component datasource="1" id="1" type="COMPOSITE">
<component_icon><![CDATA[sellPlanReview.svg]]></component_icon> <component_icon><![CDATA[sellPlanReview.svg]]></component_icon>
...@@ -44,7 +43,6 @@ ...@@ -44,7 +43,6 @@
<ComponentName><![CDATA[]]></ComponentName> <ComponentName><![CDATA[]]></ComponentName>
<component_css><![CDATA[db-col-1]]></component_css> <component_css><![CDATA[db-col-1]]></component_css>
<component_descr><![CDATA[]]></component_descr> <component_descr><![CDATA[]]></component_descr>
<obj_name_rights><![CDATA[sell_plan_rsm]]></obj_name_rights>
<layout> <layout>
<html><![CDATA[]]></html> <html><![CDATA[]]></html>
</layout> </layout>
...@@ -65,9 +63,9 @@ ...@@ -65,9 +63,9 @@
image_column: 'PRODUCT_CODE', image_column: 'PRODUCT_CODE',
image_size: 'lg', image_size: 'lg',
title_column: 'PRODUCT_DESCR', title_column: 'PRODUCT_DESCR',
header: 'Product List ',
table_header: 'Product Group Details', table_header: 'Product Group Details',
header_column: 'header', header_column: 'header',
header: 'Product List ',
filter_columns: 'REPORT_TO,EMP_CODE,PRODUCT_CODE', filter_columns: 'REPORT_TO,EMP_CODE,PRODUCT_CODE',
info_text: 'Sell In', info_text: 'Sell In',
info_column: 'SELL_IN', info_column: 'SELL_IN',
...@@ -108,76 +106,5 @@ ...@@ -108,76 +106,5 @@
]]></composite_config> ]]></composite_config>
</composite> </composite>
</component> </component>
<component datasource="2" id="2" type="COMPOSITE">
<component_icon><![CDATA[sellPlanReview.svg]]></component_icon>
<ComponentTitle><![CDATA[]]></ComponentTitle>
<ComponentName><![CDATA[]]></ComponentName>
<component_css><![CDATA[db-col-1]]></component_css>
<component_descr><![CDATA[]]></component_descr>
<obj_name_rights><![CDATA[sell_plan_abm]]></obj_name_rights>
<layout>
<html><![CDATA[]]></html>
</layout>
<composite>
<composite_id><![CDATA[_composite_abm_esi_products]]></composite_id>
<composite_descr><![CDATA[Sell Planning Products Summary with Drilldown]]></composite_descr>
<link_metadata><![CDATA[sell_plan_review_esi_table]]></link_metadata>
<column_group id="1">
<columns>
<column id="1" type="string" aggFunction="AVERAGE" groupBy="PRODUCT_CODE"><![CDATA[SELL_IN,SELL_OUT]]></column>
</columns>
</column_group>
<composite_config><![CDATA[
{
component_type: 'PROFILE_CARD_2',
selected_detail: 0,
detailModel: {
image_column: 'PRODUCT_CODE',
image_size: 'lg',
title_column: 'PRODUCT_DESCR',
header: 'Product List ',
table_header: 'Product Group Details',
header_column: 'header',
filter_columns: 'EMP_CODE,PRODUCT_CODE',
info_text: 'Sell In',
info_column: 'SELL_IN',
sub_info_text: 'Sell Out',
sub_info_column: 'SELL_OUT',
info_visible : true
},
chart_properties: {
chartType: 'percentage',
labels: [''],
options: {
width: 20,
height: 20,
responsive: true,
maintainAspectRatio: false,
tooltip: false,
cutOutPercentage: 0,
condnFormat: [
{
id: "RED",
expression: " data[0] <= 60 ",
colors: [[252, 101, 101], [248, 248, 248]]
},
{
id: "YELLOW",
expression: " ( 61 <= data[0] ) && ( data[0] <= 80 ) ",
colors: [[255, 211, 90], [248, 248, 248]]
},
{
id: "GREEN",
expression: " ( 81 < data[0] ) ",
colors: [[0, 199, 153], [248, 248, 248]]
}
]
}
}
}
]]></composite_config>
</composite>
</component>
</view> </view>
</Root> </Root>
...@@ -32,10 +32,8 @@ ...@@ -32,10 +32,8 @@
<mandatory><![CDATA[Y]]></mandatory> <mandatory><![CDATA[Y]]></mandatory>
</filter> </filter>
</filters> </filters>
<page_title><![CDATA[Sell Planning Review]]></page_title> <page_title><![CDATA[Sell Planning Review - Summary]]></page_title>
<datasource id="1" dataSourceType="datamodel" filterKey='REPORT_TO' filterExpr=' context["REPORT_TO"] == "$REPORT_TO" ' ><![CDATA[SELL_PLAN_REVIEW_RSM_DM]]></datasource> <datasource id="1" dataSourceType="datamodel" filterKey='REPORT_TO' filterExpr=' context["REPORT_TO"] == "$REPORT_TO" ' ><![CDATA[SELL_PLAN_REVIEW_ALL_DM]]></datasource>
<datasource id="2" dataSourceType="datamodel" ><![CDATA[SELL_PLAN_REVIEW_ABM_DM]]></datasource>
<view id="1" name="Default" type="flatonly"> <view id="1" name="Default" type="flatonly">
<component datasource="1" id="1" type="COMPOSITE"> <component datasource="1" id="1" type="COMPOSITE">
...@@ -44,7 +42,6 @@ ...@@ -44,7 +42,6 @@
<ComponentName><![CDATA[]]></ComponentName> <ComponentName><![CDATA[]]></ComponentName>
<component_css><![CDATA[db-col-1]]></component_css> <component_css><![CDATA[db-col-1]]></component_css>
<component_descr><![CDATA[]]></component_descr> <component_descr><![CDATA[]]></component_descr>
<obj_name_rights><![CDATA[sell_plan_rsm]]></obj_name_rights>
<layout> <layout>
<html><![CDATA[]]></html> <html><![CDATA[]]></html>
</layout> </layout>
...@@ -64,9 +61,9 @@ ...@@ -64,9 +61,9 @@
image_column: 'PRODUCT_CODE', image_column: 'PRODUCT_CODE',
image_size: 'lg', image_size: 'lg',
title_column: 'PRODUCT_DESCR', title_column: 'PRODUCT_DESCR',
header: 'Product Summary',
table_header: 'Product Group Details', table_header: 'Product Group Details',
header_column: 'header', header_column: 'header',
header: 'Product Summary',
filter_columns: 'REPORT_TO,EMP_CODE,PRODUCT_CODE', filter_columns: 'REPORT_TO,EMP_CODE,PRODUCT_CODE',
info_text: 'Sell In', info_text: 'Sell In',
info_column: 'SELL_IN', info_column: 'SELL_IN',
...@@ -108,74 +105,5 @@ ...@@ -108,74 +105,5 @@
</composite> </composite>
</component> </component>
<component datasource="2" id="2" type="COMPOSITE"> </view>
<component_icon><![CDATA[sellPlanReview.svg]]></component_icon>
<ComponentTitle><![CDATA[]]></ComponentTitle>
<ComponentName><![CDATA[]]></ComponentName>
<component_css><![CDATA[db-col-1]]></component_css>
<component_descr><![CDATA[]]></component_descr>
<obj_name_rights><![CDATA[sell_plan_abm]]></obj_name_rights>
<layout>
<html><![CDATA[]]></html>
</layout>
<composite>
<composite_id><![CDATA[_composite_abm_esi_products]]></composite_id>
<composite_descr><![CDATA[Sell Planning Products Summary with Drilldown]]></composite_descr>
<link_metadata><![CDATA[]]></link_metadata>
<column_group id="1">
<columns>
<column id="1" type="string" aggFunction="AVERAGE" groupBy="PRODUCT_CODE"><![CDATA[SELL_IN,SELL_OUT]]></column>
</columns>
</column_group>
<composite_config><![CDATA[
{
component_type: 'PROFILE_CARD_2',
detailModel: {
image_column: 'PRODUCT_CODE',
image_size: 'lg',
title_column: 'PRODUCT_DESCR',
header: 'Product Summary',
table_header: 'Product Group Details',
header_column: 'header',
filter_columns: 'EMP_CODE,PRODUCT_CODE',
info_text: 'Sell In',
info_column: 'SELL_IN',
sub_info_text: 'Sell Out',
sub_info_column: 'SELL_OUT',
info_visible : true
},
chart_properties: {
chartType: 'percentage',
labels: [''],
options: {
width: 20,
height: 20,
responsive: true,
maintainAspectRatio: false,
tooltip: false,
cutOutPercentage: 0,
condnFormat: [
{
id: "RED",
expression: " data[0] <= 60 ",
colors: [[252, 101, 101], [248, 248, 248]]
},
{
id: "YELLOW",
expression: " ( 61 <= data[0] ) && ( data[0] <= 80 ) ",
colors: [[255, 211, 90], [248, 248, 248]]
},
{
id: "GREEN",
expression: " ( 81 < data[0] ) ",
colors: [[0, 199, 153], [248, 248, 248]]
}
]
}
}
}
]]></composite_config>
</composite>
</component>
</view>
</Root> </Root>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<mandatory><![CDATA[Y]]></mandatory> <mandatory><![CDATA[Y]]></mandatory>
</filter> </filter>
</filters> </filters>
<page_title><![CDATA[Coaching Activity]]></page_title> <page_title><![CDATA[Dealer + Item wise Sell In & Sell Out]]></page_title>
<datasource id="1" dataSourceType="datamodel" ><![CDATA[SELL_PLAN_REVIEW_ESI_DM]]></datasource> <datasource id="1" dataSourceType="datamodel" ><![CDATA[SELL_PLAN_REVIEW_ESI_DM]]></datasource>
<view id="1" name="Default" type="flatonly"> <view id="1" name="Default" type="flatonly">
<component datasource="1" id="1" type="COMPOSITE"> <component datasource="1" id="1" type="COMPOSITE">
......
<?xml version='1.0'?>
<Root>
<filters display="N">
<filter type="4">
<default_value><![CDATA[LAST('0','M')]]></default_value>
<col_name><![CDATA[FromDate]]></col_name>
<col_descr><![CDATA[From date]]></col_descr>
<col_id><![CDATA[FromDate]]></col_id>
<field_name><![CDATA[]]></field_name>
<mod_name><![CDATA[]]></mod_name>
<show_ontitle><![CDATA[1]]></show_ontitle>
<mandatory><![CDATA[Y]]></mandatory>
</filter>
<filter type="4">
<default_value><![CDATA[CURRENT_DATE]]></default_value>
<col_name><![CDATA[ToDate]]></col_name>
<col_descr><![CDATA[To date]]></col_descr>
<col_id><![CDATA[ToDate]]></col_id>
<field_name><![CDATA[]]></field_name>
<mod_name><![CDATA[]]></mod_name>
<show_ontitle><![CDATA[1]]></show_ontitle>
<mandatory><![CDATA[Y]]></mandatory>
</filter>
</filters>
<page_title><![CDATA[Sell Planning Review - NSM]]></page_title>
<datasource id="1" dataSourceType="datamodel"><![CDATA[SELL_PLAN_REVIEW_ALL_DM]]></datasource>
<view id="1" name="Default" type="flatonly">
<component datasource="1" id="1" type="COMPOSITE">
<component_icon><![CDATA[sellPlanReview.svg]]></component_icon>
<ComponentTitle><![CDATA[]]></ComponentTitle>
<ComponentName><![CDATA[]]></ComponentName>
<component_css><![CDATA[db-col-1]]></component_css>
<component_descr><![CDATA[]]></component_descr>
<obj_name_rights><![CDATA[sell_plan_nsm]]></obj_name_rights>
<layout>
<html><![CDATA[]]></html>
</layout>
<composite>
<composite_id><![CDATA[_composite_gsm_list]]></composite_id>
<composite_descr><![CDATA[Sell Planning NSM Summary with Drilldown to GSM]]></composite_descr>
<link_metadata><![CDATA[]]></link_metadata>
<column_group id="1">
<columns>
<column id="1" type="string" filterBy="POSITION_DESCR"><![CDATA[GSM]]></column>
</columns>
</column_group>
<column_group id="2">
<columns>
<column id="1" type="string" aggFunction="AVERAGE" groupBy="EMP_CODE"><![CDATA[SELL_IN,SELL_OUT]]></column>
</columns>
</column_group>
<composite_config><![CDATA[
{
component_type: 'PROFILE_CARD_3',
summaryModel: {
image: 'meet_summary.svg',
title: 'Summary of GSM',
title_column: 'title',
summary_theme: 'violet',
theme_column: 'summary_theme',
info_visible: false,
selected: true,
link_metadata : 'sell_plan_product_summary',
copykeys : 'REPORT_TO,EMP_CODE'
},
detailModel: {
image_column: 'USER:EMP_CODE',
image_size: 'lg',
title_column: 'EMP_NAME',
sub_title_column: 'STATION_DESCR',
header_column: 'header',
header: 'My Team ',
filter_column: 'EMP_CODE',
badge_column: 'DESIGN_CODE',
badge_theme: 'violet',
alt_image_column: 'VACANT_IMAGE',
info_text: 'Sell In',
info_column: 'SELL_IN',
sub_info_text: 'Sell Out',
sub_info_column: 'SELL_OUT',
info_visible : true,
link_metadata: 'sell_plan_review_gsm'
},
chart_properties: {
chartType: 'percentage',
labels: [''],
options: {
width: 20,
height: 20,
responsive: true,
maintainAspectRatio: false,
tooltip: false,
cutOutPercentage: 0,
condnFormat: [
{
id: "RED",
expression: " data[0] <= 60 ",
colors: [[252, 101, 101], [248, 248, 248]]
},
{
id: "YELLOW",
expression: " ( 61 <= data[0] ) && ( data[0] <= 80 ) ",
colors: [[255, 211, 90], [248, 248, 248]]
},
{
id: "GREEN",
expression: " ( 81 < data[0] ) ",
colors: [[0, 199, 153], [248, 248, 248]]
}
]
}
}
}
]]></composite_config>
</composite>
</component>
</view>
</Root>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment