export const driversTabsConfig = [ { index: 0, title: 'bump chart', chart: { title: 'driver-chart-title', no_of_measures: 9, type: 'line', legends: [ { index: '0', title: 'sell-thru', 'chart-type': 'line', }, { index: '1', title: 'sell-thru-ly', 'chart-type': 'line', }, { index: '2', title: 'demand-plan', 'chart-type': 'bar', }, { index: '2.1', title: 'sell-thru-base-fc', 'chart-type': 'line', }, { index: '2.2', title: 'base-override', 'chart-type': 'bar', }, { index: '2.3', title: 'override-promo', 'chart-type': 'bar', }, { index: '2.3.1', title: 'trade-promo', 'chart-type': 'bar', }, { index: '2.3.2', title: 'holiday-events', 'chart-type': 'bar', }, { index: '2.3.3', title: 'planner-events', 'chart-type': 'bar', }, ], 'x-axis': { dimensions: [ { dimension: 'time', 'dimension-level': 'month', }, ], }, 'y-axis': { measures: [ { title: '', 'dataquery-index': 0, 'measure-index': 1, 'measure-name': 'sum_sell_thru', }, { title: '', 'dataquery-index': 0, 'measure-index': 2, 'measure-name': 'sum_sell_thru_ly', }, { title: '', 'dataquery-index': 0, 'measure-index': 3, 'measure-name': 'sum_sell_thru_fcst', }, { title: '', 'dataquery-index': 0, 'measure-index': 4, 'measure-name': 'sum_sell_thru_base_fcst', }, { title: '', 'dataquery-index': 0, 'measure-index': 5, 'measure-name': 'sum_sell_thru_promo_fcst', }, ], }, 'show-axis-tick': false, 'show-axis-line': false, 'axis-text-color': '#607D8B', time: { datasetID: 2, datatable: 'time_data', dimensionLevels: ['month'], aggregatedMeasures: ['time_flag', 'time_editable'], first: 12, }, }, }, { index: 1, title: 'event panel', 'event-console': { 'applicable-to-measure': 'trade-promo', grid: { columns: [ { title: 'event', 'show-value': true, agg: '', edit: false, }, { title: 'product', 'show-value': true, agg: '', edit: false, }, { title: 'location', 'show-value': true, agg: '', edit: false, }, { title: 'from', 'show-value': true, agg: '', edit: false, }, { title: 'to', 'show-value': true, agg: '', edit: false, }, { title: 'duration', 'show-value': true, agg: '', edit: false, }, { title: 'upliftPer', 'show-value': true, agg: 'percent', edit: true, 'measure-type': 'float', }, { title: 'uplift', 'show-value': true, agg: '', edit: false, }, ], }, }, }, ]; export const USER = { data: { userConfig: { userId: 'eea75cf9-06de-4fe7-b476-ac48856398df', firstName: 'Zubin', lastName: 'Shah', email: 'zubin.shah@antuit.com', locale: null, defaultApp: 'df', applications: [ { applicationId: 1, applicationName: 'df', configJson: { title: 'df', 'forecast-objectives': ['sell-in', 'sell-through'], default: 'sell-in', workflows: [ { permission: 'df_sensecheck_sellin_view', 'forecast-objective': 'sell-in', 'sense-check': { toolbar: { 'title-key': 'sell-in-sense-check-title', 'header-key': 'sense-check', actions: [ { 'title-key': 'navigation', icons: [ { image: { icon: 'fa-cubes', name: 'sense-check', states: { default: 0, options: [0] } }, action: { type: '', name: '' }, }, { image: { icon: 'fa-cube', name: 'forecast-details', states: { default: 1, options: [0, 1] } }, action: { type: 1, name: '/demand-forecasting/sense-check/details' }, }, { image: { icon: 'fa-cog', name: 'forecast-list', states: { default: 1, options: [0, 1] } }, action: { type: 1, name: '/forecast-runs' }, }, ], }, { 'title-key': 'data', icons: [ { image: { icon: 'fa-download', name: 'download', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/sense-check/download' }, }, { image: { icon: 'fa-sync', name: 'sync', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/demand-forecasting/sense-check' }, }, ], }, { 'title-key': 'batch', icons: [ { image: { icon: 'fa-download', name: 'batch', states: { default: 1, options: [0, 1, 2, 4] } }, action: { type: 3, name: '/sense-check/batch' }, }, ], }, ], }, layout: 'default', 'chart-sections': [ { type: 'current-previous-bar', config: { 'title-key': 'overall-metrics-title', measures: { measure1: { measure_id: [3], function: 'sum', label: 'total-forecast' }, measure2: { measure_id: [2], function: 'sum', label: 'total-shipments' }, measure3: { measure_id: [232213], function: 'avg', label: 'accuracy' }, measure4: { measure_id: [663322], function: 'avg', label: 'bias' }, }, groupBy: [123222], }, }, { type: 'donut', config: { 'title-key': 'segments-title', filterable: true, groupBy: [445343], measures: ['count'], 'related-to': 'filters[0]', }, }, { type: 'heatmap', config: { 'title-key': 'classification-title', groupBy: [3124234], measures: ['count'], 'related-to': 'filters[2]', }, }, { type: 'tab-bar', config: { 'title-key': 'overall-accuracy-title', tabs: [ { dimension_member_id: 13244562, groupBy: 1223, measure_id: [123123], count: 5, top: true, bottom: true }, { dimension_member_id: 14325332, groupBy: 1223, measure_id: [123123], count: 5, top: true, bottom: true }, ], }, }, ], filters: [ { type: 'multi-select', 'title-key': 'segments-filter-title', default: 'all-segments', dimension_level_id: 1411, 'related-to': 'chart-sections[1]', }, { type: 'multi-select', 'title-key': 'timperiod-filter-title', default: 'all-timeperiods', dimension_level_id: 1522, }, { type: 'multi-select', 'title-key': 'classsfications-filter-title', default: 'all-classifications', dimension_level_id: 1512, 'related-to': 'chart-sections[2]', }, { type: 'multi-select', 'title-key': 'categories-filter-title', default: 'all-categories', config: { datatable: 'product_data', dimension_filter: [{ dimension_column: '' }], dimension_levels: ['category'], group: [''], agg_measure_names: [''], sort: [{ columnName: 'category', direction: 'ASC' }], first: 10, }, }, { type: 'multi-select', 'title-key': 'class-filter-title', default: 'all-class', config: { datatable: 'product_data', dimension_filter: [{ dimension_column: '' }], dimension_levels: ['class'], group: [''], agg_measure_names: [''], sort: [{ columnName: 'class', direction: 'ASC' }], first: 10, }, }, { type: 'multi-select', 'title-key': 'channel-filter-title', default: 'all-channels', config: { datatable: 'location_data', dimension_filter: [{ dimension_column: '' }], dimension_levels: ['channel'], group: [''], agg_measure_names: [''], sort: [{ columnName: 'channel', direction: 'ASC' }], first: 10, }, }, { type: 'single-select', 'title-key': 'version-filter-title', default: 'most-recent', config: { datatable: 'forecast_data', dimension_filter: [{ dimension_column: '' }], dimension_levels: ['forecast_version'], group: [''], agg_measure_names: [''], sort: [{ columnName: 'forecast_version', direction: 'ASC' }], first: 10, }, }, { type: 'custom-filter-dropdown', 'title-key': 'rules-filter-title', default: 'none', dimension_level_id: [1645], 'measure-id': [123, 324, 456, 567], }, ], 'forecast-summary-grid': { 'title-key': 'forecast-summary', dimensions: [ { dimension_id: 1121, title: '', detail: { icon: 'fa-exclamation-triangle', uri: '/demand-forecasting/sense-check/details' }, }, { title: '', detail: { actions: { 'title-key': '', icons: [ { image: { icon: 'fa-share-alt', name: 'share', states: { default: 1, options: [0, 1] } }, action: { type: 2, name: 'share' }, }, ], }, }, }, { dimension_id: 4132, title: 'product', 'related-to': ['filters.filter5'], detail: { icon: 'fa-info-circle', action: { 'feature-importance': { title: 'feature-importance', feature_id: [123, 234, 2132, 43232, 1233, 566, 667, 7756, 222, 234], groupBy: 'dimension_id', }, }, }, }, { dimension_id: 2311, title: 'location', 'related-to': ['filters.filter6'] }, { dimension_id: 2312, title: 'channel' }, { dimension_id: 2313, 'related-to': ['filters.filter1', 'chart-sections.section2'] }, { dimension_id: 2314, 'related-to': ['filters.filter3', 'chart-sections.section3'] }, { dimension_id: 2315, 'related-to': ['filters.filter2'], detail: { icon: 'fa-chevron-down', action: { expand: { a: 'b' } } }, }, { dimension_id: 2316 }, { dimension_id: 2317 }, ], pinned: 4132, measures: [ { measure: 4353 }, { measure: 4354 }, { measure: 4355 }, { measure: 4356 }, { measure: 4357 }, { measure: 4358 }, { measure: 4359 }, { measure: 4360 }, { measure: 4361 }, ], }, share: { title: 'modal-share-title', tab1: { title: 'modal-share-title', 'share-with': 'share-with', subject: 'subject', message: 'message', 'cancel-button': 'cancel', 'send-button': 'send', }, tab2: { title: 'assign-title', 'assign-to': 'assign-to', problem: 'problem', subject: 'subject', message: 'message', 'cancel-button': 'cancel', 'send-button': 'send', }, }, }, 'forecast-details': { toolbar: { backIcon: { image: { icon: 'fa-arrow-up', name: '', states: { default: 1, options: [0, 1], }, }, action: { type: 1, name: '/demand-forecasting/sense-check', }, }, 'title-key': 'details', details: { config: { datatable: 'forecast_data', dimension_filter: [ { dimension_column: 'product', dimensionLevelColumnName: 'class', value: 'class_id', }, { dimension_column: 'location', dimensionLevelColumnName: 'chain', value: 'chain_id', }, ], dimension_levels: ['category', 'class', 'week'], agg_measure_names: ['accuracy', 'bias', 'segment'], sort: { columns: [ { 'column-name': 'accuracy', direction: 'ASC', }, ], }, }, header: [ { 'dimension-level': 'class', display: 'externalId', default: 'all-products', }, { 'dimension-level': 'chain', display: 'externalId', default: 'all-locations', }, ], footer: [ { 'title-key': 'detail-accuracy', measure: 'accuracy', suffix: 'percentage', }, { 'title-key': 'detail-bias', measure: 'bias', suffix: 'percentage', }, { 'title-key': 'detail-segment', measure: 'segment', suffix: '', 'translate-values': true, }, ], }, images: [ { 'title-key': 'navigation', icons: [ { image: { icon: 'fa-cubes', name: 'sense-check', states: { default: 1, options: [0, 1], }, }, action: { type: 1, name: '/demand-forecasting/sense-check', }, }, { image: { icon: 'fa-cube', name: 'details', states: { default: 0, options: [0], }, }, action: { type: '', name: '', }, }, { image: { icon: 'fa-cog', name: 'forecast-runs', states: { default: 1, options: [0, 1], }, }, action: { type: 1, name: '/forecast-runs', }, }, ], }, { 'title-key': 'compare', icons: [ { image: { icon: 'fa-plus-square', name: 'add-scenario', states: { default: 1, options: [0, 1, 2], }, }, action: { type: 2, name: 'add-scenario', }, }, { image: { icon: 'fa-heartbeat', name: 'status', states: { default: 1, options: [0, 1, 2], }, }, action: { type: 1, name: 'show-status', }, }, ], }, { 'title-key': 'edit', icons: [ { image: { icon: 'fa-tag', name: 'planner-code-flag', states: { default: 1, options: [0, 1], }, }, action: { type: 2, name: 'add-planner-flag', }, }, { image: { icon: 'fa-flag', name: 'promo', states: { default: 1, options: [0, 1], }, }, action: { type: 2, name: 'add-promo-flag', }, }, ], }, { 'title-key': 'share', icons: [ { image: { icon: 'fa-share-alt', name: 'share', states: { default: 1, options: [0, 1], }, }, action: { type: 2, name: 'share', }, }, ], }, { 'title-key': 'filter', icons: [ { image: { icon: 'fa-filter', name: 'filter', states: { default: 1, options: [0, 1, 2], }, }, action: { type: 2, name: 'dimension-filters', }, }, ], }, { 'title-key': 'data', icons: [ { image: { icon: 'fa-download', name: 'download', states: { default: 0, options: [0, 1], }, }, action: { type: 3, name: '/details/download', }, }, { image: { icon: 'fa-upload', name: 'upload', states: { default: 0, options: [0, 1], }, }, action: { type: 3, name: '/details/upload', }, }, { image: { icon: 'fa-sync', name: 'upload', states: { default: 1, options: [0, 1], }, }, action: { type: 3, name: '/details', }, }, ], }, ], }, layout: 'default', 'line-chart': { 'x-axis': { dimension_id: [45321] }, 'y-axis': [{ measure_id: 676543 }, { measure_id: 676544 }], pin: { dimension_id: 234453 }, ruler: true, }, 'details-grid': { dimensions: [ { dimension: 'time', 'dimension-level': 'week', }, ], measures: [ { title: 'forecast-override', measure: 'sum_latest_actual', type: 'int', edit: true, edit_permission: 'df_details_grid_edit', }, { title: 'consumption-forecast', measure: 'sum_forecast', type: 'int', edit: false, edit_permission: 'df_details_grid_edit', }, { title: 'base-forecast', measure: 'sum_forecast_l_a', type: 'int', edit: false, edit_permission: 'df_details_grid_edit', }, { title: 'planner-code-flag', measure: 'planner_code', type: 'planner-flag', 'avbl-image': 'planner_code_pin.svg', 'edit-image': 'planner_code_active_pin.svg', action: { type: 2, name: 'add-planner-flag', }, edit: true, edit_permission: 'df_details_grid_edit', }, ], }, 'dimension-filters': { 'search-icon': 'fa-search', clear: 'clear', available: 'available', selected: 'selected', 'select-all': 'select-all', tabs: [ { title: 'product', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [123, 234], type: 1, }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [234, 345, 456], type: 1, }, details: { 'is-title-edit': false, 'is-multiselect': false }, }, { title: 'customer', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [123, 234, 345, 456], type: 1, }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [234, 345, 456], type: 1, }, details: { 'is-title-edit': false, 'is-multiselect': true }, }, ], }, 'add-planner-flag': { title: 'add-planner-code-flag', 'planner-flag-type': 'planner-flag-type', target: 'target', date: { title: 'date', format: 'dd/MM/yyyy' }, 'imputation-method': 'imputation-method', 'add-comments': 'add-comments', comments: 'comments', }, 'apply-promo': { title: 'apply-promos', available: { title: 'available', select: 'multi', search: true, filter: true, dimensions: [11, 12, 13, 14, 15, 16, 17], remove: 'remove', add: 'add', }, selected: { title: 'selected', dimensions: [11, 12, 13, 14, 15, 16, 17] }, 'apply-to': { title: 'apply-to', date: { title: 'date', format: 'dd/MM/yyyy' }, 'promos-to-apply': { title: 'promos-to-apply' }, }, }, chart: { type: 'line', config: { query: 'daDataQuery', datatable: 'forecast_data', dimension_filter: [ { dimension_column: 'forecast', dimensionLevelColumnName: 'forecast_version', value: 'selectedVersion' }, ], dimension_levels: ['channel', 'class', 'week'], agg_measure_names: ['sum_latest_actual', 'sum_forecast', 'max_anomaly_flg'], sort: { columns: [{ 'column-name': 'week', direction: 'DESC' }] }, }, legends: [ { title: 'consumption', image: 'path://m 0 11 h 24 v 2 h -24 v -2' }, { title: 'consumption-forecast', image: 'path://m 0 11 h 24 v 2 h -24 v -2' }, { title: 'anomaly', image: 'path://M18.2 9.6C18.2 10.6625 17.7046 12.0803 16.8286 13.5961C15.9677 15.1252 14.8068 16.71 13.6256 18.1555C12.4476 19.5973 11.2668 20.8795 10.3792 21.8024C10.0824 22.1111 9.81891 22.3789 9.6 22.5984C9.38109 22.3789 9.11761 22.1111 8.82075 21.8024C7.93315 20.8795 6.75242 19.5973 5.57437 18.1555C4.39324 16.71 3.23227 15.1252 2.37138 13.5961C1.4954 12.0803 1 10.6625 1 9.6C1 4.85035 4.85035 1 9.6 1C14.3496 1 18.2 4.85035 18.2 9.6Z', }, ], 'x-axis': { dimensions: [{ dimension: 'time', 'dimension-level': 'week' }] }, 'y-axis': { measures: [ { title: '', measure: 'sum_latest_actual' }, { title: '', measure: 'sum_forecast' }, ], }, pin: { measures: [{ title: 'a', measure: 'max_anomaly_flg', value: 'sum_latest_actual' }] }, 'highlight-section': { 'x-axis': true, 'y-axis': false }, ruler: true, }, config: { query: 'daDataQuery', 'query-params': [ { datatable: 'product_location_week_data', index: 0, dimension_levels: ['week'], agg_measure_names: ['sum_so_quantity', 'sum_base_price', 'planner_code'], sort: { entries: [ { columnName: 'class', direction: 'DESC' }, { columnName: 'week', direction: 'ASC' }, ], }, }, { datatable: 'forecast_data', index: 1, dimension_filter: [ { dimension_column: 'forecast', dimensionLevelColumnName: 'forecast_version', value: 'selectedVersion' }, ], dimension_levels: ['week'], agg_measure_names: [ 'sum_forecast', 'max_anomaly_flg', 'sum_forecast_override', 'sum_imputed_sell_out', 'sum_base_forecast', ], sort: { entries: [ { columnName: 'class', direction: 'DESC' }, { columnName: 'week', direction: 'ASC' }, ], }, }, ], }, share: { title: 'modal-share-title', tab1: { title: 'modal-share-title', 'share-with': 'share-with', subject: 'subject', message: 'message', 'cancel-button': 'cancel', 'send-button': 'send', }, tab2: { title: 'assign-title', 'assign-to': 'assign-to', problem: 'problem', subject: 'subject', message: 'message', 'cancel-button': 'cancel', 'send-button': 'send', }, }, 'load-scenario': { 'title-key': 'load-scenario', 'select-scenario': 'select-scenario', 'scenario-grid': { query: 'dfScenarios', config: { status: ['CURRENT', 'SUPERSCEDED'], columns: [ { name: 'name', hidden: false, title: 'scenario-name', 'show-value': true, 'translate-values': false, }, { name: 'status', hidden: false, title: 'scenario-status', 'show-value': false, 'translate-values': false, detail: [ { value: 'CURRENT', icon: 'fa-exclamation-triangle', }, { value: 'SUPERCEDED', icon: 'fa-exclamation-triangle', }, { value: 'DELETED', icon: 'fa-exclamation-triangle', }, { value: 'PROMOTED', icon: 'fa-exclamation-triangle', }, { value: 'SCHEDULED', icon: 'fa-exclamation-triangle', }, ], }, { name: 'runScheduledTimestamp', hidden: false, title: 'date-modified', 'show-value': true, 'translate-values': false, }, ], }, }, 'cancel-button': 'cancel', 'load-as-comp-button': 'load-as-comp', 'load-button': 'load', }, }, }, { permission: 'df_sensecheck_sellthr_view', 'forecast-objective': 'sell-through', 'sense-check': { toolbar: { 'title-key': 'sell-through-sense-check-title', 'header-key': 'sense-check', actions: [ { 'title-key': 'navigation', icons: [ { image: { icon: 'fa-cubes', name: 'sense-check', states: { default: 0, options: [0] } }, action: { type: '', name: '' }, }, { image: { icon: 'fa-cube', name: 'forecast-details', states: { default: 1, options: [0, 1] } }, action: { type: 1, name: '/demand-forecasting/sense-check/details' }, }, { image: { icon: 'fa-cog', name: 'forecast-list', states: { default: 1, options: [0, 1] } }, action: { type: 1, name: '/forecast-runs' }, }, ], }, { 'title-key': 'data', icons: [ { image: { icon: 'fa-download', name: 'download', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/sense-check/download' }, }, { image: { icon: 'fa-sync', name: 'sync', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/demand-forecasting/sense-check' }, }, ], }, { 'title-key': 'batch', icons: [ { image: { icon: 'fa-download', name: 'batch', states: { default: 1, options: [0, 1, 2, 4] } }, action: { type: 3, name: '/sense-check/batch' }, }, ], }, ], }, layout: 'default', 'chart-sections': [ { type: 'current-previous-bar', config: { 'title-key': 'overall-metrics-title', measures: { measure1: { measure_id: [3], function: 'sum', label: 'total-forecast' }, measure2: { measure_id: [2], function: 'sum', label: 'total-shipments' }, measure3: { measure_id: [232213], function: 'avg', label: 'accuracy' }, measure4: { measure_id: [663322], function: 'avg', label: 'bias' }, }, groupBy: [123222], }, }, { type: 'donut', config: { 'title-key': 'segments-title', filterable: true, groupBy: [445343], measures: ['count'], 'related-to': 'filters[0]', }, }, { type: 'heatmap', config: { 'title-key': 'classification-title', groupBy: [3124234], measures: ['count'], 'related-to': 'filters[2]', }, }, { type: 'tab-bar', config: { 'title-key': 'overall-accuracy-title', tabs: [ { dimension_member_id: 13244562, groupBy: 1223, measure_id: [123123], count: 5, top: true, bottom: true }, { dimension_member_id: 14325332, groupBy: 1223, measure_id: [123123], count: 5, top: true, bottom: true }, ], }, }, ], filters: [ { type: 'multi-select', 'title-key': 'segments-filter-title', default: 'all-segments', dimension_level_id: 1411, 'related-to': 'chart-sections[1]', }, { type: 'multi-select', 'title-key': 'timperiod-filter-title', default: 'all-timeperiods', dimension_level_id: 1522, }, { type: 'multi-select', 'title-key': 'classsfications-filter-title', default: 'all-classifications', dimension_level_id: 1512, 'related-to': 'chart-sections[2]', }, { type: 'multi-select', 'title-key': 'categories-filter-title', default: 'all-categories', dimension_level_id: 1645, }, { type: 'multi-select', 'title-key': 'brands-filter-title', default: 'all-brands', dimension_level_id: 1343 }, { type: 'multi-select', 'title-key': 'dc-filter-title', default: 'all-dcs', dimension_level_id: 1822 }, { type: 'single-select', 'title-key': 'version-filter-title', default: 'most-recent', dimension_level_id: 1998, }, { type: 'custom-filter-dropdown', 'title-key': 'rules-filter-title', default: 'none', dimension_level_id: [1645], 'measure-id': [123, 324, 456, 567], }, ], 'forecast-summary-grid': { 'title-key': 'forecast-summary', dimensions: [ { dimension_id: 1121, title: '', detail: { icon: 'fa-exclamation-triangle', uri: '/demand-forecasting/sense-check/details' }, }, { title: '', detail: { actions: { 'title-key': '', icons: [ { image: { icon: 'fa-share-alt', name: 'share', states: { default: 1, options: [0, 1] } }, action: { type: 2, name: 'share' }, }, ], }, }, }, { dimension_id: 4132, title: 'product', 'related-to': ['filters.filter5'], detail: { icon: 'fa-info-circle', action: { 'feature-importance': { title: 'feature-importance', feature_id: [123, 234, 2132, 43232, 1233, 566, 667, 7756, 222, 234], groupBy: 'dimension_id', }, }, }, }, { dimension_id: 2311, title: 'location', 'related-to': ['filters.filter6'] }, { dimension_id: 2312, title: 'channel' }, { dimension_id: 2313, 'related-to': ['filters.filter1', 'chart-sections.section2'] }, { dimension_id: 2314, 'related-to': ['filters.filter3', 'chart-sections.section3'] }, { dimension_id: 2315, 'related-to': ['filters.filter2'], detail: { icon: 'fa-chevron-down', action: { expand: { a: 'b' } } }, }, { dimension_id: 2316 }, { dimension_id: 2317 }, ], pinned: 4132, measures: [ { measure: 4353 }, { measure: 4354 }, { measure: 4355 }, { measure: 4356 }, { measure: 4357 }, { measure: 4358 }, { measure: 4359 }, { measure: 4360 }, { measure: 4361 }, ], }, share: { title: 'modal-share-title', tab1: { title: 'modal-share-title', 'share-with': 'share-with', subject: 'subject', message: 'message', 'cancel-button': 'cancel', 'send-button': 'send', }, tab2: { title: 'assign-title', 'assign-to': 'assign-to', problem: 'problem', subject: 'subject', message: 'message', 'cancel-button': 'cancel', 'send-button': 'send', }, }, }, 'forecast-details': { toolbar: { 'title-key': 'details', images: [ { 'title-key': 'navigation', icons: [ { image: { icon: 'fa-cubes', name: 'sense-check', states: { default: 1, options: [0, 1] } }, action: { type: 1, name: '/demand-forecasting/sense-check' }, }, { image: { icon: 'fa-cube', name: 'details', states: { default: 0, options: [0] } }, action: { type: '', name: '' }, }, { image: { icon: 'fa-cog', name: 'forecast-runs', states: { default: 1, options: [0, 1] } }, action: { type: 1, name: '/forecast-runs' }, }, ], }, { 'title-key': 'compare', icons: [ { image: { icon: 'fa-plus-square', name: 'add-scenario', states: { default: 1, options: [0, 1, 2] } }, action: { type: 2, name: 'add-scenario' }, }, { image: { icon: 'fa-heartbeat', name: 'status', states: { default: 1, options: [0, 1, 2] } }, action: { type: 1, name: 'show-status' }, }, ], }, { 'title-key': 'edit', icons: [ { image: { icon: 'fa-tag', name: 'planner-code-flag', states: { default: 1, options: [0, 1] } }, action: { type: 2, name: 'add-planner-flag' }, }, { image: { icon: 'fa-flag', name: 'promo', states: { default: 1, options: [0, 1] } }, action: { type: 2, name: 'add-promo-flag' }, }, ], }, { 'title-key': 'share', icons: [ { image: { icon: 'fa-share-alt', name: 'share', states: { default: 1, options: [0, 1] } }, action: { type: 2, name: 'share' }, }, ], }, { 'title-key': 'filter', icons: [ { image: { icon: 'fa-filter', name: 'filter', states: { default: 1, options: [0, 1, 2] } }, action: { type: 2, name: 'filter' }, }, ], }, { 'title-key': 'data', icons: [ { image: { icon: 'fa-download', name: 'download', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/details/download' }, }, { image: { icon: 'fa-upload', name: 'upload', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/details/upload' }, }, { image: { icon: 'fa-sync', name: 'upload', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/details' }, }, ], }, { 'title-key': 'batch', icons: [ { image: { icon: 'fa-lightbulb', name: 'scenario', states: { default: 1, options: [0, 1, 2] } }, action: { type: 2, name: '/add-scenario' }, }, { image: { icon: 'fa-server', name: 'batch', states: { default: 1, options: [0, 1, 4] } }, action: { type: 3, name: '/batch' }, }, { image: { icon: 'fa-inbox', name: 'batch', states: { default: 1, options: [0, 1] } }, action: { type: 2, name: '/check-batch' }, }, ], }, ], }, layout: 'default', 'line-chart': { 'x-axis': { dimension_id: [45321] }, 'y-axis': [{ measure_id: 676543 }, { measure_id: 676544 }], pin: { dimension_id: 234453 }, ruler: true, }, 'details-grid': { measures: [ { measure_id: 234234, type: 'int', edit: 'true', edit_permission: 'df_details_grid_edit' }, { measure_id: 234235, type: 'int', edit: 'false' }, { measure_id: 234236, type: 'int' }, { measure_id: 234237, type: 'int' }, { measure_id: 234238, type: 'int' }, { measure_id: 234239, type: 'int' }, { measure_id: 234240, type: 'promo-flag', promo: { title: 'apply-promo', available: { title: 'available', search: true, filter: true, dimensions: [11, 12, 13, 14, 15, 16, 17], remove: 'remove', add: 'add', }, selected: { title: 'selected', dimensions: [11, 12, 13, 14, 15, 16, 17] }, }, }, { measure_id: 234241, type: 'planner-flag', 'promo-flag': { title: 'add-planner-code-flag', 'edit-title': 'planner-code-flags', 'planner-flag-type': 'planner-flag-type', target: 'target', date: { title: 'date', format: 'dd/MM/yyyy' }, 'imputation-method': 'imputation-method', 'add-comments': 'add-comments', comments: 'comments', }, }, 'forecast-override', 'consumption', 'imputed-consumption', 'consumption-forecast', 'base-forecast', 'promo-uplift', 'planner-code-flag', 'promo-flag', ], }, 'dimension-filters': { 'search-icon': 'fa-search', clear: 'clear', available: 'available', selected: 'selected', 'select-all': 'select-all', tabs: [ { title: 'product', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [123, 234], type: 1, }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [234, 345, 456], type: 1, }, details: { 'is-title-edit': false, 'is-multiselect': false }, }, { title: 'customer', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [123, 234, 345, 456], type: 1, }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [234, 345, 456], type: 1, }, details: { 'is-title-edit': false, 'is-multiselect': true }, }, ], }, 'add-planner-flag': { title: 'add-planner-code-flag', 'planner-flag-type': 'planner-flag-type', target: 'target', date: { title: 'date', format: 'dd/MM/yyyy' }, 'imputation-method': 'imputation-method', 'add-comments': 'add-comments', comments: 'comments', }, 'apply-promo': { title: 'apply-promos', available: { title: 'available', select: 'multi', search: true, filter: true, dimensions: [11, 12, 13, 14, 15, 16, 17], remove: 'remove', add: 'add', }, selected: { title: 'selected', dimensions: [11, 12, 13, 14, 15, 16, 17] }, 'apply-to': { title: 'apply-to', date: { title: 'date', format: 'dd/MM/yyyy' }, 'promos-to-apply': { title: 'promos-to-apply' }, }, }, share: { title: 'modal-share-title', tab1: { title: 'modal-share-title', 'share-with': 'share-with', subject: 'subject', message: 'message', 'cancel-button': 'cancel', 'send-button': 'send', }, tab2: { title: 'assign-title', 'assign-to': 'assign-to', problem: 'problem', subject: 'subject', message: 'message', 'cancel-button': 'cancel', 'send-button': 'send', }, }, }, }, ], 'forecast-runs': { 'title-key': 'forecast-runs', toolbar: [ { 'title-key': 'navigation', icons: [ { image: { icon: 'fa-cubes', name: 'sense-check', states: { default: 0, options: [0] } }, action: { type: '', name: '' }, }, { image: { icon: 'fa-cube', name: 'forecast-details', states: { default: 1, options: [0, 1] } }, action: { type: 1, name: '/demand-forecasting/sense-check/details' }, }, { image: { icon: 'fa-cog', name: 'forecast-list', states: { default: 1, options: [0, 1] } }, action: { type: 1, name: '/forecast-runs' }, }, ], }, ], grid: { titlekey: 'forecast-runs', 'grid-icons': [ [ { icon: 'fa-search', action: '/grid/search' }, { icon: 'fa-plus-circle', action: '/grid/add' }, ], [ { icon: 'fa-bolt', action: '/forecast/run' }, { icon: 'fa-server', action: '/forecast/batch' }, { icon: 'fa-edit', action: '/forecast/edit' }, { icon: 'fa-tash-alt', action: '/forecast/delete' }, ], ], 'multi-select': true, 'header-keys': ['name', 'last-run-by', 'last-run-on', 'details', 'status', 'run-log'], 'special-columns': { 'run-log': { icon: 'fa-list-ui', action: 'forecast-run-log' } }, }, }, }, i18n: { locale: 'en_US', translations: { df: 'Demand Forecasting', 'sell-in-sense-check-title': 'Sell-In Forecast', 'sense-check': 'Sense Check', navigation: 'navigation', data: 'data', batch: 'batch', 'overall-metrics-title': 'Overall Metrics', 'segments-title': 'Segments', 'classification-title': 'Classification', 'overall-accuracy-title': 'Overall Accuracy', 'segments-filter-title': 'Segments', 'timperiod-filter-title': 'Time Period', 'classsfications-filter-title': 'Classification', 'categories-filter-title': 'Categories', 'brands-filter-title': 'Brands', 'dc-filter-title': 'DCs', 'version-filter-title': 'Version', 'rules-filter-title': 'Rules', 'forecast-summary': 'Forecast Summary', 'sell-through-sense-check-title': 'Sell-Through Forecast', 'all-segments': 'All Segments', 'all-classifications': 'All Classifications', details: 'Details', compare: 'compare', edit: 'edit', share: 'share', filter: 'filter', 'forecast-runs': 'Forecast Runs', name: 'Name', 'last-run-by': 'Last Run By', 'last-run-on': 'Last Run On', status: 'Status', 'run-log': 'Run Log', 'feature-importance': 'Feature Importance', 'total-forecast': 'Total Forecast', product: 'Product', location: 'Location', 'add-scenario': 'Add Scenario', 'apply-promos': 'Apply Promos', remove: 'Remove', add: 'Add', selected: 'selected', 'apply-to': 'apply to', date: 'date', cancel: 'Cancel', apply: 'Apply', 'add-planner-code-flag': 'Add Planner Code Flag', 'planner-code-flags': 'Planner Code Flags', 'planner-flag-type': 'planner flag type', target: 'target', 'imputation-method': 'imputation method', 'add-comments': 'Add Comments', comments: 'comments', 'modal-share-title': 'Share', 'share-with': 'share with', subject: 'subject', message: 'message', send: 'Send', 'assign-title': 'Assign', 'assign-to': 'assign to', problem: 'problem to be resolved', 'product-filter': 'Product', 'customer-filter': 'Customer', 'bakery-filter': 'Bakery', clear: 'clear', header: 'Demand Forecasting', }, }, __typename: 'Application', }, { applicationId: 2, applicationName: 'dpo', configJson: { title: 'dpo', threshold: '100', tabs: [ { title: 'material-by-customer', key: 'products', toolbar: { 'dim-filters': { icons: [ { image: { icon: 'fa-bars', states: { default: 1, options: [0, 1, 2] } }, action: { type: 2, name: 'dimension-filters' }, }, ], 'filters-title': 'filters', }, 'prev-title': 'prev', 'next-title': 'next', 'selected-dim-level': { measure_name: 'product_desc', attributes: [ { scope: 'rowMeasureNames', prefix: 'tray-count', measure_name: 'tray_count', suffix: '' }, { scope: 'rowMeasureNames', prefix: 'shelf-life', measure_name: 'shelf_life', suffix: 'days' }, ], }, actions: [ { 'title-key': 'info', icons: [ { image: { icon: 'fa-heartbeat', name: 'info', states: { default: 1, options: [0, 1, 2] } }, action: { type: 0, name: 'status' }, }, ], }, { 'title-key': 'data', icons: [ { image: { icon: 'fa-sync', name: 'data', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/refresh' }, }, ], }, ], }, transform: { 'transform-label': 'transform-selection', modifier: { title: 'modifier', options: ['multiply', 'divide', 'add', 'subtract', 'set-value'], icon: 'fa-caret-down', }, 'value-title': 'value', 'view-promo': { title: 'view-promo', action: { type: 2, name: 'view-promo-modal' }, icon: 'fa-crown' }, 'view-alert': { title: 'view-alert', action: { type: 2, name: 'view-alert-modal' }, icon: 'fa-bell' }, 'add-comment': { title: 'add-comment', action: { type: 2, name: 'add-comment-modal' } }, 'view-comment': { title: 'view-comment', action: { type: 2, name: 'view-comment-modal', icon: 'fa-comment' } }, 'apply-title': 'apply-transformation', image: { icon: 'fa-times', action: 'close' }, 'view-promo-modal': { title: 'modal-view-promos', image: { icon: 'fa-times', action: 'close' } }, 'add-comment-modal': { title: 'modal-add-comment', image: { icon: 'fa-times', action: 'close' }, assign: 'assign', resolved: 'mark-as-resolved', 'jump-to': 'jump-to', }, 'view-comment-modal': { title: 'modal-view-comment', image: { icon: 'fa-times', action: 'close' }, assign: 'assign', resolved: 'mark-as-resolved', 'jump-to': 'jump-to', }, }, statistics: [ { label: 'next-order-due', icon: '', scope: 'rowMeasureNames', measure_name: 'next_order_due' }, { label: 'stale', icon: '', scope: 'rowMeasureNames', measure_name: 'stale', prefix: '', suffix: '%', dtl_measure_name: 'stale', dtl_prev_prefix: '', dtl_suffix: '%', }, { label: 'growth', icon: '', scope: 'rowMeasureNames', measure_name: 'growth', prefix: '', suffix: '%', dtl_measure_name: 'growth', dtl_prev_prefix: '', dtl_suffix: '%', }, ], 'table-title': 'table-title', datagrid: { 'grid-dimension-key': [{ 'column-key': 'customers', display: 'name' }], 'grid-value-key': 'locationsInProduct', 'grid-row-details': [ { 'header-title': 'forecast', 'header-subtitle': 'forecast-status', scope: 'rowMeasureNames', measure_name: 'forecast_type', options: ['fc-status-on', 'fc-status-off', 'fc-status-static'], }, ], 'table-measure': { measure_name: 'suggested_order_qty', scope: 'rowWeekMeasureNames' }, 'final-measures': [ { title: 'final', subtitle: 'order', scope: 'rowMeasureNames', measure_name: '', isCalculated: true }, { title: 'sugg', subtitle: 'order', scope: 'rowMeasureNames', measure_name: 'total_suggested_order', isCalculated: false, }, { title: 'order', subtitle: 'diff', scope: 'rowMeasureNames', measure_name: '', isCalculated: true }, { title: 'display', subtitle: 'plan', scope: 'rowWeekMeasureNames', measure_name: '', isCalculated: true }, ], 'key-indicators': [ { title: 'avg-wk', subtitle: 'sug-order', scope: 'rowMeasureNames', measure_name: 'avg_week_suggested_order', }, { title: 'avg-wk', subtitle: 'fin-order', scope: 'rowMeasureNames', measure_name: 'avg_week_final_order' }, { title: 'avg-wk', subtitle: 'delivery', scope: 'rowMeasureNames', measure_name: 'avg_week_delivery' }, { title: 'avg-wk', subtitle: 'inventory', scope: 'rowMeasureNames', measure_name: 'avg_week_inventory' }, { title: 'avg-wk', subtitle: 'sales', scope: 'rowMeasureNames', measure_name: 'avg_week_sales' }, { title: 'avg-wk', subtitle: 'returns', scope: 'rowMeasureNames', measure_name: 'avg_week_returns' }, { title: 'total', subtitle: 'sug-ord', scope: 'rowMeasureNames', measure_name: 'total_suggested_order' }, ], 'key-indicator-totals': [ { scope: 'totalMeasureNames', measure_name: 'avg_week_suggested_order' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_final_order' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_delivery' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_inventory' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_sales' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_returns' }, { scope: 'totalMeasureNames', measure_name: 'total_suggested_order' }, ], }, status: { title: 'status', sections: { title: 'overall-metrics', values: [ { key: 'waste', scope: 'routeMeasureNames', measure_name: 'route_stale', prefix: '', suffix: '%' }, { key: 'growth', scope: 'routeMeasureNames', measure_name: 'route_growth', prefix: '', suffix: '%' }, ], }, highlight: { title: 'next-order-due', value: { scope: 'totalMeasureNames', measure_name: 'next_order_due' } }, }, legends: [ { title: 'normal-order', icon: 'square', colour: 'legend-success-light' }, { title: 'late-order', icon: 'square', colour: 'legend-amber-light' }, { title: 'archived-order', icon: 'square', colour: 'legend-white' }, { title: 'commented', icon: 'fa-circle', colour: 'legend-blue' }, { title: 'promo-applied', icon: 'fa-crown', colour: 'legend-amber' }, { title: 'alerts', icon: 'fa-exclamation-triangle', colour: 'legend-danger' }, ], 'dimension-filters': { 'search-icon': 'fa-search', clear: 'clear', available: 'available', selected: 'selected', 'select-all': 'select-all', tabs: [ { title: 'product', 'dimension-filter': 'product', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [ { 'dimension-level': 'brand', label: 'brand', display: 'name', type: 1 }, { 'dimension-level': 'category', label: 'category', display: 'name', type: 1 }, ], }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [ { 'dimension-level': 'product', label: 'product_name', display: 'name', type: 1 }, { 'dimension-level': 'product', label: 'product_desc', display: 'description', type: 1 }, { 'dimension-level': 'product', label: 'product_extid', display: 'externalId', type: 1 }, ], }, details: { 'is-title-edit': false, 'is-multiselect': false }, 'reset-filters': { isHidden: false }, }, { title: 'customer', 'dimension-filter': 'location', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [ { 'dimension-level': 'province', label: 'province', display: 'name', type: 1 }, { 'dimension-level': 'region', label: 'region', display: 'name', type: 1 }, ], }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [ { 'dimension-level': 'location', label: 'location_name', display: 'name', type: 1 }, { 'dimension-level': 'location', label: 'location_desc', display: 'description', type: 1 }, ], }, details: { 'is-title-edit': false, 'is-multiselect': true }, 'reset-filters': { isHidden: false }, }, ], }, weeks: { numberOfFutureWeeks: 1, numberOfPastWeeks: 2, }, }, { title: 'customer-by-material', key: 'locations', toolbar: { 'dim-filters': { icons: [ { image: { icon: 'fa-bars', states: { default: 1, options: [0, 1, 2] } }, action: { type: 2, name: 'dimension-filters' }, }, ], 'filters-title': 'filters', }, 'prev-title': 'prev', 'next-title': 'next', 'selected-dim-level': { measure_name: 'location_desc', attributes: [ { scope: 'totalMeasureNames', prefix: '', measure_name: 'address', suffix: '' }, { scope: 'totalMeasureNames', prefix: '', measure_name: 'city', suffix: '' }, ], }, actions: [ { 'title-key': 'info', icons: [ { image: { icon: 'fa-heartbeat', name: 'info', states: { default: 1, options: [0, 1, 2] } }, action: { type: 0, name: 'status' }, }, ], }, { 'title-key': 'data', icons: [ { image: { icon: 'fa-sync', name: 'data', states: { default: 1, options: [0, 1] } }, action: { type: 0, name: '/refresh' }, }, ], }, ], }, transform: { 'transform-label': 'transform-selection', modifier: { title: 'modifier', options: ['multiply', 'divide', 'add', 'subtract', 'set-value'], icon: 'fa-caret-down', }, 'value-title': 'value', 'view-promo': { title: 'view-promo', action: { type: 2, name: 'view-promo-modal' } }, 'add-comment': { title: 'add-comment', action: { type: 2, name: 'add-comment-modal' } }, 'view-comment': { title: 'view-comment', action: { type: 2, name: 'view-comment-modal' } }, 'view-alert': { title: 'view-alert', action: { type: 2, name: 'view-alert-modal' }, icon: 'fa-bell' }, 'apply-title': 'apply-transformation', image: { icon: 'fa-times', action: 'close' }, 'add-comment-modal': { title: 'modal-add-comment', image: { icon: 'fa-times', action: 'close' }, assign: 'assign', resolved: 'mark-as-resolved', 'jump-to': 'jump-to', }, }, 'table-title': 'table-title', datagrid: { 'grid-dimension-key': [ { 'column-key': 'materialid', display: 'externalId' }, { 'column-key': 'material-desc', display: 'name' }, ], 'grid-value-key': 'productsInLocation', 'grid-row-details': [ { 'header-title': 'forecast', 'header-subtitle': 'forecast-status', scope: 'rowMeasureNames', measure_name: 'forecast_type', options: ['fc-status-on', 'fc-status-off', 'fc-status-static'], }, ], 'table-measure': { measure_name: 'suggested_order_qty', scope: 'rowWeekMeasureNames' }, 'final-measures': [ { title: 'final', subtitle: 'order', scope: 'rowMeasureNames', measure_name: '', isCalculated: true }, { title: 'sugg', subtitle: 'order', scope: 'rowMeasureNames', measure_name: 'total_suggested_order', isCalculated: false, }, { key: 'order', subtitle: 'diff', scope: 'rowMeasureNames', measure_name: '', isCalculated: true }, { title: 'display', subtitle: 'plan', scope: 'rowWeekMeasureNames', measure_name: '', isCalculated: true }, ], 'key-indicators': [ { title: 'avg-wk', subtitle: 'sug-order', scope: 'rowMeasureNames', measure_name: 'avg_week_suggested_order', }, { title: 'avg-wk', subtitle: 'fin-order', scope: 'rowMeasureNames', measure_name: 'avg_week_final_order' }, { title: 'avg-wk', subtitle: 'delivery', scope: 'rowMeasureNames', measure_name: 'avg_week_delivery' }, { title: 'avg-wk', subtitle: 'inventory', scope: 'rowMeasureNames', measure_name: 'avg_week_inventory' }, { title: 'avg-wk', subtitle: 'sales', scope: 'rowMeasureNames', measure_name: 'avg_week_sales' }, { title: 'avg-wk', subtitle: 'returns', scope: 'rowMeasureNames', measure_name: 'avg_week_returns' }, { title: 'total', subtitle: 'sug-ord', scope: 'rowMeasureNames', measure_name: 'total_suggested_order' }, ], 'key-indicator-totals': [ { scope: 'totalMeasureNames', measure_name: 'avg_week_suggested_order' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_final_order' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_delivery' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_inventory' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_sales' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_returns' }, { scope: 'totalMeasureNames', measure_name: 'total_suggested_order' }, ], }, statistics: [ { label: 'next-order-due', icon: '', scope: 'rowMeasureNames', measure_name: 'loc_next_order_due' }, ], status: { title: 'status', sections: { title: 'overall-metrics', values: [ { label: 'waste', scope: 'routeMeasureNames', measure_name: 'route_stale', prefix: '', suffix: '%' }, { label: 'growth', scope: 'routeMeasureNames', measure_name: 'route_growth', prefix: '', suffix: '%' }, ], }, highlight: { title: 'next-order-due', value: { scope: 'totalMeasureNames', measure_name: '' } }, }, legends: [ { title: 'normal-order', icon: 'square', colour: 'legend-success-light' }, { title: 'late-order', icon: 'square', colour: 'legend-amber-light' }, { title: 'archived-order', icon: 'square', colour: 'legend-white' }, { title: 'commented', icon: 'fa-circle', colour: 'legend-blue' }, { title: 'promo-applied', icon: 'fa-crown', colour: 'legend-amber' }, { title: 'alerts', icon: 'fa-exclamation-triangle', colour: 'legend-danger' }, ], 'dimension-column-id': 1, 'dimension-filters': { 'search-icon': 'fa-search', clear: 'clear', available: 'available', selected: 'selected', 'select-all': 'select-all', tabs: [ { title: 'customer', 'dimension-filter': 'location', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [ { 'dimension-level': 'province', label: 'province', display: 'name', type: 1 }, { 'dimension-level': 'region', label: 'region', display: 'name', type: 1 }, ], type: 1, }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [ { 'dimension-level': 'location', label: 'location_name', display: 'name', type: 1 }, { 'dimension-level': 'location', label: 'location_desc', display: 'description', type: 1 }, ], }, details: { 'is-title-edit': false, 'is-multiselect': false }, }, { title: 'product', 'dimension-filter': 'product', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [ { 'dimension-level': 'brand', label: 'brand', display: 'name', type: 1 }, { 'dimension-level': 'category', label: 'category', display: 'name', type: 1 }, ], }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [ { 'dimension-level': 'product', label: 'product_name', display: 'name', type: 1 }, { 'dimension-level': 'product', label: 'product_desc', display: 'description', type: 1 }, { 'dimension-level': 'product', label: 'product_extid', display: 'externalId', type: 1 }, ], }, details: { 'is-title-edit': false, 'is-multiselect': true }, }, ], }, weeks: { numberOfFutureWeeks: 1, numberOfPastWeeks: 2, }, }, { title: 'route-by-material', key: 'routes', toolbar: { 'dim-filters': { icons: [ { image: { icon: 'fa-bars', states: { default: 1, options: [0, 1, 2] } }, action: { type: 2, name: 'dimension-filters' }, }, ], 'filters-title': 'filters', }, 'prev-title': 'prev', 'next-title': 'next', 'selected-dim-level': { measure_name: 'route_desc', attributes: [{ scope: 'routeMeasureNames', prefix: '', measure_name: '', suffix: '' }], }, actions: [ { 'title-key': 'info', icons: [ { image: { icon: 'fa-heartbeat', name: 'info', states: { default: 1, options: [0, 1, 2] } }, action: { type: 0, name: 'status' }, }, ], }, { 'title-key': 'data', icons: [ { image: { icon: 'fa-sync', name: 'data', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/refresh' }, }, ], }, ], }, transform: { 'transform-label': 'transform-selection', modifier: { title: 'modifier', options: ['multiply', 'divide', 'add', 'subtract', 'set-value'], icon: 'fa-caret-down', }, 'value-title': 'value', 'view-promo': { title: 'view-promo', action: { type: 2, name: 'view-promo-modal' } }, 'add-comment': { title: 'add-comment', action: { type: 2, name: 'add-comment-modal' } }, 'view-comment': { title: 'view-comment', action: { type: 2, name: 'view-comment-modal' } }, 'view-alert': { title: 'view-alert', action: { type: 2, name: 'view-alert-modal' }, icon: 'fa-bell' }, 'apply-title': 'apply-transformation', image: { icon: 'fa-times', action: 'close' }, 'add-comment-modal': { title: 'modal-add-comment', image: { icon: 'fa-times', action: 'close' }, assign: 'assign', resolved: 'mark-as-resolved', 'jump-to': 'jump-to', }, }, 'table-title': 'table-title', datagrid: { 'grid-dimension-key': [ { 'column-key': 'materialid', display: 'externalId' }, { 'column-key': 'material-desc', display: 'name' }, ], 'grid-value-key': 'productTotals', 'table-measure': { measure_name: 'suggested_order_qty', scope: 'rowWeekMeasureNames' }, 'final-measures': [ { title: 'final', subtitle: 'order', scope: 'totalMeasureNames', measure_name: '', isCalculated: true }, { title: 'sugg', subtitle: 'order', scope: 'rowMeasureNames', measure_name: 'prod_avg_wk_t_sug_order', isCalculated: false, }, { key: 'order', subtitle: 'diff', scope: 'totalMeasureNames', measure_name: '', isCalculated: true }, ], 'key-indicators': [ { title: 'avg-wk', subtitle: 'sug-order', scope: 'rowMeasureNames', measure_name: 'prod_avg_wk_sug_order' }, { title: 'avg-wk', subtitle: 'fin-order', scope: 'rowMeasureNames', measure_name: 'prod_avg_wk_fin_order' }, { title: 'avg-wk', subtitle: 'delivery', scope: 'rowMeasureNames', measure_name: 'prod_avg_wk_delivery' }, { title: 'avg-wk', subtitle: 'inventory', scope: 'rowMeasureNames', measure_name: 'prod_avg_wk_inventory' }, { title: 'avg-wk', subtitle: 'sales', scope: 'rowMeasureNames', measure_name: 'prod_avg_wk_sales' }, { title: 'avg-wk', subtitle: 'returns', scope: 'rowMeasureNames', measure_name: 'prod_avg_wk_returns' }, { title: 'total', subtitle: 'sug-ord', scope: 'rowMeasureNames', measure_name: 'prod_avg_wk_t_sug_order' }, ], 'key-indicator-totals': [ { scope: 'totalMeasureNames', measure_name: 'prod_avg_wk_sug_order' }, { scope: 'totalMeasureNames', measure_name: 'prod_avg_wk_fin_order' }, { scope: 'totalMeasureNames', measure_name: 'prod_avg_wk_delivery' }, { scope: 'totalMeasureNames', measure_name: 'prod_avg_wk_inventory' }, { scope: 'totalMeasureNames', measure_name: 'prod_avg_wk_sales' }, { scope: 'totalMeasureNames', measure_name: 'prod_avg_wk_returns' }, { scope: 'routeMeasureNames', measure_name: 'prod_avg_wk_t_sug_order' }, ], }, statistics: [{ label: '', icon: '', scope: 'totalMeasureNames', measure_name: '' }], status: { title: 'status', sections: { title: 'overall-metrics', values: [ { label: 'waste', scope: 'routeMeasureNames', measure_name: 'route_stale' }, { label: 'growth', scope: 'routeMeasureNames', measure_name: 'route_growth' }, ], }, highlight: { title: 'next-order-due', value: { scope: 'totalMeasureNames', measure_name: '' } }, }, legends: [ { title: 'normal-order', icon: 'square', colour: 'legend-success-light' }, { title: 'late-order', icon: 'square', colour: 'legend-amber-light' }, { title: 'archived-order', icon: 'square', colour: 'legend-white' }, { title: 'commented', icon: 'fa-circle', colour: 'legend-blue' }, { title: 'promo-applied', icon: 'fa-crown', colour: 'legend-amber' }, { title: 'alerts', icon: 'fa-exclamation-triangle', colour: 'legend-danger' }, ], 'dimension-column-id': 1, 'dimension-filters': { 'search-icon': 'fa-search', clear: 'clear', available: 'available', selected: 'selected', 'select-all': 'select-all', tabs: [ { title: 'route', 'dimension-filter': 'route', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [{ 'dimension-level': 'route', label: 'route', display: 'name', type: 1 }], }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [ { 'dimension-level': 'route', label: 'route_name', display: 'name', type: 1 }, { 'dimension-level': 'location', label: 'route_desc', display: 'description', type: 1 }, ], }, details: { 'is-title-edit': false, 'is-multiselect': false }, }, { title: 'product', 'dimension-filter': 'product', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [ { 'dimension-level': 'brand', label: 'brand', display: 'name', type: 1 }, { 'dimension-level': 'category', label: 'category', display: 'name', type: 1 }, ], type: 1, }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [ { 'dimension-level': 'product', label: 'product_name', display: 'name', type: 1 }, { 'dimension-level': 'product', label: 'product_desc', display: 'description', type: 1 }, { 'dimension-level': 'product', label: 'product_extid', display: 'externalId', type: 1 }, ], }, details: { 'is-title-edit': false, 'is-multiselect': true }, }, ], }, weeks: { numberOfFutureWeeks: 1, numberOfPastWeeks: 2, }, }, { title: 'order-planner', key: '', toolbar: { 'dim-filters': { icons: [ { image: { icon: 'fa-bars', states: { default: 1, options: [0, 1, 2] } }, action: { type: 2, name: 'dimension-filters' }, }, ], 'filters-title': 'filters', }, 'prev-title': 'prev', 'next-title': 'next', 'selected-dim-level': { measure_name: '', attributes: [ { scope: '', prefix: '', measure_name: '', suffix: '' }, { scope: '', prefix: '', measure_name: '', suffix: '' }, ], }, actions: [ { 'title-key': 'info', icons: [ { image: { icon: 'fa-heartbeat', name: 'info', states: { default: 1, options: [0, 1, 2] } }, action: { type: 0, name: 'status' }, }, ], }, { 'title-key': 'data', icons: [ { image: { icon: 'fa-sync', name: 'data', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/refresh' }, }, ], }, ], }, transform: { 'transform-label': 'transform-selection', modifier: { title: 'modifier', options: ['multiply', 'divide', 'add', 'subtract', 'set-value'], icon: 'fa-caret-down', }, 'value-title': 'value', 'view-promo': { title: 'view-promo', action: { type: 2, name: 'view-promo-modal' } }, 'add-comment': { title: 'add-comment', action: { type: 2, name: 'add-comment-modal' } }, 'view-comment': { title: 'view-comment', action: { type: 2, name: 'view-comment-modal' } }, 'view-alert': { title: 'view-alert', action: { type: 2, name: 'view-alert-modal' }, icon: 'fa-bell' }, 'apply-title': 'apply-transformation', image: { icon: 'fa-times', action: 'close' }, 'view-promo-modal': { title: 'modal-view-promos', image: { icon: 'fa-times', action: 'close' } }, 'add-comment-modal': { title: 'modal-add-comment', image: { icon: 'fa-times', action: 'close' }, assign: 'assign', resolved: 'mark-as-resolved', 'jump-to': 'jump-to', }, 'view-comment-modal': { title: 'modal-view-comment', image: { icon: 'fa-times', action: 'close' }, assign: 'assign', resolved: 'mark-as-resolved', 'jump-to': 'jump-to', }, }, statistics: [ { label: 'next-order-due', icon: '', scope: 'rowMeasureNames', measure_name: 'next_order_due' }, { label: 'stale', icon: '', scope: 'rowMeasureNames', measure_name: 'stale', prefix: '', suffix: '%', dtl_measure_name: 'stale', dtl_prefix: '', dtl_suffix: '%', }, { label: 'growth', icon: '', scope: 'rowMeasureNames', measure_name: 'growth', prefix: '', suffix: '%', dtl_measure_name: 'growth', dtl_prefix: '', dtl_suffix: '%', }, ], 'table-title': 'table-title', datagrid: { 'grid-dimension-key': [ { 'column-key': 'customers', display: 'name' }, { 'column-key': 'materialid', display: 'externalId' }, { 'column-key': 'material-desc', display: 'name' }, ], 'grid-value-key': 'locationsInProduct', 'table-measure': { measure_name: 'suggested_order_qty', scope: 'rowWeekMeasureNames' }, 'final-measures': [ { title: 'final', subtitle: 'order', scope: 'rowMeasureNames', measure_name: '', isCalculated: true }, { title: 'sugg', subtitle: 'order', scope: 'rowMeasureNames', measure_name: 'total_suggested_order', isCalculated: false, }, { title: 'order', subtitle: 'diff', scope: 'rowMeasureNames', measure_name: '', isCalculated: true }, ], 'key-indicators': [ { title: 'avg-wk', subtitle: 'sug-order', scope: 'rowMeasureNames', measure_name: 'avg_week_suggested_order', }, { title: 'avg-wk', subtitle: 'fin-order', scope: 'rowMeasureNames', measure_name: 'avg_week_final_order' }, { title: 'avg-wk', subtitle: 'delivery', scope: 'rowMeasureNames', measure_name: 'avg_week_delivery' }, { title: 'avg-wk', subtitle: 'inventory', scope: 'rowMeasureNames', measure_name: 'avg_week_inventory' }, { title: 'avg-wk', subtitle: 'sales', scope: 'rowMeasureNames', measure_name: 'avg_week_sales' }, { title: 'avg-wk', subtitle: 'returns', scope: 'rowMeasureNames', measure_name: 'avg_week_returns' }, { title: 'total', subtitle: 'sug-ord', scope: 'rowMeasureNames', measure_name: 'total_suggested_order' }, ], 'key-indicator-totals': [ { scope: 'totalMeasureNames', measure_name: 'avg_week_suggested_order' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_final_order' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_delivery' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_inventory' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_sales' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_returns' }, { scope: 'totalMeasureNames', measure_name: 'total_suggested_order' }, ], }, status: { title: 'status', sections: { title: 'overall-metrics', values: [ { key: 'waste', scope: 'routeMeasureNames', measure_name: 'stale' }, { key: 'growth', scope: 'routeMeasureNames', measure_name: 'growth' }, ], }, highlight: { title: 'next-order-due', value: { scope: 'totalMeasureNames', measure_name: 'next_order_due' } }, }, legends: [ { title: 'normal-order', icon: 'square', colour: 'legend-success-light' }, { title: 'late-order', icon: 'square', colour: 'legend-amber-light' }, { title: 'archived-order', icon: 'square', colour: 'legend-white' }, { title: 'commented', icon: 'fa-circle', colour: 'legend-blue' }, { title: 'promo-applied', icon: 'fa-crown', colour: 'legend-amber' }, { title: 'alerts', icon: 'fa-exclamation-triangle', colour: 'legend-danger' }, ], 'dimension-filters': { 'search-icon': 'fa-search', clear: 'clear', available: 'available', selected: 'selected', 'select-all': 'select-all', tabs: [ { title: 'product', 'dimension-filter': 'product', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [ { 'dimension-level': 'brand', label: 'brand', display: 'name', type: 1 }, { 'dimension-level': 'category', label: 'category', display: 'name', type: 1 }, ], }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [ { 'dimension-level': 'product', label: 'product_name', display: 'name', type: 1 }, { 'dimension-level': 'product', label: 'product_desc', display: 'description', type: 1 }, { 'dimension-level': 'product', label: 'product_extid', display: 'externalId', type: 1 }, ], }, details: { 'is-title-edit': false, 'is-multiselect': false }, }, { title: 'customer', 'dimension-filter': 'location', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [ { 'dimension-level': 'province', label: 'province', display: 'name', type: 1 }, { 'dimension-level': 'region', label: 'region', display: 'name' }, ], type: 1, }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [ { 'dimension-level': 'location', label: 'location_name', display: 'name' }, { 'dimension-level': 'location', label: 'location_desc', display: 'description', type: 1 }, ], }, details: { 'is-title-edit': false, 'is-multiselect': true }, }, ], }, weeks: { numberOfFutureWeeks: 2, numberOfPastWeeks: 0, }, }, { title: 'late-adjustment', key: 'products', toolbar: { 'dim-filters': { icons: [ { image: { icon: 'fa-bars', states: { default: 1, options: [0, 1, 2] } }, action: { type: 2, name: 'dimension-filters' }, }, ], 'filters-title': 'filters', }, 'prev-title': 'prev', 'next-title': 'next', 'selected-dim-level': { measure_name: '', attributes: [ { scope: 'rowMeasureNames', prefix: '', measure_name: '', suffix: '' }, { scope: 'rowMeasureNames', prefix: '', measure_name: '', suffix: '' }, ], }, actions: [ { 'title-key': 'info', icons: [ { image: { icon: 'fa-heartbeat', name: 'info', states: { default: 1, options: [0, 1, 2] } }, action: { type: 0, name: 'status' }, }, ], }, { 'title-key': 'data', icons: [ { image: { icon: 'fa-sync', name: 'data', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/refresh' }, }, ], }, ], }, transform: { 'transform-label': 'transform-selection', modifier: { title: 'modifier', options: ['multiply', 'divide', 'add', 'subtract', 'set-value'], icon: 'fa-caret-down', }, 'value-title': 'value', 'view-promo': { title: 'view-promo', action: { type: 2, name: 'view-promo-modal' } }, 'add-comment': { title: 'add-comment', action: { type: 2, name: 'add-comment-modal' } }, 'view-comment': { title: 'view-comment', action: { type: 2, name: 'view-comment-modal' } }, 'view-alert': { title: 'view-alert', action: { type: 2, name: 'view-alert-modal' }, icon: 'fa-bell' }, 'apply-title': 'apply-transformation', image: { icon: 'fa-times', action: 'close' }, 'view-promo-modal': { title: 'modal-view-promos', image: { icon: 'fa-times', action: 'close' } }, 'add-comment-modal': { title: 'modal-add-comment', image: { icon: 'fa-times', action: 'close' }, assign: 'assign', resolved: 'mark-as-resolved', 'jump-to': 'jump-to', }, 'view-comment-modal': { title: 'modal-view-comment', image: { icon: 'fa-times', action: 'close' }, assign: 'assign', resolved: 'mark-as-resolved', 'jump-to': 'jump-to', }, }, statistics: [ { label: 'next-order-due', icon: '', scope: 'rowMeasureNames', measure_name: 'next_order_due' }, { label: 'stale', icon: '', scope: 'rowMeasureNames', measure_name: 'stale', prefix: '', suffix: '%', dtl_measure_name: 'stale', dtl_prefix: '', dtl_suffix: '%', }, { label: 'growth', icon: '', scope: 'rowMeasureNames', measure_name: 'growth', prefix: '', suffix: '%', dtl_measure_name: 'growth', dtl_prefix: '', dtl_suffix: '%', }, ], 'table-title': 'table-title', datagrid: { 'grid-dimension-key': 'customers', 'grid-value-key': 'locationsInProduct', 'table-measure': { measure_name: 'suggested_order_qty', scope: 'rowWeekMeasureNames' }, 'final-measures': [ { title: 'final', subtitle: 'order', scope: 'rowMeasureNames', measure_name: '', isCalculated: true }, { title: 'sugg', subtitle: 'order', scope: 'rowMeasureNames', measure_name: 'total_suggested_order', isCalculated: false, }, { title: 'order', subtitle: 'diff', scope: 'rowMeasureNames', measure_name: '', isCalculated: true }, ], 'key-indicators': [ { title: 'avg-wk', subtitle: 'sug-order', scope: 'rowMeasureNames', measure_name: 'avg_week_suggested_order', }, { title: 'avg-wk', subtitle: 'fin-order', scope: 'rowMeasureNames', measure_name: 'avg_week_final_order' }, { title: 'avg-wk', subtitle: 'delivery', scope: 'rowMeasureNames', measure_name: 'avg_week_delivery' }, { title: 'avg-wk', subtitle: 'inventory', scope: 'rowMeasureNames', measure_name: 'avg_week_inventory' }, { title: 'avg-wk', subtitle: 'sales', scope: 'rowMeasureNames', measure_name: 'avg_week_sales' }, { title: 'avg-wk', subtitle: 'returns', scope: 'rowMeasureNames', measure_name: 'avg_week_returns' }, { title: 'total', subtitle: 'sug-ord', scope: 'rowMeasureNames', measure_name: 'total_suggested_order' }, ], 'key-indicator-totals': [ { scope: 'totalMeasureNames', measure_name: 'avg_week_suggested_order' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_final_order' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_delivery' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_inventory' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_sales' }, { scope: 'totalMeasureNames', measure_name: 'avg_week_returns' }, { scope: 'totalMeasureNames', measure_name: 'total_suggested_order' }, ], }, status: { title: 'status', sections: { title: 'overall-metrics', values: [ { key: 'waste', scope: 'routeMeasureNames', measure_name: 'stale' }, { key: 'growth', scope: 'routeMeasureNames', measure_name: 'growth' }, ], }, highlight: { title: 'next-order-due', value: { scope: 'totalMeasureNames', measure_name: 'next_order_due' } }, }, legends: [ { title: 'normal-order', icon: 'square', colour: 'legend-success-light' }, { title: 'late-order', icon: 'square', colour: 'legend-amber-light' }, { title: 'archived-order', icon: 'square', colour: 'legend-white' }, { title: 'commented', icon: 'fa-circle', colour: 'legend-blue' }, { title: 'promo-applied', icon: 'fa-crown', colour: 'legend-amber' }, { title: 'alerts', icon: 'fa-exclamation-triangle', colour: 'legend-danger' }, ], 'dimension-filters': { 'search-icon': 'fa-search', clear: 'clear', available: 'available', selected: 'selected', 'select-all': 'select-all', tabs: [ { title: 'product', 'dimension-filter': 'product', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [ { 'dimension-level': 'brand', label: 'brand', display: 'name' }, { 'dimension-level': 'category', label: 'category', display: 'name' }, ], type: 1, }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [ { 'dimension-level': 'product', label: 'product_name', display: 'name' }, { 'dimension-level': 'product', label: 'product_desc', display: 'description' }, { 'dimension-level': 'product', label: 'product_extid', display: 'externalId' }, ], type: 1, }, details: { 'is-title-edit': false, 'is-multiselect': false }, }, { title: 'customer', 'dimension-filter': 'location', 'by-hierarchy': { image: { icon: 'fa-sitemap', states: { default: 1, options: [1] } }, title: 'refine-by-hierarchy', 'dimension-levels': [ { 'dimension-level': 'province', label: 'province', display: 'name' }, { 'dimension-level': 'region', label: 'region', display: 'name' }, ], type: 1, }, 'by-attribute': { image: { icon: 'fa-hashtag', states: { default: 1, options: [1] } }, title: 'refine-by-attribute', 'dimension-levels': [ { 'dimension-level': 'location', label: 'location_name', display: 'name' }, { 'dimension-level': 'location', label: 'location_desc', display: 'description' }, ], type: 1, }, details: { 'is-title-edit': false, 'is-multiselect': true }, }, ], }, weeks: { numberOfFutureWeeks: 1, numberOfPastWeeks: 2, }, }, ], }, i18n: { locale: 'en_US', translations: { dpo: 'Predictive Ordering', 'material-by-customer': 'Material by Customer', 'customer-by-material': 'Customer by Material', 'route-by-material': 'Route by Material', 'late-adjustment': 'Late Adjustment', filters: 'Filters', product: 'Material', customer: 'Customer', route: 'Route', route_name: 'Name', route_desc: 'Description', 'refine-by-hierarchy': 'Refine by Hierarchy', 'refine-by-attribute': 'Refine by Attribute', prev: 'prev', next: 'next', undo: 'undo', redo: 'redo', info: 'info', data: 'data', clear: 'clear', 'transform-selection': 'Transform Selection', modifier: 'modifier', multiply: 'Multiply', divide: 'Divide', add: 'Add', subtract: 'Subtract', 'set-value': 'Set Value', value: 'value', search: 'Search', available: 'available', 'table-title': 'Order Summary', 'next-order-due': 'Next order due', stale: 'stale', growth: 'growth', customers: 'Customers', materialid: 'Material ID', 'material-desc': 'Description', total: 'Total', 'normal-order': 'normal order', 'late-order': 'late order', 'archived-order': 'archived order', commented: 'commented', 'promo-applied': 'promo applied', alerts: 'alerts', 'select-all': 'Select All', 'add-comment': 'add comment', 'view-comment': 'view comment', 'view-promo': 'view promos', 'view-alert': 'view alert', 'modal-add-comment': 'Add Comment', 'modal-view-comment': 'View Comment', 'modal-view-promos': 'View Promos', 'apply-transformation': 'Apply Transformation', status: 'Status', 'overall-metrics': 'Overall Metrics', 'last-order': 'last order', 'versus-last-week': 'versus last week', waste: 'waste', assign: 'Assign', resolved: 'Mark as Resolved', 'jump-to': 'Jump to', 'avg-wk': 'Avg Wk', 'sug-order': 'Sug Order', 'fin-order': 'Fin Order', delivery: 'Delivery', inventory: 'Inventory', sales: 'Sales', returns: 'Returns', 'sug-ord': 'Sug Ord', final: 'Final', sugg: 'Sugg', order: 'Order', diff: 'Diff', display: 'Display', plan: 'Plan', 'tray-count': 'tray count', 'shelf-life': 'shelf life', days: 'days', brand: 'Brand', category: 'Category', product_name: 'Name', product_desc: 'Description', product_extid: 'ID', province: 'Province', region: 'Region', location_name: 'Name', location_desc: 'Description', 'late-adj-header': 'Late Order Confirmation', 'late-adjust-msg': 'Late Order Adjustments are flagged and a notification will be sent to your supervisor. Do you wish to continue?', 'late-adjust-reason': 'Reason for Override', 'please-select': 'Please Select', cancel: 'Cancel', 'confirm-continue': 'Confirm and Continue', 'threshold-msg-header': 'Massive Input', 'thrshold-msg': 'Your input number too large, do you want to continue?', 'lateorder-adj-header': 'Late Order Adjustment', 'order-adj-header': 'Order Adjustment', 'lateorder-adj-msg': 'Changes you made will be lost, do you want to proceed?', 'order-planner': 'Order Planner', forecast: 'Forecast', 'forecast-status': 'status', 'fc-status-on': 'On', 'fc-status-off': 'Off', 'fc-status-static': 'Static', header: 'Predictive Ordering', }, }, __typename: 'Application', shortUserName: 'ZS', }, { applicationId: 3, applicationName: 'dmgmt', configJson: { title: 'dmgmt', 'row-per-page': 50, 'initial-offset': 0, 'file-format': 'xlsx', messages: { 'success-header': 'success-header', 'failure-header': 'failure-header', 'upload-success': 'upload-success', 'incorrect-file-ext': 'incorrect-file-ext', }, toolbar: { 'title-prefix': 'list', actions: [ { 'title-key': 'query-builder', icons: [ { image: { icon: 'fa-code', name: 'filter-toolbar', states: { default: 1, options: [1, 2] } }, action: { type: 0, name: 'query-builder' }, }, ], }, { 'title-key': 'data-toolbar', icons: [ { image: { icon: 'fa-download', name: 'download-toolbar', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/data-management/download' }, }, { image: { icon: 'fa-upload', name: 'upload-toolbar', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/data-management/upload' }, }, { image: { icon: 'fa-sync', name: 'sync-toolbar', states: { default: 1, options: [0, 1] } }, action: { type: 3, name: '/data' }, }, ], }, ], }, 'query-builder': { title: 'filter-title', rule: { category: { title: 'category', options: { metadata: 'getTablesMetaData', display: 'columnname' } }, modifier: { title: 'modifier', options: [ { type: 'STRING', values: [ { title: 'equals', value: 'EQUAL' }, { title: 'like', value: 'LIKE' }, { title: 'not-like', value: 'NOT_LIKE' }, ], format: 'a', }, { type: 'NUMBER', values: [ { title: 'operator-equals', value: 'EQUAL' }, { title: 'operator-lt', value: 'LESS_THAN' }, { title: 'operator-gt', value: 'GREATER_THAN' }, { title: 'operator-lteq', value: 'LESS_THAN_OR_EQUAL_TO' }, { title: 'operator-gteq', value: 'GREATER_THAN_OR_EQUAL_TO' }, { title: 'operator-notequal', value: 'NOT_EQUAL' }, ], }, { type: 'BOOLEAN', values: [{ title: 'equals', value: 'EQUAL' }] }, { type: 'DATE_TIME', values: [ { title: 'equals', value: 'EQUAL' }, { title: 'before', value: 'LESS_THAN' }, { title: 'after', value: 'GREATER_THAN' }, { title: 'before-and-equal', value: 'LESS_THAN_OR_EQUAL_TO' }, { title: 'after-and-equal', value: 'GREATER_THAN_OR_EQUAL_TO' }, { title: 'all-days-except', value: 'NOT_EQUAL' }, ], }, ], }, value: 'category-value', }, 'rule-separator': [{ name: 'and', value: 'AND', selected: true }], 'add-rule': { label: 'add-rule-label', action: { type: 0, name: 'rule' } }, apply: { label: 'apply', action: { type: 3, name: '/data' } }, }, }, i18n: { locale: 'en_US', translations: { dmgmt: 'Data Management', list: 'List', 'query-builder': 'query builder', 'data-toolbar': 'data', 'filter-toolbar': 'filter', 'download-toolbar': 'download', 'upload-toolbar': 'upload', 'sync-toolbar': 'refresh', 'filter-title': 'Filter', category: 'category', equals: 'equals', like: 'like', 'not-like': 'not like', 'operator-equals': '=', 'operator-lt': '<', 'operator-gt': '>', 'operator-lteq': '<=', 'operator-gteq': '>=', 'operator-notequal': '!=', 'add-rule-label': 'Add Rule', and: 'AND', or: 'OR', apply: 'Apply', modifier: 'modifier', 'category-value': 'category/value', before: 'Before', after: 'After', 'before-and-equal': 'Before and equal', 'after-and-equal': 'After and equal', 'all-days-except': 'All days except', 'success-header': 'Success', 'failure-header': 'Failure', 'upload-success': 'Data uploaded successfully', 'incorrect-file-ext': 'Incorrect file. Please edit the file that you download from this screen.', 'file-format': 'xlsx', header: 'Data Management', }, }, __typename: 'Application', shortUserName: 'IS', }, { applicationId: 4, applicationName: 'cp', configJson: { toolbar: [ { align: 'left', 'html-element-type': 'workbook-multiselect', icon: 'fas fa-network-wired', states: {}, }, { align: 'right', actions: [ { title: 'cards', index: 0, icons: [ { icon: 'fas fa-share-alt', index: 0, states: {}, }, { icon: 'fas fa-thumbtack', index: 1, states: {}, }, ], }, { title: 'workbook', index: 1, icons: [ { icon: 'fas fa-sync-alt', index: 0, states: {}, }, { icon: 'fas fa-history', index: 1, states: {}, }, { icon: 'fas fa-upload', index: 2, states: {}, }, { icon: 'fas fa-save', index: 3, states: {}, }, ], }, ], }, ], 'dimension-filters': { icon: 'fas fa-filter', states: {}, }, tabs: [ { title: 'trend-analysis', index: 0, header: { actions: [ { title: 'display', type: 0, index: 0, 'html-element-type': 'display-bar', icons: [ { icon: 'fas fa-table', index: 0, states: { default: 2, options: [1, 2], action: { type: 0, 'html-element-type': 'grid', 'grid-name': 'trend-analysis-grid', }, }, }, { icon: 'fas fa-chart-bar', index: 1, states: { default: 1, options: [1, 2], action: { type: 0, 'html-element-type': 'chart', name: 'trend-analysis-chart', }, }, }, { icon: 'fas fa-border-none', index: 2, states: { default: 1, options: [1, 2], action: { type: 0, 'html-element-type': 'grid-chart', elements: [ { name: 'trend-analysis-grid', index: 0, }, { name: 'trend-analysis-chart', index: 1, }, ], }, }, }, ], }, ], }, grid: { title: 'trend-analysis-grid-title', 'grouping-dimension-level': 'month', filters: { datatable: 'collaboration_data', dimension_filter: [ { dimension_column: 'product', dimensionLevelColumnName: 'sku', value: 'sku_id', }, { dimension_column: 'location', dimensionLevelColumnName: 'account', value: 'account_id', }, { dimension_column: 'time', dimensionLevelColumnName: 'month', value: 'month_id', }, ], }, columns: [ { 'column-type': 'dimension-level', 'dimension-column': 'time', 'dimension-level': 'month', title: 'month', width: 250, 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 0, measure: 'sum_requested_qty', title: 'customer-order', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 1, measure: 'sum_LY_requested_qty', title: 'customer-order-ly', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 2, measure: 'yoy_requested_qty_change', title: 'yoy-change-percent', 'show-value': false, agg: 'percent', detail: { 'html-element': 'percent-bar', '+ve-bar-color': '#12E227', '-ve-bar-color': '#E21212', 'origin-bar-color': '#000000', 'bar-bg-color': '#E5EAEC', }, edit: false, }, { 'column-type': 'measure', index: 3, measure: 'sum_antuit_forecast_base', title: 'ai-base-forecast', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 4, measure: 'sum_antuit_promo_component', title: 'ai-promo-forecast', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 5, measure: 'sum_total_antuit_forecast', title: 'ai-total-forecast', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 6, measure: 'sum_prev_antuit_forecast_base', title: 'ai-base-forecast-previous', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 7, measure: 'sum_prev_antuit_promo_component', title: 'ai-promo-forecast-previous', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 8, measure: 'sum_prev_total_antuit_forecast', title: 'ai-total-forecast-previous', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 9, measure: 'sum_LY_total_antuit_forecast', title: 'ai-total-forecast-lY', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 10, measure: 'sum_client_forecast', title: 'external-forecast', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 11, measure: 'sum_LY_client_forecast', title: 'external-forecast-ly', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 12, measure: 'sum_executed_discount', title: 'discount-exectuted', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 13, measure: 'sum_planned_discount', title: 'discount-planned', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 14, measure: 'wt_avg_price', title: 'price', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 15, measure: 'sum_adj_base', title: 'planner-adjustment-base', 'show-value': true, edit: true, }, { 'column-type': 'measure', index: 16, measure: 'sum_adj_promo', title: 'planner-adjustment-promo', 'show-value': true, edit: true, }, { 'column-type': 'measure', index: 17, measure: 'sum_override_base', title: 'planner-override-base', 'show-value': true, edit: true, }, { 'column-type': 'measure', index: 18, measure: 'sum_override_promo', title: 'planner-override-promo', 'show-value': true, edit: true, }, { 'column-type': 'measure', index: 19, measure: 'sum_demand_plan', title: 'final-demand-plan', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 20, measure: 'sum_demand_plan_base', title: 'final-base-demand-plan', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 21, measure: 'sum_demand_plan_promo', title: 'final-promo-demand-plan', 'show-value': true, edit: false, }, ], legends: [ { title: 'editable', icon: 'square', 'bg-color': 'rgba(50, 144, 237, 0.15)', 'border-color': '#3290ED', }, { title: 'editability-blocked', icon: 'square', 'bg-color': '#F2F3F6', 'border-color': '#BDBDBD', }, { title: 'locked', icon: 'square', 'bg-color': 'rgba(157, 83, 242, 0.1)', 'border-color': '#9D53F2', }, { title: 'commented', icon: 'fas fa-circle', 'bg-color': '#2D9CDB', }, { title: 'calculation-error', icon: 'fas fa-exclamation-triangle', color: '#D32F2F', }, ], }, chart: { 'chart-type': 'line', title: 'trend-analysis-chart-title', 'no-of-legends-to-be-shown': 5, height: '70', width: '90', 'legend-color-codes': ['#3290ED', '#9D53F2', '#26ABA4', '#F7A452', '#F2536D'], 'show-axis-tick': false, 'show-y-axis-line': false, 'axis-text-color': '#607D8B', legends: [ { 'column-type': 'dimension-level', 'dimension-level': 'month', title: 'month', }, { 'column-type': 'measure', index: 0, title: 'customer-order', }, { 'column-type': 'measure', index: 1, title: 'customer-order-ly', }, { 'column-type': 'measure', index: 2, title: 'yoy-change-percent', }, { 'column-type': 'measure', index: 3, title: 'ai-base-forecast', }, { 'column-type': 'measure', index: 4, title: 'ai-promo-forecast', }, { 'column-type': 'measure', index: 5, title: 'ai-total-forecast', }, { 'column-type': 'measure', index: 6, title: 'ai-base-forecast-previous', }, { 'column-type': 'measure', index: 7, title: 'ai-promo-forecast-previous', }, { 'column-type': 'measure', index: 8, title: 'ai-total-forecast-previous', }, { 'column-type': 'measure', index: 9, title: 'ai-total-forecast-lY', }, { 'column-type': 'measure', index: 10, title: 'external-forecast', }, { 'column-type': 'measure', index: 11, title: 'external-forecast-ly', }, { 'column-type': 'measure', index: 12, title: 'discount-exectuted', }, { 'column-type': 'measure', index: 13, title: 'discount-planned', }, { 'column-type': 'measure', index: 14, title: 'price', }, { 'column-type': 'measure', index: 15, title: 'planner-adjustment-base', }, { 'column-type': 'measure', index: 16, title: 'planner-adjustment-promo', }, { 'column-type': 'measure', index: 17, title: 'planner-override-base', }, { 'column-type': 'measure', index: 18, title: 'planner-override-promo', }, { 'column-type': 'measure', index: 19, title: 'final-demand-plan', }, { 'column-type': 'measure', index: 20, title: 'final-base-demand-plan', }, { 'column-type': 'measure', index: 21, title: 'final-promo-demand-plan', }, ], }, }, { title: 'category-analysis', index: 1, }, { title: 'brand-analysis', index: 2, }, { title: 'account-analysis', index: 3, header: { action: { type: 0, name: 'display-bar', }, }, grid: { title: 'account-analysis', datatable: 'collaboration_data', 'grouping-dimension-level': 'account', columns: [ { 'column-type': 'dimension-level', 'dimension-column': 'location', 'dimension-level': 'account', title: 'account', width: 161, 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 0, measure: 'sum_requested_qty', title: 'customer-order', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 1, measure: 'sum_LY_requested_qty', title: 'customer-order-ly', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 2, measure: 'yoy_requested_qty_change', title: 'yoy-change-percent', 'show-value': false, agg: 'percent', detail: { name: 'percent-bar', '+ve-bar-color': '#12E227', '-ve-bar-color': '#E21212', 'origin-bar-color': '#000000', 'bar-bg-color': '#E5EAEC', }, edit: false, }, { 'column-type': 'measure', index: 3, measure: 'sum_antuit_forecast_base', title: 'ai-base-forecast', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 4, measure: 'sum_antuit_promo_component', title: 'ai-promo-forecast', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 5, measure: 'sum_total_antuit_forecast', title: 'ai-total-forecast', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 6, measure: 'sum_prev_antuit_forecast_base', title: 'ai-base-forecast-previous', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 7, measure: 'sum_prev_antuit_promo_component', title: 'ai-promo-forecast-previous', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 8, measure: 'sum_prev_total_antuit_forecast', title: 'ai-total-forecast-previous', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 9, measure: 'sum_LY_total_antuit_forecast', title: 'ai-total-forecast-lY', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 10, measure: 'sum_client_forecast', title: 'external-forecast', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 11, measure: 'sum_LY_client_forecast', title: 'external-forecast-ly', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 12, measure: 'sum_executed_discount', title: 'discount-exectuted', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 13, measure: 'sum_planned_discount', title: 'discount-planned', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 14, measure: 'wt_avg_price', title: 'price', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 15, measure: 'sum_adj_base', title: 'planner-adjustment-base', 'show-value': true, edit: true, }, { 'column-type': 'measure', index: 16, measure: 'sum_adj_promo', title: 'planner-adjustment-promo', 'show-value': true, edit: true, }, { 'column-type': 'measure', index: 17, measure: 'sum_override_base', title: 'planner-override-base', 'show-value': true, edit: true, }, { 'column-type': 'measure', index: 18, measure: 'sum_override_promo', title: 'planner-override-promo', 'show-value': true, edit: true, }, { 'column-type': 'measure', index: 19, measure: 'sum_demand_plan', title: 'final-demand-plan', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 20, measure: 'sum_demand_plan_base', title: 'final-base-demand-plan', 'show-value': true, edit: false, }, { 'column-type': 'measure', index: 21, measure: 'sum_demand_plan_promo', title: 'final-promo-demand-plan', 'show-value': true, edit: false, }, ], }, chart: { 'chart-type': 'bar', title: 'category-analysis-chart-title', 'no-of-legends-to-be-shown': 5, height: '70', width: '90', barGap: '15%', barWidth: 26, 'show-axis-tick': false, 'show-y-axis-line': false, 'axis-text-color': '#607D8B', legends: [ { 'column-type': 'dimension-level', 'dimension-level': 'account', title: 'account', }, { 'column-type': 'measure', index: 0, title: 'customer-order', }, { 'column-type': 'measure', index: 1, title: 'customer-order-ly', }, { 'column-type': 'measure', index: 2, title: 'yoy-change-percent', }, { 'column-type': 'measure', index: 3, title: 'ai-base-forecast', }, { 'column-type': 'measure', index: 4, title: 'ai-promo-forecast', }, { 'column-type': 'measure', index: 5, title: 'ai-total-forecast', }, { 'column-type': 'measure', index: 6, title: 'ai-base-forecast-previous', }, { 'column-type': 'measure', index: 7, title: 'ai-promo-forecast-previous', }, { 'column-type': 'measure', index: 8, title: 'ai-total-forecast-previous', }, { 'column-type': 'measure', index: 9, title: 'ai-total-forecast-lY', }, { 'column-type': 'measure', index: 10, title: 'external-forecast', }, { 'column-type': 'measure', index: 11, title: 'external-forecast-ly', }, { 'column-type': 'measure', index: 12, title: 'discount-exectuted', }, { 'column-type': 'measure', index: 13, title: 'discount-planned', }, { 'column-type': 'measure', index: 14, title: 'price', }, { 'column-type': 'measure', index: 15, title: 'planner-adjustment-base', }, { 'column-type': 'measure', index: 16, title: 'planner-adjustment-promo', }, { 'column-type': 'measure', index: 17, title: 'planner-override-base', }, { 'column-type': 'measure', index: 18, title: 'planner-override-promo', }, { 'column-type': 'measure', index: 19, title: 'final-demand-plan', }, { 'column-type': 'measure', index: 20, title: 'final-base-demand-plan', }, { 'column-type': 'measure', index: 21, title: 'final-promo-demand-plan', }, ], }, }, ], 'default-active-tab-index': 0, }, i18n: { locale: 'en_US', translations: { cp: 'Collaborative Planning', header: 'Collaborative Planning', month: 'Month', 'customer-order': 'Customer Order', 'customer-order-ly': 'Customer Order LY', 'ai-base-forecast': 'AI Base Forecast', 'ai-promo-forecast': 'AI Promo Forecast', 'ai-total-forecast': 'AI Total Forecast', 'ai-base-forecast-previous': 'AI Base Forecast Previous', 'ai-promo-forecast-previous': 'AI Promo Forecast Previous', 'ai-total-forecast-previous': 'AI Total Forecast Previous', 'ai-total-forecast-lY': 'AI Total Forecast LY', 'external-forecast': 'External Forecast', 'external-forecast-ly': 'External Forecast LY', 'discount-exectuted': 'Discount Exectuted', 'discount-planned': 'discount-planned', price: 'Price', 'planner-adjustment-base': 'Planner Adjustment Base', 'planner-adjustment-promo': 'Planner Adjustment Promo', 'planner-override-base': 'Planner override Base', 'planner-override-promo': 'Planner override Promo', 'final-demand-plan': 'Final Demand Plan', 'final-base-demand-plan': 'Final Base Demand Plan', 'final-promo-demand-plan': 'Final Promo Demand Plan', 'yoy-change-percent': 'YOY % change', 'trend-analysis-grid-title': 'Trend Details', 'trend-analysis-chart-title': 'Workbook Chart', cards: 'cards', workbook: 'workbook', 'trend-analysis': 'Trend Analysis', 'category-analysis': 'Category Analysis', 'brand-analysis': 'Brand Analysis', 'account-analysis': 'Account Analysis', display: 'display', editable: 'Editable', 'editability-blocked': 'Editability Blocked', locked: 'Locked', commented: 'Commented', 'calculation-error': 'Calculation Error', }, }, }, { applicationId: 10, applicationName: 'iop', i18n: { locale: 'en_US', translations: { iop: 'Order Promising', data: 'data', 'rule-sets': 'rule sets', sku: 'SKU', dc: 'DC', allocated: 'Allocated', orders: 'Orders', 'order-details': 'Order Details', allocations: 'Allocations', 'order-id': 'Order Id', 'ordered-site': 'Ordered Site', 'line-items': 'Line Items', revenue: 'Revenue', 'projected-order-fill-rate': 'Projected Order Fill Rate', 'order-type': 'Order Type', 'billed-to-account': 'Billed to Account', 'items-at-risk': 'Items at Risk', 'revenue-at-risk': 'Revenue at Risk', 'service-representative': 'Service Representative', currency: 'GBP', month: 'Month', 'available-stock': 'Available Stock', 'unassigned-inventory': 'Unassigned Inventory', delivery: 'Delivery', receipt: 'Receipt', available: 'Available', 'order-line': 'Order-Line', 'key-account': 'Key Account', 'ship-to': 'Ship To', 'requested-schedule': 'Requested Schedule', 'promised-schedule': 'Promised Schedule', 'ordered-quantity': 'Ordered Quantity', 'shipped-quantity': 'Shipped Quantity', 'open-quantity': 'Open Quantity', 'onTime-quantity': 'On-time Quantity', ship: 'Ship', 'promised-quantity': 'Promised Quantity', 'monthly-allocation': 'Monthly Allocation', 'mtd-shipments': 'MTD Shipments', 'available-allocation': 'Available Allocation', overage: 'Overage/Shortage', representative: 'Representative', 'rule-sets-title': 'Rule Sets', 'manage-rule-sets': 'Manage Rule Sets', 'assign-rule-sets': 'Assign Rule Sets', 'create-rule-sets': 'Create Rule Sets', 'add-ruleset': 'Add Rule Set', cancel: 'Cancel', add: 'Add', priority: 'priority', name: 'name', 'current-rules': 'Current Rules', 'delete-rule-set': 'Delete Rule Set', 'available-rules': 'Available Rules', 'current-assignments': 'Current Assignments', 'add-assignment': 'Add Assignment', 'edit-assignment': 'Edit Assignment', save: 'Save', 'location-dimension': 'Location Dimension', 'product-dimension': 'Product Dimension', 'valid-from': 'Valid From', 'valid-to': 'Valid To', 'rule-set': 'Rule Set', date: 'Date', 'choose-rule-set': 'Choose Rule Set', 'choose-location-dimension': 'Choose Location Dimension', 'choose-product-dimension': 'Choose Product Dimension', 'all-rules': 'All Rules', 'all-locations': 'All Locations', 'all-products': 'All Products', locations: 'Locations', products: 'Products', rules: 'Rules', 'priority-map': 'Priority Map', 'material-allocation': 'Material Allocation', 'target-fill-rate': 'Target Fill Rate', shipments: 'Shipments', 'current-fill-rate': 'Current Fill Rate', 'order-number': 'Order Number', 'promised-date': 'Promised Date', 'requested-date': 'Requested Date', 'sku-description': 'SKU Description', }, }, configJson: { title: 'iop', type: 'default', 'order-list-grid': { icons: { play: 'fas fa-play', unlock: 'fas fa-unlock', }, columns: [ { hide: true, 'column-type': 'measure', measure: 'order-id', }, { pinned: 'left', width: '50', 'column-type': 'measure', measure: '', }, { pinned: 'left', 'column-type': 'measure', measure: 'order-line', }, { pinned: 'left', 'column-type': 'dimension-level', 'dimension-column': 'sku', }, { pinned: 'left', 'column-type': 'dimension-level', 'dimension-column': 'dc', }, { pinned: 'left', 'column-type': 'measure', measure: 'key-account', }, { pinned: 'left', 'column-type': 'measure', measure: 'ship-to', }, { children: [ { 'column-type': 'measure', measure: 'ordered-quantity', }, { 'column-type': 'measure', measure: 'shipped-quantity', }, { 'column-type': 'measure', measure: 'open-quantity', }, { 'column-type': 'measure', measure: 'onTime-quantity', }, { 'column-type': 'measure', measure: 'ship', }, ], 'column-type': 'measure', measure: 'requested-schedule', headerClass: 'order-grid-border font-size-16 font-weight-semibold', }, { children: [ { 'column-type': 'measure', measure: 'promised-quantity', }, { cellClass: 'legend-locked p-v-8', 'column-type': 'measure', measure: 'available', }, ], 'column-type': 'measure', measure: 'promised-schedule', headerClass: 'order-grid-border font-size-16 font-weight-semibold', }, ], }, toolbar: { actions: [ { 'title-key': 'rule-sets', icons: [ { category: 'navigation', image: { icon: 'fa-cog', name: 'rule-sets', states: { default: 1, options: [0, 1], }, }, action: { type: 3, name: '/order-promising/rule-sets', }, }, ], }, { 'title-key': 'data', icons: [ { image: { icon: 'fa-sync', name: 'data', states: { default: 1, options: [0, 1], }, }, action: { type: 3, name: '/refresh', }, }, ], }, ], 'selected-dim-level': { measure_name: 'product_desc', attributes: [ { name: 'sku', measure_name: 'sku', }, { name: 'dc', measure_name: 'dc', }, ], }, }, tabs: [ { title: 'order-details', id: 0, 'order-details-grid': { columns: [ { width: 50, headerClass: 'background-light-blue', measure: '', }, { 'column-type': 'measure', measure: 'order-line', }, { 'column-type': 'dimension-level', 'dimension-column': 'sku', }, { 'column-type': 'dimension-level', 'dimension-column': 'sku', }, { 'column-type': 'measure', measure: 'ship-to', }, { 'column-type': 'measure', measure: 'ordered-quantity', }, { 'column-type': 'measure', measure: 'shipped-quantity', }, { 'column-type': 'measure', measure: 'open-quantity', }, { 'column-type': 'measure', measure: 'onTime-quantity', }, { 'column-type': 'measure', measure: 'available', }, { 'column-type': 'measure', measure: 'delivery', }, { 'column-type': 'measure', measure: 'receipt', }, ], }, }, { title: 'allocations', id: 1, 'allocations-grid': { columns: [ { width: 50, headerClass: 'background-light-blue', measure: '', }, { 'column-type': 'measure', measure: 'key-account', }, { 'column-type': 'measure', measure: 'monthly-allocation', }, { 'column-type': 'measure', measure: 'mtd-shipments', }, { 'column-type': 'measure', measure: 'available-allocation', }, { 'column-type': 'measure', measure: 'open-quantity', }, { 'column-type': 'measure', measure: 'overage', }, { width: 670, 'column-type': 'measure', measure: 'representative', }, ], }, }, ], 'rule-sets': { title: 'manage-rule-sets', tabs: [ { title: 'create-rule-sets', id: 0, 'current-rules-grid': { columns: [ { width: 50, field: 'drag', noHeader: true, rowDrag: true, }, { field: 'priority', width: 100, cellClass: 'ag-center-align priority-cell', }, { field: 'name', width: 300, cellClass: 'right-border', }, { width: 50, field: 'delete', noHeader: true, }, ], }, 'available-rules-grid': { columns: [ { field: 'select', noHeader: true, checkboxSelection: true, headerCheckboxSelection: true, width: 10, cellClass: 'pointer', }, { field: 'name', width: 500, }, ], }, }, { title: 'assign-rule-sets', id: 1, 'add-assignment': { 'end-date-year': 1, }, 'current-assignments-grid': { columns: [ { width: 30, field: 'serial', noHeader: true, cellClass: 'ag-center-align', }, { field: 'rule-set', width: 200, }, { field: 'product-dimension', width: 200, }, { width: 200, field: 'location-dimension', }, { width: 150, field: 'valid-from', }, { width: 150, field: 'valid-to', }, { width: 50, field: 'edit', noHeader: true, cellClass: 'ag-center-align', }, ], }, }, ], }, 'material-allocation': { title: 'material-allocation', 'allocation-grid': { 'key-indicators': [ { title: 'target-fill-rate', scope: 'rowMeasureNames', measure_name: 'target-fill-rate', }, { title: 'current-fill-rate', scope: 'rowMeasureNames', measure_name: 'current-fill-rate', }, { title: 'allocation', scope: 'rowMeasureNames', measure_name: 'allocation', }, { title: 'shipments', scope: 'rowMeasureNames', measure_name: 'shipments', }, ], 'grid-dimension-key': [ { 'column-key': 'key-account', display: 'account-type', hide: true, enableRowGroup: true, rowGroupIndex: 0, }, { 'column-key': 'key-account', display: 'account-subtype', hide: true, enableRowGroup: true, rowGroupIndex: 1, }, ], }, }, }, shortUserName: 'SS', }, { applicationId: 5, applicationName: 'tpo', configJson: { title: 'tpo', pageRefresh: true, 'account-result': { toolbar: { icons: [ { image: { icon: 'fa-filter', states: { default: 1, options: [0, 1, 2], }, }, action: { type: 2, name: 'dimension-filters', }, }, ], filters: [ { name: '3', label: 'Product', display: 'hierarchy', default: {}, }, { name: '2', label: 'Account', display: 'hierarchy', default: { dimension: '15', }, }, { name: '1', label: 'Time', display: 'hierarchy', default: { dimension: '20', label: '2021', id: 2021, }, }, ], }, 'dimension-filters': { 'search-icon': 'fa-search', clear: 'clear', available: 'available', selected: 'selected', 'select-all': 'select-all', tabs: [ { name: '3', label: 'Product', selected: true, dimensionLevels: [ { name: 'hierarchy', label: 'Hierarchy', icon: 'fa-sitemap', data: [ { name: '1', label: 'Category', level: 0, isMultiselect: true, }, { name: '2', label: 'Sub Category 1', level: 1, isMultiselect: true, }, { name: '3', label: 'Sub Category 2', level: 2, isMultiselect: true, }, { name: '4', label: 'Sub Category 3', level: 3, isMultiselect: true, }, { name: '5', label: 'Sub Category 4', level: 4, isMultiselect: true, }, { name: '6', label: 'Product', level: 5, isMultiselect: true, }, ], }, { name: 'attribute', label: 'Attribute', icon: 'fa-hashtag', data: [ { name: '8', label: 'Unit Of Measure', level: 7, isMultiselect: true, }, { name: '9', label: 'Brand', level: 8, isMultiselect: true, }, { name: '10', label: 'Manufacturer', level: 9, isMultiselect: true, }, ], }, ], }, { name: '2', label: 'Account', selected: false, dimensionLevels: [ { name: 'hierarchy', label: 'Hierarchy', icon: 'fa-sitemap', data: [ { name: '15', label: 'Account', level: 0, isMultiselect: false, }, { name: '16', label: 'Segment', level: 1, isMultiselect: true, }, { name: '17', label: 'Store', level: 2, isMultiselect: true, }, ], }, ], }, { name: '1', label: 'Time', selected: false, dimensionLevels: [ { name: 'hierarchy', label: 'Hierarchy', icon: 'fa-sitemap', data: [ { name: '20', label: 'Year', level: 0, isMultiselect: false, }, { name: '21', label: 'Quarter', level: 1, isMultiselect: true, }, { name: '22', label: 'Month', level: 2, isMultiselect: true, }, { name: '23', label: 'Week', level: 3, isMultiselect: true, }, { name: '24', label: 'Day', level: 4, isMultiselect: true, }, ], }, ], }, ], }, 'page-header': { 'title-text': 'account-results-page-title', config: [ { align: 'left', actions: [], }, { align: 'right', actions: [ { type: 'navigation-icon', seperator: false, 'item-seperator': true, label: 'navigation-label', icons: [ { image: { icon: 'fas fa-arrow-left', name: 'prev', states: { default: 1, options: [0, 2, 5], }, }, action: { type: '', name: '', }, }, { image: { icon: 'fas fa-arrow-right', name: 'next', states: { default: 1, options: [0, 2, 5], }, }, action: { type: '', name: '', }, }, ], }, { type: 'btn', name: 'account-plan', label: 'new-account-plan-title', action: { type: 2, name: 'new-account-plan-modal', }, }, ], }, ], }, 'new-account-plan-modal': { dimension_level_id: 15, header: { title: 'account-plan-modal-title', close: 'close-image', }, 'form-fields': { name: { label: 'account-plan-form-name-label', data_type: 'string', editable: true, clear: 'close-image', validateRequiredMsg: 'account-plan-form-name-valid-required', validatePatternMsg: 'account-plan-form-name-valid-pattern', }, categories: { label: 'account-plan-form-categories-label', data_type: 'string', editable: false, clear: 'close-image', value: 'All', }, account: { label: 'account-plan-form-account-label', clear: 'close-image', selection: 'select-dimension-image', editable: false, validateRequiredMsg: 'account-plan-form-account-valid-required', }, investment: { label: 'account-plan-form-investment-label', data_type: 'int', editable: true, clear: 'close-image', validateRequiredMsg: 'account-plan-form-investment-valid-required', }, overrideInvestment: { label: 'account-plan-form-override-investment-label', data_type: 'boolean', editable: true, }, date: { label: 'account-plan-form-date-label', clear: 'close-image', prefix: 'week-prefix', start_date: { format: 'yyyy/MM/dd', 'select-date-image': 'calendar-image', placeholder: 'account-plan-form-select-start-date', editable: true, }, end_date: { format: 'yyyy/MM/dd', 'select-date-image': 'calendar-image', placeholder: 'account-plan-form-select-end-date', editable: true, }, }, autoPopulatePromoList: { label: 'account-plan-form-auto-populate-label', data_type: 'boolean', editable: true, }, cancelBtn: { label: 'account-plan-form-cancel-btn-label', }, submitBtn: { label: 'account-plan-form-submit-btn-label', }, }, 'calendar-image': { image: { path: 'assets/icon/trade-promotion-calender.png', states: { default: 1, options: [1], }, }, }, 'close-image': { image: { path: 'assets/icon/trade-promotion-close_24px.png', states: { default: 1, options: [1], }, }, }, 'back-image': { image: { path: 'assets/icon/trade-promotion-back.png', states: { default: 1, options: [1], }, }, }, 'select-dimension-image': { image: { path: 'assets/icon/trade-promotion-tree.png', states: { default: 1, options: [1], }, }, action: { type: 2, name: 'select-dimension-modal', }, }, 'select-dimension-modal': { parent_level_id: 14, child_level_id: 15, header: { title: 'select-accounts-modal-title', close: 'back-image', }, body: { search: { icon: 'fa-search', }, }, }, }, 'new-promotion-modal': { header: { title: 'promotion-details-title', close: 'close-image', }, tabs: [ { selected: true, title: 'overview-title', 'form-fields': { name: { label: 'name-label', data_type: 'string', editable: true, clear: 'clear-image', }, description: { label: 'description-label', data_type: 'string', editable: true, }, strategy: { label: 'strategy-label', 'select-type': 'singleSelect', editable: true, placeholder: 'select-an-option', }, date: { label: 'date-label', clear: 'clear-image', prefix: 'week-prefix', start_date: { format: 'yyyy/MM/dd', placeholder: 'select-start-date', editable: true, }, end_date: { format: 'yyyy/MM/dd', placeholder: 'select-end-date', editable: true, }, }, products: { label: 'products-label', clear: 'clear-image', selection: 'select-dimension-image', editable: false, placeholder: 'select-an-option', disableSelection: true, }, account: { label: 'account-label', clear: 'clear-image', selection: 'select-dimension-image', editable: false, placeholder: 'select-an-option', disableSelection: true, }, }, 'clear-image': { image: { path: 'assets/icon/trade-promotion-close_24px.png', states: { default: 1, options: [1], }, }, }, 'select-dimension-image': { image: { path: 'assets/icon/trade-promotion-tree.png', states: { default: 1, options: [1], }, }, action: { type: 2, name: 'select-dimension-modal', }, }, 'select-dimension-modal': { title: 'select-dimension-modal-title', 'back-btn-image': { image: { path: 'assets/icon/trade-promotion-back_24px.png', states: { default: 1, options: [1], }, }, action: { type: 2, name: 'new-promotion-modal', }, }, 'search-icon': { image: { icon: 'fa-search', states: { default: 1, options: [1], }, }, }, }, 'form-btn': { cancel: 'cancel-btn', 'create-promotion': 'create-promotion-btn', 'edit-promotion': 'edit-promotion-btn', 'copy-promotion': 'copy-promotion-btn', }, }, { selected: false, title: 'investment-title', 'form-fields': { 'total-planned-investment': { label: 'total-planned-investment-label', data_type: 'int', editable: true, prefix: 'dollar-currency', }, 'total-fixed-investment': { label: 'total-fixed-amt-label', editable: false, data_type: 'integer', prefix: 'dollar-currency', }, 'total-variable-investment': { label: 'total-variable-amt-label', data_type: 'int', editable: false, prefix: 'dollar-currency', }, 'fixed-investment-assignment-type': { label: 'fixed-investment-assignment-type-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, 'fixed-investment-assignment-sub-type': { label: 'fixed-investment-assignment-sub-type-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, 'fixed-investment-amount': { label: 'fixed-investment-amount-label', editable: true, 'select-type': 'singleSelect', prefix: 'dollar-currency', }, 'add-to-summary-btn': { label: 'add-to-summary-label', }, placement: { label: 'placement-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, emphasis: { label: 'emphasis-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, }, 'clear-image': { image: { path: 'assets/icon/trade-promotion-close_24px.png', states: { default: 1, options: [1], }, }, }, 'form-btn': { cancel: 'cancel-btn', 'create-promotion': 'create-promotion-btn', 'edit-promotion': 'edit-promotion-btn', 'copy-promotion': 'copy-promotion-btn', }, }, { selected: false, title: 'tactics-title', 'form-fields': { 'enable-manual-selection': { label: 'enable-manual-selection-label', default: false, }, 'manual-selection-on': { tactic: { label: 'tactic-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', 'amount-off': { title: 'tactic-amount-off-title', label: 'amount-off-label', data_type: 'float', prefix: 'dollar-currency', 'base-cost': { label: 'base-cost-label', editable: false, }, 'base-price': { label: 'base-price-label', editable: false, }, }, 'flat-price': { title: 'tactic-flat-price-title', label: 'flat-price-label', data_type: 'float', prefix: 'dollar-currency', 'base-cost': { label: 'base-cost-label', editable: false, }, 'base-price': { label: 'base-price-label', editable: false, }, }, 'percent-off': { title: 'tactic-percent-off-title', label: 'percent-off-label', data_type: 'float', sufix: 'percent-sufix', 'base-cost': { label: 'base-cost-label', editable: false, }, 'base-price': { label: 'base-price-label', editable: false, }, }, bogo: { title: 'tactic-bogo-title', 'base-cost': { label: 'base-cost-label', editable: false, }, 'base-price': { label: 'base-price-label', editable: false, }, buy: { label: 'buy-label', editable: false, }, get: { label: 'get-label', editable: false, }, 'price-tactic': { label: 'price-tactic-label', editable: false, }, }, boga: {}, progressive: {}, price_multiple: {}, }, }, 'manual-selection-off': { 'optimization-goal': { label: 'optimization-goal-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, constraint: { label: 'optimization-constarints-label', }, 'total-variable-investment': { label: 'total-variable-amt-label', data_type: 'int', editable: false, prefix: 'dollar-currency', }, 'constraint-note': { label: 'constraint-note-label', }, revenue: { label: 'target-revenue-label', editable: true, prefix: 'percent-sufix', }, roi: { label: 'target-roi-label', editable: true, prefix: 'percent-sufix', }, volumn: { label: 'target-volumn-label', editable: true, prefix: 'percent-sufix', }, 'minimum-discount': { label: 'minimum-discount-label', editable: true, prefix: 'percent-sufix', }, 'maximum-discount': { label: 'maximum-discount-label', editable: true, prefix: 'percent-sufix', }, 'price-ending-logic-amt': { label: 'price-ending-logic-amt', note: { label: 'price-ending-logic-amt-note', }, sufix: { 'first-digit': 'first-digit', 'second-digit': 'second-digit', }, 'add-btn': { label: 'add-label', }, }, }, }, 'form-btn': { cancel: 'cancel-btn', 'create-promotion': 'create-promotion-btn', 'edit-promotion': 'edit-promotion-btn', 'copy-promotion': 'copy-promotion-btn', }, }, { selected: false, title: 'summary-title', 'form-fields': { name: { label: 'name-label', }, date: { label: 'date-label', prefix: 'week-prefix', }, products: { label: 'products-label', 'min-length': 40, 'show-btn': 'show-btn-label', 'hide-btn': 'hide-btn-label', }, account: { label: 'account-label', }, 'total-planned-inv': { label: 'total-planned-investment-label', }, 'total-fixed-planned-amt': { label: 'total-fixed-planned-amt-label', }, 'total-variable-planned-amt': { label: 'total-variable-planned-amt-label', }, 'total-projected-inv': { label: 'total-projected-inv-label', }, 'total-projected-fixed-inv': { label: 'total-projected-fixed-inv-label', }, 'total-projected-variable-inv': { label: 'total-projected-variable-inv-label', }, 'total-optimized-inv': { label: 'total-optimized-inv-label', }, 'total-optimized-fixed-inv': { label: 'total-optimized-fixed-inv-label', }, 'total-optimized-variable-inv': { label: 'total-optimized-variable-inv-label', }, 'investment-assign-type': { label: 'investment-assignment-type-label', 'show-btn': 'show-btn-label', 'hide-btn': 'hide-btn-label', }, 'investment-assign-sub-type': { 'min-length': 15, label: 'investment-assignment-sub-type-label', 'show-btn': 'show-btn-label', 'hide-btn': 'hide-btn-label', }, objective: { label: 'objective-label', }, tactic: { label: 'tactic', }, }, 'form-btn': { cancel: 'cancel-btn', 'create-promotion': 'create-promotion-btn', 'edit-promotion': 'edit-promotion-btn', 'copy-promotion': 'copy-promotion-btn', }, }, ], 'close-image': { image: { path: 'assets/icon/trade-promotion-close_24px.png', states: { default: 1, options: [1], }, }, }, measures: [ { measure_id: 50, display_name: 'data_display_name', measure_column_name: 'price_tactic_id', measure_defination_level: 'plan_promotion', }, { measure_id: 48, display_name: 'data_value', measure_column_name: 'amount_off', measure_defination_level: 'plan_promotion', }, { measure_id: 70, display_name: 'data_display_name', measure_column_name: 'promotion_strategy_id', measure_defination_level: 'plan_promotion', }, { measure_id: 40, display_name: 'data_display_name', measure_column_name: 'sub_tactic_id', measure_defination_level: 'plan_promotion', }, { measure_id: 41, display_name: 'data_display_name', measure_column_name: 'placement_id', measure_defination_level: 'plan_promotion', }, { measure_id: 83, display_name: 'data_display_name', measure_column_name: 'optimization_goal_id', measure_defination_level: 'plan_promotion', }, { measure_id: 71, display_name: 'data_display_name', measure_column_name: 'investment_type_id', measure_defination_level: 'plan_promotion_investment', }, { measure_id: 72, display_name: 'data_display_name', measure_column_name: 'investment_sub_type_id', measure_defination_level: 'plan_promotion_investment', }, { measure_id: 42, display_name: 'data_display_name', measure_column_name: 'emphasis_id', measure_defination_level: 'plan_promotion', }, { measure_id: 37, display_name: 'data_display_name', measure_column_name: 'demand_driver_id', measure_defination_level: 'plan_promotion', }, { measure_id: 80, display_name: 'data_value', measure_column_name: 'total_plan_investment', measure_defination_level: 'plan_promotion', }, { measure_id: 81, display_name: 'data_value', measure_column_name: 'total_fix_amount', measure_defination_level: 'plan_promotion', }, { measure_id: 82, display_name: 'data_value', measure_column_name: 'total_variable_amount', measure_defination_level: 'plan_promotion', }, { measure_id: 49, display_name: 'data_value', measure_column_name: 'flat_price', measure_defination_level: 'plan_promotion', }, { measure_id: 47, display_name: 'data_value', measure_column_name: 'percent_off', measure_defination_level: 'plan_promotion', }, { measure_id: 45, display_name: 'data_value', measure_column_name: 'buy_quantity', measure_defination_level: 'plan_promotion', }, { measure_id: 46, display_name: 'data_value', measure_column_name: 'get_quantity', measure_defination_level: 'plan_promotion', }, { measure_id: 73, display_name: 'data_value', measure_column_name: 'investment_amount', measure_defination_level: 'plan_promotion_investment', }, { measure_id: 94, display_name: 'data_value', measure_column_name: 'max_promo_discount', measure_defination_level: 'plan_promotion', }, { measure_id: 93, display_name: 'data_value', measure_column_name: 'min_promo_discount', measure_defination_level: 'plan_promotion', }, { measure_id: 90, display_name: 'data_value', measure_column_name: 'target_min_revenue', measure_defination_level: 'plan_promotion', }, { measure_id: 91, display_name: 'data_value', measure_column_name: 'target_min_roi', measure_defination_level: 'plan_promotion', }, { measure_id: 92, display_name: 'data_value', measure_column_name: 'target_min_volume', measure_defination_level: 'plan_promotion', }, ], }, 'account-performance': { title: 'account-financial-performance-title', note: 'account-financial-performance-note', sections: [ { title: 'financial-effectiveness-title', blocks: [ { title: 'revenue-title', prefix: '$', suffix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, numberFormat: '1.0-2', measure: 'total_revenue', measure1: 'revenue_diff_percent', }, { title: 'margin-title', prefix: '$', suffix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, numberFormat: '1.0-2', measure: 'total_margin_dollar', measure1: 'margin_diff_percent', }, { title: 'margin-per-title', prefix: '', suffix: '%', decimal: 1, 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, numberFormat: '1.0-2', measure: 'total_margin_percent', measure1: 'margin_diff_percent', }, { title: 'volume-sold-title', prefix: '', suffix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, numberFormat: '1.0-2', measure: 'volume_sold', measure1: 'volume_sold_diff', }, ], }, { title: 'investment-effectiveness-title', blocks: [ { title: 'trade-investment-title', prefix: '$', suffix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, numberFormat: '1.0-2', measure: 'trade_investments', measure1: 'trade_investments_diff', }, { title: 'roi-title', prefix: '$', suffix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, numberFormat: '1.0-2', measure: 'roi', measure1: 'roi_diff', }, { title: 'sales-volume-uplift-per-title', prefix: '', suffix: '%', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, numberFormat: '1.0-2', measure: 'sales_volume_uplift', measure1: 'sales_volume_uplift_diff', }, ], }, ], }, 'promotion-calendar-title': 'promotion-calendar-title-text', 'promotion-calendar-period': { dimensionId: '1', dimensionLevelId: '20', }, promotions: 'total-promotions-text', 'promotion-calendar-filter': { 'action-drop-down-options': [ { label: 'copy', value: 'copy', selected: false, }, { label: 'edit', value: 'edit', selected: false, }, { label: 'scenario', value: 'scenario', selected: false, }, { label: 'delete', value: 'delete', selected: false, }, ], 'view-drop-down-options': [ { label: 'Calendar', value: 'calendar', selected: true, }, { label: 'Details', value: 'details', selected: false, }, ], 'display-drop-down-options': [ { value: 'Quarter', label: 'Fiscal Quarter', selected: false, }, { value: 'Week', label: 'Fiscal Week', selected: true, }, ], }, 'promotion-calendar-strategies': [ { title: 'Growth', 'color-code': '#FFA726', }, { title: 'Competitive', 'color-code': '#EC407A', }, { title: 'Profitability', 'color-code': '#2D9CDB', }, { title: 'Not Available', 'color-code': '#607d8b', 'not-available': true, }, ], 'promotion-details-display': { Week: { defaultColDef: { resizable: true, }, rowSelection: 'multiple', columnDefs: [ { field: 'select', width: 40, checkboxSelection: true, headerCheckboxSelection: true, headerName: '', pinned: 'left', suppressMenu: true, }, { width: 120, headerName: 'Promo ID', field: 'plan_promotion_id', pinned: 'left', }, { width: 250, headerName: 'Promotion', field: 'plan_promotion_name', pinned: 'left', }, { width: 200, headerName: 'Status', field: 'work_flow', pinned: 'left', }, { minWidth: 150, headerName: 'Fiscal Week Start', field: 'start_week_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Fiscal Week End', field: 'end_week_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Revenue', field: 'predicted_revenue', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin', field: 'predicted_margin_$', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin %', field: 'predicted_margin_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Units', field: 'predicted_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Base Units', field: 'base_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Unit Lift', field: 'uplift_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Incremental Units', field: 'incr_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Investment Amount', field: 'total_plan_investment', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'ROI', field: 'roi', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, ], }, Month: { defaultColDef: { resizable: true, }, rowSelection: 'multiple', columnDefs: [ { field: 'select', headerName: '', width: 40, checkboxSelection: true, headerCheckboxSelection: true, pinned: 'left', suppressMenu: true, }, { width: 120, headerName: 'Promo ID', field: 'plan_promotion_id', pinned: 'left', }, { width: 250, headerName: 'Promotion', field: 'plan_promotion_name', pinned: 'left', }, { width: 200, headerName: 'Status', field: 'work_flow', pinned: 'left', }, { minWidth: 150, headerName: 'Fiscal Month Start', field: 'start_month_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Fiscal Month End', field: 'end_month_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Revenue', field: 'predicted_revenue', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin', field: 'predicted_margin_$', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin %', field: 'predicted_margin_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Units', field: 'predicted_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Base Units', field: 'base_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Unit Lift', field: 'uplift_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Incremental Units', field: 'incr_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Investment Amount', field: 'total_plan_investment', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'ROI', field: 'roi', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, ], }, Quarter: { defaultColDef: { resizable: true, }, rowSelection: 'multiple', columnDefs: [ { field: 'select', headerName: '', width: 40, checkboxSelection: true, headerCheckboxSelection: true, pinned: 'left', suppressMenu: true, }, { width: 120, headerName: 'Promo ID', field: 'plan_promotion_id', pinned: 'left', }, { width: 250, headerName: 'Promotion', field: 'plan_promotion_name', pinned: 'left', }, { width: 200, headerName: 'Status', field: 'work_flow', pinned: 'left', }, { minWidth: 150, headerName: 'Fiscal Quarter Start', field: 'start_quarter_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Fiscal Quarter End', field: 'end_quarter_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Revenue', field: 'predicted_revenue', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin', field: 'predicted_margin_$', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin %', field: 'predicted_margin_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Units', field: 'predicted_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Base Units', field: 'base_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Unit Lift', field: 'uplift_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Incremental Units', field: 'incr_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Investment Amount', field: 'total_plan_investment', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'ROI', field: 'roi', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, ], }, }, 'promotion-calendar-display': { Week: { defaultColDef: { resizable: true, }, rowSelection: 'multiple', columnDefs: [ { field: 'select', headerName: '', width: 40, checkboxSelection: true, headerCheckboxSelection: true, pinned: 'left', suppressMenu: true, }, { width: 200, headerName: 'Promotion Name', field: 'promotionName', pinned: 'left', }, ], 'timeseries-col-def': [ { maxWidth: 100, renderer: 'BarRender', cellStyle: { 'padding-left': '0rem', 'padding-right': '0rem', }, }, ], }, Month: { defaultColDef: { resizable: true, }, rowSelection: 'multiple', columnDefs: [ { field: 'select', headerName: '', width: 40, checkboxSelection: true, headerCheckboxSelection: true, pinned: 'left', suppressMenu: true, }, { width: 200, headerName: 'Promotion Name', field: 'promotionName', pinned: 'left', }, ], 'timeseries-col-def': [ { maxWidth: 100, renderer: 'BarRender', cellStyle: { 'padding-left': '0rem', 'padding-right': '0rem', }, }, ], }, Quarter: { defaultColDef: { resizable: true, }, rowSelection: 'multiple', columnDefs: [ { field: 'select', headerName: '', width: 40, checkboxSelection: true, headerCheckboxSelection: true, pinned: 'left', suppressMenu: true, }, { width: 200, headerName: 'Promotion Name', field: 'promotionName', pinned: 'left', }, ], 'timeseries-col-def': [ { maxWidth: 100, renderer: 'BarRender', cellStyle: { 'padding-left': '0rem', 'padding-right': '0rem', }, }, ], }, }, 'account-results-details': [ { name: 'Sales Forecast', value: 'sales-forecast-tab', selected: true, config: { 'filter-by': 'Month', filters: { viewBy: [ { name: 'revenue', label: 'Revenue', selected: true, }, { name: 'margin', label: 'Margin', selected: false, }, { name: 'units', label: 'Units', selected: false, }, ], }, 'chart-config': { legends: [ { title: 'Actual', icon: 'line', color: '#000000', }, { title: 'Forecast', icon: 'dashed-line', color: 'rgba(0, 0, 0, 0.3333)', }, { title: 'Base', icon: 'circle', color: '#FF82B6', }, { title: 'Promo', icon: 'circle', color: '#42A5F5', }, ], }, }, }, { name: 'Brand Impact', value: 'brand-impact-tab', selected: false, config: { metrics: [ { measure_name: 'avg_promoted_price_disc_percent', displayName: '% Diff units', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, { measure_name: 'avg_promoted_price', displayName: 'Avg Promoted Price', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'avg_base_price', displayName: 'Avg Base Price', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'base_revenue', displayName: 'Base Revenue', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'incremental_revenue', displayName: 'Incremental Revenue', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'total_revenue', displayName: 'Total Revenue', prefix: 'currency-symbol', suffix: '', highlightRow: true, numberFormat: '1.0-2', }, { measure_name: 'base_sales_units', displayName: 'Base Units', prefix: '', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'incr_sales_units', displayName: 'Incremental Units', prefix: '', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'total_units', displayName: 'Total Units', highlightRow: true, prefix: '', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'market_share_percent', displayName: 'Market Share %', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, { measure_name: 'market_share_change_percent', displayName: 'Market Share Change %', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, ], productDrillDown: [ { level: 1, dimension_level_id: 2, menuIcon: 'fa-angle-down', next_level: 2, }, { level: 2, dimension_level_id: 3, menuIcon: 'fa-angle-up', }, ], metricsColDef: { width: 300, headerName: 'Metrics', field: 'metrics_name', headerClass: '', pinned: 'left', }, defaultColDef: { filter: true, resizable: true, }, productColDef: { minWidth: 270, headerClass: 'ag-right-align', headerComponentParams: { menuIcon: 'fa-angle-down', }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, }, }, { name: 'Promotion Rank', value: 'top-performers-tab', selected: false, config: { filters: { metricsBy: [ { name: 'predicted_revenue', label: 'revenue', selected: true, }, { name: 'predicted_margin_$', label: 'margin', selected: false, }, { name: 'predicted_units', label: 'Units', selected: false, }, ], topSelection: [ { name: '3', label: '3', selected: true, }, { name: '5', label: '5', selected: false, }, { name: '10', label: '10', selected: false, }, ], orderBy: { default: true, on: { name: 'Top', }, off: { name: 'Bottom', }, }, }, autoGroupColumnField: 'plan_promotion_name', autoGroupColumnDef: { headerName: 'Initiative', minWidth: 300, cellRendererParams: { suppressCount: true, }, pinned: 'left', }, columnDefs: [ { width: 180, headerName: 'Fiscal Week Start', headerClass: 'ag-right-align', field: 'start_week_id', productField: 'start_week_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { width: 175, headerName: 'Fiscal Week End', headerClass: 'ag-right-align', field: 'end_week_id', productField: 'end_week_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { width: 190, headerName: 'Projected Revenue', headerClass: 'ag-right-align', field: 'predicted_revenue', productField: 'total_revenue', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { width: 190, headerName: 'Projected Margin $', headerClass: 'ag-right-align', field: 'predicted_margin_$', productField: 'total_margin', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { width: 180, headerName: 'Projected Units', headerClass: 'ag-right-align', field: 'predicted_units', productField: 'total_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { width: 110, headerName: 'Uplift %', headerClass: 'ag-right-align', field: 'uplift_percent', productField: 'uplift_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { width: 120, headerName: 'ROI', headerClass: 'ag-right-align', field: 'roi', productField: 'roi', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { width: 120, headerName: 'Investment', headerClass: 'ag-right-align', field: 'total_plan_investment', productField: 'total_projected_investment', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, ], }, }, ], 'investment-tracker': { title: 'investment-tracker', details: { title: 'scenario-details-header', data: [ { field: 'field-plan', prefix: '$', sufix: '', name: 'plan_investment', }, { field: 'field-allocated', prefix: '$', sufix: '', name: 'executed', }, ], }, 'progress-bar': { color: '#1a9745', }, footer: { label: 'unallocated-investment-remaining', measure: 'investment-amount', valueFormatter: { prefix: '', suffix: ' USD', numberFormatter: true, }, }, }, 'planned-details': { title: 'planned-details-title', 'sub-title': 'account-performance-title', metrics: { title: 'scenario-projected-metrics', data: [ { label: 'base-revenue', prefix: '$', sufix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'base_revenue', measure2: 'base_revenue_diff', }, { label: 'incremental-revenue', prefix: '$', sufix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'incremental_revenue', measure2: 'incremental_revenue_diff', }, { label: 'base-units', prefix: '$', sufix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'base_units', measure2: 'base_revenue_diff', }, { label: 'incremental-units', prefix: '', sufix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'incremental_units', measure2: 'incremental_units_diff', }, { label: 'roi', prefix: '$', sufix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'roi', measure2: 'roi_diff', }, { label: 'üplift%', prefix: '', sufix: '%', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'uplift', measure2: 'uplift_diff', }, { label: 'promotion-count', prefix: '', sufix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'promotion_count', }, ], }, strategy: { title: 'strategy-label', data: [ { title: 'growth', color: '#ffa726', }, { title: 'competetive', color: '#f2536d', }, { title: 'profitablity', color: '#6ddafc', }, { title: 'none', color: '#b2ccd9', }, ], }, 'demand-drivers': { title: 'demand-driver-spend-label', columns: [ { field: '', prefix: '', sufix: '', }, { field: '', prefix: '', sufix: '', }, { field: 'field-spend-usd', prefix: '', sufix: '%', }, { field: 'field-roi', prefix: '', sufix: '%', }, ], drivers: [ { id: 1, display_name: 'driver-ad', }, { id: 2, display_name: 'driver-display', }, { id: 3, display_name: 'driver-tpr', }, { id: 4, display_name: 'driver-ad-display', }, ], }, }, 'multi-copy-promotion-modal': { header: { title: 'multi-copy-promotion-title', }, fields: { 'event-name': { label: 'event-name', }, 'account-plan': { label: 'account-plan-name', 'select-type': 'singleSelect', editable: true, placeholder: 'select-an-option', }, date: { label: 'date-range-label', clear: 'clear-image', start_date: { format: 'yyyy/MM/dd', placeholder: 'select-start-date', editable: true, }, end_date: { format: 'yyyy/MM/dd', placeholder: 'select-end-date', editable: true, }, }, 'apply-all': { label: 'apply-all-label', }, 'remove-event': { label: 'remove-event-label', 'confirm-box': { title: 'confirm-box-title', message: 'confirm-box-msg', }, }, }, footer: { 'cancel-btn': { label: 'cancel-btn', }, 'assign-btn': { label: 'assign-btn', }, 'event-count': { label: 'events-label', }, }, }, }, 'scenario-analysis': { 'page-header': { 'title-text': 'scenario-analysis-page-title', config: [ { align: 'left', actions: [], }, { align: 'right', actions: [ { type: 'navigation-icon', seperator: false, icons: [ { image: { icon: 'fas fa-arrow-left', name: 'prev', states: { default: 1, options: [0, 2, 5], }, }, action: { type: '', name: '', }, }, { image: { icon: 'fas fa-arrow-right', name: 'next', states: { default: 1, options: [0, 2, 5], }, }, action: { type: '', name: '', }, }, ], }, { type: 'btn', name: 'scenario', label: 'new-scenario-title', action: { type: 2, name: 'new-promotion-modal', }, }, ], }, ], }, 'new-promotion-modal': { header: { title: 'promotion-details-title', close: 'close-image', }, tabs: [ { selected: true, title: 'overview-title', 'form-fields': { name: { label: 'name-label', data_type: 'string', editable: true, clear: 'clear-image', }, description: { label: 'description-label', data_type: 'string', editable: true, }, strategy: { label: 'strategy-label', 'select-type': 'singleSelect', editable: true, placeholder: 'select-an-option', }, date: { label: 'date-label', clear: 'clear-image', prefix: 'week-prefix', start_date: { format: 'yyyy/MM/dd', placeholder: 'select-start-date', editable: true, }, end_date: { format: 'yyyy/MM/dd', placeholder: 'select-end-date', editable: true, }, }, products: { label: 'products-label', clear: 'clear-image', selection: 'select-dimension-image', editable: false, placeholder: 'select-an-option', disableSelection: true, }, account: { label: 'account-label', clear: 'clear-image', selection: 'select-dimension-image', editable: false, placeholder: 'select-an-option', disableSelection: true, }, }, 'clear-image': { image: { path: 'assets/icon/trade-promotion-close_24px.png', states: { default: 1, options: [1], }, }, }, 'select-dimension-image': { image: { path: 'assets/icon/trade-promotion-tree.png', states: { default: 1, options: [1], }, }, action: { type: 2, name: 'select-dimension-modal', }, }, 'select-dimension-modal': { title: 'select-dimension-modal-title', 'back-btn-image': { image: { path: 'assets/icon/trade-promotion-back_24px.png', states: { default: 1, options: [1], }, }, action: { type: 2, name: 'new-promotion-modal', }, }, 'search-icon': { image: { icon: 'fa-search', states: { default: 1, options: [1], }, }, }, }, 'form-btn': { cancel: 'cancel-btn', 'create-promotion': 'create-promotion-btn', 'edit-promotion': 'edit-promotion-btn', 'copy-promotion': 'copy-promotion-btn', }, }, { selected: false, title: 'investment-title', 'form-fields': { 'total-planned-investment': { label: 'total-planned-investment-label', data_type: 'int', editable: true, prefix: 'dollar-currency', }, 'total-fixed-investment': { label: 'total-fixed-amt-label', editable: false, data_type: 'integer', prefix: 'dollar-currency', }, 'total-variable-investment': { label: 'total-variable-amt-label', data_type: 'int', editable: false, prefix: 'dollar-currency', }, 'fixed-investment-assignment-type': { label: 'fixed-investment-assignment-type-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, 'fixed-investment-assignment-sub-type': { label: 'fixed-investment-assignment-sub-type-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, 'fixed-investment-amount': { label: 'fixed-investment-amount-label', editable: true, 'select-type': 'singleSelect', prefix: 'dollar-currency', }, 'add-to-summary-btn': { label: 'add-to-summary-label', }, placement: { label: 'placement-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, emphasis: { label: 'emphasis-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, }, 'clear-image': { image: { path: 'assets/icon/trade-promotion-close_24px.png', states: { default: 1, options: [1], }, }, }, 'form-btn': { cancel: 'cancel-btn', 'create-promotion': 'create-promotion-btn', 'edit-promotion': 'edit-promotion-btn', 'copy-promotion': 'copy-promotion-btn', }, }, { selected: false, title: 'tactics-title', 'form-fields': { 'enable-manual-selection': { label: 'enable-manual-selection-label', default: false, }, 'manual-selection-on': { tactic: { label: 'tactic-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', 'amount-off': { title: 'tactic-amount-off-title', label: 'amount-off-label', data_type: 'float', prefix: 'dollar-currency', 'base-cost': { label: 'base-cost-label', editable: false, }, 'base-price': { label: 'base-price-label', editable: false, }, }, 'flat-price': { title: 'tactic-flat-price-title', label: 'flat-price-label', data_type: 'float', prefix: 'dollar-currency', 'base-cost': { label: 'base-cost-label', editable: false, }, 'base-price': { label: 'base-price-label', editable: false, }, }, 'percent-off': { title: 'tactic-percent-off-title', label: 'percent-off-label', data_type: 'float', sufix: 'percent-sufix', 'base-cost': { label: 'base-cost-label', editable: false, }, 'base-price': { label: 'base-price-label', editable: false, }, }, bogo: { title: 'tactic-bogo-title', 'base-cost': { label: 'base-cost-label', editable: false, }, 'base-price': { label: 'base-price-label', editable: false, }, buy: { label: 'buy-label', editable: false, }, get: { label: 'get-label', editable: false, }, 'price-tactic': { label: 'price-tactic-label', editable: false, }, }, boga: {}, progressive: {}, price_multiple: {}, }, }, 'manual-selection-off': { 'optimization-goal': { label: 'optimization-goal-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, constraint: { label: 'optimization-constarints-label', }, 'total-variable-investment': { label: 'total-variable-amt-label', data_type: 'int', editable: false, prefix: 'dollar-currency', }, 'constraint-note': { label: 'constraint-note-label', }, revenue: { label: 'target-revenue-label', editable: true, prefix: 'percent-sufix', }, roi: { label: 'target-roi-label', editable: true, prefix: 'percent-sufix', }, volumn: { label: 'target-volumn-label', editable: true, prefix: 'percent-sufix', }, 'minimum-discount': { label: 'minimum-discount-label', editable: true, prefix: 'percent-sufix', }, 'maximum-discount': { label: 'maximum-discount-label', editable: true, prefix: 'percent-sufix', }, 'price-ending-logic-amt': { label: 'price-ending-logic-amt', note: { label: 'price-ending-logic-amt-note', }, sufix: { 'first-digit': 'first-digit', 'second-digit': 'second-digit', }, 'add-btn': { label: 'add-label', }, }, }, }, 'form-btn': { cancel: 'cancel-btn', 'create-promotion': 'create-promotion-btn', 'edit-promotion': 'edit-promotion-btn', 'copy-promotion': 'copy-promotion-btn', }, }, { selected: false, title: 'summary-title', 'form-fields': { name: { label: 'name-label', }, date: { label: 'date-label', prefix: 'week-prefix', }, products: { label: 'products-label', 'min-length': 40, 'show-btn': 'show-btn-label', 'hide-btn': 'hide-btn-label', }, account: { label: 'account-label', }, 'total-planned-inv': { label: 'total-planned-investment-label', }, 'total-fixed-planned-amt': { label: 'total-fixed-planned-amt-label', }, 'total-variable-planned-amt': { label: 'total-variable-planned-amt-label', }, 'total-projected-inv': { label: 'total-projected-inv-label', }, 'total-projected-fixed-inv': { label: 'total-projected-fixed-inv-label', }, 'total-projected-variable-inv': { label: 'total-projected-variable-inv-label', }, 'total-optimized-inv': { label: 'total-optimized-inv-label', }, 'total-optimized-fixed-inv': { label: 'total-optimized-fixed-inv-label', }, 'total-optimized-variable-inv': { label: 'total-optimized-variable-inv-label', }, 'investment-assign-type': { label: 'investment-assignment-type-label', 'show-btn': 'show-btn-label', 'hide-btn': 'hide-btn-label', }, 'investment-assign-sub-type': { 'min-length': 15, label: 'investment-assignment-sub-type-label', 'show-btn': 'show-btn-label', 'hide-btn': 'hide-btn-label', }, objective: { label: 'objective-label', }, tactic: { label: 'tactic', }, }, 'form-btn': { cancel: 'cancel-btn', 'create-promotion': 'create-promotion-btn', 'edit-promotion': 'edit-promotion-btn', 'copy-promotion': 'copy-promotion-btn', }, }, ], 'close-image': { image: { path: 'assets/icon/trade-promotion-close_24px.png', states: { default: 1, options: [1], }, }, }, measures: [ { measure_id: 50, display_name: 'data_display_name', measure_column_name: 'price_tactic_id', measure_defination_level: 'plan_promotion', }, { measure_id: 48, display_name: 'data_value', measure_column_name: 'amount_off', measure_defination_level: 'plan_promotion', }, { measure_id: 70, display_name: 'data_display_name', measure_column_name: 'promotion_strategy_id', measure_defination_level: 'plan_promotion', }, { measure_id: 40, display_name: 'data_display_name', measure_column_name: 'sub_tactic_id', measure_defination_level: 'plan_promotion', }, { measure_id: 41, display_name: 'data_display_name', measure_column_name: 'placement_id', measure_defination_level: 'plan_promotion', }, { measure_id: 83, display_name: 'data_display_name', measure_column_name: 'optimization_goal_id', measure_defination_level: 'plan_promotion', }, { measure_id: 71, display_name: 'data_display_name', measure_column_name: 'investment_type_id', measure_defination_level: 'plan_promotion_investment', }, { measure_id: 72, display_name: 'data_display_name', measure_column_name: 'investment_sub_type_id', measure_defination_level: 'plan_promotion_investment', }, { measure_id: 42, display_name: 'data_display_name', measure_column_name: 'emphasis_id', measure_defination_level: 'plan_promotion', }, { measure_id: 37, display_name: 'data_display_name', measure_column_name: 'demand_driver_id', measure_defination_level: 'plan_promotion', }, { measure_id: 80, display_name: 'data_value', measure_column_name: 'total_plan_investment', measure_defination_level: 'plan_promotion', }, { measure_id: 81, display_name: 'data_value', measure_column_name: 'total_fix_amount', measure_defination_level: 'plan_promotion', }, { measure_id: 82, display_name: 'data_value', measure_column_name: 'total_variable_amount', measure_defination_level: 'plan_promotion', }, { measure_id: 49, display_name: 'data_value', measure_column_name: 'flat_price', measure_defination_level: 'plan_promotion', }, { measure_id: 47, display_name: 'data_value', measure_column_name: 'percent_off', measure_defination_level: 'plan_promotion', }, { measure_id: 45, display_name: 'data_value', measure_column_name: 'buy_quantity', measure_defination_level: 'plan_promotion', }, { measure_id: 46, display_name: 'data_value', measure_column_name: 'get_quantity', measure_defination_level: 'plan_promotion', }, { measure_id: 73, display_name: 'data_value', measure_column_name: 'investment_amount', measure_defination_level: 'plan_promotion_investment', }, { measure_id: 94, display_name: 'data_value', measure_column_name: 'max_promo_discount', measure_defination_level: 'plan_promotion', }, { measure_id: 93, display_name: 'data_value', measure_column_name: 'min_promo_discount', measure_defination_level: 'plan_promotion', }, { measure_id: 90, display_name: 'data_value', measure_column_name: 'target_min_revenue', measure_defination_level: 'plan_promotion', }, { measure_id: 91, display_name: 'data_value', measure_column_name: 'target_min_roi', measure_defination_level: 'plan_promotion', }, { measure_id: 92, display_name: 'data_value', measure_column_name: 'target_min_volume', measure_defination_level: 'plan_promotion', }, ], }, 'scenario-card': { header: { measure_name: 'plan_promotion_name', btn: { 'active-status': '#757575', 'scenario-status': '#66BB6A', }, }, band: { selected: '#3296ed', deSelected: '#f2f2f2', }, 'planned-card-action-drop-down': [ { name: 'Remove', value: 'remove', selected: false, }, ], 'card-action-drop-down': [ { name: 'Edit', value: 'edit', selected: false, }, { name: 'Remove', value: 'remove', selected: false, }, { name: 'Activate', value: 'activate', selected: false, }, ], metrics: [ { measure_name: 'base_sales_amount', displayName: 'Base Revenue', prefix: 'currency-symbol', suffix: '', }, { measure_name: 'incr_sales_amount', displayName: 'Incremental Revenue', prefix: 'currency-symbol', suffix: '', }, { measure_name: 'base_sales_units', displayName: 'Base Units', prefix: '', suffix: '', }, { measure_name: 'incr_sales_units', displayName: 'Incremental Units', prefix: '', suffix: '', }, { measure_name: 'roi', displayName: 'ROI $', prefix: 'currency-symbol', suffix: '', }, { measure_name: 'uplift_percent', displayName: 'Uplift %', prefix: '', suffix: 'percent-symbol', }, { measure_name: 'total_plan_investment', displayName: 'Total Investment $ (USD)', prefix: 'currency-symbol', suffix: '', type: 'total', }, ], 'metrics-progress': { 'metrics-progress-up': '#66BB6A', 'metrics-progress-down': '#d32f2f', }, }, 'scenario-details': { header: { measure_name: 'plan_promotion_name', }, tabs: [ { name: 'KPI', selected: true, value: 'scenario-kpi-tab-name', 'tab-data': 'kpi-details', }, { name: 'Product', selected: false, value: 'scenario-product-tab-name', 'tab-data': 'product-grid', }, ], 'kpi-details': { 'left-column': [ { measure_name: 'start_date', measure_name2: 'end_date', displayName: 'Dates Active', format: 'MMM DD', format2: 'MMM DD, yyyy', prefix: '', suffix: '', type: 'date', }, { measure_name: 'predicted_revenue', displayName: 'Predictive revenue (USD)', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'base_sales_amount', displayName: 'Base Revenue (USD)', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'revenue_difference_percent', displayName: '% Diff. Rev $', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, { measure_name: 'predicted_margin_$', displayName: 'Predictive Margin ($)', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'base_sales_margin', displayName: 'Base Margin (USD)', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'margin_difference_percent', displayName: '% Diff. Margin $', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, { measure_name: 'predicted_margin_percent', displayName: 'Predicted Margin (%)', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, { measure_name: 'predicted_units', displayName: 'Predicted Units', prefix: '', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'base_sales_units', displayName: 'Base Units', prefix: '', suffix: '', numberFormat: '1.0-2', }, ], 'right-column': [ { measure_name: 'units_difference_percent', displayName: '% Diff. Units', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, { measure_name: 'uplift_percent', displayName: 'Unit Lift %', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, { measure_name: 'incr_sales_units', displayName: 'Incremental Units', prefix: '', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'total_plan_investment', displayName: 'Investment', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'roi', displayName: 'ROI', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: '', displayName: 'Discount Price %', prefix: '', suffix: 'percent-symbol', }, { measure_name: 'investment_sub_type_id', displayName: 'Demand Driver', prefix: '', suffix: '', measureType: 'plan_promotion_investments', lookupKey: 'data_display_name', }, { measure_name: 'min_max_base_cost_base_price.min_base_price', measure_name2: 'min_max_base_cost_base_price.max_base_price', displayName: 'Base Price', prefix: 'currency-symbol', prefix2: 'currency-symbol', suffix: '', numberFormat: '1.0-2', nestedLookup: true, }, { measure_name: 'min_max_base_cost_base_price.min_base_cost', measure_name2: 'min_max_base_cost_base_price.max_base_cost', displayName: 'Base Cost', prefix: 'currency-symbol', prefix2: 'currency-symbol', suffix: '', numberFormat: '1.0-2', nestedLookup: true, }, ], }, 'product-grid': { metrics: [ { measure_name: 'avg_promoted_price_disc_percent', displayName: '% Diff units', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, { measure_name: 'avg_promoted_price', displayName: 'Avg Promoted Price', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'avg_base_price', displayName: 'Avg Base Price', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'base_revenue', displayName: 'Base Revenue', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'incremental_revenue', displayName: 'Incremental Revenue', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'total_revenue', displayName: 'Total Revenue', prefix: 'currency-symbol', suffix: '', highlightRow: true, numberFormat: '1.0-2', }, { measure_name: 'base_sales_units', displayName: 'Base Units', prefix: '', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'incr_sales_units', displayName: 'Incremental Units', prefix: '', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'total_units', displayName: 'Total Units', highlightRow: true, prefix: '', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'market_share_percent', displayName: 'Market Share %', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, { measure_name: 'market_share_change_percent', displayName: 'Market Share Change %', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, ], 'metrics-col-def': { width: 300, headerName: 'Metrics', field: 'metrics_name', pinned: 'left', }, 'product-col-def': { minWidth: 270, cellStyle: { textAlign: 'right', 'font-size': '1.4rem', }, }, }, }, }, 'account-planning': { toolbar: { icons: [ { image: { icon: 'fa-filter', states: { default: 1, options: [0, 1, 2], }, }, action: { type: 2, name: 'dimension-filters', }, }, ], filters: [ { name: '3', label: 'Product', display: 'hierarchy', default: {}, }, { name: '2', label: 'Account', display: 'hierarchy', default: { dimension: '15', }, }, { name: '1', label: 'Time', display: 'hierarchy', default: { dimension: '20', label: '2022', id: 2022, }, }, ], }, 'dimension-filters': { 'search-icon': 'fa-search', clear: 'clear', available: 'available', selected: 'selected', 'select-all': 'select-all', tabs: [ { name: '3', label: 'Product', selected: true, dimensionLevels: [ { name: 'hierarchy', label: 'Hierarchy', icon: 'fa-sitemap', data: [ { name: '1', label: 'Category', level: 0, isMultiselect: true, }, { name: '2', label: 'Sub Category 1', level: 1, isMultiselect: true, }, { name: '3', label: 'Sub Category 2', level: 2, isMultiselect: true, }, { name: '4', label: 'Sub Category 3', level: 3, isMultiselect: true, }, { name: '5', label: 'Sub Category 4', level: 4, isMultiselect: true, }, { name: '6', label: 'Product', level: 5, isMultiselect: true, }, ], }, { name: 'attribute', label: 'Attribute', icon: 'fa-hashtag', data: [ { name: '8', label: 'Unit Of Measure', level: 7, isMultiselect: true, }, { name: '9', label: 'Brand', level: 8, isMultiselect: true, }, { name: '10', label: 'Manufacturer', level: 9, isMultiselect: true, }, ], }, ], }, { name: '2', label: 'Account', selected: false, dimensionLevels: [ { name: 'hierarchy', label: 'Hierarchy', icon: 'fa-sitemap', data: [ { name: '15', label: 'Account', level: 0, isMultiselect: false, }, { name: '16', label: 'Segment', level: 1, isMultiselect: true, }, { name: '17', label: 'Store', level: 2, isMultiselect: true, }, ], }, ], }, { name: '1', label: 'Time', selected: false, dimensionLevels: [ { name: 'hierarchy', label: 'Hierarchy', icon: 'fa-sitemap', data: [ { name: '20', label: 'Year', level: 0, isMultiselect: false, }, { name: '21', label: 'Quarter', level: 1, isMultiselect: true, }, { name: '22', label: 'Month', level: 2, isMultiselect: true, }, { name: '23', label: 'Week', level: 3, isMultiselect: true, }, { name: '24', label: 'Day', level: 4, isMultiselect: true, }, ], }, ], }, ], }, 'page-header': { 'title-text': 'account-planning-page-title', config: [ { align: 'left', actions: [], }, { align: 'right', actions: [ { type: 'navigation-icon', label: 'navigation-label', seperator: false, icons: [ { image: { icon: 'fas fa-arrow-left', name: 'prev', states: { default: 1, options: [0, 2, 5], }, }, action: { type: '', name: '', }, }, { image: { icon: 'fas fa-arrow-right', name: 'next', states: { default: 1, options: [0, 2, 5], }, }, action: { type: '', name: '', }, }, ], }, { type: 'btn', name: 'promotion', label: 'new-promotion-title', action: { type: 2, name: 'new-promotion-modal', }, }, ], }, ], }, 'new-promotion-modal': { header: { title: 'promotion-details-title', close: 'close-image', }, tabs: [ { selected: true, title: 'overview-title', 'form-fields': { name: { label: 'name-label', data_type: 'string', editable: true, clear: 'clear-image', }, description: { label: 'description-label', data_type: 'string', editable: true, }, strategy: { label: 'strategy-label', 'select-type': 'singleSelect', editable: true, placeholder: 'select-an-option', }, date: { label: 'date-label', clear: 'clear-image', prefix: 'week-prefix', start_date: { format: 'yyyy/MM/dd', placeholder: 'select-start-date', editable: true, }, end_date: { format: 'yyyy/MM/dd', placeholder: 'select-end-date', editable: true, }, }, products: { label: 'products-label', clear: 'clear-image', selection: 'select-dimension-image', editable: false, placeholder: 'select-an-option', }, account: { label: 'account-label', clear: 'clear-image', selection: 'select-dimension-image', editable: false, placeholder: 'select-an-option', }, }, 'clear-image': { image: { path: 'assets/icon/trade-promotion-close_24px.png', states: { default: 1, options: [1], }, }, }, 'select-dimension-image': { image: { path: 'assets/icon/trade-promotion-tree.png', states: { default: 1, options: [1], }, }, action: { type: 2, name: 'select-dimension-modal', }, }, 'select-dimension-modal': { title: 'select-dimension-modal-title', 'back-btn-image': { image: { path: 'assets/icon/trade-promotion-back_24px.png', states: { default: 1, options: [1], }, }, action: { type: 2, name: 'new-promotion-modal', }, }, 'search-icon': { image: { icon: 'fa-search', states: { default: 1, options: [1], }, }, }, }, 'form-btn': { cancel: 'cancel-btn', 'create-promotion': 'create-promotion-btn', 'edit-promotion': 'edit-promotion-btn', 'copy-promotion': 'copy-promotion-btn', }, }, { selected: false, title: 'investment-title', 'form-fields': { 'total-planned-investment': { label: 'total-planned-investment-label', data_type: 'int', editable: true, prefix: 'dollar-currency', }, 'total-fixed-investment': { label: 'total-fixed-amt-label', editable: false, data_type: 'integer', prefix: 'dollar-currency', }, 'total-variable-investment': { label: 'total-variable-amt-label', data_type: 'int', editable: false, prefix: 'dollar-currency', }, 'fixed-investment-assignment-type': { label: 'fixed-investment-assignment-type-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, 'fixed-investment-assignment-sub-type': { label: 'fixed-investment-assignment-sub-type-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, 'fixed-investment-amount': { label: 'fixed-investment-amount-label', editable: true, 'select-type': 'singleSelect', prefix: 'dollar-currency', }, 'add-to-summary-btn': { label: 'add-to-summary-label', }, placement: { label: 'placement-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, emphasis: { label: 'emphasis-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, }, 'clear-image': { image: { path: 'assets/icon/trade-promotion-close_24px.png', states: { default: 1, options: [1], }, }, }, 'form-btn': { cancel: 'cancel-btn', 'create-promotion': 'create-promotion-btn', 'edit-promotion': 'edit-promotion-btn', 'copy-promotion': 'copy-promotion-btn', }, }, { selected: false, title: 'tactics-title', 'form-fields': { 'enable-manual-selection': { label: 'enable-manual-selection-label', default: false, }, 'manual-selection-on': { tactic: { label: 'tactic-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', 'amount-off': { title: 'tactic-amount-off-title', label: 'amount-off-label', data_type: 'float', prefix: 'dollar-currency', 'base-cost': { label: 'base-cost-label', editable: false, }, 'base-price': { label: 'base-price-label', editable: false, }, }, 'flat-price': { title: 'tactic-flat-price-title', label: 'flat-price-label', data_type: 'float', prefix: 'dollar-currency', 'base-cost': { label: 'base-cost-label', editable: false, }, 'base-price': { label: 'base-price-label', editable: false, }, }, 'percent-off': { title: 'tactic-percent-off-title', label: 'percent-off-label', data_type: 'float', sufix: 'percent-sufix', 'base-cost': { label: 'base-cost-label', editable: false, }, 'base-price': { label: 'base-price-label', editable: false, }, }, bogo: { title: 'tactic-bogo-title', 'base-cost': { label: 'base-cost-label', editable: false, }, 'base-price': { label: 'base-price-label', editable: false, }, buy: { label: 'buy-label', editable: false, }, get: { label: 'get-label', editable: false, }, 'price-tactic': { label: 'price-tactic-label', editable: false, }, }, boga: {}, progressive: {}, price_multiple: {}, }, }, 'manual-selection-off': { 'optimization-goal': { label: 'optimization-goal-label', editable: true, 'select-type': 'singleSelect', placeholder: 'select-an-option', }, constraint: { label: 'optimization-constarints-label', }, 'total-variable-investment': { label: 'total-variable-amt-label', data_type: 'int', editable: false, prefix: 'dollar-currency', }, 'constraint-note': { label: 'constraint-note-label', }, revenue: { label: 'target-revenue-label', editable: true, prefix: 'percent-sufix', }, roi: { label: 'target-roi-label', editable: true, prefix: 'percent-sufix', }, volumn: { label: 'target-volumn-label', editable: true, prefix: 'percent-sufix', }, 'minimum-discount': { label: 'minimum-discount-label', editable: true, prefix: 'percent-sufix', }, 'maximum-discount': { label: 'maximum-discount-label', editable: true, prefix: 'percent-sufix', }, 'price-ending-logic-amt': { label: 'price-ending-logic-amt', note: { label: 'price-ending-logic-amt-note', }, sufix: { 'first-digit': 'first-digit', 'second-digit': 'second-digit', }, 'add-btn': { label: 'add-label', }, }, }, }, 'form-btn': { cancel: 'cancel-btn', 'create-promotion': 'create-promotion-btn', 'edit-promotion': 'edit-promotion-btn', 'copy-promotion': 'copy-promotion-btn', }, }, { selected: false, title: 'summary-title', 'form-fields': { name: { label: 'name-label', }, date: { label: 'date-label', prefix: 'week-prefix', }, products: { label: 'products-label', 'min-length': 40, 'show-btn': 'show-btn-label', 'hide-btn': 'hide-btn-label', }, account: { label: 'account-label', }, 'total-planned-inv': { label: 'total-planned-investment-label', }, 'total-fixed-planned-amt': { label: 'total-fixed-planned-amt-label', }, 'total-variable-planned-amt': { label: 'total-variable-planned-amt-label', }, 'total-projected-inv': { label: 'total-projected-inv-label', }, 'total-projected-fixed-inv': { label: 'total-projected-fixed-inv-label', }, 'total-projected-variable-inv': { label: 'total-projected-variable-inv-label', }, 'total-optimized-inv': { label: 'total-optimized-inv-label', }, 'total-optimized-fixed-inv': { label: 'total-optimized-fixed-inv-label', }, 'total-optimized-variable-inv': { label: 'total-optimized-variable-inv-label', }, 'investment-assign-type': { label: 'investment-assignment-type-label', 'show-btn': 'show-btn-label', 'hide-btn': 'hide-btn-label', }, 'investment-assign-sub-type': { 'min-length': 15, label: 'investment-assignment-sub-type-label', 'show-btn': 'show-btn-label', 'hide-btn': 'hide-btn-label', }, objective: { label: 'objective-label', }, tactic: { label: 'tactic', }, }, 'form-btn': { cancel: 'cancel-btn', 'create-promotion': 'create-promotion-btn', 'edit-promotion': 'edit-promotion-btn', 'copy-promotion': 'copy-promotion-btn', }, }, ], 'close-image': { image: { path: 'assets/icon/trade-promotion-close_24px.png', states: { default: 1, options: [1], }, }, }, measures: [ { measure_id: 50, display_name: 'data_display_name', measure_column_name: 'price_tactic_id', measure_defination_level: 'plan_promotion', }, { measure_id: 48, display_name: 'data_value', measure_column_name: 'amount_off', measure_defination_level: 'plan_promotion', }, { measure_id: 70, display_name: 'data_display_name', measure_column_name: 'promotion_strategy_id', measure_defination_level: 'plan_promotion', }, { measure_id: 40, display_name: 'data_display_name', measure_column_name: 'sub_tactic_id', measure_defination_level: 'plan_promotion', }, { measure_id: 41, display_name: 'data_display_name', measure_column_name: 'placement_id', measure_defination_level: 'plan_promotion', }, { measure_id: 83, display_name: 'data_display_name', measure_column_name: 'optimization_goal_id', measure_defination_level: 'plan_promotion', }, { measure_id: 71, display_name: 'data_display_name', measure_column_name: 'investment_type_id', measure_defination_level: 'plan_promotion_investment', }, { measure_id: 72, display_name: 'data_display_name', measure_column_name: 'investment_sub_type_id', measure_defination_level: 'plan_promotion_investment', }, { measure_id: 42, display_name: 'data_display_name', measure_column_name: 'emphasis_id', measure_defination_level: 'plan_promotion', }, { measure_id: 37, display_name: 'data_display_name', measure_column_name: 'demand_driver_id', measure_defination_level: 'plan_promotion', }, { measure_id: 80, display_name: 'data_value', measure_column_name: 'total_plan_investment', measure_defination_level: 'plan_promotion', }, { measure_id: 81, display_name: 'data_value', measure_column_name: 'total_fix_amount', measure_defination_level: 'plan_promotion', }, { measure_id: 82, display_name: 'data_value', measure_column_name: 'total_variable_amount', measure_defination_level: 'plan_promotion', }, { measure_id: 49, display_name: 'data_value', measure_column_name: 'flat_price', measure_defination_level: 'plan_promotion', }, { measure_id: 47, display_name: 'data_value', measure_column_name: 'percent_off', measure_defination_level: 'plan_promotion', }, { measure_id: 45, display_name: 'data_value', measure_column_name: 'buy_quantity', measure_defination_level: 'plan_promotion', }, { measure_id: 46, display_name: 'data_value', measure_column_name: 'get_quantity', measure_defination_level: 'plan_promotion', }, { measure_id: 73, display_name: 'data_value', measure_column_name: 'investment_amount', measure_defination_level: 'plan_promotion_investment', }, { measure_id: 94, display_name: 'data_value', measure_column_name: 'max_promo_discount', measure_defination_level: 'plan_promotion', }, { measure_id: 93, display_name: 'data_value', measure_column_name: 'min_promo_discount', measure_defination_level: 'plan_promotion', }, { measure_id: 90, display_name: 'data_value', measure_column_name: 'target_min_revenue', measure_defination_level: 'plan_promotion', }, { measure_id: 91, display_name: 'data_value', measure_column_name: 'target_min_roi', measure_defination_level: 'plan_promotion', }, { measure_id: 92, display_name: 'data_value', measure_column_name: 'target_min_volume', measure_defination_level: 'plan_promotion', }, ], }, 'promotion-calendar-title': 'promotion-calendar-title-text', 'promotion-calendar-period': { dimensionId: '1', dimensionLevelId: '20', }, promotions: 'total-promotions-text', 'promotion-calendar-filter': { 'action-drop-down-options': [ { label: 'copy', value: 'copy', selected: false, }, { label: 'edit', value: 'edit', selected: false, }, { label: 'scenario', value: 'scenario', selected: false, }, { label: 'delete', value: 'delete', selected: false, }, ], 'view-drop-down-options': [ { label: 'Calendar', value: 'calendar', selected: true, }, { label: 'Details', value: 'details', selected: false, }, ], 'display-drop-down-options': [ { value: 'Quarter', label: 'Fiscal Quarter', selected: false, }, { value: 'Week', label: 'Fiscal Week', selected: true, }, ], }, 'promotion-calendar-strategies': [ { title: 'Growth', 'color-code': '#FFA726', }, { title: 'Competitive', 'color-code': '#EC407A', }, { title: 'Profitability', 'color-code': '#2D9CDB', }, { title: 'Not Available', 'color-code': '#607d8b', 'not-available': true, }, ], 'promotion-details-display': { Week: { defaultColDef: { resizable: true, }, rowSelection: 'multiple', columnDefs: [ { field: 'select', headerName: '', width: 40, checkboxSelection: true, headerCheckboxSelection: true, pinned: 'left', suppressMenu: true, }, { width: 120, headerName: 'Promo ID', field: 'plan_promotion_id', pinned: 'left', }, { width: 250, headerName: 'Promotion', field: 'plan_promotion_name', pinned: 'left', }, { width: 200, headerName: 'Status', field: 'work_flow', pinned: 'left', }, { minWidth: 150, headerName: 'Fiscal Week Start', field: 'start_week_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Fiscal Week End', field: 'end_week_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Revenue', field: 'predicted_revenue', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin', field: 'predicted_margin_$', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin %', field: 'predicted_margin_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Units', field: 'predicted_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Base Units', field: 'base_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Unit Lift', field: 'uplift_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Incremental Units', field: 'incr_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Investment Amount', field: 'total_plan_investment', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'ROI', field: 'roi', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, ], }, Month: { defaultColDef: { resizable: true, }, rowSelection: 'multiple', columnDefs: [ { field: 'select', headerName: '', width: 40, checkboxSelection: true, headerCheckboxSelection: true, pinned: 'left', suppressMenu: true, }, { width: 120, headerName: 'Promo ID', field: 'plan_promotion_id', pinned: 'left', }, { width: 250, headerName: 'Promotion', field: 'plan_promotion_name', pinned: 'left', }, { width: 200, headerName: 'Status', field: 'work_flow', pinned: 'left', }, { minWidth: 150, headerName: 'Fiscal Month Start', field: 'start_month_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Fiscal Month End', field: 'end_month_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Revenue', field: 'predicted_revenue', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin', field: 'predicted_margin_$', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin %', field: 'predicted_margin_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Units', field: 'predicted_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Base Units', field: 'base_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Unit Lift', field: 'uplift_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Incremental Units', field: 'incr_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Investment Amount', field: 'total_plan_investment', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'ROI', field: 'roi', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, ], }, Quarter: { defaultColDef: { resizable: true, }, rowSelection: 'multiple', columnDefs: [ { field: 'select', headerName: '', width: 40, checkboxSelection: true, headerCheckboxSelection: true, pinned: 'left', suppressMenu: true, }, { width: 120, headerName: 'Promo ID', field: 'plan_promotion_id', pinned: 'left', }, { width: 250, headerName: 'Promotion', field: 'plan_promotion_name', pinned: 'left', }, { width: 200, headerName: 'Status', field: 'work_flow', pinned: 'left', }, { minWidth: 150, headerName: 'Fiscal Quarter Start', field: 'start_quarter_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Fiscal Quarter End', field: 'end_quarter_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Revenue', field: 'predicted_revenue', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin', field: 'predicted_margin_$', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin %', field: 'predicted_margin_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Units', field: 'predicted_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Base Units', field: 'base_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Unit Lift', field: 'uplift_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Incremental Units', field: 'incr_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Investment Amount', field: 'total_plan_investment', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'ROI', field: 'roi', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, ], }, }, 'promotion-calendar-display': { Week: { defaultColDef: { resizable: true, }, rowSelection: 'multiple', columnDefs: [ { field: 'select', headerName: '', width: 40, checkboxSelection: true, headerCheckboxSelection: true, pinned: 'left', suppressMenu: true, }, { width: 200, headerName: 'Promotion Name', field: 'promotionName', pinned: 'left', }, ], 'timeseries-col-def': [ { maxWidth: 100, renderer: 'BarRender', cellStyle: { 'padding-left': '0rem', 'padding-right': '0rem', }, }, ], }, Month: { defaultColDef: { resizable: true, }, rowSelection: 'multiple', columnDefs: [ { field: 'select', headerName: '', width: 40, checkboxSelection: true, headerCheckboxSelection: true, pinned: 'left', suppressMenu: true, }, { width: 200, headerName: 'Promotion Name', field: 'promotionName', pinned: 'left', }, ], 'timeseries-col-def': [ { maxWidth: 100, renderer: 'BarRender', cellStyle: { 'padding-left': '0rem', 'padding-right': '0rem', }, }, ], }, Quarter: { defaultColDef: { resizable: true, }, rowSelection: 'multiple', columnDefs: [ { field: 'select', headerName: '', width: 40, checkboxSelection: true, headerCheckboxSelection: true, pinned: 'left', suppressMenu: true, }, { width: 200, headerName: 'Promotion Name', field: 'promotionName', pinned: 'left', }, ], 'timeseries-col-def': [ { maxWidth: 100, renderer: 'BarRender', cellStyle: { 'padding-left': '0rem', 'padding-right': '0rem', }, }, ], }, }, 'planning-details': { tabs: [ { name: 'ProductDetails', selected: true, value: 'product-details-tab', filterName: 'ProductDetails', config: { metrics: [ { measure_name: 'avg_promoted_price_disc_percent', displayName: '% Diff units', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, { measure_name: 'avg_promoted_price', displayName: 'Avg Promoted Price', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'avg_base_price', displayName: 'Avg Base Price', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'base_revenue', displayName: 'Base Revenue', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'incremental_revenue', displayName: 'Incremental Revenue', prefix: 'currency-symbol', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'total_revenue', displayName: 'Total Revenue', prefix: 'currency-symbol', suffix: '', highlightRow: true, numberFormat: '1.0-2', }, { measure_name: 'base_sales_units', displayName: 'Base Units', prefix: '', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'incr_sales_units', displayName: 'Incremental Units', prefix: '', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'total_units', displayName: 'Total Units', highlightRow: true, prefix: '', suffix: '', numberFormat: '1.0-2', }, { measure_name: 'market_share_percent', displayName: 'Market Share %', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, { measure_name: 'market_share_change_percent', displayName: 'Market Share Change %', prefix: '', suffix: 'percent-symbol', numberFormat: '1.0-2', }, ], 'metrics-col-def': { width: 300, headerName: 'Metrics', field: 'metrics_name', pinned: 'left', }, 'product-col-def': { minWidth: 270, cellStyle: { textAlign: 'right', 'font-size': '1.4rem', }, }, }, }, { name: 'DriverDetails', selected: false, value: 'driver-details-tab', filterName: 'ProductDetails', }, { name: 'AccountDetails', selected: false, value: 'account-details-tab', filterName: 'AccountDetails', }, ], }, 'investment-tracker': { title: 'investment-tracker', details: { title: 'scenario-details-header', data: [ { field: 'field-plan', prefix: '$', sufix: '', name: 'plan_investment', }, { field: 'field-allocated', prefix: '$', sufix: '', name: 'executed', }, ], }, 'progress-bar': { color: '#1a9745', }, footer: { label: 'unallocated-investment-remaining', measure: 'investment-amount', valueFormatter: { prefix: '', suffix: ' USD', numberFormatter: true, }, }, }, 'planned-details': { title: 'planned-details-title', 'sub-title': 'account-performance-title', metrics: { title: 'scenario-projected-metrics', data: [ { label: 'base-revenue', prefix: '$', sufix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'base_revenue', measure2: 'base_revenue_diff', }, { label: 'incremental-revenue', prefix: '$', sufix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'incremental_revenue', measure2: 'incremental_revenue_diff', }, { label: 'base-units', prefix: '$', sufix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'base_units', measure2: 'base_revenue_diff', }, { label: 'incremental-units', prefix: '', sufix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'incremental_units', measure2: 'incremental_units_diff', }, { label: 'roi', prefix: '$', sufix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'roi', measure2: 'roi_diff', }, { label: 'üplift%', prefix: '', sufix: '%', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'uplift', measure2: 'uplift_diff', }, { label: 'promotion-count', prefix: '', sufix: '', 'status-high': { color: '#48BA6F', }, 'status-low': { color: '#D32F2F', }, 'status-zero': { color: '#878787', }, measure1: 'promotion_count', }, ], }, strategy: { title: 'strategy-label', data: [ { title: 'growth', color: '#ffa726', }, { title: 'competetive', color: '#f2536d', }, { title: 'profitablity', color: '#6ddafc', }, { title: 'none', color: '#b2ccd9', }, ], }, 'demand-drivers': { title: 'demand-driver-spend-label', columns: [ { field: '', prefix: '', sufix: '', }, { field: '', prefix: '', sufix: '', }, { field: 'field-spend-usd', prefix: '', sufix: '%', }, { field: 'field-roi', prefix: '', sufix: '%', }, ], drivers: [ { id: 1, display_name: 'driver-ad', }, { id: 2, display_name: 'driver-display', }, { id: 3, display_name: 'driver-tpr', }, { id: 4, display_name: 'driver-ad-display', }, ], }, }, 'multi-copy-promotion-modal': { header: { title: 'multi-copy-promotion-title', }, fields: { 'event-name': { label: 'event-name', }, 'account-plan': { label: 'account-plan-name', 'select-type': 'singleSelect', editable: true, placeholder: 'select-an-option', }, date: { label: 'date-range-label', clear: 'clear-image', start_date: { format: 'yyyy/MM/dd', placeholder: 'select-start-date', editable: true, }, end_date: { format: 'yyyy/MM/dd', placeholder: 'select-end-date', editable: true, }, }, 'apply-all': { label: 'apply-all-label', }, 'remove-event': { label: 'remove-event-label', 'confirm-box': { title: 'confirm-box-title', message: 'confirm-box-msg', }, }, }, footer: { 'cancel-btn': { label: 'cancel-btn', }, 'assign-btn': { label: 'assign-btn', }, 'event-count': { label: 'events-label', }, }, }, }, 'account-approval': { toolbar: { icons: [ { image: { icon: 'fa-filter', states: { default: 1, options: [0, 1, 2], }, }, action: { type: 2, name: 'dimension-filters', }, }, ], filters: [ { name: '3', label: 'Product', display: 'hierarchy', default: {}, }, { name: '2', label: 'Account', display: 'hierarchy', default: { dimension: '15', }, }, { name: '1', label: 'Time', display: 'hierarchy', default: { dimension: '20', label: '2022', id: 2022, }, }, ], }, 'dimension-filters': { 'search-icon': 'fa-search', clear: 'clear', available: 'available', selected: 'selected', 'select-all': 'select-all', tabs: [ { name: '3', label: 'Product', selected: true, dimensionLevels: [ { name: 'hierarchy', label: 'Hierarchy', icon: 'fa-sitemap', data: [ { name: '1', label: 'Category', level: 0, isMultiselect: true, }, { name: '2', label: 'Sub Category 1', level: 1, isMultiselect: true, }, { name: '3', label: 'Sub Category 2', level: 2, isMultiselect: true, }, { name: '4', label: 'Sub Category 3', level: 3, isMultiselect: true, }, { name: '5', label: 'Sub Category 4', level: 4, isMultiselect: true, }, { name: '6', label: 'Product', level: 5, isMultiselect: true, }, ], }, { name: 'attribute', label: 'Attribute', icon: 'fa-hashtag', data: [ { name: '8', label: 'Unit Of Measure', level: 7, isMultiselect: true, }, { name: '9', label: 'Brand', level: 8, isMultiselect: true, }, { name: '10', label: 'Manufacturer', level: 9, isMultiselect: true, }, ], }, ], }, { name: '2', label: 'Account', selected: false, dimensionLevels: [ { name: 'hierarchy', label: 'Hierarchy', icon: 'fa-sitemap', data: [ { name: '15', label: 'Account', level: 0, isMultiselect: false, }, { name: '16', label: 'Segment', level: 1, isMultiselect: true, }, { name: '17', label: 'Store', level: 2, isMultiselect: true, }, ], }, ], }, { name: '1', label: 'Time', selected: false, dimensionLevels: [ { name: 'hierarchy', label: 'Hierarchy', icon: 'fa-sitemap', data: [ { name: '20', label: 'Year', level: 0, isMultiselect: false, }, { name: '21', label: 'Quarter', level: 1, isMultiselect: true, }, { name: '22', label: 'Month', level: 2, isMultiselect: true, }, { name: '23', label: 'Week', level: 3, isMultiselect: true, }, { name: '24', label: 'Day', level: 4, isMultiselect: true, }, ], }, ], }, ], }, 'page-header': { 'title-text': 'account-approval-worklist-title', config: [ { align: 'left', actions: [], }, { align: 'right', actions: [ { type: 'navigation-icon', label: 'navigation-label', seperator: false, icons: [ { image: { icon: 'fas fa-arrow-left', name: 'prev', states: { default: 1, options: [0, 2, 5], }, }, action: { type: '', name: '', }, }, { image: { icon: 'fas fa-arrow-right', name: 'next', states: { default: 1, options: [0, 2, 5], }, }, action: { type: '', name: '', }, }, ], }, { type: 'approval-status-icon', seperator: true, icons: [ { image: { icon: 'fa-upload', name: 'export', color: 'rgba(0, 0, 0, 0.54)', states: { default: 1, options: [0, 2, 5], }, }, action: { type: '', name: '', }, }, ], }, ], }, ], }, 'users-grid': { header: { title: 'users-label', note: 'users-note', search_box: { fields: ['plan_promotion_name'], }, review_btn: { label: 'review-btn-label', }, }, 'view-by-result': [ { name: 5, label: 'view 5 results', selected: true, }, { name: 10, label: 'view 10 results', selected: false, }, { name: 25, label: 'view 25 results', selected: false, }, { name: 50, label: 'view 50 results', selected: false, }, { name: 100, label: 'view 100 results', selected: false, }, ], grid_details: { columns: [ { field: 'select', headerName: '', width: 50, pinned: 'left', checkboxSelection: true, }, { headerName: 'Name', field: 'plan_promotion_name', width: 280, cellClass: 'text-right', headerClass: 'text-right', }, { headerName: 'Promo Count', field: 'record_count', width: 180, cellClass: 'text-right', headerClass: 'text-right', }, { headerName: 'Predicted Revenue', field: 'predicted_revenue', width: 200, cellClass: 'text-right', headerClass: 'text-right', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, }, { headerName: 'Predicted Margin $', field: 'predicted_margin_$', width: 200, cellClass: 'text-right', headerClass: 'text-right', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, }, { headerName: 'Predicted Units', field: 'predicted_units', width: 180, cellClass: 'text-right', headerClass: 'text-right', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, }, { headerName: 'Uplift %', field: 'uplift_percent', width: 200, cellClass: 'text-right', headerClass: 'text-right', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: true, }, }, { headerName: 'ROI $', field: 'roi', width: 180, cellClass: 'text-right', headerClass: 'text-right', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, }, { headerName: 'Investment Amount $', field: 'total_plan_investment', width: 210, cellClass: 'text-right', headerClass: 'text-right', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, }, ], data: [], defaultColDef: { resizable: true, }, rowSelection: 'single', }, }, 'events-grid': { header: { title: 'events-label', search_box: { fields: ['plan_promotion_id', 'plan_promotion_name', 'promotion_status'], }, }, grid_details: { defaultColDef: { resizable: true, }, rowSelection: 'multiple', columnDefs: [ { field: 'select', width: 40, checkboxSelection: true, headerCheckboxSelection: true, headerName: '', pinned: 'left', suppressMenu: true, }, { width: 120, headerName: 'Promo ID', field: 'plan_promotion_id', pinned: 'left', }, { width: 280, headerName: 'Promotion', field: 'plan_promotion_name', pinned: 'left', }, { minWidth: 150, headerName: 'Fiscal Week Start', field: 'start_week_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Fiscal Week End', field: 'end_week_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Revenue', field: 'predicted_revenue', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin $', field: 'predicted_margin_$', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Margin %', field: 'predicted_margin_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Predicted Units', field: 'predicted_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Base Units', field: 'base_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Unit Lift %', field: 'uplift_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Unit Lift % Override', field: 'uplift_percent', valueFormatter: { prefix: '', suffix: 'percent-symbol', numberFormatter: false, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Incremental Units', field: 'incr_sales_units', valueFormatter: { prefix: '', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Investment Amount', field: 'total_plan_investment', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'ROI $', field: 'roi', valueFormatter: { prefix: 'currency-symbol', suffix: '', numberFormatter: true, }, cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, }, { minWidth: 150, headerName: 'Status', field: 'work_flow_state_id', cellStyle: { textAlign: 'right', 'font-size': '1.6rem', }, pinned: 'left', }, ], data: [], promotionData: [], }, }, 'investment-effectiveness': { header: { title: 'investment-effectiveness-title', }, fields: [ { label: 'investment-amount-label', field: 'total_projected_investment', prefix: 'currency-symbol', suffix: '', }, { label: 'fixed-amount-label', field: 'fix_investment', prefix: 'currency-symbol', suffix: '', }, { label: 'variable-amount-label', field: 'variable_invetsment', prefix: 'currency-symbol', suffix: '', }, { label: 'ti-percent-label', field: 'ti', prefix: '', suffix: 'percent-symbol', }, { label: 'roi-amount-label', field: 'roi', prefix: 'currency-symbol', suffix: '', }, ], }, 'financial-projections': { header: { title: 'financial-projection-title', }, fields: [ { key: 'revenue', label: 'revenue-title', prefix: 'currency-symbol', suffix: '', }, { key: 'margin', label: 'margin-title', prefix: 'currency-symbol', suffix: '', }, { key: 'units', label: 'units-label', prefix: '', suffix: '', }, { key: 'uplift_percent', label: 'üplift%', prefix: '', suffix: 'percent-symbol', }, { key: 'roi', label: 'roi-financial-amount-label', prefix: 'currency-symbol', suffix: '', }, ], }, 'account-details': { header: { title: 'account-details-tab', }, fields: [ { title: 'total-events-label', count: 0, }, { title: 'promos-label', count: 0, }, { name: 'demand-driver-effectiveness-label', section: [ { title: 'uplift%', key: 'driver_percent', perfix: '', suffix: 'percent-symbol', }, { title: 'roi-title', key: 'roi', perfix: '', suffix: '', }, { title: 'investment-short-name', key: 'investment_amount', perfix: 'currency-symbol', suffix: '', }, ], }, ], }, }, }, i18n: { locale: 'en_US', translations: { 'category-filter-title': 'Products', 'account-filter-title': 'Account', 'period-filter-title': 'Period', 'account-result': 'Account Result', tpo: 'Trade Promotion', 'trade-planning': 'Trading Planning', 'account-results': 'Account Result', 'account-planning': 'Account Planning', 'scenario-analysis': 'Scenario Analysis', filters: 'Filters', product: 'Product', location: 'Account', category: 'Category', 'sub-category': 'Sub Category', segment: 'Segment', attribute: 'Attribute', region: 'Region', country: 'Country', state: 'State', 'price-zone': 'Price Zone', 'ad-zone': 'Ad Zone', 'pack-size': 'Pack Size', 'unit-of-selling': 'Unit of Selling', 'refine-by-hierarchy': 'Refine by Hierarchy', 'refine-by-attribute': 'Refine by Attribute', clear: 'clear', search: 'Search', total: 'Total', 'select-all': 'Select All', header: 'Trade Promotion Optimization', 'scenario-analysis-page-title': 'Scenario Analysis', 'account-results-page-title': 'Account Results', 'account-planning-page-title': 'Account Planning', 'account-approval-worklist-title': 'Account Approval Worklist', 'promotion-calendar-title-text': ' Account Plan Calendar', 'filters-title': 'Filters', 'delete-promotion-title': 'Delete Promotion(s)', 'delete-promotion-message': 'Are you sure want to delete the selected promotion(s)?', 'delete-scenario-title': 'Delete Scenario(s)', 'delete-scenario-message': 'Are you sure want to delete the scenario(s)?', 'total-promotions-text': 'promotions', 'new-promotion-title': 'New Promotion', 'new-scenario-title': 'New Scenario', 'new-account-plan-title': 'New Account Plan', 'cancel-btn': 'Cancel', 'create-promotion-btn': 'Create', 'promotion-details-title': 'Promotion Details', 'overview-title': 'Overview', 'investment-title': 'Investment', 'tactics-title': 'Tactics', 'summary-title': 'Summary', 'name-label': 'Name', 'description-label': 'Description', 'strategy-label': 'Strategy', 'date-label': 'Date', 'week-prefix': 'FW', 'select-start-date': 'Select Start Date', 'select-end-date': 'Select End Date', 'select-an-option': 'Select an option', 'total-planned-investment-label': 'Total Planned Investment', 'dollar-currency': '$', 'total-fixed-amt-label': 'Total Fixed Amount', 'total-variable-amt-label': 'Total Variable Amount', 'fixed-investment-assignment-type-label': 'Fixed Investement Assignment Type', 'fixed-investment-assignment-sub-type-label': 'Fixed Investment Assignment Sub Type', 'fixed-investment-amount-label': 'Fixed Investment Amount', 'placement-label': 'Placement', 'emphasis-label': 'Emphasis', 'enable-manual-selection-label': 'Enter Manual Selection', 'demand-driver-label': 'Demand Driver', 'tactic-label': 'Price tactic', 'tactic-amount-off-title': 'Input Amount Off values.', 'tactic-flat-price-title': 'Input Flat Price values.', 'tactic-percent-off-title': 'Input Percent Off values.', 'base-cost-label': 'Base Cost', 'base-price-label': 'Base Price', 'amount-off-label': 'Amount Off', 'flat-price-label': 'Flat Price', 'percent-off-label': 'Percent Off', 'percent-sufix': '%', 'optimization-goal-label': 'Optimization Goal', 'tactic-bogo-title': 'Input BOGO values.', 'buy-label': 'Buy', 'get-label': 'Get', 'price-tactic-label': '@', 'products-label': 'Products', 'account-label': 'Account', 'recommendation-title': 'Recommendation', 'detail-title': 'Detail', 'constraint-note-label': 'Optimization can use up to total variable amount', 'price-ending-logic-amt-note': 'To the nearest tens digit e.g. $XX.X5', 'first-digit': '9', 'second-digit': '9', 'add-label': 'Add', 'add-to-summary-label': 'Add To Summary', 'target-revenue-label': 'Target Min.(Revenue)', 'target-roi-label': 'Target Min.(ROI)', 'target-volumn-label': 'Target Min.(Volume)', 'minimum-discount-label': 'Minimum Promotion Discount', 'maximum-discount-label': 'Maximum Promotion Discount', 'price-ending-logic-amt': 'Price Ending Logic Amount', 'total-projected-inv-label': 'Total Projected Investment', 'total-optimized-inv-label': 'Total Optimized Investment', 'objective-label': 'Objective', 'show-btn-label': 'show', 'hide-btn-label': 'hide', tactic: 'Tactic', 'optimize-btn': 'Optimize', 'optimization-constarints-label': 'Optimization constraints', 'total-projected-fixed-inv-label': 'Total Projected Fixed Amount', 'total-projected-variable-inv-label': 'Total Projected Variable Amount', 'total-optimized-fixed-inv-label': 'Total Optimized Fixed Amount', 'total-optimized-variable-inv-label': 'Total Optimized Variable Amount', 'total-fixed-planned-amt-label': 'Total Fixed Planned Amount', 'total-variable-planned-amt-label': 'Total Variable Planned Amount', 'investment-assignment-type-label': 'Investement Assignment Type', 'investment-assignment-sub-type-label': 'Investment Assignment Sub Type', 'planned-event-card-header-txt': 'Planned Event', 'scenario-card-header-txt': 'Scenario', 'card-active-status-txt': 'Active', 'card-scenario-status-txt': 'Scenario', 'scenario-card-projected-metrics-txt': 'Projected Metrics', 'scenario-details-header': 'Details', 'scenario-kpi-show-more': 'show more...', 'scenario-kpi-show-less': 'show less...', 'scenario-kpi-tab-name': 'KPI', 'scenario-product-tab-name': 'Product', 'scenario-projected-metrics': 'Projected Metrics', 'product-details-tab': 'Product Details', 'driver-details-tab': 'Driver Details', 'account-details-tab': 'Account Details', 'brand-impact-tab': 'Brand Impact', 'top-performers-tab': 'Promotion Rank', 'sales-forecast-tab': 'Sales Forecast', 'percent-symbol': '%', 'currency-symbol': '$', 'account-financial-performance-title': 'Account Financial Performance', 'account-financial-performance-note': '% Change is compared to this same time period last year', 'financial-effectiveness-title': 'Financial Effectiveness', 'investment-effectiveness-title': 'Investment Effectiveness', 'trade-investment-title': 'Trade Investments', 'roi-title': 'ROI $', 'sales-volume-uplift-per-title': 'Sales Volume Uplift', 'revenue-title': 'Revenue', 'margin-title': 'Margin $', 'margin-per-title': 'Margin %', 'volume-sold-title': 'Volume Sold', 'navigation-label': 'navigation', export: 'export', reject: 'reject', approve: 'approve', draft: 'Draft', 'account-plan-modal-title': 'New Account Plan', 'account-plan-form-name-label': 'Name', 'account-plan-form-categories-label': 'Categories', 'account-plan-form-account-label': 'Account', 'account-plan-form-investment-label': 'Investment (USD)', 'account-plan-form-override-investment-label': 'Override Investment', 'account-plan-form-auto-populate-label': 'Auto-Populate Promo List', 'account-plan-form-date-label': 'Date', 'account-plan-form-select-start-date': 'Select Start Date', 'account-plan-form-select-end-date': 'Select End Date', 'account-plan-form-submit-btn-label': 'Create Account Plan', 'account-plan-form-cancel-btn-label': 'Cancel', 'account-plan-form-name-valid-required': 'Please enter an Account Plan Name', 'account-plan-form-name-valid-pattern': 'Special characters not allowed', 'account-plan-form-account-valid-required': 'Please input an account', 'account-plan-form-investment-valid-required': 'Please enter a Investment Amount', 'select-accounts-modal-title': 'Accounts', 'base-revenue': 'Base Revenue', 'incremental-revenue': 'Incremental Revenue', 'base-units': 'Base Units', 'incremental-units': 'Incremental Units', roi: 'ROI $', 'üplift%': 'Uplift %', 'promotion-count': 'Promotion Count', growth: 'Growth', competetive: 'Competitive', profitablity: 'Profitability', none: 'None', 'planned-details-title': 'Planned Details', 'promotion-name-required': 'Please enter a Promotion Name', 'promotion-name-pattern': 'Special characters not allowed', 'promotion-desc-text-exceeds': 'Text exceeds 250 character limit', 'promotion-date-required': 'Select date', 'promotion-product-required': 'Minimum of 1 product must be selected', 'promotion-account-required': 'Select an account', 'promotion-planned-inv-amt-required': 'Please input investment amount', 'promotion-inv-type-required': 'Select fixed investment assignment type', 'promotion-inv-sub-type-required': 'Select fixed investment assignment sub type', 'promotion-inv-amt-required': 'Enter an investment amount', 'promotion-amount-exceeds': 'Invalid! fixed investment amount more than plan investment', 'promotion-amount-invalid-range': 'Input amount less than or equal to 100%', 'promotion-amount-invalid-range1': 'Input amount less than 100%', 'promotion-product-invalid-price': 'Input a value less than product price', 'promotion-info-msg': 'Promotion is simulating OR Promotion is optimizing see notifications for details', 'field-plan': 'Plan', 'field-allocated': 'Allocated', 'unallocated-investment-remaining': 'Unallocated Investment Remaining', 'investment-tracker': 'Investment Tracker', 'field-spend-usd': 'Spend(USD)', 'field-roi': 'ROI $ Chg', 'demand-driver-spend-label': 'Demand Driver Spend', 'driver-ad': 'AD', 'driver-ad-display': 'AD + DISPLAY', 'driver-tpr': 'TPR', 'driver-display': 'DISPLAY', 'account-performance-title': 'Account Performance', 'overallocated-investment': 'Overallocated Investment', 'under-allocated-investment': 'Under Allocated Investment', 'planned-investment-met': 'Planned Investment Met', 'event-name': 'Event Name', 'account-plan-name': 'Account Plan Name', 'apply-all': 'Apply All', 'confirm-box-title': 'Discard Changes', 'confirm-box-msg': 'Do you want to remove the selected event ?', 'apply-all-label': 'Apply All', 'events-label': 'Events', 'remove-event-label': 'Remove Event', 'users-label': 'Users', 'users-note': 'Select a user to begin the review process.', 'review-btn-label': 'Review', 'investment-amount-label': 'Investment $', 'fixed-amount-label': 'Fixed', 'variable-amount-label': 'Variable', 'ti-percent-label': 'TI%', 'roi-amount-label': 'ROI $ (net revenue/investment)', 'financial-projection-title': 'Financial Projections', 'roi-financial-amount-label': 'ROI $ (profit/investment)', 'units-label': 'Units', 'total-events-label': 'Total Events', 'promos-label': 'Promos', 'demand-driver-effectiveness-label': 'Demand Driver Effectiveness', 'investment-short-name': 'Invest', 'assign-btn': 'Assign', 'date-range-label': 'Date Range', 'multi-copy-promotion-title': 'Copy', }, }, __typename: 'Application', }, ], __typename: 'User', }, }, loading: false, networkStatus: 7, stale: false, }; export const DPOCONFIG = { "title":"dpo", "threshold":"1000", "order-threshold":"10000", "late-adj-delay":"5000", "messages":{ "order-submit-success-title":"order-submit-success-title", "order-submit-success-msg":"order-submit-success-msg", "order-submit-error-title":"order-submit-error-title", "order-submit-error-msg":"order-submit-error-msg", "comment-success-msg":"comment-success-msg", "comment-error-msg":"comment-error-msg", "comment-delete-success":"comment-delete-success", "comment-delete-error":"comment-delete-error", "late-order-confirm-msg":"late-order-confirm-msg", "negative-order-msg":"negative-order-msg", "no-rows-msg":"no-rows-msg", "no-access-route-this-screen":"no-access-route-this-screen", "threshold-exceeded":"threshold-exceeded", "multi-cell-late-adj":"multi-cell-late-adj", "divide-by-zero":"divide-by-zero" }, "capabilities":{ "view-predictive-ordering":"VIEW_PREDICTIVE_ORDERING", "view-suggested-order":"VIEW_SUGGESTED_ORDER", "edit-suggested-order":"EDIT_SUGGESTED_ORDER", "edit-at-route-level":"EDIT_ROUTE_BY_MATERIAL", "delete-comments":"DELETE_COMMENTS_FOR_ALL_USERS", "late-orders-edit":"LATE_ORDER_ADJUSTMENT", "lock-orders-edit":"LOCKED_ORDER_ADJUSTMENT", "order-mgmt-view":"VIEW_ORDER_MANAGEMENT", "edit-header-comment":"EDIT_HEADER_COMMENT", "edit-grid-comment":"EDIT_GRID_COMMENT", "order-mgmt-view-query-index":[ 3, 4 ], "view-suggested-order-query-index":[ 0, 1, 2 ] }, "date_formats":{ "group_header":"MMM DD", "days_only":"ddd", "full_date":"MM/D/YYYY" }, "weeks":{ "numberOfPastWeeks":1, "numberOfFutureWeeks":2 }, "filter_default_config":{ "status":false, "position":"left", "mode":"push", "type":"filterCard" }, "tabs":[ { "title":"material-by-customer", "capability":"View Predictive Ordering UI", "firstRange":50, "query-index":0, "key":"products", "weeks":{ "numberOfPastWeeks":1, "numberOfFutureWeeks":2 }, "toolbar":{ "dim-filters":{ "icons":[ { "image":{ "icon":"fa-bars", "states":{ "default":1, "options":[ 0, 1, 2 ] } }, "action":{ "type":2, "name":"dimension-filters" } } ], "filters-title":"filters" }, "filter-navigation":true, "prev-title":"prev", "next-title":"next", "selected-dim-level":{ "measure_name":"product_desc", "attributes":[ { "scope":"rowMeasureNames", "prefix":"tray-count", "measure_name":"tray_count", "suffix":"" }, { "scope":"rowMeasureNames", "prefix":"shelf-life", "measure_name":"shelf_life", "suffix":"days" } ] }, "actions":[ { "title-key":"data", "icons":[ { "image":{ "icon":"fa-sync", "name":"data", "states":{ "default":1, "options":[ 0, 1 ] } }, "action":{ "type":3, "name":"/refresh" } } ] } ] }, "transform":{ "transform-label":"transform-selection", "modifier":{ "title":"modifier", "options":[ "multiply", "divide", "add", "subtract", "set-value" ], "icon":"fa-caret-down" }, "value-title":"value", "view-promo":{ "title":"view-promo", "icon":"fa-crown", "action":{ "type":2, "name":"view-promo-modal" } }, "view-alert":{ "title":"view-alerts", "icon":"fa-exclamation-triangle", "action":{ "type":2, "name":"view-alert-modal" } }, "add-comment":{ "title":"add-comment", "icon":"fa-comment", "action":{ "type":2, "name":"add-comment-modal" } }, "view-comment":{ "title":"view-comment", "icon":"fa-comment", "action":{ "type":2, "name":"view-comment-modal" } }, "apply-title":"apply-transformation", "image":{ "icon":"fa-times", "action":"close" }, "view-alert-modal":{ "title":"modal-view-alerts", "image":{ "icon":"fa-times", "action":"close" } }, "view-promo-modal":{ "title":"modal-view-promos", "image":{ "icon":"fa-times", "action":"close" } }, "add-comment-modal":{ "title":"modal-add-comment", "image":{ "icon":"fa-times", "action":"close" }, "assign":"assign", "resolved":"mark-as-resolved", "jump-to":"jump-to" }, "view-comment-modal":{ "title":"modal-view-comment", "image":{ "icon":"fa-times", "action":"close" }, "assign":"assign", "resolved":"mark-as-resolved", "jump-to":"jump-to" } }, "statistics":[ { "label":"next-order-due", "icon":"", "scope":"rowMeasureNames", "measure_name":"next_order_due", "default":{ "day-of-week":4, "time":"T04:59:00.000Z" } } ], "table-title":"table-title", "datagrid":{ "grid-dimension-key":[ { "column-key":"customers", "display":"name" } ], "grid-value-key":"locationsInProduct", "grid-row-details":[ { "header-title":"forecast", "header-subtitle":"forecast-status", "scope":"rowMeasureNames", "measure_name":"forecast_type", "options":[ "fc-status-on", "fc-status-off", "fc-status-static" ] } ], "table-measure":{ "measure_name":"suggested_order_qty", "scope":"rowWeekMeasureNames" }, "final-measures":[ { "title":"final", "subtitle":"order", "scope":"rowMeasureNames", "measure_name":"", "isCalculated":true }, { "title":"sugg", "subtitle":"order", "scope":"rowMeasureNames", "measure_name":"total_suggested_order", "isCalculated":false }, { "title":"order", "subtitle":"diff", "scope":"rowMeasureNames", "measure_name":"", "isCalculated":true }, { "title":"display", "subtitle":"plan", "scope":"rowWeekMeasureNames", "measure_name":"", "isCalculated":true } ], "key-indicators":[ { "title":"avg-wk", "subtitle":"sug-order", "scope":"rowMeasureNames", "measure_name":"avg_week_suggested_order" }, { "title":"avg-wk", "subtitle":"fin-order", "scope":"rowMeasureNames", "measure_name":"avg_week_final_order" }, { "title":"avg-wk", "subtitle":"delivery", "scope":"rowMeasureNames", "measure_name":"avg_week_delivery" }, { "title":"avg-wk", "subtitle":"inventory", "scope":"rowMeasureNames", "measure_name":"avg_week_inventory" }, { "title":"avg-wk", "subtitle":"sales", "scope":"rowMeasureNames", "measure_name":"avg_week_sales" }, { "title":"avg-wk", "subtitle":"returns", "scope":"rowMeasureNames", "measure_name":"avg_week_returns" }, { "title":"total", "subtitle":"sug-ord", "scope":"rowMeasureNames", "measure_name":"total_suggested_order" } ], "key-indicator-totals":[ { "scope":"totalMeasureNames", "measure_name":"avg_week_suggested_order" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_final_order" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_delivery" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_inventory" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_sales" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_returns" }, { "scope":"totalMeasureNames", "measure_name":"total_suggested_order" } ] }, "status":{ "title":"status", "sections":{ "title":"overall-metrics", "values":[ ] }, "highlight":{ "title":"next-order-due", "value":{ "scope":"totalMeasureNames", "measure_name":"next_order_due" } } }, "legends":[ { "title":"normal-order", "icon":"square", "colour":"legend-success-light" }, { "title":"late-order", "icon":"square", "colour":"legend-amber-light" }, { "title":"archived-order", "icon":"square", "colour":"legend-white" }, { "title":"locked-order", "icon":"square", "colour":"legend-locked" }, { "title":"commented", "icon":"fa-circle", "colour":"legend-blue" }, { "title":"promo-applied", "icon":"fa-crown", "colour":"legend-amber" }, { "title":"alerts", "icon":"fa-exclamation-triangle", "colour":"legend-danger" } ], "dimension-filters":{ "search-icon":"fa-search", "clear":"clear", "available":"available", "selected":"selected", "select-all":"select-all", "tabs":[ { "title":"product", "dimension-filter":"product", "by-hierarchy":{ "image":{ "icon":"fa-sitemap", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-hierarchy", "dimension-levels":[ { "dimension-level":"category", "label":"category", "display":"name", "type":1 }, { "dimension-level":"class", "label":"class", "display":"name", "type":1 } ] }, "by-attribute":{ "image":{ "icon":"fa-hashtag", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-attribute", "dimension-levels":[ { "dimension-level":"product", "label":"product_extid", "display":"externalId", "type":1 } ], "measures":[ { "measure":"total_suggested_order", "label":"no-suggested-order", "type":3, "translate":true }, { "measure":"is_promo_avbl", "label":"promo-applied-filter", "type":3, "translate":true } ] }, "reset-filters":{ "label":"reset-filters", "ishidden":false }, "details":{ "is-title-edit":false, "is-multiselect":false } }, { "title":"customer", "dimension-filter":"location", "by-hierarchy":{ "image":{ "icon":"fa-sitemap", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-hierarchy", "dimension-levels":[ { "dimension-level":"channel", "label":"channel", "display":"description", "type":1 }, { "dimension-level":"chain", "label":"chain", "display":"description", "type":1 } ] }, "by-attribute":{ "image":{ "icon":"fa-hashtag", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-attribute", "dimension-levels":[ { "dimension-level":"location", "label":"location_extid", "display":"externalId", "type":1 } ], "measures":[ { "measure":"total_suggested_order", "label":"no-suggested-order", "type":3, "translate":true }, { "measure":"is_promo_avbl", "label":"promo-applied-filter", "type":3, "translate":true } ] }, "reset-filters":{ "label":"reset-filters", "ishidden":false }, "details":{ "is-title-edit":false, "is-multiselect":true } } ] } }, { "title":"customer-by-material", "capability":"View Predictive Ordering UI", "firstRange":50, "query-index":1, "key":"locations", "weeks":{ "numberOfPastWeeks":1, "numberOfFutureWeeks":2 }, "toolbar":{ "dim-filters":{ "icons":[ { "image":{ "icon":"fa-bars", "states":{ "default":1, "options":[ 0, 1, 2 ] } }, "action":{ "type":2, "name":"dimension-filters" } } ], "filters-title":"filters" }, "filter-navigation":true, "prev-title":"prev", "next-title":"next", "selected-dim-level":{ "measure_name":"location_desc", "attributes":[ { "scope":"totalMeasureNames", "prefix":"", "measure_name":"address", "suffix":"" }, { "scope":"totalMeasureNames", "prefix":"", "measure_name":"city", "suffix":"" } ] }, "actions":[ { "title-key":"data", "icons":[ { "image":{ "icon":"fa-sync", "name":"data", "states":{ "default":1, "options":[ 0, 1 ] } }, "action":{ "type":0, "name":"/refresh" } } ] } ] }, "transform":{ "transform-label":"transform-selection", "modifier":{ "title":"modifier", "options":[ "multiply", "divide", "add", "subtract", "set-value" ], "icon":"fa-caret-down" }, "value-title":"value", "view-promo":{ "title":"view-promo", "icon":"fa-crown", "action":{ "type":2, "name":"view-promo-modal" } }, "view-alert":{ "title":"view-alerts", "icon":"fa-exclamation-triangle", "action":{ "type":2, "name":"view-alert-modal" } }, "add-comment":{ "title":"add-comment", "icon":"fa-comment", "action":{ "type":2, "name":"add-comment-modal" } }, "view-comment":{ "title":"view-comment", "icon":"fa-comment", "action":{ "type":2, "name":"view-comment-modal" } }, "apply-title":"apply-transformation", "image":{ "icon":"fa-times", "action":"close" }, "view-alert-modal":{ "title":"modal-view-alerts", "image":{ "icon":"fa-times", "action":"close" } }, "view-promo-modal":{ "title":"modal-view-promos", "image":{ "icon":"fa-times", "action":"close" } }, "add-comment-modal":{ "title":"modal-add-comment", "image":{ "icon":"fa-times", "action":"close" }, "assign":"assign", "resolved":"mark-as-resolved", "jump-to":"jump-to" }, "view-comment-modal":{ "title":"modal-view-comment", "image":{ "icon":"fa-times", "action":"close" }, "assign":"assign", "resolved":"mark-as-resolved", "jump-to":"jump-to" } }, "table-title":"table-title", "datagrid":{ "grid-dimension-key":[ { "column-key":"materialid", "display":"externalId" }, { "column-key":"material-desc", "display":"name" } ], "grid-value-key":"productsInLocation", "grid-row-details":[ { "header-title":"forecast", "header-subtitle":"forecast-status", "scope":"rowMeasureNames", "measure_name":"forecast_type", "options":[ "fc-status-on", "fc-status-off", "fc-status-static" ] } ], "table-measure":{ "measure_name":"suggested_order_qty", "scope":"rowWeekMeasureNames" }, "final-measures":[ { "title":"final", "subtitle":"order", "scope":"rowMeasureNames", "measure_name":"", "isCalculated":true }, { "title":"sugg", "subtitle":"order", "scope":"rowMeasureNames", "measure_name":"total_suggested_order", "isCalculated":false }, { "key":"order", "subtitle":"diff", "scope":"rowMeasureNames", "measure_name":"", "isCalculated":true }, { "title":"display", "subtitle":"plan", "scope":"rowWeekMeasureNames", "measure_name":"", "isCalculated":true } ], "key-indicators":[ { "title":"tray", "subtitle":"count", "scope":"rowMeasureNames", "measure_name":"tray_count_measure" }, { "title":"shelf", "subtitle":"life", "scope":"rowMeasureNames", "measure_name":"shelf_life" }, { "title":"avg-wk", "subtitle":"sug-order", "scope":"rowMeasureNames", "measure_name":"avg_week_suggested_order" }, { "title":"avg-wk", "subtitle":"fin-order", "scope":"rowMeasureNames", "measure_name":"avg_week_final_order" }, { "title":"avg-wk", "subtitle":"delivery", "scope":"rowMeasureNames", "measure_name":"avg_week_delivery" }, { "title":"avg-wk", "subtitle":"inventory", "scope":"rowMeasureNames", "measure_name":"avg_week_inventory" }, { "title":"avg-wk", "subtitle":"sales", "scope":"rowMeasureNames", "measure_name":"avg_week_sales" }, { "title":"avg-wk", "subtitle":"returns", "scope":"rowMeasureNames", "measure_name":"avg_week_returns" }, { "title":"total", "subtitle":"sug-ord", "scope":"rowMeasureNames", "measure_name":"total_suggested_order" } ], "key-indicator-totals":[ { "scope":"totalMeasureNames", "measure_name":"avg_week_suggested_order" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_final_order" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_delivery" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_inventory" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_sales" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_returns" }, { "scope":"totalMeasureNames", "measure_name":"total_suggested_order" } ] }, "statistics":[ { "label":"next-order-due", "icon":"", "scope":"rowMeasureNames", "measure_name":"loc_next_order_due", "default":{ "day-of-week":4, "time":"T04:59:00.000Z" } } ], "status":{ "title":"status", "sections":{ "title":"overall-metrics", "values":[ ] }, "highlight":{ "title":"next-order-due", "value":{ "scope":"totalMeasureNames", "measure_name":"" } } }, "legends":[ { "title":"normal-order", "icon":"square", "colour":"legend-success-light" }, { "title":"late-order", "icon":"square", "colour":"legend-amber-light" }, { "title":"archived-order", "icon":"square", "colour":"legend-white" }, { "title":"locked-order", "icon":"square", "colour":"legend-locked" }, { "title":"commented", "icon":"fa-circle", "colour":"legend-blue" }, { "title":"promo-applied", "icon":"fa-crown", "colour":"legend-amber" }, { "title":"alerts", "icon":"fa-exclamation-triangle", "colour":"legend-danger" } ], "dimension-column-id":1, "dimension-filters":{ "search-icon":"fa-search", "clear":"clear", "available":"available", "selected":"selected", "select-all":"select-all", "tabs":[ { "title":"customer", "dimension-filter":"location", "by-hierarchy":{ "image":{ "icon":"fa-sitemap", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-hierarchy", "dimension-levels":[ { "dimension-level":"channel", "label":"channel", "display":"description", "type":1 }, { "dimension-level":"chain", "label":"chain", "display":"description", "type":1 } ], "type":1 }, "by-attribute":{ "image":{ "icon":"fa-hashtag", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-attribute", "dimension-levels":[ { "dimension-level":"location", "label":"location_extid", "display":"externalId", "type":1 } ], "measures":[ { "measure":"total_suggested_order", "label":"no-suggested-order", "type":3, "translate":true }, { "measure":"is_promo_avbl", "label":"promo-applied-filter", "type":3, "translate":true } ] }, "reset-filters":{ "label":"reset-filters", "ishidden":false }, "details":{ "is-title-edit":false, "is-multiselect":false } }, { "title":"product", "dimension-filter":"product", "by-hierarchy":{ "image":{ "icon":"fa-sitemap", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-hierarchy", "dimension-levels":[ { "dimension-level":"category", "label":"category", "display":"name", "type":1 }, { "dimension-level":"class", "label":"class", "display":"name", "type":1 } ] }, "by-attribute":{ "image":{ "icon":"fa-hashtag", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-attribute", "dimension-levels":[ { "dimension-level":"product", "label":"product_extid", "display":"externalId", "type":1 } ], "measures":[ { "measure":"total_suggested_order", "label":"no-suggested-order", "type":3, "translate":true }, { "measure":"is_promo_avbl", "label":"promo-applied-filter", "type":3, "translate":true } ] }, "reset-filters":{ "label":"reset-filters", "ishidden":false }, "details":{ "is-title-edit":false, "is-multiselect":true } } ] } }, { "title":"route-by-material", "capability":"View Predictive Ordering UI", "firstRange":50, "query-index":2, "key":"routes", "weeks":{ "numberOfPastWeeks":1, "numberOfFutureWeeks":2 }, "toolbar":{ "dim-filters":{ "icons":[ { "image":{ "icon":"fa-bars", "states":{ "default":1, "options":[ 0, 1, 2 ] } }, "action":{ "type":2, "name":"dimension-filters" } } ], "filters-title":"filters" }, "filter-navigation":true, "prev-title":"prev", "next-title":"next", "selected-dim-level":{ "measure_name":"route_desc", "attributes":[ { "scope":"routeMeasureNames", "prefix":"", "measure_name":"", "suffix":"" } ] }, "actions":[ { "title-key":"data", "icons":[ { "image":{ "icon":"fa-sync", "name":"data", "states":{ "default":1, "options":[ 0, 1 ] } }, "action":{ "type":3, "name":"/refresh" } } ] } ] }, "transform":{ "transform-label":"transform-selection", "modifier":{ "title":"modifier", "options":[ "multiply", "divide", "add", "subtract", "set-value" ], "icon":"fa-caret-down" }, "value-title":"value", "view-promo":{ "title":"view-promo", "icon":"fa-crown", "action":{ "type":2, "name":"view-promo-modal" } }, "view-alert":{ "title":"view-alerts", "icon":"fa-exclamation-triangle", "action":{ "type":2, "name":"view-alert-modal" } }, "add-comment":{ "title":"add-comment", "icon":"fa-comment", "action":{ "type":2, "name":"add-comment-modal" } }, "view-comment":{ "title":"view-comment", "icon":"fa-comment", "action":{ "type":2, "name":"view-comment-modal" } }, "apply-title":"apply-transformation", "image":{ "icon":"fa-times", "action":"close" }, "view-alert-modal":{ "title":"modal-view-alerts", "image":{ "icon":"fa-times", "action":"close" } }, "view-promo-modal":{ "title":"modal-view-promos", "image":{ "icon":"fa-times", "action":"close" } }, "add-comment-modal":{ "title":"modal-add-comment", "image":{ "icon":"fa-times", "action":"close" }, "assign":"assign", "resolved":"mark-as-resolved", "jump-to":"jump-to" }, "view-comment-modal":{ "title":"modal-view-comment", "image":{ "icon":"fa-times", "action":"close" }, "assign":"assign", "resolved":"mark-as-resolved", "jump-to":"jump-to" } }, "statistics":[ { "label":"next-order-due", "icon":"", "scope":"rowMeasureNames", "measure_name":"next_order_due", "default":{ "day-of-week":4, "time":"T04:59:00.000Z" } } ], "table-title":"table-title", "datagrid":{ "grid-dimension-key":[ { "column-key":"materialid", "display":"externalId" }, { "column-key":"material-desc", "display":"name" } ], "grid-value-key":"productTotals", "table-measure":{ "measure_name":"suggested_order_qty", "scope":"rowWeekMeasureNames" }, "final-measures":[ { "title":"final", "subtitle":"order", "scope":"totalMeasureNames", "measure_name":"", "isCalculated":true }, { "title":"sugg", "subtitle":"order", "scope":"rowMeasureNames", "measure_name":"prod_avg_wk_t_sug_order", "isCalculated":false }, { "key":"order", "subtitle":"diff", "scope":"totalMeasureNames", "measure_name":"", "isCalculated":true } ], "key-indicators":[ { "title":"tray", "subtitle":"count", "scope":"rowMeasureNames", "measure_name":"tray_count_measure" }, { "title":"shelf", "subtitle":"life", "scope":"rowMeasureNames", "measure_name":"shelf_life" }, { "title":"avg-wk", "subtitle":"sug-order", "scope":"rowMeasureNames", "measure_name":"prod_avg_wk_sug_order" }, { "title":"avg-wk", "subtitle":"fin-order", "scope":"rowMeasureNames", "measure_name":"prod_avg_wk_fin_order" }, { "title":"avg-wk", "subtitle":"delivery", "scope":"rowMeasureNames", "measure_name":"prod_avg_wk_delivery" }, { "title":"avg-wk", "subtitle":"inventory", "scope":"rowMeasureNames", "measure_name":"prod_avg_wk_inventory" }, { "title":"avg-wk", "subtitle":"sales", "scope":"rowMeasureNames", "measure_name":"prod_avg_wk_sales" }, { "title":"avg-wk", "subtitle":"returns", "scope":"rowMeasureNames", "measure_name":"prod_avg_wk_returns" }, { "title":"total", "subtitle":"sug-ord", "scope":"rowMeasureNames", "measure_name":"prod_avg_wk_t_sug_order" } ], "key-indicator-totals":[ { "scope":"totalMeasureNames", "measure_name":"prod_avg_wk_sug_order" }, { "scope":"totalMeasureNames", "measure_name":"prod_avg_wk_fin_order" }, { "scope":"totalMeasureNames", "measure_name":"prod_avg_wk_delivery" }, { "scope":"totalMeasureNames", "measure_name":"prod_avg_wk_inventory" }, { "scope":"totalMeasureNames", "measure_name":"prod_avg_wk_sales" }, { "scope":"totalMeasureNames", "measure_name":"prod_avg_wk_returns" }, { "scope":"totalMeasureNames", "measure_name":"prod_avg_wk_t_sug_order" }, { "scope":"totalMeasureNames", "measure_name":"total_suggested_order" } ] }, "status":{ "title":"status", "sections":{ "title":"overall-metrics", "values":[ ] }, "highlight":{ "title":"next-order-due", "value":{ "scope":"totalMeasureNames", "measure_name":"" } } }, "legends":[ { "title":"normal-order", "icon":"square", "colour":"legend-success-light" }, { "title":"late-order", "icon":"square", "colour":"legend-amber-light" }, { "title":"archived-order", "icon":"square", "colour":"legend-white" }, { "title":"locked-order", "icon":"square", "colour":"legend-locked" }, { "title":"commented", "icon":"fa-circle", "colour":"legend-blue" }, { "title":"promo-applied", "icon":"fa-crown", "colour":"legend-amber" }, { "title":"alerts", "icon":"fa-exclamation-triangle", "colour":"legend-danger" } ], "dimension-column-id":1, "dimension-filters":{ "search-icon":"fa-search", "clear":"clear", "available":"available", "selected":"selected", "select-all":"select-all", "tabs":[ { "title":"route", "dimension-filter":"route", "by-hierarchy":{ "image":{ "icon":"fa-sitemap", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-hierarchy", "dimension-levels":[ { "dimension-level":"route", "label":"route", "display":"name", "type":1 } ] }, "by-attribute":{ "image":{ "icon":"fa-hashtag", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-attribute", "dimension-levels":[ { "dimension-level":"route", "label":"route_name", "display":"name", "type":1 }, { "dimension-level":"route", "label":"route_desc", "display":"description", "type":1 } ], "measures":[ ] }, "reset-filters":{ "label":"reset-filters", "ishidden":false }, "details":{ "is-title-edit":false, "is-multiselect":false } }, { "title":"product", "dimension-filter":"product", "by-hierarchy":{ "image":{ "icon":"fa-sitemap", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-hierarchy", "dimension-levels":[ { "dimension-level":"category", "label":"category", "display":"name", "type":1 }, { "dimension-level":"class", "label":"class", "display":"name", "type":1 } ], "type":1 }, "by-attribute":{ "image":{ "icon":"fa-hashtag", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-attribute", "dimension-levels":[ { "dimension-level":"product", "label":"product_extid", "display":"externalId", "type":1 } ], "measures":[ { "measure":"prod_avg_wk_t_sug_order", "label":"no-suggested-order", "type":3, "translate":true }, { "measure":"is_promo_avbl", "label":"promo-applied-filter", "type":3, "translate":true } ] }, "reset-filters":{ "label":"reset-filters", "ishidden":false }, "details":{ "is-title-edit":false, "is-multiselect":true } } ] } }, { "title":"order-planner", "capability":"View Order management UI", "firstRange":50, "query-index":3, "key":"", "new-order-planner-keys":{ "week_day_key":"weekDay", "toolTipKeys":[ "comment", "notifications", "promos" ], "toolTipKeysMutation":[ "fetchComments", "fetchNotifications", "fetchPromos" ], "toolTipDetailsKey":"details_available", "paginationPageSize":100, "cacheBlockSize":100 }, "new-order-planner":[ { "key":"location_name", "pinned":"left", "minWidth":150 }, { "key":"product_external_id", "pinned":"left", "minWidth":150 }, { "key":"product_name", "commentKey":"header_comment", "tooltipField":"product_name", "pinned":"left", "minWidth":200 }, { "key":"tray_count", "getValue":true, "getValueKey":"row_measures", "minWidth":66 }, { "key":"shelf_life", "getValue":true, "getValueKey":"row_measures", "minWidth":66 }, { "key":"forecast_to_selloff_accuracy", "getValue":true, "getValueKey":"row_measures", "minWidth":80 }, { "key":"avg_week_suggested_order", "getValue":true, "getValueKey":"row_measures", "minWidth":66 }, { "key":"avg_week_delivery", "getValue":true, "getValueKey":"row_measures", "minWidth":78 }, { "key":"avg_week_sales", "getValue":true, "getValueKey":"row_measures", "minWidth":66 }, { "key":"avg_week_returns", "getValue":true, "getValueKey":"row_measures", "minWidth":78 }, { "key":"gross_stale_units", "getValue":true, "getValueKey":"row_measures", "minWidth":66 }, { "key":"orders_0", "suggestedOrderKey":"suggested_order_qty_0", "day":0, "lateKey":"orders_late_0", "archivedKey":"orders_archived_0", "lockedKey":"orders_locked_0", "isOrders":true, "commentKey":"comment_0", "promoKey":"promos_0", "notificationKey":"notifications_0", "tooltipKey":"0", "minWidth":66 }, { "key":"orders_1", "day":1, "suggestedOrderKey":"suggested_order_qty_1", "lateKey":"orders_late_1", "archivedKey":"orders_archived_1", "lockedKey":"orders_locked_1", "isOrders":true, "commentKey":"comment_1", "promoKey":"promos_1", "notificationKey":"notifications_1", "tooltipField":"orders_1", "minWidth":66 }, { "key":"orders_2", "day":2, "suggestedOrderKey":"suggested_order_qty_2", "lateKey":"orders_late_2", "archivedKey":"orders_archived_2", "lockedKey":"orders_locked_2", "isOrders":true, "commentKey":"comment_2", "promoKey":"promos_2", "notificationKey":"notifications_2", "tooltipField":"orders_2", "minWidth":66 }, { "key":"orders_3", "day":3, "suggestedOrderKey":"suggested_order_qty_3", "lateKey":"orders_late_3", "archivedKey":"orders_archived_3", "lockedKey":"orders_locked_3", "isOrders":true, "commentKey":"comment_3", "promoKey":"promos_3", "notificationKey":"notifications_3", "tooltipField":"orders_3", "minWidth":66 }, { "key":"orders_4", "day":4, "suggestedOrderKey":"suggested_order_qty_4", "lateKey":"orders_late_4", "archivedKey":"orders_archived_4", "lockedKey":"orders_locked_4", "isOrders":true, "commentKey":"comment_4", "promoKey":"promos_4", "notificationKey":"notifications_4", "tooltipField":"orders_4", "minWidth":66 }, { "key":"orders_5", "day":5, "suggestedOrderKey":"suggested_order_qty_5", "lateKey":"orders_late_5", "archivedKey":"orders_archived_5", "lockedKey":"orders_locked_5", "isOrders":true, "commentKey":"comment_5", "promoKey":"promos_5", "notificationKey":"notifications_5", "tooltipField":"orders_5", "minWidth":66 }, { "key":"orders_6", "day":6, "suggestedOrderKey":"suggested_order_qty_6", "lateKey":"orders_late_6", "archivedKey":"orders_archived_6", "lockedKey":"orders_locked_6", "isOrders":true, "commentKey":"comment_6", "promoKey":"promos_6", "notificationKey":"notifications_6", "tooltipField":"orders_6", "minWidth":66 }, { "key":"final_order", "highlight_bold":true, "nonOrdersCellClass":true, "minWidth":66 }, { "key":"total_suggested_order", "getValue":true, "getValueKey":"row_measures", "minWidth":66 } ], "weeks":{ "numberOfPastWeeks":0, "numberOfFutureWeeks":2 }, "initial-attribute-filters":{ "booleanFilters":[ { "name":"total_suggested_order", "isSelected":false }, { "name":"is_promo_avbl", "isSelected":true } ] }, "toolbar":{ "dim-filters":{ "icons":[ { "image":{ "icon":"fa-bars", "states":{ "default":1, "options":[ 0, 1, 2 ] } }, "action":{ "type":2, "name":"dimension-filters" } } ], "filters-title":"filters" }, "filter-navigation":false, "prev-title":"prev", "next-title":"next", "selected-dim-level":{ "measure_name":"", "attributes":[ { "scope":"", "prefix":"", "measure_name":"", "suffix":"" }, { "scope":"", "prefix":"", "measure_name":"", "suffix":"" } ] }, "actions":[ { "title-key":"data", "icons":[ { "image":{ "icon":"fa-sync", "name":"data", "states":{ "default":1, "options":[ 0, 1 ] } }, "action":{ "type":3, "name":"/refresh" } } ] } ] }, "transform":{ "transform-label":"transform-selection", "modifier":{ "title":"modifier", "options":[ "multiply", "divide", "add", "subtract", "set-value" ], "icon":"fa-caret-down" }, "value-title":"value", "view-promo":{ "title":"view-promo", "icon":"fa-crown", "action":{ "type":2, "name":"view-promo-modal" } }, "view-alert":{ "title":"view-alerts", "icon":"fa-exclamation-triangle", "action":{ "type":2, "name":"view-alert-modal" } }, "add-comment":{ "title":"add-comment", "icon":"fa-comment", "action":{ "type":2, "name":"add-comment-modal" } }, "view-comment":{ "title":"view-comment", "icon":"fa-comment", "action":{ "type":2, "name":"view-comment-modal" } }, "view-inventory":{ "title":"perpetual-inventory", "icon":"fa-boxes", "action":{ "type":2, "name":"inventory" } }, "apply-title":"apply-transformation", "image":{ "icon":"fa-times", "action":"close" }, "view-alert-modal":{ "title":"modal-view-alerts", "image":{ "icon":"fa-times", "action":"close" } }, "view-promo-modal":{ "title":"modal-view-promos", "image":{ "icon":"fa-times", "action":"close" } }, "add-comment-modal":{ "title":"modal-add-comment", "image":{ "icon":"fa-times", "action":"close" }, "assign":"assign", "resolved":"mark-as-resolved", "jump-to":"jump-to" }, "view-comment-modal":{ "title":"modal-view-comment", "image":{ "icon":"fa-times", "action":"close" }, "assign":"assign", "resolved":"mark-as-resolved", "jump-to":"jump-to" } }, "statistics":[ { "label":"next-order-due", "icon":"", "scope":"rowMeasureNames", "measure_name":"next_order_due", "default":{ "day-of-week":4, "time":"T04:59:00.000Z" } } ], "table-title":"table-title", "datagrid":{ "grid-dimension-key":[ { "column-key":"customers", "display":"locationName" }, { "column-key":"materialid", "display":"productExternalId" }, { "column-key":"material-desc", "display":"productName" } ], "grid-value-key":"productLocations", "table-measure":{ "measure_name":"suggested_order_qty", "scope":"rowWeekMeasureNames" }, "final-measures":[ { "title":"final", "subtitle":"order", "scope":"rowMeasureNames", "measure_name":"", "isCalculated":true }, { "title":"sugg", "subtitle":"order", "scope":"rowMeasureNames", "measure_name":"total_suggested_order", "isCalculated":false }, { "title":"order", "subtitle":"diff", "scope":"rowMeasureNames", "measure_name":"", "isCalculated":true }, { "title":"display", "subtitle":"plan", "scope":"rowWeekMeasureNames", "measure_name":"", "isCalculated":true } ], "key-indicators":[ { "title":"tray", "subtitle":"count", "scope":"rowMeasureNames", "measure_name":"tray_count" }, { "title":"shelf", "subtitle":"life", "scope":"rowMeasureNames", "measure_name":"shelf_life" }, { "title":"forecast", "subtitle":"selloff-accuracy", "scope":"rowMeasureNames", "measure_name":"forecast_to_selloff_accuracy" }, { "title":"avg-wk", "subtitle":"sug-order", "scope":"rowMeasureNames", "measure_name":"avg_week_suggested_order" }, { "title":"avg-wk", "subtitle":"fin-order", "scope":"rowMeasureNames", "measure_name":"avg_week_final_order" }, { "title":"avg-wk", "subtitle":"delivery", "scope":"rowMeasureNames", "measure_name":"avg_week_delivery" }, { "title":"avg-wk", "subtitle":"sales", "scope":"rowMeasureNames", "measure_name":"avg_week_sales" }, { "title":"avg-wk", "subtitle":"returns", "scope":"rowMeasureNames", "measure_name":"avg_week_returns" }, { "title":"gross", "subtitle":"stale-units", "scope":"rowMeasureNames", "measure_name":"gross_stale_units" }, { "title":"total", "subtitle":"sug-ord", "scope":"rowMeasureNames", "measure_name":"total_suggested_order" } ], "key-indicator-totals":[ { "scope":"totalMeasureNames", "measure_name":"avg_week_suggested_order" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_final_order" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_delivery" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_sales" }, { "scope":"totalMeasureNames", "measure_name":"avg_week_returns" }, { "scope":"totalMeasureNames", "measure_name":"gross_stale_units" }, { "scope":"totalMeasureNames", "measure_name":"total_suggested_order" } ] }, "inventory":{ "title":"perpetual-inventory", "timeline":"days-inventory", "grid-tab-title":"inventory-grid-title", "measure-header":"data-measure", "measures":[ { "scope":"rowWeekMeasureNames", "measure_name":"inventory_qty", "title":"inventory-count" }, { "scope":"rowWeekMeasureNames", "measure_name":"beg_onhand", "title":"beg-onhand" }, { "scope":"rowWeekMeasureNames", "measure_name":"dly_consumption_forecast", "title":"consumption-forecast" }, { "scope":"rowWeekMeasureNames", "measure_name":"dly_actual_sellout", "title":"actual-sellout" }, { "scope":"rowWeekMeasureNames", "measure_name":"stale_returns", "title":"stale-returns" }, { "scope":"rowWeekMeasureNames", "measure_name":"fresh_credit", "title":"fresh-credit" }, { "scope":"rowWeekMeasureNames", "measure_name":"usable_sellout", "title":"usable-sellout" }, { "scope":"rowWeekMeasureNames", "measure_name":"final_order", "title":"final-order" }, { "scope":"rowWeekMeasureNames", "measure_name":"proj_delivery", "title":"proj-delivery" }, { "scope":"rowWeekMeasureNames", "measure_name":"safety_stock_target", "title":"safety-stock-tgt" }, { "scope":"rowWeekMeasureNames", "measure_name":"ending_onhand", "title":"ending-onhand" }, { "scope":"rowWeekMeasureNames", "measure_name":"rnd_sugg_order", "title":"rnd-sugg-order" } ], "chart":{ "title":"inventory-chart-title", "chart-type":"bar and line", "measures":[ { "scope":"rowWeekMeasureNames", "measure_name":"proj_delivery", "title":"proj-delivery", "color":"#3290ED", "type":"bar" }, { "scope":"rowWeekMeasureNames", "measure_name":"usable_sellout", "title":"usable-sellout", "color":"#9D53F2", "type":"line" }, { "scope":"rowWeekMeasureNames", "measure_name":"safety_stock_target", "title":"safety-stock-tgt", "color":"#26ABA4", "type":"line" }, { "scope":"rowWeekMeasureNames", "measure_name":"ending_onhand", "title":"ending-onhand", "color":"#F7A452", "type":"line" } ] } }, "status":{ "title":"status", "sections":{ "title":"overall-metrics", "values":[ ] }, "highlight":{ "title":"next-order-due", "value":{ "scope":"totalMeasureNames", "measure_name":"next_order_due" } } }, "legends":[ { "title":"normal-order", "icon":"square", "colour":"legend-success-light" }, { "title":"late-order", "icon":"square", "colour":"legend-amber-light" }, { "title":"archived-order", "icon":"square", "colour":"legend-white" }, { "title":"locked-order", "icon":"square", "colour":"legend-locked" }, { "title":"commented", "icon":"fa-circle", "colour":"legend-blue" }, { "title":"promo-applied", "icon":"fa-crown", "colour":"legend-amber" }, { "title":"alerts", "icon":"fa-exclamation-triangle", "colour":"legend-danger" }, { "title":"perp-inv-legend", "icon":"fa-boxes", "colour":"legend-blue" } ], "dimension-filters":{ "search-icon":"fa-search", "clear":"clear", "available":"available", "selected":"selected", "select-all":"select-all", "tabs":[ { "title":"product", "dimension-filter":"product", "by-hierarchy":{ "image":{ "icon":"fa-sitemap", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-hierarchy", "dimension-levels":[ { "dimension-level":"category", "label":"category", "display":"name", "type":1 }, { "dimension-level":"class", "label":"class", "display":"name", "type":1 } ] }, "by-attribute":{ "image":{ "icon":"fa-hashtag", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-attribute", "dimension-levels":[ { "dimension-level":"product", "label":"product_extid", "display":"externalId", "type":1 } ], "measures":[ { "measure":"forecast_to_selloff_accuracy", "label":"forecast-accuracy", "type":2, "min":-100, "max":100 }, { "measure":"gross_stale_units", "label":"gross-stale", "type":2, "min":-100, "max":100 }, { "measure":"total_suggested_order", "label":"no-suggested-order", "type":3, "translate":true, "initialSelection":{ "selectedTrue":false, "selectedFalse":true } }, { "measure":"is_promo_avbl", "label":"promo-applied-filter", "type":3, "translate":true, "initialSelection":{ "selectedTrue":true, "selectedFalse":false } } ] }, "reset-filters":{ "label":"reset-filters", "ishidden":false }, "details":{ "is-title-edit":false, "is-multiselect":true } }, { "title":"customer", "dimension-filter":"location", "by-hierarchy":{ "image":{ "icon":"fa-sitemap", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-hierarchy", "dimension-levels":[ { "dimension-level":"channel", "label":"channel", "display":"description", "type":1 }, { "dimension-level":"chain", "label":"chain", "display":"description" } ], "type":1 }, "by-attribute":{ "image":{ "icon":"fa-hashtag", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-attribute", "dimension-levels":[ { "dimension-level":"location", "label":"location_extid", "display":"externalId", "type":1 } ], "measures":[ { "measure":"forecast_to_selloff_accuracy", "label":"forecast-accuracy", "type":2, "min":-100, "max":100 }, { "measure":"gross_stale_units", "label":"gross-stale", "type":2, "min":-100, "max":100 }, { "measure":"total_suggested_order", "label":"no-suggested-order", "type":3, "translate":true, "initialSelection":{ "selectedTrue":false, "selectedFalse":true } }, { "measure":"is_promo_avbl", "label":"promo-applied-filter", "type":3, "translate":true, "initialSelection":{ "selectedTrue":true, "selectedFalse":false } } ] }, "reset-filters":{ "label":"reset-filters", "ishidden":false }, "details":{ "is-title-edit":false, "is-multiselect":true } } ] } }, { "title":"late-adjustment", "capability":"View Order management UI", "firstRange":50, "query-index":4, "key":"", "new-order-planner-keys":{ "week_day_key":"weekDay", "toolTipKeys":[ "comment", "notifications", "promos" ], "toolTipKeysMutation":[ "fetchComments", "fetchNotifications", "fetchPromos" ], "toolTipDetailsKey":"details_available", "paginationPageSize":100, "cacheBlockSize":100 }, "new-order-planner":[ { "key":"location_name", "pinned":"left", "minWidth":150 }, { "key":"product_external_id", "pinned":"left", "minWidth":150 }, { "key":"product_name", "commentKey":"header_comment", "tooltipField":"product_name", "pinned":"left", "minWidth":200 }, { "key":"tray_count", "getValue":true, "getValueKey":"row_measures", "minWidth":66 }, { "key":"shelf_life", "getValue":true, "getValueKey":"row_measures", "minWidth":66 }, { "key":"forecast_to_selloff_accuracy", "getValue":true, "getValueKey":"row_measures", "minWidth":80 }, { "key":"next_order_date", "getValue":true, "getValueKey":"row_measures", "isValueFormatter":{ "type":"date", "format":"ddd, M/DD", "timezone":"UTC" }, "minWidth":110 }, { "key":"projected_inventory", "getValue":true, "getValueKey":"row_measures", "minWidth":66 }, { "key":"proposed_adjustments", "getValue":true, "getValueKey":"row_measures", "minWidth":66 }, { "key":"initial_order_qty", "getValue":true, "getValueKey":"row_measures", "minWidth":66 }, { "key":"revised_order_qty", "getValue":true, "getValueKey":"row_measures", "minWidth":66 }, { "key":"adjust_orders_state", "getValue":true, "getValueKey":"row_measures", "isCheckBoxAvailable":true, "minWidth":44 }, { "key":"orders_0", "suggestedOrderKey":"suggested_order_qty_0", "day":0, "lateKey":"orders_late_0", "archivedKey":"orders_archived_0", "lockedKey":"orders_locked_0", "isOrders":true, "commentKey":"comment_0", "promoKey":"promos_0", "notificationKey":"notifications_0", "tooltipKey":"0", "minWidth":66 }, { "key":"orders_1", "day":1, "suggestedOrderKey":"suggested_order_qty_1", "lateKey":"orders_late_1", "archivedKey":"orders_archived_1", "lockedKey":"orders_locked_1", "isOrders":true, "commentKey":"comment_1", "promoKey":"promos_1", "notificationKey":"notifications_1", "tooltipField":"orders_1", "minWidth":66 }, { "key":"orders_2", "day":2, "suggestedOrderKey":"suggested_order_qty_2", "lateKey":"orders_late_2", "archivedKey":"orders_archived_2", "lockedKey":"orders_locked_2", "isOrders":true, "commentKey":"comment_2", "promoKey":"promos_2", "notificationKey":"notifications_2", "tooltipField":"orders_2", "minWidth":66 }, { "key":"orders_3", "day":3, "suggestedOrderKey":"suggested_order_qty_3", "lateKey":"orders_late_3", "archivedKey":"orders_archived_3", "lockedKey":"orders_locked_3", "isOrders":true, "commentKey":"comment_3", "promoKey":"promos_3", "notificationKey":"notifications_3", "tooltipField":"orders_3", "minWidth":66 }, { "key":"orders_4", "day":4, "suggestedOrderKey":"suggested_order_qty_4", "lateKey":"orders_late_4", "archivedKey":"orders_archived_4", "lockedKey":"orders_locked_4", "isOrders":true, "commentKey":"comment_4", "promoKey":"promos_4", "notificationKey":"notifications_4", "tooltipField":"orders_4", "minWidth":66 }, { "key":"orders_5", "day":5, "suggestedOrderKey":"suggested_order_qty_5", "lateKey":"orders_late_5", "archivedKey":"orders_archived_5", "lockedKey":"orders_locked_5", "isOrders":true, "commentKey":"comment_5", "promoKey":"promos_5", "notificationKey":"notifications_5", "tooltipField":"orders_5", "minWidth":66 }, { "key":"orders_6", "day":6, "suggestedOrderKey":"suggested_order_qty_6", "lateKey":"orders_late_6", "archivedKey":"orders_archived_6", "lockedKey":"orders_locked_6", "isOrders":true, "commentKey":"comment_6", "promoKey":"promos_6", "notificationKey":"notifications_6", "tooltipField":"orders_6", "minWidth":66 }, { "key":"final_order", "highlight_bold":true, "nonOrdersCellClass":true, "minWidth":66 }, { "key":"total_suggested_order", "getValue":true, "getValueKey":"row_measures", "minWidth":66 } ], "weeks":{ "numberOfPastWeeks":0, "numberOfFutureWeeks":2 }, "initial-attribute-filters":{ "booleanFilters":[ { "name":"total_suggested_order", "isSelected":false }, { "name":"is_promo_avbl", "isSelected":true } ] }, "toolbar":{ "dim-filters":{ "icons":[ { "image":{ "icon":"fa-bars", "states":{ "default":1, "options":[ 0, 1, 2 ] } }, "action":{ "type":2, "name":"dimension-filters" } } ], "filters-title":"filters" }, "filter-navigation":false, "prev-title":"prev", "next-title":"next", "selected-dim-level":{ "measure_name":"", "attributes":[ { "scope":"", "prefix":"", "measure_name":"", "suffix":"" }, { "scope":"", "prefix":"", "measure_name":"", "suffix":"" } ] }, "actions":[ { "title-key":"data", "icons":[ { "image":{ "icon":"fa-sync", "name":"data", "states":{ "default":1, "options":[ 0, 1 ] } }, "action":{ "type":3, "name":"/refresh" } } ] } ] }, "transform":{ "transform-label":"transform-selection", "modifier":{ "title":"modifier", "options":[ "multiply", "divide", "add", "subtract", "set-value" ], "icon":"fa-caret-down" }, "value-title":"value", "view-promo":{ "title":"view-promo", "icon":"fa-crown", "action":{ "type":2, "name":"view-promo-modal" } }, "view-alert":{ "title":"view-alerts", "icon":"fa-exclamation-triangle", "action":{ "type":2, "name":"view-alert-modal" } }, "add-comment":{ "title":"add-comment", "icon":"fa-comment", "action":{ "type":2, "name":"add-comment-modal" } }, "view-comment":{ "title":"view-comment", "icon":"fa-comment", "action":{ "type":2, "name":"view-comment-modal" } }, "view-inventory":{ "title":"perpetual-inventory", "icon":"fa-boxes", "action":{ "type":2, "name":"inventory" } }, "apply-title":"apply-transformation", "image":{ "icon":"fa-times", "action":"close" }, "view-alert-modal":{ "title":"modal-view-alerts", "image":{ "icon":"fa-times", "action":"close" } }, "view-promo-modal":{ "title":"modal-view-promos", "image":{ "icon":"fa-times", "action":"close" } }, "add-comment-modal":{ "title":"modal-add-comment", "image":{ "icon":"fa-times", "action":"close" }, "assign":"assign", "resolved":"mark-as-resolved", "jump-to":"jump-to" }, "view-comment-modal":{ "title":"modal-view-comment", "image":{ "icon":"fa-times", "action":"close" }, "assign":"assign", "resolved":"mark-as-resolved", "jump-to":"jump-to" } }, "statistics":[ { "label":"next-order-due", "icon":"", "scope":"rowMeasureNames", "measure_name":"next_order_due", "default":{ "day-of-week":4, "time":"T04:59:00.000Z" } } ], "table-title":"table-title", "datagrid":{ "grid-dimension-key":[ { "column-key":"customers", "display":"locationName" }, { "column-key":"materialid", "display":"productExternalId" }, { "column-key":"material-desc", "display":"productName" } ], "grid-value-key":"productLocations", "table-measure":{ "measure_name":"suggested_order_qty", "scope":"rowWeekMeasureNames" }, "final-measures":[ { "title":"final", "subtitle":"order", "scope":"rowMeasureNames", "measure_name":"", "isCalculated":true }, { "title":"sugg", "subtitle":"order", "scope":"rowMeasureNames", "measure_name":"total_suggested_order", "isCalculated":false }, { "title":"order", "subtitle":"diff", "scope":"rowMeasureNames", "measure_name":"", "isCalculated":true }, { "title":"display", "subtitle":"plan", "scope":"rowWeekMeasureNames", "measure_name":"", "isCalculated":true } ], "key-indicators":[ { "title":"tray", "subtitle":"count", "scope":"rowMeasureNames", "measure_name":"tray_count" }, { "title":"shelf", "subtitle":"life", "scope":"rowMeasureNames", "measure_name":"shelf_life" }, { "title":"forecast", "subtitle":"selloff-accuracy", "scope":"rowMeasureNames", "measure_name":"forecast_to_selloff_accuracy" }, { "title":"inv", "subtitle":"today", "scope":"rowMeasureNames", "measure_name":"inventory_today_wk" }, { "title":"max-curr", "subtitle":"shortage", "scope":"rowMeasureNames", "measure_name":"balance_this_delivery_wk" }, { "title":"next-header", "subtitle":"delv", "scope":"rowMeasureNames", "measure_name":"next_delivery_wk" }, { "title":"max-next", "subtitle":"shortage", "scope":"rowMeasureNames", "measure_name":"balance_next_delivery_wk" }, { "title":"priority", "subtitle":"", "scope":"rowMeasureNames", "measure_name":"priority" }, { "title":"gross", "subtitle":"stale-units", "scope":"rowMeasureNames", "measure_name":"gross_stale_units" } ], "key-indicator-totals":[ { "scope":"totalMeasureNames", "measure_name":"inventory_today_wk" }, { "scope":"totalMeasureNames", "measure_name":"balance_this_delivery_wk" }, { "scope":"totalMeasureNames", "measure_name":"next_delivery_wk" }, { "scope":"totalMeasureNames", "measure_name":"balance_next_delivery_wk" }, { "scope":"totalMeasureNames", "measure_name":"gross_stale_units" }, { "scope":"totalMeasureNames", "measure_name":"total_suggested_order" }, { "scope":"totalMeasureNames", "measure_name":"projected_inventory" }, { "scope":"totalMeasureNames", "measure_name":"proposed_adjustments" }, { "scope":"totalMeasureNames", "measure_name":"initial_order_qty" }, { "scope":"totalMeasureNames", "measure_name":"revised_order_qty" } ] }, "inventory":{ "title":"perpetual-inventory", "timeline":"days-inventory", "grid-tab-title":"inventory-grid-title", "measure-header":"data-measure", "measures":[ { "scope":"rowWeekMeasureNames", "measure_name":"inventory_qty", "title":"inventory-count" }, { "scope":"rowWeekMeasureNames", "measure_name":"beg_onhand", "title":"beg-onhand" }, { "scope":"rowWeekMeasureNames", "measure_name":"dly_consumption_forecast", "title":"consumption-forecast" }, { "scope":"rowWeekMeasureNames", "measure_name":"dly_actual_sellout", "title":"actual-sellout" }, { "scope":"rowWeekMeasureNames", "measure_name":"stale_returns", "title":"stale-returns" }, { "scope":"rowWeekMeasureNames", "measure_name":"fresh_credit", "title":"fresh-credit" }, { "scope":"rowWeekMeasureNames", "measure_name":"usable_sellout", "title":"usable-sellout" }, { "scope":"rowWeekMeasureNames", "measure_name":"final_order", "title":"final-order" }, { "scope":"rowWeekMeasureNames", "measure_name":"proj_delivery", "title":"proj-delivery" }, { "scope":"rowWeekMeasureNames", "measure_name":"safety_stock_target", "title":"safety-stock-tgt" }, { "scope":"rowWeekMeasureNames", "measure_name":"ending_onhand", "title":"ending-onhand" }, { "scope":"rowWeekMeasureNames", "measure_name":"rnd_sugg_order", "title":"rnd-sugg-order" } ], "chart":{ "title":"inventory-chart-title", "chart-type":"bar and line", "measures":[ { "scope":"rowWeekMeasureNames", "measure_name":"proj_delivery", "title":"proj-delivery", "color":"#3290ED", "type":"bar" }, { "scope":"rowWeekMeasureNames", "measure_name":"usable_sellout", "title":"usable-sellout", "color":"#9D53F2", "type":"line" }, { "scope":"rowWeekMeasureNames", "measure_name":"safety_stock_target", "title":"safety-stock-tgt", "color":"#26ABA4", "type":"line" }, { "scope":"rowWeekMeasureNames", "measure_name":"ending_onhand", "title":"ending-onhand", "color":"#F7A452", "type":"line" } ] } }, "status":{ "title":"status", "sections":{ "title":"overall-metrics", "values":[ ] }, "highlight":{ "title":"next-order-due", "value":{ "scope":"totalMeasureNames", "measure_name":"next_order_due" } } }, "legends":[ { "title":"normal-order", "icon":"square", "colour":"legend-success-light" }, { "title":"late-order", "icon":"square", "colour":"legend-amber-light" }, { "title":"archived-order", "icon":"square", "colour":"legend-white" }, { "title":"locked-order", "icon":"square", "colour":"legend-locked" }, { "title":"commented", "icon":"fa-circle", "colour":"legend-blue" }, { "title":"promo-applied", "icon":"fa-crown", "colour":"legend-amber" }, { "title":"alerts", "icon":"fa-exclamation-triangle", "colour":"legend-danger" }, { "title":"perp-inv-legend", "icon":"fa-boxes", "colour":"legend-blue" } ], "dimension-filters":{ "search-icon":"fa-search", "clear":"clear", "available":"available", "selected":"selected", "select-all":"select-all", "tabs":[ { "title":"product", "dimension-filter":"product", "by-hierarchy":{ "image":{ "icon":"fa-sitemap", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-hierarchy", "dimension-levels":[ { "dimension-level":"category", "label":"category", "display":"name", "type":1 }, { "dimension-level":"class", "label":"class", "display":"name", "type":1 } ] }, "by-attribute":{ "image":{ "icon":"fa-hashtag", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-attribute", "dimension-levels":[ { "dimension-level":"product", "label":"product_extid", "display":"externalId", "type":1 } ], "measures":[ { "measure":"forecast_to_selloff_accuracy", "label":"forecast-accuracy", "type":2, "min":-100, "max":100 }, { "measure":"gross_stale_units", "label":"gross-stale", "type":2, "min":-100, "max":100 }, { "measure":"total_suggested_order", "label":"no-suggested-order", "type":3, "translate":true, "initialSelection":{ "selectedTrue":false, "selectedFalse":true } }, { "measure":"is_promo_avbl", "label":"promo-applied-filter", "type":3, "translate":true, "initialSelection":{ "selectedTrue":true, "selectedFalse":false } }, { "measure":"proposed_adjustments", "label":"proposed-adjustments", "type":3, "translate":true, "initialSelection":{ "selectedTrue":true, "selectedFalse":false } } ] }, "reset-filters":{ "label":"reset-filters", "ishidden":false }, "details":{ "is-title-edit":false, "is-multiselect":true } }, { "title":"customer", "dimension-filter":"location", "by-hierarchy":{ "image":{ "icon":"fa-sitemap", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-hierarchy", "dimension-levels":[ { "dimension-level":"channel", "label":"channel", "display":"description", "type":1 }, { "dimension-level":"chain", "label":"chain", "display":"description" } ], "type":1 }, "by-attribute":{ "image":{ "icon":"fa-hashtag", "states":{ "default":1, "options":[ 1 ] } }, "title":"refine-by-attribute", "dimension-levels":[ { "dimension-level":"location", "label":"location_extid", "display":"externalId", "type":1 } ], "measures":[ { "measure":"forecast_to_selloff_accuracy", "label":"forecast-accuracy", "type":2, "min":-100, "max":100 }, { "measure":"gross_stale_units", "label":"gross-stale", "type":2, "min":-100, "max":100 }, { "measure":"total_suggested_order", "label":"no-suggested-order", "type":3, "translate":true, "initialSelection":{ "selectedTrue":false, "selectedFalse":true } }, { "measure":"is_promo_avbl", "label":"promo-applied-filter", "type":3, "translate":true, "initialSelection":{ "selectedTrue":true, "selectedFalse":false } }, { "measure":"proposed_adjustments", "label":"proposed-adjustments", "type":3, "translate":true, "initialSelection":{ "selectedTrue":true, "selectedFalse":false } } ] }, "reset-filters":{ "label":"reset-filters", "ishidden":false }, "details":{ "is-title-edit":false, "is-multiselect":true } } ] } } ], "mobile-interface":{ "date-details":{ }, "dimensions":[ { "dimension":"product", "dimension-level":"product", "display":"description" }, { "dimension":"location", "dimension-level":"location", "display":"description" } ], "measures":[ { "editable-measure":{ "label":"current-order", "scope":"rowWeekMeasureNames", "measure_name":"order" }, "suggestion-measure":{ "label":"suggested-order", "scope":"rowWeekMeasureNames", "measure_name":"suggested_order_qty" }, "attributes":[ { "scope":"rowMeasureNames", "prefix":"tray-count", "measure_name":"tray_count", "suffix":"" }, { "scope":"rowMeasureNames", "prefix":"shelf-life", "measure_name":"shelf_life", "suffix":"days" } ] } ] }, "downTimeMessage": "down-time-message", "futureAlertMessage": "future-alert-message", } export const DPOI18N = { "locale":"en_US", "translations":{ "dpo":"Predictive Ordering", "material-by-customer":"Material by Customers", "customer-by-material":"Customer by Materials", "route-by-material":"Territory by Materials", "late-adjustment":"Late Adjustment", "filters":"Filters", "product":"Material", "customer":"Customer", "route":"Route", "route_name":"Name", "route_desc":"Description", "refine-by-hierarchy":"Refine by Hierarchy", "refine-by-attribute":"Refine by Attribute", "prev":"prev", "next":"next", "undo":"undo", "redo":"redo", "info":"info", "data":"data", "clear":"clear", "transform-selection":"Transform Selection", "modifier":"modifier", "multiply":"Multiply", "divide":"Divide", "add":"Add", "subtract":"Subtract", "set-value":"Set Value", "value":"value", "search":"Search", "available":"available", "table-title":"Order Summary", "next-order-due":"Next order due", "stale":"stale", "growth":"growth", "customers":"Customers", "materialid":"Material ID", "material-desc":"Description", "total":"Total", "normal-order":"normal order", "late-order":"late order", "archived-order":"archived order", "commented":"commented", "promo-applied":"promo applied", "promo-applied-filter":"Promo Applied", "alerts":"alerts", "select-all":"Select All", "add-comment":"Add Comment", "view-comment":"View Comment", "view-promo":"View Promotions", "view-alerts":"View Alerts", "modal-add-comment":"Add Comment", "modal-view-comment":"View Comment", "modal-view-promos":"View Promotions", "modal-view-alert":"View Alerts", "apply-transformation":"Apply Transformation", "status":"Status", "overall-metrics":"Overall Metrics", "last-order":"last order", "versus-last-week":"versus last week", "waste":"waste", "assign":"Assign", "resolved":"Mark as Resolved", "jump-to":"Jump to", "avg-wk":"Avg Wk", "sug-order":"Sugg Ord", "fin-order":"Fin Ord", "delivery":"Delivery", "inventory":"Inv", "sales":"Sales", "returns":"Returns", "sug-ord":"Sugg Ord", "final":"Final", "sugg":"Sugg", "order":"Order", "diff":"Diff", "display":"Display", "plan":"Plan", "tray-count":"tray count", "shelf-life":"shelf life", "days":"days", "class":"Class", "category":"Category", "product_name":"Name", "product_desc":"Description", "product_extid":"ID", "channel":"Channel", "chain":"Chain", "location_name":"Name", "location_desc":"Description", "location_extid":"ID", "late-adj-header":"Late Order Confirmation", "late-adjust-msg":"Late Order Adjustments are flagged and a notification will be sent to your supervisor. Do you wish to continue?", "late-adjust-reason":"Reason for Override", "please-select":"Please Select", "cancel":"Cancel", "confirm-continue":"Confirm and continue", "continue-wo-saving":"Continue without saving", "threshold-msg-header":"Massive Input", "thrshold-msg":"Your input number too large, do you want to continue?", "lateorder-adj-header":"Late Order Adjustment", "order-adj-header":"Order Adjustment", "lateorder-adj-msg":"Changes you made will be lost, do you want to proceed?", "multi-cell-late-adj":"Multi-cell edit is not possible during Late Adjustment.", "divide-by-zero":"Cannot divide by zero, Invalid arithmetic operation.", "order-planner":"Order Planner", "forecast":"Forecast", "forecast-status":"Status", "fc-status-on":"On", "fc-status-off":"Off", "fc-status-static":"Static", "perpetual-inventory":"Perpetual Inventory", "perp-inv-legend":"perpetual inventory", "days-inventory":"DAYS", "data-measure":"DATA MEASURE", "inventory-count":"Inventory Count", "beg-onhand":"Beginning On Hand", "consumption-forecast":"Consumption Forecast", "actual-sellout":"Actual Sellout", "stale-returns":"Stale Returns", "fresh-credit":"Fresh Credit", "usable-sellout":"Usable Sellout", "final-order":"Final Order", "proj-delivery":"Projected Delivery", "safety-stock-tgt":"Safety Stock Target", "ending-onhand":"Ending On Hand", "rnd-sugg-order":"Suggested Order", "order-submit-success-title":"Success", "order-submit-success-msg":"Your orders were saved.", "order-submit-error-title":"Error", "order-submit-error-msg":"Your orders were not saved.", "comment-success-msg":"Comment saved.", "comment-error-msg":"Comment not saved.", "comment-delete-success":"Comment deleted.", "comment-delete-error":"Comment not deleted.", "ROUTE_TRAY_ROUNDING":"Route Tray Rounding", "LOCATION_TRAY_ROUNDING":"Customer Tray Rounding", "locked-order":"locked order", "late-order-confirm-msg":"It may take up to a minute to confirm if Late Adjustments can be made. Do you wish to continue?", "negative-order-msg":"Negative order not allowed, some orders remain unchanged.", "no-rows-msg":"Currently no rows to display: either there is no data or the items are hidden.", "no-access-route-this-screen":"You cannot access this route in this screen.", "threshold-exceeded":"Order threshold exceeded, some orders remain unchanged.", "tray":"Tray", "count":"Count", "shelf":"Shelf", "life":"Life", "inv":"Inv", "today":"Today", "max-curr":"Max Curr", "max-next":"Max Next", "shortage":"Shortage", "delv":"Delivery", "next-header":"Next", "selloff-accuracy":"Accuracy", "gross":"Gross", "stale-units":"Stale", "priority":"Priority", "inventory-grid-title":"Perpetual Grid", "inventory-chart-title":"Perpetual Chart", "no-display-plan":"No display", "current-order":"New Final Order", "suggested-order":"Suggested Order", "no-suggested-order":"No Suggested Order", "save-btn":"Save", "confirm-btn":"Confirm", "continue-btn":"Continue", "forecast-accuracy":"Forecast Accuracy%", "gross-stale":"Gross Stale%", "false":"False", "true":"True", "new-order-planner":{ "location_name":"Customers", "product_external_id":"Material ID", "product_name":"Description", "tray_count":"Tray Count", "shelf_life":"Shelf Life", "forecast_to_selloff_accuracy":"Fcst Acc %", "avg_week_suggested_order":"Avg S.Ord", "avg_week_final_order":"Fin Ord", "avg_week_delivery":"Delivery", "avg_week_sales":"Sales", "avg_week_returns":"Returns", "gross_stale_units":"Stale %", "total_suggested_order":"Sugg Ord", "final_order":"Final Order", "comment":"Comments", "notifications":"Error", "promos":"Promos", "details_available":"Details Available", "next_order_date":"Next Ord.", "projected_inventory":"Proj. Inv.", "proposed_adjustments":"Prop. Adj.", "initial_order_qty":"Curr. Ord.", "revised_order_qty":"Rev. Ord.", "lateAdjustmentTransform":"Multi-cell edit is not possible during Late Adjustment", "othersAdjustmentTransform":"Multi-cell edit is not possible on non open orders.", "divideByZero":"Cannot divide by zero, Invalid arithmetic operation.", "adjustOrders":"Orders adjusted successfully.", "adjust_orders_state":"", "adjustConfirmTitle":"Adjust Orders", "adjustConfirmMessage":"You have chosen to adjust orders for the selected material and customers. The proposed adjustments will be added to or removed from the current order quantities", "singleAdjustOrdersSelected":"Selection successful.", "singleAdjustOrdersUnSelected":"Deselection successful.", "singleAdjustOrdersError":"Error in updating selections.", "adjustOrdersError":"Error in adjusting orders." }, "proposed-adjustments":"Proposed Adjsutment", "massive-input-error":"Entered value doesn't matches.", "massive-input-label":"order quantity", "header":"Predictive Ordering", "down-time-message": "The system is shutdown for maintenance. You will be notified when the system is up again.", "future-alert-message": "The system will be down between {0} until {1}." } }