diff --git a/pages/Pending POs - SLx Pending/widgets/Table1.json b/pages/Pending POs - SLx Pending/widgets/Table1.json index e7cd696..6588afa 100644 --- a/pages/Pending POs - SLx Pending/widgets/Table1.json +++ b/pages/Pending POs - SLx Pending/widgets/Table1.json @@ -31,7 +31,22 @@ "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, - "columnOrder": [], + "columnOrder": [ + "matl", + "matl_classocde", + "matl_desc", + "matl_spec", + "qoh", + "po_released", + "po_opened", + "po_closed", + "poitem_due", + "wo_item", + "wo_demanding", + "wo_total_demand", + "uom" + ], + "columnUpdatedAt": 1772194562509, "columnWidthMap": {}, "compactMode": "SHORT", "customIsLoading": false, @@ -51,6 +66,45 @@ }, { "key": "tableData" + }, + { + "key": "primaryColumns.matl.computedValue" + }, + { + "key": "primaryColumns.matl_classocde.computedValue" + }, + { + "key": "primaryColumns.matl_desc.computedValue" + }, + { + "key": "primaryColumns.matl_spec.computedValue" + }, + { + "key": "primaryColumns.qoh.computedValue" + }, + { + "key": "primaryColumns.po_released.computedValue" + }, + { + "key": "primaryColumns.po_opened.computedValue" + }, + { + "key": "primaryColumns.po_closed.computedValue" + }, + { + "key": "primaryColumns.poitem_due.computedValue" + }, + { + "key": "primaryColumns.wo_item.computedValue" + }, + { + "key": "primaryColumns.wo_demanding.computedValue" + }, + { + "key": "primaryColumns.wo_total_demand.computedValue" + }, + { + "key": "primaryColumns.uom.computedValue" } ], "dynamicPropertyPathList": [ @@ -85,7 +139,450 @@ "parentColumnSpace": 11.265625, "parentId": "0", "parentRowSpace": 10, - "primaryColumns": {}, + "primaryColumns": { + "matl": { + "alias": "matl", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl\"])) : matl })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl", + "index": 0, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl", + "notation": "standard", + "originalId": "matl", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "matl_classocde": { + "alias": "matl_classocde", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl_classocde\"])) : matl_classocde })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl_classocde", + "index": 1, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl_classocde", + "notation": "standard", + "originalId": "matl_classocde", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "matl_desc": { + "alias": "matl_desc", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl_desc\"])) : matl_desc })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl_desc", + "index": 2, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl_desc", + "notation": "standard", + "originalId": "matl_desc", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "matl_spec": { + "alias": "matl_spec", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl_spec\"])) : matl_spec })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl_spec", + "index": 3, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl_spec", + "notation": "standard", + "originalId": "matl_spec", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "po_closed": { + "alias": "po_closed", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"po_closed\"])) : po_closed })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "po_closed", + "index": 7, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "po_closed", + "notation": "standard", + "originalId": "po_closed", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "po_opened": { + "alias": "po_opened", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"po_opened\"])) : po_opened })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "po_opened", + "index": 6, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "po_opened", + "notation": "standard", + "originalId": "po_opened", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "po_released": { + "alias": "po_released", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"po_released\"])) : po_released })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "po_released", + "index": 5, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "po_released", + "notation": "standard", + "originalId": "po_released", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "poitem_due": { + "alias": "poitem_due", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "date", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"poitem_due\"])) : poitem_due })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "poitem_due", + "index": 8, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "poitem_due", + "notation": "standard", + "originalId": "poitem_due", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "qoh": { + "alias": "qoh", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"qoh\"])) : qoh })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "qoh", + "index": 4, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "qoh", + "notation": "standard", + "originalId": "qoh", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "uom": { + "alias": "uom", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"uom\"])) : uom })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "uom", + "index": 12, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "uom", + "notation": "standard", + "originalId": "uom", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "wo_demanding": { + "alias": "wo_demanding", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"wo_demanding\"])) : wo_demanding })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "wo_demanding", + "index": 10, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "wo_demanding", + "notation": "standard", + "originalId": "wo_demanding", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "wo_item": { + "alias": "wo_item", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"wo_item\"])) : wo_item })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "wo_item", + "index": 9, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "wo_item", + "notation": "standard", + "originalId": "wo_item", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "wo_total_demand": { + "alias": "wo_total_demand", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"wo_total_demand\"])) : wo_total_demand })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "wo_total_demand", + "index": 11, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "wo_total_demand", + "notation": "standard", + "originalId": "wo_total_demand", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + } + }, "renderMode": "CANVAS", "responsiveBehavior": "fill", "rightColumn": 64, @@ -99,4 +596,4 @@ "verticalAlignment": "CENTER", "widgetId": "pp1table001", "widgetName": "Table1" -} +} \ No newline at end of file