config_io handled dest_description but never the module's own description field: it was absent from export_config, from both repo.create_module and repo.update_module calls in apply_config, and from the change-detection watch tuple. Descriptions set via the web form were therefore invisible to the config tree — `pipekit apply` silently ignored a description in a module's JSON, and `pipekit export` would have dropped all 127 existing ones on a round-trip. Adding "description" to the watch tuple means a module file without the key now reads as a change to NULL, so backfill the key into all 131 existing module files from the DB. Without this, the next apply would have wiped every description it was meant to preserve. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
269 lines
6.8 KiB
JSON
269 lines
6.8 KiB
JSON
{
|
|
"name": "ftcstm",
|
|
"source_connection": "S78030956",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "cms.ftcstm",
|
|
"staging_table": "pipekit_staging.ftcstm",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": "Future Inventory Cost - manufactured 6.0",
|
|
"description": "Future Cost - Manufactured",
|
|
"columns": [
|
|
{
|
|
"source_name": "CNPART",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "cnpart",
|
|
"dest_type": "text",
|
|
"description": "Part Number"
|
|
},
|
|
{
|
|
"source_name": "CNLABS",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnlabs",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Labour Standard"
|
|
},
|
|
{
|
|
"source_name": "CNMATS",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnmats",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Material Standard"
|
|
},
|
|
{
|
|
"source_name": "CNBURS",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnburs",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Burden Standard"
|
|
},
|
|
{
|
|
"source_name": "CNLABA",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnlaba",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Labour Actual"
|
|
},
|
|
{
|
|
"source_name": "CNMATA",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnmata",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Material Actual"
|
|
},
|
|
{
|
|
"source_name": "CNBURA",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnbura",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Burden Actual"
|
|
},
|
|
{
|
|
"source_name": "CNLABV",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnlabv",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Labour Average"
|
|
},
|
|
{
|
|
"source_name": "CNMATV",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnmatv",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Material Average"
|
|
},
|
|
{
|
|
"source_name": "CNBURV",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnburv",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Burden Average"
|
|
},
|
|
{
|
|
"source_name": "CNTPTD",
|
|
"source_type": "DECIMAL(11,0)",
|
|
"dest_name": "cntptd",
|
|
"dest_type": "numeric(11,0)",
|
|
"description": "Total Prod. To Date"
|
|
},
|
|
{
|
|
"source_name": "CNSDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "cnsdat",
|
|
"dest_type": "date",
|
|
"description": "Standard Date"
|
|
},
|
|
{
|
|
"source_name": "CNSTCS",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnstcs",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Standard Cost"
|
|
},
|
|
{
|
|
"source_name": "CNACCS",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnaccs",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Actual Cost"
|
|
},
|
|
{
|
|
"source_name": "CNAVCS",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnavcs",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Average Cost"
|
|
},
|
|
{
|
|
"source_name": "CNSTOC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnstoc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Other Costs (Standard)"
|
|
},
|
|
{
|
|
"source_name": "CNACOC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnacoc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Other Costs (Actual)"
|
|
},
|
|
{
|
|
"source_name": "CNAVOC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnavoc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Other Costs (Average)"
|
|
},
|
|
{
|
|
"source_name": "CNSQTY",
|
|
"source_type": "NUMERIC(8,0)",
|
|
"dest_name": "cnsqty",
|
|
"dest_type": "numeric(8,0)",
|
|
"description": "Standard Quantity"
|
|
},
|
|
{
|
|
"source_name": "CNAQTY",
|
|
"source_type": "NUMERIC(8,0)",
|
|
"dest_name": "cnaqty",
|
|
"dest_type": "numeric(8,0)",
|
|
"description": "Actual Quantity"
|
|
},
|
|
{
|
|
"source_name": "CNPTYP",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "cnptyp",
|
|
"dest_type": "text",
|
|
"description": "Part Type M"
|
|
},
|
|
{
|
|
"source_name": "CNBRFS",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnbrfs",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Burden Standard (Fixed)"
|
|
},
|
|
{
|
|
"source_name": "CNBRVS",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnbrvs",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Burden Standard (Var)"
|
|
},
|
|
{
|
|
"source_name": "CNBRFA",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnbrfa",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Burden Actual (Fixed)"
|
|
},
|
|
{
|
|
"source_name": "CNBRVA",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnbrva",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Burden Actual (Var)"
|
|
},
|
|
{
|
|
"source_name": "CNBRFV",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnbrfv",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Burden Average (Fixed)"
|
|
},
|
|
{
|
|
"source_name": "CNBRVV",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "cnbrvv",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Burden Average (Var)"
|
|
},
|
|
{
|
|
"source_name": "CNPLNT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "cnplnt",
|
|
"dest_type": "text",
|
|
"description": "Plant Code"
|
|
},
|
|
{
|
|
"source_name": "CNFUT1",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "cnfut1",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CNFUT2",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "cnfut2",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CNFUT3",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "cnfut3",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CNFUT4",
|
|
"source_type": "NUMERIC(15,0)",
|
|
"dest_name": "cnfut4",
|
|
"dest_type": "numeric(15,0)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CNFUT5",
|
|
"source_type": "NUMERIC(15,0)",
|
|
"dest_name": "cnfut5",
|
|
"dest_type": "numeric(15,0)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CNFLG1",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "cnflg1",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CNFLG2",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "cnflg2",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CNFLG3",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "cnflg3",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": []
|
|
}
|