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>
220 lines
5.3 KiB
JSON
220 lines
5.3 KiB
JSON
{
|
|
"name": "methdo",
|
|
"source_connection": "S78030956",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "cms.methdo",
|
|
"staging_table": "pipekit_staging.methdo",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": "Method Detail-Outside Service (O-Record)6.0",
|
|
"description": "Outsource Routings",
|
|
"columns": [
|
|
{
|
|
"source_name": "APTYPE",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aptype",
|
|
"dest_type": "text",
|
|
"description": "Record Type"
|
|
},
|
|
{
|
|
"source_name": "APPART",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "appart",
|
|
"dest_type": "text",
|
|
"description": "Part Number"
|
|
},
|
|
{
|
|
"source_name": "APSEQ#",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "apseq#",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Sequence Number"
|
|
},
|
|
{
|
|
"source_name": "APLIN#",
|
|
"source_type": "NUMERIC(2,0)",
|
|
"dest_name": "aplin#",
|
|
"dest_type": "numeric(2,0)",
|
|
"description": "Line #"
|
|
},
|
|
{
|
|
"source_name": "APVEND",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "apvend",
|
|
"dest_type": "text",
|
|
"description": "Vendor Code"
|
|
},
|
|
{
|
|
"source_name": "APODES",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "apodes",
|
|
"dest_type": "text",
|
|
"description": "O/S Description"
|
|
},
|
|
{
|
|
"source_name": "APBQTY",
|
|
"source_type": "NUMERIC(8,0)",
|
|
"dest_name": "apbqty",
|
|
"dest_type": "numeric(8,0)",
|
|
"description": "Quantity Based On"
|
|
},
|
|
{
|
|
"source_name": "APTIME",
|
|
"source_type": "NUMERIC(5,2)",
|
|
"dest_name": "aptime",
|
|
"dest_type": "numeric(5,2)",
|
|
"description": "Estimated Time"
|
|
},
|
|
{
|
|
"source_name": "APCOST",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "apcost",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Total Cost"
|
|
},
|
|
{
|
|
"source_name": "APFCSI",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "apfcsi",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Freight In Cost/Unit"
|
|
},
|
|
{
|
|
"source_name": "APFCSO",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "apfcso",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Freight Out Cost/Unit"
|
|
},
|
|
{
|
|
"source_name": "APUNCS",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "apuncs",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "O/S Unit Cost"
|
|
},
|
|
{
|
|
"source_name": "APDEPT",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "apdept",
|
|
"dest_type": "text",
|
|
"description": "Production Department Code"
|
|
},
|
|
{
|
|
"source_name": "APRESC",
|
|
"source_type": "CHAR(2)",
|
|
"dest_name": "apresc",
|
|
"dest_type": "text",
|
|
"description": "Resource"
|
|
},
|
|
{
|
|
"source_name": "APFUT1",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "apfut1",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "APFUT2",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "apfut2",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "APFUT3",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "apfut3",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "APFUT4",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "apfut4",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "APFUT5",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "apfut5",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "APFUT6",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "apfut6",
|
|
"dest_type": "text",
|
|
"description": "Pricing Unit"
|
|
},
|
|
{
|
|
"source_name": "APFUT7",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "apfut7",
|
|
"dest_type": "text",
|
|
"description": "Order Unit"
|
|
},
|
|
{
|
|
"source_name": "APFUT8",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "apfut8",
|
|
"dest_type": "text",
|
|
"description": "O/S Currency Code"
|
|
},
|
|
{
|
|
"source_name": "APFUT9",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "apfut9",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "APFUTA",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "apfuta",
|
|
"dest_type": "text",
|
|
"description": "Exchange Rate on OS Cost"
|
|
},
|
|
{
|
|
"source_name": "APFUTB",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "apfutb",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "APFUTC",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "apfutc",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "APFUTD",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "apfutd",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "APFUTE",
|
|
"source_type": "NUMERIC(9,0)",
|
|
"dest_name": "apfute",
|
|
"dest_type": "numeric(9,0)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "APPLNT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "applnt",
|
|
"dest_type": "text",
|
|
"description": "Plant Code"
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": []
|
|
}
|