Add units ordered page
This commit is contained in:
@@ -36,6 +36,10 @@
|
||||
{
|
||||
"id": "Sales - Units Shipped",
|
||||
"isDefault": false
|
||||
},
|
||||
{
|
||||
"id": "Sales - Units Ordered",
|
||||
"isDefault": false
|
||||
}
|
||||
],
|
||||
"unpublishedAppLayout": {
|
||||
|
||||
32
pages/Sales - Units Ordered/Sales - Units Ordered.json
Normal file
32
pages/Sales - Units Ordered/Sales - Units Ordered.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"gitSyncId": "6978a0503f1cbf3622b556da_13c3b8be-1b0f-40d8-a397-78cefb9067d7",
|
||||
"unpublishedPage": {
|
||||
"isHidden": false,
|
||||
"layouts": [
|
||||
{
|
||||
"dsl": {
|
||||
"backgroundColor": "none",
|
||||
"bottomRow": 3330,
|
||||
"canExtend": true,
|
||||
"containerStyle": "none",
|
||||
"detachFromLayout": true,
|
||||
"dynamicBindingPathList": [],
|
||||
"leftColumn": 0,
|
||||
"minHeight": 1540,
|
||||
"parentColumnSpace": 1,
|
||||
"parentRowSpace": 1,
|
||||
"rightColumn": 1224,
|
||||
"snapColumns": 64,
|
||||
"snapRows": 152,
|
||||
"topRow": 0,
|
||||
"type": "CANVAS_WIDGET",
|
||||
"version": 94,
|
||||
"widgetId": "0",
|
||||
"widgetName": "MainContainer"
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "Sales - Units Ordered",
|
||||
"slug": "sales-units-ordered"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"gitSyncId": "6978a0503f1cbf3622b556da_a33c1a5c-f987-4855-97da-8817781be960",
|
||||
"id": "Sales - Units Ordered_units_shipped_by_power_input",
|
||||
"pluginId": "postgres-plugin",
|
||||
"pluginType": "DB",
|
||||
"unpublishedAction": {
|
||||
"actionConfiguration": {
|
||||
"body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \n AND reportpower.charass_target_type = 'SI'\n AND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \n AND reportinput.charass_target_type = 'SI'\n AND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \n AND reportphases.charass_target_type = 'SI'\n AND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND (\n\tNULLIF('{{PowerDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{PowerDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{PowerDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{PowerDateTo.selectedDate}}','')::date\n)\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value",
|
||||
"encodeParamsToggle": true,
|
||||
"paginationType": "NONE",
|
||||
"pluginSpecifiedTemplates": [
|
||||
{
|
||||
"value": true
|
||||
}
|
||||
],
|
||||
"timeoutInMillisecond": 10000
|
||||
},
|
||||
"confirmBeforeExecute": false,
|
||||
"datasource": {
|
||||
"id": "xTuple_Sandbox",
|
||||
"isAutoGenerated": false,
|
||||
"name": "xTuple_Sandbox",
|
||||
"pluginId": "postgres-plugin"
|
||||
},
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "body"
|
||||
}
|
||||
],
|
||||
"name": "units_shipped_by_power_input",
|
||||
"pageId": "Sales - Units Ordered",
|
||||
"runBehaviour": "AUTOMATIC",
|
||||
"userSetOnLoad": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
SELECT
|
||||
CASE WHEN item_number IN ('16688','25020') THEN 'XR Series'
|
||||
WHEN item_number IN ('22351','24952') THEN 'SL Series'
|
||||
WHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'
|
||||
WHEN item_number IN ('17862') THEN 'MS Series'
|
||||
WHEN item_number IN ('17863') THEN 'MT Series'
|
||||
WHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'
|
||||
|
||||
ELSE 'None'
|
||||
END AS "Product",
|
||||
reportpower.charass_value as "Power Output", reportinput.charass_value || ' ' || reportphases.charass_value AS "Input", ROUND(SUM(coitem_qtyord),0) as "Qty Ordered"
|
||||
FROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id
|
||||
LEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id
|
||||
LEFT OUTER JOIN item ON item_id = itemsite_item_id
|
||||
LEFT OUTER JOIN charass AS reportpower ON
|
||||
(coitem_id = reportpower.charass_target_id
|
||||
AND reportpower.charass_target_type = 'SI'
|
||||
AND reportpower.charass_char_id = 25)
|
||||
LEFT OUTER JOIN charass AS reportinput ON
|
||||
(coitem_id = reportinput.charass_target_id
|
||||
AND reportinput.charass_target_type = 'SI'
|
||||
AND reportinput.charass_char_id = 36)
|
||||
LEFT OUTER JOIN charass AS reportphases ON
|
||||
(coitem_id = reportphases.charass_target_id
|
||||
AND reportphases.charass_target_type = 'SI'
|
||||
AND reportphases.charass_char_id = 18)
|
||||
WHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')
|
||||
AND (coitem_status <> 'X')
|
||||
AND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)
|
||||
AND coitem_price != 0
|
||||
AND (
|
||||
NULLIF('{{PowerDateFrom.selectedDate}}','') IS NULL
|
||||
OR NULLIF('{{PowerDateTo.selectedDate}}','') IS NULL
|
||||
OR cohead_orderdate BETWEEN
|
||||
NULLIF('{{PowerDateFrom.selectedDate}}','')::date
|
||||
AND NULLIF('{{PowerDateTo.selectedDate}}','')::date
|
||||
)
|
||||
AND reportpower.charass_value IS NOT NULL
|
||||
GROUP BY reportpower.charass_value, "Product", "Input"
|
||||
ORDER BY "Product", reportpower.charass_value
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"gitSyncId": "6978a0503f1cbf3622b556da_bb85ebfe-2773-4f11-880e-df88217f957d",
|
||||
"id": "Sales - Units Ordered_units_shipped_by_series",
|
||||
"pluginId": "postgres-plugin",
|
||||
"pluginType": "DB",
|
||||
"unpublishedAction": {
|
||||
"actionConfiguration": {
|
||||
"body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \n AND reportpower.charass_target_type = 'SI'\n AND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND reportpower.charass_value IS NOT NULL\nAND (\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{SeriesDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{SeriesDateTo.selectedDate}}','')::date\n)\nGROUP BY \"Product\"\nORDER BY \"Product\"",
|
||||
"encodeParamsToggle": true,
|
||||
"paginationType": "NONE",
|
||||
"pluginSpecifiedTemplates": [
|
||||
{
|
||||
"value": true
|
||||
}
|
||||
],
|
||||
"timeoutInMillisecond": 10000
|
||||
},
|
||||
"confirmBeforeExecute": false,
|
||||
"datasource": {
|
||||
"id": "xTuple_Sandbox",
|
||||
"isAutoGenerated": false,
|
||||
"name": "xTuple_Sandbox",
|
||||
"pluginId": "postgres-plugin"
|
||||
},
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "body"
|
||||
}
|
||||
],
|
||||
"name": "units_shipped_by_series",
|
||||
"pageId": "Sales - Units Ordered",
|
||||
"runBehaviour": "AUTOMATIC",
|
||||
"userSetOnLoad": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
SELECT
|
||||
CASE WHEN item_number IN ('16688','25020') THEN 'XR Series'
|
||||
WHEN item_number IN ('22351','24952') THEN 'SL Series'
|
||||
WHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'
|
||||
WHEN item_number IN ('17862') THEN 'MS Series'
|
||||
WHEN item_number IN ('17863') THEN 'MT Series'
|
||||
WHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'
|
||||
|
||||
ELSE 'None'
|
||||
END AS "Product",
|
||||
ROUND(SUM(coitem_qtyord),0) as "Qty Ordered"
|
||||
FROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id
|
||||
LEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id
|
||||
LEFT OUTER JOIN item ON item_id = itemsite_item_id
|
||||
LEFT OUTER JOIN charass AS reportpower ON
|
||||
(coitem_id = reportpower.charass_target_id
|
||||
AND reportpower.charass_target_type = 'SI'
|
||||
AND reportpower.charass_char_id = 25)
|
||||
WHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')
|
||||
AND (coitem_status <> 'X')
|
||||
AND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)
|
||||
AND coitem_price != 0
|
||||
AND reportpower.charass_value IS NOT NULL
|
||||
AND (
|
||||
NULLIF('{{SeriesDateFrom.selectedDate}}','') IS NULL
|
||||
OR NULLIF('{{SeriesDateTo.selectedDate}}','') IS NULL
|
||||
OR cohead_orderdate BETWEEN
|
||||
NULLIF('{{SeriesDateFrom.selectedDate}}','')::date
|
||||
AND NULLIF('{{SeriesDateTo.selectedDate}}','')::date
|
||||
)
|
||||
GROUP BY "Product"
|
||||
ORDER BY "Product"
|
||||
43
pages/Sales - Units Ordered/widgets/Container1/Button1.json
Normal file
43
pages/Sales - Units Ordered/widgets/Container1/Button1.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "0.375rem",
|
||||
"bottomRow": 8,
|
||||
"boxShadow": "none",
|
||||
"buttonColor": "#ffffff",
|
||||
"buttonVariant": "PRIMARY",
|
||||
"disabledWhenInvalid": false,
|
||||
"dynamicBindingPathList": [],
|
||||
"dynamicTriggerPathList": [
|
||||
{
|
||||
"key": "onClick"
|
||||
}
|
||||
],
|
||||
"isDefaultClickDisabled": true,
|
||||
"isDisabled": false,
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "0k5ucqsuin",
|
||||
"leftColumn": 0,
|
||||
"minWidth": 120,
|
||||
"mobileBottomRow": 8,
|
||||
"mobileLeftColumn": 0,
|
||||
"mobileRightColumn": 16,
|
||||
"mobileTopRow": 4,
|
||||
"needsErrorInfo": false,
|
||||
"onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW');}}",
|
||||
"parentColumnSpace": 3.841796875,
|
||||
"parentId": "wj6fxg5wpg",
|
||||
"parentRowSpace": 10,
|
||||
"placement": "START",
|
||||
"recaptchaType": "V3",
|
||||
"renderMode": "CANVAS",
|
||||
"resetFormOnClick": false,
|
||||
"responsiveBehavior": "hug",
|
||||
"rightColumn": 64,
|
||||
"text": "Capacity Planning",
|
||||
"topRow": 4,
|
||||
"type": "BUTTON_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "oqzyf0e1bi",
|
||||
"widgetName": "Button1"
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "0.375rem",
|
||||
"bottomRow": 12,
|
||||
"boxShadow": "none",
|
||||
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
||||
"buttonVariant": "PRIMARY",
|
||||
"disabledWhenInvalid": false,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "buttonColor"
|
||||
}
|
||||
],
|
||||
"dynamicTriggerPathList": [
|
||||
{
|
||||
"key": "onClick"
|
||||
}
|
||||
],
|
||||
"isDefaultClickDisabled": true,
|
||||
"isDisabled": false,
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "0k5ucqsuin",
|
||||
"leftColumn": 0,
|
||||
"minWidth": 120,
|
||||
"mobileBottomRow": 8,
|
||||
"mobileLeftColumn": 0,
|
||||
"mobileRightColumn": 16,
|
||||
"mobileTopRow": 4,
|
||||
"needsErrorInfo": false,
|
||||
"onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}",
|
||||
"parentColumnSpace": 3.841796875,
|
||||
"parentId": "wj6fxg5wpg",
|
||||
"parentRowSpace": 10,
|
||||
"placement": "START",
|
||||
"recaptchaType": "V3",
|
||||
"renderMode": "CANVAS",
|
||||
"resetFormOnClick": false,
|
||||
"responsiveBehavior": "hug",
|
||||
"rightColumn": 64,
|
||||
"text": "Units Shipped",
|
||||
"topRow": 8,
|
||||
"type": "BUTTON_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "n1t7a2l372",
|
||||
"widgetName": "Button1Copy"
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"borderColor": "#E0DEDE",
|
||||
"borderRadius": "0px",
|
||||
"borderWidth": "1",
|
||||
"bottomRow": 122,
|
||||
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
|
||||
"children": [
|
||||
{
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 1220,
|
||||
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
|
||||
"canExtend": false,
|
||||
"containerStyle": "none",
|
||||
"detachFromLayout": true,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "borderRadius"
|
||||
},
|
||||
{
|
||||
"key": "boxShadow"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "AUTO_HEIGHT",
|
||||
"flexLayers": [],
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "xorz42kdhi",
|
||||
"leftColumn": 0,
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDynamicHeight": 4,
|
||||
"minHeight": 100,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 100,
|
||||
"mobileLeftColumn": 0,
|
||||
"mobileRightColumn": 132.9375,
|
||||
"mobileTopRow": 0,
|
||||
"needsErrorInfo": false,
|
||||
"parentColumnSpace": 1,
|
||||
"parentId": "oi2qb8kxz9",
|
||||
"parentRowSpace": 1,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 132.9375,
|
||||
"topRow": 0,
|
||||
"type": "CANVAS_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "wj6fxg5wpg",
|
||||
"widgetName": "Canvas1Copy"
|
||||
}
|
||||
],
|
||||
"containerStyle": "card",
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "boxShadow"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "FIXED",
|
||||
"dynamicTriggerPathList": [],
|
||||
"flexVerticalAlignment": "stretch",
|
||||
"isCanvas": true,
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "36jaq5m9iy",
|
||||
"leftColumn": 0,
|
||||
"maxDynamicHeight": 12,
|
||||
"minDynamicHeight": 10,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 10,
|
||||
"mobileLeftColumn": 0,
|
||||
"mobileRightColumn": 3,
|
||||
"mobileTopRow": 0,
|
||||
"needsErrorInfo": false,
|
||||
"parentColumnSpace": 44.3125,
|
||||
"parentId": "0",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 9,
|
||||
"shouldScrollContents": true,
|
||||
"topRow": 0,
|
||||
"type": "CONTAINER_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "oi2qb8kxz9",
|
||||
"widgetName": "Container1"
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 4,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "truncateButtonColor"
|
||||
},
|
||||
{
|
||||
"key": "fontFamily"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "AUTO_HEIGHT",
|
||||
"dynamicTriggerPathList": [],
|
||||
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
|
||||
"fontSize": "1rem",
|
||||
"fontStyle": "BOLD",
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "01n8bhu9n6",
|
||||
"leftColumn": 0,
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 6,
|
||||
"mobileLeftColumn": 10,
|
||||
"mobileRightColumn": 26,
|
||||
"mobileTopRow": 2,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 7,
|
||||
"originalTopRow": 0,
|
||||
"overflow": "NONE",
|
||||
"parentColumnSpace": 3.841796875,
|
||||
"parentId": "wj6fxg5wpg",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 64,
|
||||
"shouldTruncate": false,
|
||||
"text": "Sales",
|
||||
"textAlign": "LEFT",
|
||||
"textColor": "#231F20",
|
||||
"topRow": 0,
|
||||
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"type": "TEXT_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "8edga77jlx",
|
||||
"widgetName": "Text1Copy"
|
||||
}
|
||||
52
pages/Sales - Units Ordered/widgets/Heading.json
Normal file
52
pages/Sales - Units Ordered/widgets/Heading.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 5,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "truncateButtonColor"
|
||||
},
|
||||
{
|
||||
"key": "fontFamily"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "AUTO_HEIGHT",
|
||||
"dynamicTriggerPathList": [],
|
||||
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
|
||||
"fontSize": "1.875rem",
|
||||
"fontStyle": "BOLD",
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "pii8e5rbru",
|
||||
"leftColumn": 9,
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 5,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 17,
|
||||
"mobileTopRow": 1,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 5,
|
||||
"originalTopRow": 0,
|
||||
"overflow": "NONE",
|
||||
"parentColumnSpace": 25.109375,
|
||||
"parentId": "0",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 64,
|
||||
"shouldTruncate": false,
|
||||
"text": "Sales - Units Shipped",
|
||||
"textAlign": "LEFT",
|
||||
"textColor": "#231F20",
|
||||
"topRow": 0,
|
||||
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"type": "TEXT_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "250t24g0mo",
|
||||
"widgetName": "Heading"
|
||||
}
|
||||
55
pages/Sales - Units Ordered/widgets/Tabs1/PowerDateFrom.json
Normal file
55
pages/Sales - Units Ordered/widgets/Tabs1/PowerDateFrom.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 7,
|
||||
"boxShadow": "none",
|
||||
"closeOnSelection": true,
|
||||
"dateFormat": "YYYY-MM-DD HH:mm",
|
||||
"datePickerType": "DATE_PICKER",
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "accentColor"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "FIXED",
|
||||
"dynamicTriggerPathList": [],
|
||||
"firstDayOfWeek": 0,
|
||||
"isDisabled": false,
|
||||
"isLoading": false,
|
||||
"isRequired": false,
|
||||
"isVisible": true,
|
||||
"key": "1n4gn1ssf4",
|
||||
"label": "Start Date",
|
||||
"labelAlignment": "left",
|
||||
"labelPosition": "Top",
|
||||
"labelTextSize": "0.875rem",
|
||||
"labelWidth": 5,
|
||||
"leftColumn": 0,
|
||||
"maxDate": "2121-12-31T18:29:00.000Z",
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDate": "1920-12-31T18:30:00.000Z",
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 8,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 21,
|
||||
"mobileTopRow": 1,
|
||||
"needsErrorInfo": false,
|
||||
"parentColumnSpace": 10.263671875,
|
||||
"parentId": "5ghij529ih",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 5,
|
||||
"shortcuts": false,
|
||||
"timePrecision": "minute",
|
||||
"topRow": 0,
|
||||
"type": "DATE_PICKER_WIDGET2",
|
||||
"version": 2,
|
||||
"widgetId": "uflt0124wq",
|
||||
"widgetName": "PowerDateFrom"
|
||||
}
|
||||
55
pages/Sales - Units Ordered/widgets/Tabs1/PowerDateTo.json
Normal file
55
pages/Sales - Units Ordered/widgets/Tabs1/PowerDateTo.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 7,
|
||||
"boxShadow": "none",
|
||||
"closeOnSelection": true,
|
||||
"dateFormat": "YYYY-MM-DD HH:mm",
|
||||
"datePickerType": "DATE_PICKER",
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "accentColor"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "FIXED",
|
||||
"dynamicTriggerPathList": [],
|
||||
"firstDayOfWeek": 0,
|
||||
"isDisabled": false,
|
||||
"isLoading": false,
|
||||
"isRequired": false,
|
||||
"isVisible": true,
|
||||
"key": "1n4gn1ssf4",
|
||||
"label": "End Date",
|
||||
"labelAlignment": "left",
|
||||
"labelPosition": "Top",
|
||||
"labelTextSize": "0.875rem",
|
||||
"labelWidth": 5,
|
||||
"leftColumn": 5,
|
||||
"maxDate": "2121-12-31T18:29:00.000Z",
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDate": "1920-12-31T18:30:00.000Z",
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 8,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 21,
|
||||
"mobileTopRow": 1,
|
||||
"needsErrorInfo": false,
|
||||
"parentColumnSpace": 10.263671875,
|
||||
"parentId": "5ghij529ih",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 10,
|
||||
"shortcuts": false,
|
||||
"timePrecision": "minute",
|
||||
"topRow": 0,
|
||||
"type": "DATE_PICKER_WIDGET2",
|
||||
"version": 2,
|
||||
"widgetId": "w69wh9oixl",
|
||||
"widgetName": "PowerDateTo"
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 7,
|
||||
"boxShadow": "none",
|
||||
"closeOnSelection": true,
|
||||
"dateFormat": "YYYY-MM-DD HH:mm",
|
||||
"datePickerType": "DATE_PICKER",
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "accentColor"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "FIXED",
|
||||
"dynamicTriggerPathList": [],
|
||||
"firstDayOfWeek": 0,
|
||||
"isDisabled": false,
|
||||
"isLoading": false,
|
||||
"isRequired": false,
|
||||
"isVisible": true,
|
||||
"key": "1n4gn1ssf4",
|
||||
"label": "Start Date",
|
||||
"labelAlignment": "left",
|
||||
"labelPosition": "Top",
|
||||
"labelTextSize": "0.875rem",
|
||||
"labelWidth": 5,
|
||||
"leftColumn": 0,
|
||||
"maxDate": "2121-12-31T18:29:00.000Z",
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDate": "1920-12-31T18:30:00.000Z",
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 8,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 21,
|
||||
"mobileTopRow": 1,
|
||||
"needsErrorInfo": false,
|
||||
"parentColumnSpace": 10.263671875,
|
||||
"parentId": "o7m1w5vrow",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 5,
|
||||
"shortcuts": false,
|
||||
"timePrecision": "minute",
|
||||
"topRow": 0,
|
||||
"type": "DATE_PICKER_WIDGET2",
|
||||
"version": 2,
|
||||
"widgetId": "35qo2qtt26",
|
||||
"widgetName": "SeriesDateFrom"
|
||||
}
|
||||
55
pages/Sales - Units Ordered/widgets/Tabs1/SeriesDateTo.json
Normal file
55
pages/Sales - Units Ordered/widgets/Tabs1/SeriesDateTo.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 7,
|
||||
"boxShadow": "none",
|
||||
"closeOnSelection": true,
|
||||
"dateFormat": "YYYY-MM-DD HH:mm",
|
||||
"datePickerType": "DATE_PICKER",
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "accentColor"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "FIXED",
|
||||
"dynamicTriggerPathList": [],
|
||||
"firstDayOfWeek": 0,
|
||||
"isDisabled": false,
|
||||
"isLoading": false,
|
||||
"isRequired": false,
|
||||
"isVisible": true,
|
||||
"key": "1n4gn1ssf4",
|
||||
"label": "End Date",
|
||||
"labelAlignment": "left",
|
||||
"labelPosition": "Top",
|
||||
"labelTextSize": "0.875rem",
|
||||
"labelWidth": 5,
|
||||
"leftColumn": 5,
|
||||
"maxDate": "2121-12-31T18:29:00.000Z",
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDate": "1920-12-31T18:30:00.000Z",
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 8,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 21,
|
||||
"mobileTopRow": 1,
|
||||
"needsErrorInfo": false,
|
||||
"parentColumnSpace": 10.263671875,
|
||||
"parentId": "o7m1w5vrow",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 10,
|
||||
"shortcuts": false,
|
||||
"timePrecision": "minute",
|
||||
"topRow": 0,
|
||||
"type": "DATE_PICKER_WIDGET2",
|
||||
"version": 2,
|
||||
"widgetId": "33mzf7ghwq",
|
||||
"widgetName": "SeriesDateTo"
|
||||
}
|
||||
186
pages/Sales - Units Ordered/widgets/Tabs1/Table1.json
Normal file
186
pages/Sales - Units Ordered/widgets/Tabs1/Table1.json
Normal file
@@ -0,0 +1,186 @@
|
||||
{
|
||||
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"animateLoading": true,
|
||||
"borderColor": "#E0DEDE",
|
||||
"borderRadius": "0.375rem",
|
||||
"borderWidth": "1",
|
||||
"bottomRow": 40,
|
||||
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
|
||||
"cachedTableData": {},
|
||||
"canFreezeColumn": true,
|
||||
"childStylesheet": {
|
||||
"button": {
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"boxShadow": "none",
|
||||
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
|
||||
},
|
||||
"editActions": {
|
||||
"discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"saveButtonColor": "{{appsmith.theme.colors.primaryColor}}"
|
||||
},
|
||||
"iconButton": {
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"boxShadow": "none",
|
||||
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
|
||||
},
|
||||
"menuButton": {
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"boxShadow": "none",
|
||||
"menuColor": "{{appsmith.theme.colors.primaryColor}}"
|
||||
}
|
||||
},
|
||||
"columnOrder": [
|
||||
"Product",
|
||||
"Qty_Ordered"
|
||||
],
|
||||
"columnUpdatedAt": 1768911391236,
|
||||
"columnWidthMap": {
|
||||
"Product": 152
|
||||
},
|
||||
"compactMode": "SHORT",
|
||||
"customIsLoading": false,
|
||||
"customIsLoadingValue": "",
|
||||
"defaultPageSize": 0,
|
||||
"defaultSelectedRowIndex": 0,
|
||||
"defaultSelectedRowIndices": [
|
||||
0
|
||||
],
|
||||
"delimiter": ",",
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "accentColor"
|
||||
},
|
||||
{
|
||||
"key": "boxShadow"
|
||||
},
|
||||
{
|
||||
"key": "tableData"
|
||||
},
|
||||
{
|
||||
"key": "primaryColumns.Product.computedValue"
|
||||
},
|
||||
{
|
||||
"key": "primaryColumns.Qty_Ordered.computedValue"
|
||||
}
|
||||
],
|
||||
"dynamicPropertyPathList": [
|
||||
{
|
||||
"key": "tableData"
|
||||
},
|
||||
{
|
||||
"key": "textSize"
|
||||
}
|
||||
],
|
||||
"dynamicTriggerPathList": [],
|
||||
"enableClientSideSearch": true,
|
||||
"endOfData": false,
|
||||
"flexVerticalAlignment": "start",
|
||||
"horizontalAlignment": "LEFT",
|
||||
"inlineEditingSaveOption": "ROW_LEVEL",
|
||||
"isLoading": false,
|
||||
"isSortable": true,
|
||||
"isVisible": true,
|
||||
"isVisibleDownload": true,
|
||||
"isVisibleFilters": false,
|
||||
"isVisiblePagination": true,
|
||||
"isVisibleSearch": false,
|
||||
"key": "9mn8k38jb0",
|
||||
"label": "Data",
|
||||
"leftColumn": 0,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 33,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 35,
|
||||
"mobileTopRow": 5,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 41,
|
||||
"originalTopRow": 5,
|
||||
"parentColumnSpace": 11.265625,
|
||||
"parentId": "o7m1w5vrow",
|
||||
"parentRowSpace": 10,
|
||||
"primaryColumns": {
|
||||
"Product": {
|
||||
"alias": "Product",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"cellBackground": "",
|
||||
"columnType": "text",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Product\"])) : Product })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"fontStyle": "",
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Product",
|
||||
"index": 0,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Product",
|
||||
"notation": "standard",
|
||||
"originalId": "Product",
|
||||
"sticky": "",
|
||||
"textColor": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"Qty_Ordered": {
|
||||
"alias": "Qty Ordered",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"cellBackground": "",
|
||||
"columnType": "number",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Qty Ordered\"])) : Qty Ordered })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"fontStyle": "",
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Qty_Ordered",
|
||||
"index": 1,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Qty Ordered",
|
||||
"notation": "standard",
|
||||
"originalId": "Qty Ordered",
|
||||
"sticky": "",
|
||||
"textColor": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
}
|
||||
},
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 62,
|
||||
"searchKey": "",
|
||||
"tableData": "{{units_shipped_by_series.data}}",
|
||||
"textSize": "0.775rem",
|
||||
"topRow": 7,
|
||||
"totalRecordsCount": 0,
|
||||
"type": "TABLE_WIDGET_V2",
|
||||
"version": 2,
|
||||
"verticalAlignment": "CENTER",
|
||||
"widgetId": "09qniwp9nt",
|
||||
"widgetName": "Table1"
|
||||
}
|
||||
264
pages/Sales - Units Ordered/widgets/Tabs1/Table1Copy.json
Normal file
264
pages/Sales - Units Ordered/widgets/Tabs1/Table1Copy.json
Normal file
@@ -0,0 +1,264 @@
|
||||
{
|
||||
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"animateLoading": true,
|
||||
"borderColor": "#E0DEDE",
|
||||
"borderRadius": "0.375rem",
|
||||
"borderWidth": "1",
|
||||
"bottomRow": 168,
|
||||
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
|
||||
"cachedTableData": {},
|
||||
"canFreezeColumn": true,
|
||||
"childStylesheet": {
|
||||
"button": {
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"boxShadow": "none",
|
||||
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
|
||||
},
|
||||
"editActions": {
|
||||
"discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"saveButtonColor": "{{appsmith.theme.colors.primaryColor}}"
|
||||
},
|
||||
"iconButton": {
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"boxShadow": "none",
|
||||
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
|
||||
},
|
||||
"menuButton": {
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"boxShadow": "none",
|
||||
"menuColor": "{{appsmith.theme.colors.primaryColor}}"
|
||||
}
|
||||
},
|
||||
"columnOrder": [
|
||||
"Product",
|
||||
"Qty_Ordered",
|
||||
"Power_Output",
|
||||
"Input"
|
||||
],
|
||||
"columnUpdatedAt": 1769094100515,
|
||||
"columnWidthMap": {
|
||||
"Power_Output": 150,
|
||||
"Product": 146,
|
||||
"Qty_Ordered": 130
|
||||
},
|
||||
"compactMode": "SHORT",
|
||||
"customIsLoading": false,
|
||||
"customIsLoadingValue": "",
|
||||
"defaultPageSize": 0,
|
||||
"defaultSelectedRowIndex": 0,
|
||||
"defaultSelectedRowIndices": [
|
||||
0
|
||||
],
|
||||
"delimiter": ",",
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "accentColor"
|
||||
},
|
||||
{
|
||||
"key": "boxShadow"
|
||||
},
|
||||
{
|
||||
"key": "primaryColumns.Product.computedValue"
|
||||
},
|
||||
{
|
||||
"key": "primaryColumns.Qty_Ordered.computedValue"
|
||||
},
|
||||
{
|
||||
"key": "tableData"
|
||||
},
|
||||
{
|
||||
"key": "primaryColumns.Power_Output.computedValue"
|
||||
},
|
||||
{
|
||||
"key": "primaryColumns.Input.computedValue"
|
||||
}
|
||||
],
|
||||
"dynamicPropertyPathList": [
|
||||
{
|
||||
"key": "tableData"
|
||||
},
|
||||
{
|
||||
"key": "textSize"
|
||||
}
|
||||
],
|
||||
"dynamicTriggerPathList": [],
|
||||
"enableClientSideSearch": true,
|
||||
"endOfData": false,
|
||||
"flexVerticalAlignment": "start",
|
||||
"horizontalAlignment": "LEFT",
|
||||
"inlineEditingSaveOption": "ROW_LEVEL",
|
||||
"isLoading": false,
|
||||
"isSortable": true,
|
||||
"isVisible": true,
|
||||
"isVisibleDownload": true,
|
||||
"isVisibleFilters": false,
|
||||
"isVisiblePagination": true,
|
||||
"isVisibleSearch": false,
|
||||
"key": "9mn8k38jb0",
|
||||
"label": "Data",
|
||||
"leftColumn": 0,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 33,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 35,
|
||||
"mobileTopRow": 5,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 42,
|
||||
"originalTopRow": 6,
|
||||
"parentColumnSpace": 11.265625,
|
||||
"parentId": "5ghij529ih",
|
||||
"parentRowSpace": 10,
|
||||
"primaryColumns": {
|
||||
"Input": {
|
||||
"alias": "Input",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"cellBackground": "",
|
||||
"columnType": "text",
|
||||
"computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Input\"])) : Input })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"fontStyle": "",
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Input",
|
||||
"index": 2,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Input",
|
||||
"notation": "standard",
|
||||
"originalId": "Input",
|
||||
"sticky": "",
|
||||
"textColor": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"Power_Output": {
|
||||
"alias": "Power Output",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"cellBackground": "",
|
||||
"columnType": "text",
|
||||
"computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Power Output\"])) : Power Output })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"fontStyle": "",
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Power_Output",
|
||||
"index": 1,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Power Output",
|
||||
"notation": "standard",
|
||||
"originalId": "Power Output",
|
||||
"sticky": "",
|
||||
"textColor": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"Product": {
|
||||
"alias": "Product",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"cellBackground": "",
|
||||
"columnType": "text",
|
||||
"computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Product\"])) : Product })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"fontStyle": "",
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Product",
|
||||
"index": 0,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Product",
|
||||
"notation": "standard",
|
||||
"originalId": "Product",
|
||||
"sticky": "",
|
||||
"textColor": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"Qty_Ordered": {
|
||||
"alias": "Qty Ordered",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"cellBackground": "",
|
||||
"columnType": "number",
|
||||
"computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Qty Ordered\"])) : Qty Ordered })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"fontStyle": "",
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Qty_Ordered",
|
||||
"index": 1,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Qty Shipped",
|
||||
"notation": "standard",
|
||||
"originalId": "Qty Ordered",
|
||||
"sticky": "",
|
||||
"textColor": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
}
|
||||
},
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 61,
|
||||
"searchKey": "",
|
||||
"tableData": "{{units_shipped_by_power_input.data}}",
|
||||
"textSize": "0.775rem",
|
||||
"topRow": 7,
|
||||
"totalRecordsCount": 0,
|
||||
"type": "TABLE_WIDGET_V2",
|
||||
"version": 2,
|
||||
"verticalAlignment": "CENTER",
|
||||
"widgetId": "sxi5n9a1yp",
|
||||
"widgetName": "Table1Copy"
|
||||
}
|
||||
162
pages/Sales - Units Ordered/widgets/Tabs1/Tabs1.json
Normal file
162
pages/Sales - Units Ordered/widgets/Tabs1/Tabs1.json
Normal file
@@ -0,0 +1,162 @@
|
||||
{
|
||||
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"animateLoading": true,
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"borderColor": "#E0DEDE",
|
||||
"borderRadius": "0.375rem",
|
||||
"borderWidth": 1,
|
||||
"bottomRow": 51,
|
||||
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
|
||||
"children": [
|
||||
{
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 420,
|
||||
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
|
||||
"canExtend": true,
|
||||
"detachFromLayout": true,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "borderRadius"
|
||||
},
|
||||
{
|
||||
"key": "boxShadow"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "AUTO_HEIGHT",
|
||||
"dynamicTriggerPathList": [],
|
||||
"flexLayers": [],
|
||||
"isDisabled": false,
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "fye1v5uu19",
|
||||
"leftColumn": 0,
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDynamicHeight": 4,
|
||||
"minHeight": 150,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 150,
|
||||
"mobileLeftColumn": 0,
|
||||
"mobileRightColumn": 602.625,
|
||||
"mobileTopRow": 0,
|
||||
"needsErrorInfo": false,
|
||||
"parentColumnSpace": 1,
|
||||
"parentId": "cgiukoz6f7",
|
||||
"parentRowSpace": 1,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 602.625,
|
||||
"shouldScrollContents": false,
|
||||
"tabId": "tab1",
|
||||
"tabName": "Series",
|
||||
"topRow": 0,
|
||||
"type": "CANVAS_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "o7m1w5vrow",
|
||||
"widgetName": "Canvas1"
|
||||
},
|
||||
{
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 1680,
|
||||
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
|
||||
"canExtend": true,
|
||||
"detachFromLayout": true,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "borderRadius"
|
||||
},
|
||||
{
|
||||
"key": "boxShadow"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "AUTO_HEIGHT",
|
||||
"dynamicTriggerPathList": [],
|
||||
"flexLayers": [],
|
||||
"isDisabled": false,
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "fye1v5uu19",
|
||||
"leftColumn": 0,
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDynamicHeight": 4,
|
||||
"minHeight": 150,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 150,
|
||||
"mobileLeftColumn": 0,
|
||||
"mobileRightColumn": 602.625,
|
||||
"mobileTopRow": 0,
|
||||
"needsErrorInfo": false,
|
||||
"parentColumnSpace": 1,
|
||||
"parentId": "cgiukoz6f7",
|
||||
"parentRowSpace": 1,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 602.625,
|
||||
"shouldScrollContents": false,
|
||||
"tabId": "tab2",
|
||||
"tabName": "Power Level, Input Voltage",
|
||||
"topRow": 0,
|
||||
"type": "CANVAS_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "5ghij529ih",
|
||||
"widgetName": "Canvas2"
|
||||
}
|
||||
],
|
||||
"defaultTab": "By Series",
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "accentColor"
|
||||
},
|
||||
{
|
||||
"key": "boxShadow"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "AUTO_HEIGHT",
|
||||
"dynamicTriggerPathList": [],
|
||||
"flexVerticalAlignment": "stretch",
|
||||
"isCanvas": true,
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "r7d08pu9q8",
|
||||
"leftColumn": 9,
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDynamicHeight": 15,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 76,
|
||||
"mobileLeftColumn": 2,
|
||||
"mobileRightColumn": 26,
|
||||
"mobileTopRow": 61,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 51,
|
||||
"originalTopRow": 5,
|
||||
"parentColumnSpace": 25.109375,
|
||||
"parentId": "0",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 64,
|
||||
"shouldScrollContents": true,
|
||||
"shouldShowTabs": true,
|
||||
"tabsObj": {
|
||||
"tab1": {
|
||||
"id": "tab1",
|
||||
"index": 0,
|
||||
"isVisible": true,
|
||||
"label": "Series",
|
||||
"positioning": "vertical",
|
||||
"widgetId": "o7m1w5vrow"
|
||||
},
|
||||
"tab2": {
|
||||
"id": "tab2",
|
||||
"index": 1,
|
||||
"isVisible": true,
|
||||
"label": "Power Level, Input Voltage",
|
||||
"positioning": "vertical",
|
||||
"widgetId": "5ghij529ih"
|
||||
}
|
||||
},
|
||||
"topRow": 5,
|
||||
"type": "TABS_WIDGET",
|
||||
"version": 3,
|
||||
"widgetId": "cgiukoz6f7",
|
||||
"widgetName": "Tabs1"
|
||||
}
|
||||
52
pages/Sales - Units Ordered/widgets/Text1.json
Normal file
52
pages/Sales - Units Ordered/widgets/Text1.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 333,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "truncateButtonColor"
|
||||
},
|
||||
{
|
||||
"key": "fontFamily"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "AUTO_HEIGHT",
|
||||
"dynamicTriggerPathList": [],
|
||||
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
|
||||
"fontSize": "0.875rem",
|
||||
"fontStyle": "BOLD",
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "aibuaup6p0",
|
||||
"leftColumn": 3,
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 39,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 17,
|
||||
"mobileTopRow": 35,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 333,
|
||||
"originalTopRow": 285,
|
||||
"overflow": "NONE",
|
||||
"parentColumnSpace": 11.265625,
|
||||
"parentId": "0",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 37,
|
||||
"shouldTruncate": false,
|
||||
"text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY \"Product\"\nORDER BY \"Product\"",
|
||||
"textAlign": "LEFT",
|
||||
"textColor": "#231F20",
|
||||
"topRow": 285,
|
||||
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"type": "TEXT_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "2srkyaefvd",
|
||||
"widgetName": "Text1"
|
||||
}
|
||||
52
pages/Sales - Units Ordered/widgets/Text2Copy1.json
Normal file
52
pages/Sales - Units Ordered/widgets/Text2Copy1.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 283,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "truncateButtonColor"
|
||||
},
|
||||
{
|
||||
"key": "fontFamily"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "AUTO_HEIGHT",
|
||||
"dynamicTriggerPathList": [],
|
||||
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
|
||||
"fontSize": "1rem",
|
||||
"fontStyle": "BOLD",
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "aibuaup6p0",
|
||||
"leftColumn": 3,
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 4,
|
||||
"mobileLeftColumn": 4,
|
||||
"mobileRightColumn": 20,
|
||||
"mobileTopRow": 0,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 283,
|
||||
"originalTopRow": 279,
|
||||
"overflow": "NONE",
|
||||
"parentColumnSpace": 11.265625,
|
||||
"parentId": "0",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 31,
|
||||
"shouldTruncate": false,
|
||||
"text": "Units Ordered - By Series",
|
||||
"textAlign": "LEFT",
|
||||
"textColor": "#231F20",
|
||||
"topRow": 279,
|
||||
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"type": "TEXT_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "bz71a9t109",
|
||||
"widgetName": "Text2Copy1"
|
||||
}
|
||||
52
pages/Sales - Units Ordered/widgets/Text2CopyCopy.json
Normal file
52
pages/Sales - Units Ordered/widgets/Text2CopyCopy.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 182,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "truncateButtonColor"
|
||||
},
|
||||
{
|
||||
"key": "fontFamily"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "AUTO_HEIGHT",
|
||||
"dynamicTriggerPathList": [],
|
||||
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
|
||||
"fontSize": "1rem",
|
||||
"fontStyle": "BOLD",
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "aibuaup6p0",
|
||||
"leftColumn": 39,
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 4,
|
||||
"mobileLeftColumn": 4,
|
||||
"mobileRightColumn": 20,
|
||||
"mobileTopRow": 0,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 182,
|
||||
"originalTopRow": 178,
|
||||
"overflow": "NONE",
|
||||
"parentColumnSpace": 11.265625,
|
||||
"parentId": "0",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 64,
|
||||
"shouldTruncate": false,
|
||||
"text": "Units Ordered - By Series",
|
||||
"textAlign": "LEFT",
|
||||
"textColor": "#231F20",
|
||||
"topRow": 178,
|
||||
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"type": "TEXT_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "mri175k85g",
|
||||
"widgetName": "Text2CopyCopy"
|
||||
}
|
||||
52
pages/Sales - Units Ordered/widgets/Text3.json
Normal file
52
pages/Sales - Units Ordered/widgets/Text3.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 249,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "truncateButtonColor"
|
||||
},
|
||||
{
|
||||
"key": "fontFamily"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "AUTO_HEIGHT",
|
||||
"dynamicTriggerPathList": [],
|
||||
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
|
||||
"fontSize": "0.875rem",
|
||||
"fontStyle": "BOLD",
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "aibuaup6p0",
|
||||
"leftColumn": 39,
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 111,
|
||||
"mobileLeftColumn": 39,
|
||||
"mobileRightColumn": 55,
|
||||
"mobileTopRow": 107,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 249,
|
||||
"originalTopRow": 182,
|
||||
"overflow": "NONE",
|
||||
"parentColumnSpace": 11.265625,
|
||||
"parentId": "0",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 63,
|
||||
"shouldTruncate": false,
|
||||
"text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value",
|
||||
"textAlign": "LEFT",
|
||||
"textColor": "#231F20",
|
||||
"topRow": 182,
|
||||
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"type": "TEXT_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "d78hnl6fvy",
|
||||
"widgetName": "Text3"
|
||||
}
|
||||
Reference in New Issue
Block a user