Alphabetize Operations nav buttons and fix Awaiting Shipment query

Nav buttons in Operations section now in alphabetical order across all
11 pages: Engineering Holds, External Process, Job Drawing Status,
Unused Items, WO Shortages.

Fixed Awaiting Shipment query:
- Primary focus on manufactured part (the item in stockroom), not finished part
- Added wm_op.womatl_qtyiss < wm_op.womatl_qtyreq filter to exclude
  completed external process cycles (was showing 10-year-old data)
- Removed unreliable date_in_stockroom/days_waiting columns
- Added WO number and manufactured part description columns

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-03 14:52:00 -04:00
parent a9f0e75e1b
commit 52b3c2b1af
58 changed files with 409 additions and 591 deletions

View File

@@ -31,24 +31,22 @@
}
},
"columnOrder": [
"finished_pn",
"finished_desc",
"manufactured_pn",
"manufactured_desc",
"finished_pn",
"ext_labor_pn",
"qty_ready",
"date_in_stockroom",
"days_waiting",
"wo_number",
"expected_vendor",
"wo_demand"
],
"columnWidthMap": {
"manufactured_pn": 120,
"manufactured_desc": 200,
"finished_pn": 100,
"finished_desc": 200,
"manufactured_pn": 100,
"ext_labor_pn": 100,
"qty_ready": 80,
"date_in_stockroom": 120,
"days_waiting": 80,
"wo_number": 110,
"expected_vendor": 150,
"wo_demand": 80
},
@@ -61,13 +59,12 @@
{"key": "accentColor"},
{"key": "boxShadow"},
{"key": "tableData"},
{"key": "primaryColumns.finished_pn.computedValue"},
{"key": "primaryColumns.finished_desc.computedValue"},
{"key": "primaryColumns.manufactured_pn.computedValue"},
{"key": "primaryColumns.manufactured_desc.computedValue"},
{"key": "primaryColumns.finished_pn.computedValue"},
{"key": "primaryColumns.ext_labor_pn.computedValue"},
{"key": "primaryColumns.qty_ready.computedValue"},
{"key": "primaryColumns.date_in_stockroom.computedValue"},
{"key": "primaryColumns.days_waiting.computedValue"},
{"key": "primaryColumns.wo_number.computedValue"},
{"key": "primaryColumns.expected_vendor.computedValue"},
{"key": "primaryColumns.wo_demand.computedValue"}
],
@@ -94,56 +91,6 @@
"parentId": "ep1cnvstab2",
"parentRowSpace": 10,
"primaryColumns": {
"finished_pn": {
"alias": "finished_pn",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "text",
"computedValue": "{{(() => { const tableData = ep1tblawait.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"finished_pn\"])) : finished_pn })()}}",
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "finished_pn",
"index": 0,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isEditable": false,
"isVisible": true,
"label": "finished_pn",
"originalId": "finished_pn",
"sticky": "",
"textSize": "0.775rem",
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"finished_desc": {
"alias": "finished_desc",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "text",
"computedValue": "{{(() => { const tableData = ep1tblawait.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"finished_desc\"])) : finished_desc })()}}",
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "finished_desc",
"index": 1,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isEditable": false,
"isVisible": true,
"label": "finished_desc",
"originalId": "finished_desc",
"sticky": "",
"textSize": "0.775rem",
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"manufactured_pn": {
"alias": "manufactured_pn",
"allowCellWrapping": false,
@@ -154,7 +101,7 @@
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "manufactured_pn",
"index": 2,
"index": 0,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
@@ -169,6 +116,56 @@
"verticalAlignment": "CENTER",
"width": 150
},
"manufactured_desc": {
"alias": "manufactured_desc",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "text",
"computedValue": "{{(() => { const tableData = ep1tblawait.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"manufactured_desc\"])) : manufactured_desc })()}}",
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "manufactured_desc",
"index": 1,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isEditable": false,
"isVisible": true,
"label": "manufactured_desc",
"originalId": "manufactured_desc",
"sticky": "",
"textSize": "0.775rem",
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"finished_pn": {
"alias": "finished_pn",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "text",
"computedValue": "{{(() => { const tableData = ep1tblawait.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"finished_pn\"])) : finished_pn })()}}",
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "finished_pn",
"index": 2,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isEditable": false,
"isVisible": true,
"label": "finished_pn",
"originalId": "finished_pn",
"sticky": "",
"textSize": "0.775rem",
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"ext_labor_pn": {
"alias": "ext_labor_pn",
"allowCellWrapping": false,
@@ -219,16 +216,16 @@
"verticalAlignment": "CENTER",
"width": 150
},
"date_in_stockroom": {
"alias": "date_in_stockroom",
"wo_number": {
"alias": "wo_number",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "text",
"computedValue": "{{(() => { const tableData = ep1tblawait.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"date_in_stockroom\"])) : date_in_stockroom })()}}",
"computedValue": "{{(() => { const tableData = ep1tblawait.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"wo_number\"])) : wo_number })()}}",
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "date_in_stockroom",
"id": "wo_number",
"index": 5,
"isCellEditable": false,
"isCellVisible": true,
@@ -236,33 +233,8 @@
"isDisabled": false,
"isEditable": false,
"isVisible": true,
"label": "date_in_stockroom",
"originalId": "date_in_stockroom",
"sticky": "",
"textSize": "0.775rem",
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"days_waiting": {
"alias": "days_waiting",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "number",
"computedValue": "{{(() => { const tableData = ep1tblawait.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"days_waiting\"])) : days_waiting })()}}",
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "days_waiting",
"index": 6,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isEditable": false,
"isVisible": true,
"label": "days_waiting",
"originalId": "days_waiting",
"label": "wo_number",
"originalId": "wo_number",
"sticky": "",
"textSize": "0.775rem",
"validation": {},
@@ -279,7 +251,7 @@
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "expected_vendor",
"index": 7,
"index": 6,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
@@ -304,7 +276,7 @@
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "wo_demand",
"index": 8,
"index": 7,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,