Filter to active items only, remove Status column, document widget binding rules

- Add WHERE item_active filter to show only active unused items
- Remove Status column from query and table widget
- Add widget binding guidance to AGENTS.md (NUMBER inputs
  cannot use NULLIF pattern due to prepared statement typing)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-23 16:24:41 -05:00
parent ac475d683f
commit 74ff4d6aef
4 changed files with 22 additions and 41 deletions

View File

@@ -35,7 +35,6 @@
"Item Number",
"Description",
"Item Type",
"Status",
"Created By",
"Date Created",
"Last Transaction",
@@ -57,7 +56,6 @@
{"key": "primaryColumns.Item Number.computedValue"},
{"key": "primaryColumns.Description.computedValue"},
{"key": "primaryColumns.Item Type.computedValue"},
{"key": "primaryColumns.Status.computedValue"},
{"key": "primaryColumns.Created By.computedValue"},
{"key": "primaryColumns.Date Created.computedValue"},
{"key": "primaryColumns.Last Transaction.computedValue"},
@@ -187,37 +185,6 @@
"verticalAlignment": "CENTER",
"width": 150
},
"Status": {
"alias": "Status",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Status\"])) : [] })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "Status",
"index": 3,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Status",
"notation": "standard",
"originalId": "Status",
"sticky": "",
"textSize": "0.775rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"Created By": {
"alias": "Created By",
"allowCellWrapping": false,
@@ -230,7 +197,7 @@
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "Created By",
"index": 4,
"index": 3,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
@@ -261,7 +228,7 @@
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "Date Created",
"index": 5,
"index": 4,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
@@ -292,7 +259,7 @@
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "Last Transaction",
"index": 6,
"index": 5,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
@@ -323,7 +290,7 @@
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "Days Unused",
"index": 7,
"index": 6,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,