52 lines
3.0 KiB
JSON
52 lines
3.0 KiB
JSON
{
|
|
"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"
|
|
} |