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,9 +33,8 @@
</filter>
</filters>
<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">
<component datasource="1" id="1" type="COMPOSITE">
......@@ -44,7 +43,6 @@
<ComponentName><![CDATA[]]></ComponentName>
<component_css><![CDATA[db-col-1]]></component_css>
<component_descr><![CDATA[]]></component_descr>
<obj_name_rights><![CDATA[sell_plan_rsm]]></obj_name_rights>
<layout>
<html><![CDATA[]]></html>
</layout>
......@@ -65,81 +63,10 @@
image_column: 'PRODUCT_CODE',
image_size: 'lg',
title_column: 'PRODUCT_DESCR',
header: 'Product List ',
table_header: 'Product Group Details',
header_column: 'header',
filter_columns: 'REPORT_TO,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>
<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',
filter_columns: 'REPORT_TO,EMP_CODE,PRODUCT_CODE',
info_text: 'Sell In',
info_column: 'SELL_IN',
sub_info_text: 'Sell Out',
......
......@@ -32,10 +32,8 @@
<mandatory><![CDATA[Y]]></mandatory>
</filter>
</filters>
<page_title><![CDATA[Sell Planning Review]]></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="2" dataSourceType="datamodel" ><![CDATA[SELL_PLAN_REVIEW_ABM_DM]]></datasource>
<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_ALL_DM]]></datasource>
<view id="1" name="Default" type="flatonly">
<component datasource="1" id="1" type="COMPOSITE">
......@@ -44,7 +42,6 @@
<ComponentName><![CDATA[]]></ComponentName>
<component_css><![CDATA[db-col-1]]></component_css>
<component_descr><![CDATA[]]></component_descr>
<obj_name_rights><![CDATA[sell_plan_rsm]]></obj_name_rights>
<layout>
<html><![CDATA[]]></html>
</layout>
......@@ -64,9 +61,9 @@
image_column: 'PRODUCT_CODE',
image_size: 'lg',
title_column: 'PRODUCT_DESCR',
header: 'Product Summary',
table_header: 'Product Group Details',
header_column: 'header',
header: 'Product Summary',
filter_columns: 'REPORT_TO,EMP_CODE,PRODUCT_CODE',
info_text: 'Sell In',
info_column: 'SELL_IN',
......@@ -108,74 +105,5 @@
</composite>
</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[]]></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>
......@@ -33,8 +33,8 @@
</filter>
</filters>
<page_title><![CDATA[Sell Planning Review - ABM]]></page_title>
<datasource id="1" dataSourceType="datamodel"><![CDATA[SELL_PLAN_REVIEW_ABM_DM]]></datasource>
<datasource id="2" dataSourceType="datamodel" filterKey='EMP_CODE' filterExpr=' context["REPORT_TO"] == "$EMP_CODE" ' ><![CDATA[SELL_PLAN_REVIEW_RSM_DM]]></datasource>
<datasource id="1" dataSourceType="datamodel"><![CDATA[SELL_PLAN_REVIEW_ALL_DM]]></datasource>
<datasource id="2" dataSourceType="datamodel" filterKey='EMP_CODE' filterExpr=' context["REPORT_TO"] == "$EMP_CODE" ' ><![CDATA[SELL_PLAN_REVIEW_ALL_DM]]></datasource>
<view id="1" name="Default" type="flatonly">
<component datasource="1" id="1" type="COMPOSITE">
......@@ -50,7 +50,7 @@
<composite>
<composite_id><![CDATA[_composite_abm_esi_list]]></composite_id>
<composite_message><![CDATA[No data available to display]]></composite_message>
<composite_descr><![CDATA[Sell Planning ESI Summary with Drilldown]]></composite_descr>
<composite_descr><![CDATA[Sell Planning ABM Summary with Drilldown to ESI]]></composite_descr>
<link_metadata><![CDATA[]]></link_metadata>
<column_group id="1">
<columns>
......@@ -63,7 +63,7 @@
component_type: 'PROFILE_CARD_3',
summaryModel: {
image: 'meet_summary.svg',
title: 'Summary',
title: 'Summary of ESI',
title_column: 'title',
summary_theme: 'blue',
theme_column: 'summary_theme',
......@@ -76,8 +76,8 @@
image_size: 'lg',
title_column: 'EMP_NAME',
sub_title_column: 'STATION_DESCR',
header: 'Team',
header_column: 'header',
header: 'My Team',
filter_column: 'EMP_CODE',
badge_column: 'DESIGN_CODE',
badge_theme: 'blue',
......@@ -123,7 +123,7 @@
</composite>
</component>
<component datasource="2" id="1" type="COMPOSITE">
<component datasource="2" id="2" type="COMPOSITE">
<component_icon><![CDATA[sellPlanReview.svg]]></component_icon>
<ComponentTitle><![CDATA[]]></ComponentTitle>
<ComponentName><![CDATA[]]></ComponentName>
......@@ -134,9 +134,96 @@
<html><![CDATA[]]></html>
</layout>
<composite>
<composite_id><![CDATA[_composite_rsm_abm_esi_list]]></composite_id>
<composite_id><![CDATA[_composite_abm_esi_list]]></composite_id>
<composite_message><![CDATA[No data available to display]]></composite_message>
<composite_descr><![CDATA[Sell Planning ABM Summary with Drilldown to ESI]]></composite_descr>
<link_metadata><![CDATA[]]></link_metadata>
<column_group id="1">
<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 ESI',
title_column: 'title',
summary_theme: 'blue',
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: "ABM's Team ",
filter_columns: 'REPORT_TO,EMP_CODE',
badge_column: 'DESIGN_CODE',
badge_theme: 'blue',
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_product_details'
},
chart_properties: {
chartType: 'percentage',
labels: [''],
options: {
width: 16,
height: 16,
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>
<component datasource="2" id="3" 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_gsm]]></obj_name_rights>
<layout>
<html><![CDATA[]]></html>
</layout>
<composite>
<composite_id><![CDATA[_composite_abm_esi_list]]></composite_id>
<composite_message><![CDATA[No data available to display]]></composite_message>
<composite_descr><![CDATA[Sell Planning ESI Summary with Drilldown]]></composite_descr>
<composite_descr><![CDATA[Sell Planning ABM Summary with Drilldown to ESI]]></composite_descr>
<link_metadata><![CDATA[]]></link_metadata>
<column_group id="1">
<columns>
......@@ -149,7 +236,7 @@
component_type: 'PROFILE_CARD_3',
summaryModel: {
image: 'meet_summary.svg',
title: 'Summary',
title: 'Summary of ESI',
title_column: 'title',
summary_theme: 'blue',
theme_column: 'summary_theme',
......@@ -163,8 +250,8 @@
image_size: 'lg',
title_column: 'EMP_NAME',
sub_title_column: 'STATION_DESCR',
header: 'ABM Team ',
header_column: 'header',
header: "ABM's Team ",
filter_columns: 'REPORT_TO,EMP_CODE',
badge_column: 'DESIGN_CODE',
badge_theme: 'blue',
......@@ -209,5 +296,93 @@
]]></composite_config>
</composite>
</component>
<component datasource="2" id="4" 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_abm_esi_list]]></composite_id>
<composite_message><![CDATA[No data available to display]]></composite_message>
<composite_descr><![CDATA[Sell Planning ABM Summary with Drilldown to ESI]]></composite_descr>
<link_metadata><![CDATA[]]></link_metadata>
<column_group id="1">
<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 ESI ',
title_column: 'title',
summary_theme: 'blue',
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: "ABM's Team ",
filter_columns: 'REPORT_TO,EMP_CODE',
badge_column: 'DESIGN_CODE',
badge_theme: 'blue',
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_product_details'
},
chart_properties: {
chartType: 'percentage',
labels: [''],
options: {
width: 16,
height: 16,
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>
......@@ -42,7 +42,7 @@
<mandatory><![CDATA[Y]]></mandatory>
</filter>
</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>
<view id="1" name="Default" type="flatonly">
<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>
<filter type="1">
<default_value><![CDATA[]]></default_value>
<col_name><![CDATA[EMP_CODE]]></col_name>
<col_descr><![CDATA[EMP_CODE]]></col_descr>
<col_id><![CDATA[EMP_CODE]]></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 - GSM]]></page_title>
<datasource id="1" dataSourceType="datamodel"><![CDATA[SELL_PLAN_REVIEW_ALL_DM]]></datasource>
<datasource id="2" dataSourceType="datamodel" filterKey='EMP_CODE' filterExpr=' context["REPORT_TO"] == "$EMP_CODE" ' ><![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_gsm]]></obj_name_rights>
<layout>
<html><![CDATA[]]></html>
</layout>
<composite>
<composite_id><![CDATA[_composite_rsm_list]]></composite_id>
<composite_descr><![CDATA[Sell Planning GSM Summary with Drilldown to RSM]]></composite_descr>
<link_metadata><![CDATA[]]></link_metadata>
<column_group id="1">
<columns>
<column id="1" type="string" filterBy="POSITION_DESCR"><![CDATA[RSM]]></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 RSM',
title_column: 'title',
summary_theme: 'green',
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: 'green',
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_rsm'
},
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>
<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_nsm]]></obj_name_rights>
<layout>
<html><![CDATA[]]></html>
</layout>
<composite>
<composite_id><![CDATA[_composite_rsm_list]]></composite_id>
<composite_descr><![CDATA[Sell Planning GSM Summary with Drilldown to RSM]]></composite_descr>
<link_metadata><![CDATA[]]></link_metadata>
<column_group id="1">
<columns>
<column id="1" type="string" filterBy="POSITION_DESCR"><![CDATA[RSM]]></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 RSM',
title_column: 'title',
summary_theme: 'green',
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: "GSM's Team ",
filter_column: 'EMP_CODE',
badge_column: 'DESIGN_CODE',
badge_theme: 'green',
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_rsm'
},
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>
<?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>
......@@ -21,9 +21,20 @@
<show_ontitle><![CDATA[1]]></show_ontitle>
<mandatory><![CDATA[Y]]></mandatory>
</filter>
<filter type="1">
<default_value><![CDATA[]]></default_value>
<col_name><![CDATA[EMP_CODE]]></col_name>
<col_descr><![CDATA[EMP_CODE]]></col_descr>
<col_id><![CDATA[EMP_CODE]]></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 - RSM]]></page_title>
<datasource id="1" dataSourceType="datamodel"><![CDATA[SELL_PLAN_REVIEW_RSM_DM]]></datasource>
<datasource id="1" dataSourceType="datamodel"><![CDATA[SELL_PLAN_REVIEW_ALL_DM]]></datasource>
<datasource id="2" dataSourceType="datamodel" filterKey='EMP_CODE' filterExpr=' context["REPORT_TO"] == "$EMP_CODE" ' ><![CDATA[SELL_PLAN_REVIEW_ALL_DM]]></datasource>
<view id="1" name="Default" type="flatonly">
<component datasource="1" id="1" type="COMPOSITE">
......@@ -32,12 +43,13 @@
<ComponentName><![CDATA[]]></ComponentName>
<component_css><![CDATA[db-col-1]]></component_css>
<component_descr><![CDATA[]]></component_descr>
<obj_name_rights><![CDATA[sell_plan_rsm]]></obj_name_rights>
<layout>
<html><![CDATA[]]></html>
</layout>
<composite>
<composite_id><![CDATA[_composite_rsm_abm_list]]></composite_id>
<composite_descr><![CDATA[Sell Planning ABM Summary with Drilldown]]></composite_descr>
<composite_id><![CDATA[_composite_abm_list]]></composite_id>
<composite_descr><![CDATA[Sell Planning RSM Summary with Drilldown to ABM]]></composite_descr>
<link_metadata><![CDATA[]]></link_metadata>
<column_group id="1">
<columns>
......@@ -55,9 +67,9 @@
component_type: 'PROFILE_CARD_3',
summaryModel: {
image: 'meet_summary.svg',
title: 'Summary',
title: 'Summary of ABM',
title_column: 'title',
summary_theme: 'blue',
summary_theme: 'orange',
theme_column: 'summary_theme',
info_visible: false,
selected: true,
......@@ -69,8 +81,190 @@
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: 'orange',
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_abm'
},
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>
<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_gsm]]></obj_name_rights>
<layout>
<html><![CDATA[]]></html>
</layout>
<composite>
<composite_id><![CDATA[_composite_abm_list]]></composite_id>
<composite_descr><![CDATA[Sell Planning RSM Summary with Drilldown to ABM]]></composite_descr>
<link_metadata><![CDATA[]]></link_metadata>
<column_group id="1">
<columns>
<column id="1" type="string" filterBy="POSITION_DESCR"><![CDATA[ABM]]></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 ABM',
title_column: 'title',
summary_theme: 'orange',
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: "RSM's Team ",
filter_column: 'EMP_CODE',
badge_column: 'DESIGN_CODE',
badge_theme: 'orange',
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_abm'
},
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>
<component datasource="2" id="3" 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_abm_list]]></composite_id>
<composite_descr><![CDATA[Sell Planning RSM Summary with Drilldown to ABM]]></composite_descr>
<link_metadata><![CDATA[]]></link_metadata>
<column_group id="1">
<columns>
<column id="1" type="string" filterBy="POSITION_DESCR"><![CDATA[ABM]]></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 ABM',
title_column: 'title',
summary_theme: 'orange',
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: "RSM's Team ",
filter_column: 'EMP_CODE',
badge_column: 'DESIGN_CODE',
badge_theme: 'orange',
......
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