31 lines
1.5 KiB
JSON
31 lines
1.5 KiB
JSON
{
|
|
"gitSyncId": "71b0a243f2204f70b77372a5_74f2c3a6-7ee8-4966-bdf0-741c727ce4e1",
|
|
"id": "Operations - Engineering Holds_engineering_holds",
|
|
"pluginId": "postgres-plugin",
|
|
"pluginType": "DB",
|
|
"unpublishedAction": {
|
|
"actionConfiguration": {
|
|
"body": "SELECT COALESCE(wo.wo_number || '-' || wo.wo_subnumber, '-') AS wo,\n item_descrip1 AS descrip,\n comment_user AS user,\n comment_text AS comment,\n comment_date AS date\nFROM wo\nJOIN comment ON wo_id = comment_source_id AND comment_source = 'W' AND comment_cmnttype_id = 23\nJOIN itemsite ON wo_itemsite_id = itemsite_id\nJOIN item on item_id = itemsite_item_id\nWHERE wo_status = 'I'\n AND NOT EXISTS (\n SELECT 1\n FROM comment c2\n WHERE c2.comment_source_id = wo.wo_id \n AND c2.comment_source = 'W' \n AND c2.comment_cmnttype_id = 23\n AND c2.comment_text LIKE '%Done%'\n )\nORDER BY comment_date",
|
|
"encodeParamsToggle": true,
|
|
"paginationType": "NONE",
|
|
"pluginSpecifiedTemplates": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"timeoutInMillisecond": 10000
|
|
},
|
|
"confirmBeforeExecute": false,
|
|
"datasource": {
|
|
"id": "xTuple_GoLive",
|
|
"isAutoGenerated": false,
|
|
"name": "xTuple_GoLive",
|
|
"pluginId": "postgres-plugin"
|
|
},
|
|
"dynamicBindingPathList": [],
|
|
"name": "engineering_holds",
|
|
"pageId": "Operations - Engineering Holds",
|
|
"runBehaviour": "AUTOMATIC",
|
|
"userSetOnLoad": false
|
|
}
|
|
} |