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>
437 lines
11 KiB
JSON
437 lines
11 KiB
JSON
{
|
|
"name": "icstp",
|
|
"source_connection": "S78030956",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "cms.icstp",
|
|
"staging_table": "pipekit_staging.icstp",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": "Inventory Cost Master - Purchased Parts 6.1",
|
|
"description": "Current Standard Cost - Purchased",
|
|
"columns": [
|
|
{
|
|
"source_name": "CHPART",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "chpart",
|
|
"dest_type": "text",
|
|
"description": "Part Number"
|
|
},
|
|
{
|
|
"source_name": "CHLUC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chluc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Last Unit Cost"
|
|
},
|
|
{
|
|
"source_name": "CHLCC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chlcc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Last Currency Cost"
|
|
},
|
|
{
|
|
"source_name": "CHLFC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chlfc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Last Freight Cost"
|
|
},
|
|
{
|
|
"source_name": "CHLDC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chldc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Last Duty Cost"
|
|
},
|
|
{
|
|
"source_name": "CHL1C",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chl1c",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Last Multiplier-1 Cost"
|
|
},
|
|
{
|
|
"source_name": "CHL2C",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chl2c",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Last Multiplier-2 Cost"
|
|
},
|
|
{
|
|
"source_name": "CHSUC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chsuc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Standard Unit Cost"
|
|
},
|
|
{
|
|
"source_name": "CHSCC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chscc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Standard Currency Cost"
|
|
},
|
|
{
|
|
"source_name": "CHSFC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chsfc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Standard Freight Cost"
|
|
},
|
|
{
|
|
"source_name": "CHSDC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chsdc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Standard Duty Cost"
|
|
},
|
|
{
|
|
"source_name": "CHS1C",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chs1c",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Standard Multiplier-1 Cost"
|
|
},
|
|
{
|
|
"source_name": "CHS2C",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chs2c",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Standard Multiplier-2 Cost"
|
|
},
|
|
{
|
|
"source_name": "CHSCR",
|
|
"source_type": "DECIMAL(11,6)",
|
|
"dest_name": "chscr",
|
|
"dest_type": "numeric(11,6)",
|
|
"description": "Standard Currency Rate"
|
|
},
|
|
{
|
|
"source_name": "CHLCR",
|
|
"source_type": "DECIMAL(11,6)",
|
|
"dest_name": "chlcr",
|
|
"dest_type": "numeric(11,6)",
|
|
"description": "Last Currency Rate"
|
|
},
|
|
{
|
|
"source_name": "CHSDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "chsdat",
|
|
"dest_type": "date",
|
|
"description": "Standard Date"
|
|
},
|
|
{
|
|
"source_name": "CHSTCS",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chstcs",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Standard Cost"
|
|
},
|
|
{
|
|
"source_name": "CHACCS",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chaccs",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Last Actual Cost"
|
|
},
|
|
{
|
|
"source_name": "CHAVCS",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chavcs",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Average Cost"
|
|
},
|
|
{
|
|
"source_name": "CHSDR",
|
|
"source_type": "NUMERIC(8,4)",
|
|
"dest_name": "chsdr",
|
|
"dest_type": "numeric(8,4)",
|
|
"description": "Standard Duty Rate"
|
|
},
|
|
{
|
|
"source_name": "CHS1R",
|
|
"source_type": "NUMERIC(8,4)",
|
|
"dest_name": "chs1r",
|
|
"dest_type": "numeric(8,4)",
|
|
"description": "Standard Multiplier-1"
|
|
},
|
|
{
|
|
"source_name": "CHS2R",
|
|
"source_type": "NUMERIC(8,4)",
|
|
"dest_name": "chs2r",
|
|
"dest_type": "numeric(8,4)",
|
|
"description": "Standard Multiplier-2"
|
|
},
|
|
{
|
|
"source_name": "CHLDR",
|
|
"source_type": "NUMERIC(8,4)",
|
|
"dest_name": "chldr",
|
|
"dest_type": "numeric(8,4)",
|
|
"description": "Last Duty Rate"
|
|
},
|
|
{
|
|
"source_name": "CHL1R",
|
|
"source_type": "NUMERIC(8,4)",
|
|
"dest_name": "chl1r",
|
|
"dest_type": "numeric(8,4)",
|
|
"description": "Last Multiplier-1"
|
|
},
|
|
{
|
|
"source_name": "CHL2R",
|
|
"source_type": "NUMERIC(8,4)",
|
|
"dest_name": "chl2r",
|
|
"dest_type": "numeric(8,4)",
|
|
"description": "Last Multiplier-2"
|
|
},
|
|
{
|
|
"source_name": "CHSQTY",
|
|
"source_type": "NUMERIC(8,0)",
|
|
"dest_name": "chsqty",
|
|
"dest_type": "numeric(8,0)",
|
|
"description": "Standard Quantity"
|
|
},
|
|
{
|
|
"source_name": "CHAQTY",
|
|
"source_type": "NUMERIC(8,0)",
|
|
"dest_name": "chaqty",
|
|
"dest_type": "numeric(8,0)",
|
|
"description": "Actual Quantity"
|
|
},
|
|
{
|
|
"source_name": "CHTYPE",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "chtype",
|
|
"dest_type": "text",
|
|
"description": "Part Type R"
|
|
},
|
|
{
|
|
"source_name": "CHCURR",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "chcurr",
|
|
"dest_type": "text",
|
|
"description": "Currency Code"
|
|
},
|
|
{
|
|
"source_name": "CHSDWC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chsdwc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Standard Warehouse Cha rge"
|
|
},
|
|
{
|
|
"source_name": "CHACWC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chacwc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Last Warehouse Charge"
|
|
},
|
|
{
|
|
"source_name": "CHPLNT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "chplnt",
|
|
"dest_type": "text",
|
|
"description": "Plant Code"
|
|
},
|
|
{
|
|
"source_name": "CHAVUC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chavuc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Average Unit cost"
|
|
},
|
|
{
|
|
"source_name": "CHAVXC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chavxc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Average Xchg cost"
|
|
},
|
|
{
|
|
"source_name": "CHAVDC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chavdc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Average Duty cost"
|
|
},
|
|
{
|
|
"source_name": "CHAV1C",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chav1c",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Average Multiplier-1 Cost"
|
|
},
|
|
{
|
|
"source_name": "CHAV2C",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chav2c",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Average Multiplier-2 Cost"
|
|
},
|
|
{
|
|
"source_name": "CHAVFC",
|
|
"source_type": "NUMERIC(13,5)",
|
|
"dest_name": "chavfc",
|
|
"dest_type": "numeric(13,5)",
|
|
"description": "Average Freight cost"
|
|
},
|
|
{
|
|
"source_name": "CHFUT1",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "chfut1",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFUT2",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "chfut2",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFUT3",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "chfut3",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFUT4",
|
|
"source_type": "NUMERIC(15,0)",
|
|
"dest_name": "chfut4",
|
|
"dest_type": "numeric(15,0)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFUT5",
|
|
"source_type": "NUMERIC(15,0)",
|
|
"dest_name": "chfut5",
|
|
"dest_type": "numeric(15,0)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFLG1",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "chflg1",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFLG2",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "chflg2",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFLG3",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "chflg3",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFLG4",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "chflg4",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFLG5",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "chflg5",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFLG6",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "chflg6",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFLG7",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "chflg7",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHCRCD",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "chcrcd",
|
|
"dest_type": "text",
|
|
"description": "Last Actual Currency"
|
|
},
|
|
{
|
|
"source_name": "CHFUT6",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "chfut6",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFUT7",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "chfut7",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFUT8",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "chfut8",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFUT9",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "chfut9",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFUT10",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "chfut10",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFUT11",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "chfut11",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFUT12",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "chfut12",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFUT13",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "chfut13",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "CHFUT14",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "chfut14",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": []
|
|
}
|