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>
311 lines
7.5 KiB
JSON
311 lines
7.5 KiB
JSON
{
|
|
"name": "depts",
|
|
"source_connection": "S78030956",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "cms.depts",
|
|
"staging_table": "pipekit_staging.depts",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": "Department Master File 6.1",
|
|
"description": "Production Departments and Burden Rates",
|
|
"columns": [
|
|
{
|
|
"source_name": "AADEPT",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "aadept",
|
|
"dest_type": "text",
|
|
"description": "Production Department Code"
|
|
},
|
|
{
|
|
"source_name": "AABLNK",
|
|
"source_type": "CHAR(8)",
|
|
"dest_name": "aablnk",
|
|
"dest_type": "text",
|
|
"description": "AABLNK"
|
|
},
|
|
{
|
|
"source_name": "AADNME",
|
|
"source_type": "CHAR(25)",
|
|
"dest_name": "aadnme",
|
|
"dest_type": "text",
|
|
"description": "Department Name"
|
|
},
|
|
{
|
|
"source_name": "AASTDR",
|
|
"source_type": "NUMERIC(8,2)",
|
|
"dest_name": "aastdr",
|
|
"dest_type": "numeric(8,2)",
|
|
"description": "Default Labour Rate"
|
|
},
|
|
{
|
|
"source_name": "AABRDR",
|
|
"source_type": "NUMERIC(8,2)",
|
|
"dest_name": "aabrdr",
|
|
"dest_type": "numeric(8,2)",
|
|
"description": "Default Fixed Burden Rate"
|
|
},
|
|
{
|
|
"source_name": "AAMACH",
|
|
"source_type": "NUMERIC(2,0)",
|
|
"dest_name": "aamach",
|
|
"dest_type": "numeric(2,0)",
|
|
"description": "Default # of Mach."
|
|
},
|
|
{
|
|
"source_name": "AABRDP",
|
|
"source_type": "NUMERIC(4,0)",
|
|
"dest_name": "aabrdp",
|
|
"dest_type": "numeric(4,0)",
|
|
"description": "Default Fixed Burden %"
|
|
},
|
|
{
|
|
"source_name": "AADFTC",
|
|
"source_type": "NUMERIC(4,2)",
|
|
"dest_name": "aadftc",
|
|
"dest_type": "numeric(4,2)",
|
|
"description": "Default Capacity"
|
|
},
|
|
{
|
|
"source_name": "AASTIM",
|
|
"source_type": "TIME",
|
|
"dest_name": "aastim",
|
|
"dest_type": "time",
|
|
"description": "Starting Time"
|
|
},
|
|
{
|
|
"source_name": "AAVBRD",
|
|
"source_type": "NUMERIC(8,2)",
|
|
"dest_name": "aavbrd",
|
|
"dest_type": "numeric(8,2)",
|
|
"description": "Default Variable Burden Rate"
|
|
},
|
|
{
|
|
"source_name": "AAFRML",
|
|
"source_type": "CHAR(6)",
|
|
"dest_name": "aafrml",
|
|
"dest_type": "text",
|
|
"description": "Draw Loc."
|
|
},
|
|
{
|
|
"source_name": "AARCVL",
|
|
"source_type": "CHAR(6)",
|
|
"dest_name": "aarcvl",
|
|
"dest_type": "text",
|
|
"description": "Receive Loc."
|
|
},
|
|
{
|
|
"source_name": "AAINSP",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "aainsp",
|
|
"dest_type": "text",
|
|
"description": "Default Inspector Code"
|
|
},
|
|
{
|
|
"source_name": "AAPLNT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "aaplnt",
|
|
"dest_type": "text",
|
|
"description": "Plant Code"
|
|
},
|
|
{
|
|
"source_name": "AAOSRV",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aaosrv",
|
|
"dest_type": "text",
|
|
"description": "Outside Service"
|
|
},
|
|
{
|
|
"source_name": "AAVBRP",
|
|
"source_type": "NUMERIC(4,0)",
|
|
"dest_name": "aavbrp",
|
|
"dest_type": "numeric(4,0)",
|
|
"description": "Default Variable Burden %"
|
|
},
|
|
{
|
|
"source_name": "AAWPDR",
|
|
"source_type": "CHAR(6)",
|
|
"dest_name": "aawpdr",
|
|
"dest_type": "text",
|
|
"description": "WIP Draw From"
|
|
},
|
|
{
|
|
"source_name": "AAWPRV",
|
|
"source_type": "CHAR(6)",
|
|
"dest_name": "aawprv",
|
|
"dest_type": "text",
|
|
"description": "WIP Receive To"
|
|
},
|
|
{
|
|
"source_name": "AAMAXH",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "aamaxh",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Maximum Hours /Day"
|
|
},
|
|
{
|
|
"source_name": "AAUSLF",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aauslf",
|
|
"dest_type": "text",
|
|
"description": "Use Labour Fixed"
|
|
},
|
|
{
|
|
"source_name": "AAUSLV",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aauslv",
|
|
"dest_type": "text",
|
|
"description": "Use Labour Variable"
|
|
},
|
|
{
|
|
"source_name": "AACUSR",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "aacusr",
|
|
"dest_type": "text",
|
|
"description": "Created By User"
|
|
},
|
|
{
|
|
"source_name": "AACDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "aacdat",
|
|
"dest_type": "date",
|
|
"description": "Date Created"
|
|
},
|
|
{
|
|
"source_name": "AACTIM",
|
|
"source_type": "TIME",
|
|
"dest_name": "aactim",
|
|
"dest_type": "time",
|
|
"description": "Time Created"
|
|
},
|
|
{
|
|
"source_name": "AAUUSR",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "aauusr",
|
|
"dest_type": "text",
|
|
"description": "Updated By User"
|
|
},
|
|
{
|
|
"source_name": "AAUDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "aaudat",
|
|
"dest_type": "date",
|
|
"description": "Date Updated"
|
|
},
|
|
{
|
|
"source_name": "AAUTIM",
|
|
"source_type": "TIME",
|
|
"dest_name": "aautim",
|
|
"dest_type": "time",
|
|
"description": "Time Updated"
|
|
},
|
|
{
|
|
"source_name": "AAFUT1",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "aafut1",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "AAFUT2",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "aafut2",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "AAFUT3",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "aafut3",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "AAFUT4",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "aafut4",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "AAFUT5",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "aafut5",
|
|
"dest_type": "text",
|
|
"description": "Mattec Dept code"
|
|
},
|
|
{
|
|
"source_name": "AAFUT6",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "aafut6",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "AAFUT7",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "aafut7",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "AAFLG1",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aaflg1",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "AAFLG2",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aaflg2",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "AAFLG3",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aaflg3",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "AAFLG4",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aaflg4",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "AAFLG5",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aaflg5",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "AAVCOD",
|
|
"source_type": "CHAR(2)",
|
|
"dest_name": "aavcod",
|
|
"dest_type": "text",
|
|
"description": "Visible Dept"
|
|
},
|
|
{
|
|
"source_name": "AALBPST",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aalbpst",
|
|
"dest_type": "text",
|
|
"description": "Auto Post Labour centric Batches"
|
|
},
|
|
{
|
|
"source_name": "AAVRPR",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aavrpr",
|
|
"dest_type": "text",
|
|
"description": "Vendor Reports Prod."
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": []
|
|
}
|