31 lines
2.1 KiB
JSON
31 lines
2.1 KiB
JSON
{
|
|
"gitSyncId": "e3b197954c324fb2bd7ad792_9a7ecca0-7bb5-4333-b63b-31e18ce7810c",
|
|
"id": "xGen_xgen_firmware_shipped",
|
|
"pluginId": "postgres-plugin",
|
|
"pluginType": "DB",
|
|
"unpublishedAction": {
|
|
"actionConfiguration": {
|
|
"body": "SELECT testhist_id AS id,\n wo_number || '-' || wo_subnumber || '-' || testhist_product_id AS wo,\n testhist_testwith_version AS firmware_version,\n testhist_testwith_buildinfo_id AS firmware_build_id,\n MAX(CASE\n WHEN (char_name = 'M/S') AND charass_value LIKE 'MS%' THEN 'true'\n ELSE NULL\n END) AS multimodule,\n MAX(CASE\n WHEN (char_name = 'Series') THEN charass_value\n ELSE NULL\n END) AS product_type,\n MAX(CASE\n WHEN (char_name = 'Configuration-Product') THEN charass_value\n ELSE NULL\n END) AS product_config,\n to_char(testhist_timestamp, 'YYYY-MM-DD') AS date\nFROM wo\n LEFT JOIN charass ON wo_id = charass_target_id\n JOIN char ON charass_char_id = char_id\n JOIN itemsite ON wo_itemsite_id = itemsite_id\n JOIN item ON itemsite.itemsite_item_id = item.item_id\n JOIN mpe.testhist ON wo_id = mpe.testhist.testhist_wo_id\nWHERE char_name IN ('Series', 'M/S', 'Configuration-Product')\n AND testhist_testwith_item_number = '28207'\nGROUP BY wo_number,\n wo_subnumber,\n testhist_testwith_version,\n testhist_id,\n testhist_product_id,\n testhist_testwith_buildinfo_id\nORDER By id DESC\n",
|
|
"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": "xgen_firmware_shipped",
|
|
"pageId": "xGen",
|
|
"runBehaviour": "AUTOMATIC",
|
|
"userSetOnLoad": false
|
|
}
|
|
} |