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>
458 lines
11 KiB
JSON
458 lines
11 KiB
JSON
{
|
|
"name": "resre",
|
|
"source_connection": "S78030956",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "cms.resre",
|
|
"staging_table": "pipekit_staging.resre",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": "Resource Master File (Equipment) 6.1",
|
|
"description": "Resource Master",
|
|
"columns": [
|
|
{
|
|
"source_name": "ABTYPE",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "abtype",
|
|
"dest_type": "text",
|
|
"description": "Always E"
|
|
},
|
|
{
|
|
"source_name": "ABDEPT",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "abdept",
|
|
"dest_type": "text",
|
|
"description": "Production Department Code"
|
|
},
|
|
{
|
|
"source_name": "ABRESC",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "abresc",
|
|
"dest_type": "text",
|
|
"description": "Resource Code"
|
|
},
|
|
{
|
|
"source_name": "ABDES",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "abdes",
|
|
"dest_type": "text",
|
|
"description": "Resource Name"
|
|
},
|
|
{
|
|
"source_name": "ABBRDR",
|
|
"source_type": "NUMERIC(8,2)",
|
|
"dest_name": "abbrdr",
|
|
"dest_type": "numeric(8,2)",
|
|
"description": "Fixed Burden Rate"
|
|
},
|
|
{
|
|
"source_name": "ABCAPT",
|
|
"source_type": "NUMERIC(4,2)",
|
|
"dest_name": "abcapt",
|
|
"dest_type": "numeric(4,2)",
|
|
"description": "Resource Capacity"
|
|
},
|
|
{
|
|
"source_name": "ABCREW",
|
|
"source_type": "NUMERIC(2,0)",
|
|
"dest_name": "abcrew",
|
|
"dest_type": "numeric(2,0)",
|
|
"description": "Default Crew Size"
|
|
},
|
|
{
|
|
"source_name": "ABBRDP",
|
|
"source_type": "NUMERIC(4,0)",
|
|
"dest_name": "abbrdp",
|
|
"dest_type": "numeric(4,0)",
|
|
"description": "Fixed Burden %"
|
|
},
|
|
{
|
|
"source_name": "ABBLNK",
|
|
"source_type": "CHAR(2)",
|
|
"dest_name": "abblnk",
|
|
"dest_type": "text",
|
|
"description": "Not Used"
|
|
},
|
|
{
|
|
"source_name": "ABSTIM",
|
|
"source_type": "TIME",
|
|
"dest_name": "abstim",
|
|
"dest_type": "time",
|
|
"description": "Starting Time"
|
|
},
|
|
{
|
|
"source_name": "ABMACG",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "abmacg",
|
|
"dest_type": "text",
|
|
"description": "Machine Group"
|
|
},
|
|
{
|
|
"source_name": "ABRDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "abrdat",
|
|
"dest_type": "date",
|
|
"description": "Last Report Date"
|
|
},
|
|
{
|
|
"source_name": "ABRTIM",
|
|
"source_type": "TIME",
|
|
"dest_name": "abrtim",
|
|
"dest_type": "time",
|
|
"description": "Last Report Time"
|
|
},
|
|
{
|
|
"source_name": "ABTMZN",
|
|
"source_type": "CHAR(4)",
|
|
"dest_name": "abtmzn",
|
|
"dest_type": "text",
|
|
"description": "Time Zone Code"
|
|
},
|
|
{
|
|
"source_name": "ABSCHD",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "abschd",
|
|
"dest_type": "text",
|
|
"description": "Schedule Resc"
|
|
},
|
|
{
|
|
"source_name": "ABFINS",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "abfins",
|
|
"dest_type": "text",
|
|
"description": "Finitely Sched Type"
|
|
},
|
|
{
|
|
"source_name": "ABLABS",
|
|
"source_type": "NUMERIC(8,2)",
|
|
"dest_name": "ablabs",
|
|
"dest_type": "numeric(8,2)",
|
|
"description": "Set-up Labour Rate"
|
|
},
|
|
{
|
|
"source_name": "ABLABR",
|
|
"source_type": "NUMERIC(8,2)",
|
|
"dest_name": "ablabr",
|
|
"dest_type": "numeric(8,2)",
|
|
"description": "Run Labour Rate"
|
|
},
|
|
{
|
|
"source_name": "ABVBRD",
|
|
"source_type": "NUMERIC(8,2)",
|
|
"dest_name": "abvbrd",
|
|
"dest_type": "numeric(8,2)",
|
|
"description": "Variable Burden Rate"
|
|
},
|
|
{
|
|
"source_name": "ABFRML",
|
|
"source_type": "CHAR(6)",
|
|
"dest_name": "abfrml",
|
|
"dest_type": "text",
|
|
"description": "Def Loc To Draw Inv From"
|
|
},
|
|
{
|
|
"source_name": "ABRCVL",
|
|
"source_type": "CHAR(6)",
|
|
"dest_name": "abrcvl",
|
|
"dest_type": "text",
|
|
"description": "Def Loc To Recv Inv To"
|
|
},
|
|
{
|
|
"source_name": "ABUTLP",
|
|
"source_type": "NUMERIC(5,2)",
|
|
"dest_name": "abutlp",
|
|
"dest_type": "numeric(5,2)",
|
|
"description": "Utilization Percentage"
|
|
},
|
|
{
|
|
"source_name": "ABBDVP",
|
|
"source_type": "NUMERIC(4,0)",
|
|
"dest_name": "abbdvp",
|
|
"dest_type": "numeric(4,0)",
|
|
"description": "Variable Burden %"
|
|
},
|
|
{
|
|
"source_name": "ABWPDR",
|
|
"source_type": "CHAR(6)",
|
|
"dest_name": "abwpdr",
|
|
"dest_type": "text",
|
|
"description": "WIP Draw From"
|
|
},
|
|
{
|
|
"source_name": "ABWPRV",
|
|
"source_type": "CHAR(6)",
|
|
"dest_name": "abwprv",
|
|
"dest_type": "text",
|
|
"description": "WIP Receive To"
|
|
},
|
|
{
|
|
"source_name": "ABCDRC",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "abcdrc",
|
|
"dest_type": "text",
|
|
"description": "Cost Driver Code"
|
|
},
|
|
{
|
|
"source_name": "ABCDRF",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "abcdrf",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Driver Rate Fixed Burden"
|
|
},
|
|
{
|
|
"source_name": "ABCDRV",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "abcdrv",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Driver Rate Variable Burden"
|
|
},
|
|
{
|
|
"source_name": "ABCDUM",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "abcdum",
|
|
"dest_type": "text",
|
|
"description": "Driver Rate Unit"
|
|
},
|
|
{
|
|
"source_name": "ABUSLF",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "abuslf",
|
|
"dest_type": "text",
|
|
"description": "Use Labour Fixed"
|
|
},
|
|
{
|
|
"source_name": "ABUSLV",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "abuslv",
|
|
"dest_type": "text",
|
|
"description": "Use Labour Variable"
|
|
},
|
|
{
|
|
"source_name": "ABPLNT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "abplnt",
|
|
"dest_type": "text",
|
|
"description": "Plant Code"
|
|
},
|
|
{
|
|
"source_name": "ABFUT1",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "abfut1",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABFUT2",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "abfut2",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABWSFI",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "abwsfi",
|
|
"dest_type": "text",
|
|
"description": "HMI Event Feature Id"
|
|
},
|
|
{
|
|
"source_name": "ABFUT3",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "abfut3",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABFUT4",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "abfut4",
|
|
"dest_type": "text",
|
|
"description": "Mattec Resource code"
|
|
},
|
|
{
|
|
"source_name": "ABFUT5",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "abfut5",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABFUT6",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "abfut6",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Maximum Size"
|
|
},
|
|
{
|
|
"source_name": "ABFUT7",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "abfut7",
|
|
"dest_type": "text",
|
|
"description": "Maximum Size Unit"
|
|
},
|
|
{
|
|
"source_name": "ABFUT8",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "abfut8",
|
|
"dest_type": "text",
|
|
"description": "Mattec Resource"
|
|
},
|
|
{
|
|
"source_name": "ABFUT9",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "abfut9",
|
|
"dest_type": "text",
|
|
"description": "Constraint Type"
|
|
},
|
|
{
|
|
"source_name": "ABFUTA",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "abfuta",
|
|
"dest_type": "text",
|
|
"description": "Mattec Speed Type"
|
|
},
|
|
{
|
|
"source_name": "ABFUTB",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "abfutb",
|
|
"dest_type": "text",
|
|
"description": "Post Batch Reporting"
|
|
},
|
|
{
|
|
"source_name": "ABFUTC",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "abfutc",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABDBR",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "abdbr",
|
|
"dest_type": "text",
|
|
"description": "DBR Resource"
|
|
},
|
|
{
|
|
"source_name": "ABDBUF",
|
|
"source_type": "NUMERIC(5,2)",
|
|
"dest_name": "abdbuf",
|
|
"dest_type": "numeric(5,2)",
|
|
"description": "DBR Safety Buffer"
|
|
},
|
|
{
|
|
"source_name": "ABSLTP",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "absltp",
|
|
"dest_type": "text",
|
|
"description": "Spec. Tolerance Type"
|
|
},
|
|
{
|
|
"source_name": "ABLSL",
|
|
"source_type": "NUMERIC(5,2)",
|
|
"dest_name": "ablsl",
|
|
"dest_type": "numeric(5,2)",
|
|
"description": "Lower Spec. Tolerance"
|
|
},
|
|
{
|
|
"source_name": "ABUSL",
|
|
"source_type": "NUMERIC(5,2)",
|
|
"dest_name": "abusl",
|
|
"dest_type": "numeric(5,2)",
|
|
"description": "Upper Spec. Tolerance"
|
|
},
|
|
{
|
|
"source_name": "ABNPF",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "abnpf",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Non-production Limit Factor"
|
|
},
|
|
{
|
|
"source_name": "ABFUT10",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "abfut10",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABFUT11",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "abfut11",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABFUT12",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "abfut12",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABFUT13",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "abfut13",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABFUT14",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "abfut14",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABFUT15",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "abfut15",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABFUT16",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "abfut16",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABFUT17",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "abfut17",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABFUT18",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "abfut18",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "ABVKTR",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "abvktr",
|
|
"dest_type": "text",
|
|
"description": "Virtual Kanban Time-On-Hand Range Code"
|
|
},
|
|
{
|
|
"source_name": "ABVKTY",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "abvkty",
|
|
"dest_type": "text",
|
|
"description": "Virtual Kanban Type"
|
|
},
|
|
{
|
|
"source_name": "ABMCOA",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "abmcoa",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Machine Overall Efficiency"
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": []
|
|
}
|