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>
325 lines
8.1 KiB
JSON
325 lines
8.1 KiB
JSON
{
|
|
"name": "methdr",
|
|
"source_connection": "S78030956",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "cms.methdr",
|
|
"staging_table": "pipekit_staging.methdr",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": "Method Detail - Routings (R-Record) 6.1",
|
|
"description": "Machine Routings",
|
|
"columns": [
|
|
{
|
|
"source_name": "AOTYPE",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aotype",
|
|
"dest_type": "text",
|
|
"description": "Record Type"
|
|
},
|
|
{
|
|
"source_name": "AOPART",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "aopart",
|
|
"dest_type": "text",
|
|
"description": "Part Number"
|
|
},
|
|
{
|
|
"source_name": "AOSEQ#",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "aoseq#",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Sequence Number"
|
|
},
|
|
{
|
|
"source_name": "AOLIN#",
|
|
"source_type": "NUMERIC(2,0)",
|
|
"dest_name": "aolin#",
|
|
"dest_type": "numeric(2,0)",
|
|
"description": "Line #"
|
|
},
|
|
{
|
|
"source_name": "AODEPT",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "aodept",
|
|
"dest_type": "text",
|
|
"description": "Production Department Code"
|
|
},
|
|
{
|
|
"source_name": "AORESC",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "aoresc",
|
|
"dest_type": "text",
|
|
"description": "Resource Code"
|
|
},
|
|
{
|
|
"source_name": "AOOPNM",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "aoopnm",
|
|
"dest_type": "text",
|
|
"description": "Operation Code"
|
|
},
|
|
{
|
|
"source_name": "AOSETP",
|
|
"source_type": "NUMERIC(8,2)",
|
|
"dest_name": "aosetp",
|
|
"dest_type": "numeric(8,2)",
|
|
"description": "Setup Standard"
|
|
},
|
|
{
|
|
"source_name": "AORUNS",
|
|
"source_type": "NUMERIC(10,4)",
|
|
"dest_name": "aoruns",
|
|
"dest_type": "numeric(10,4)",
|
|
"description": "Schedule Run Standard"
|
|
},
|
|
{
|
|
"source_name": "AORTYP",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aortyp",
|
|
"dest_type": "text",
|
|
"description": "Run Type"
|
|
},
|
|
{
|
|
"source_name": "AOSCRW",
|
|
"source_type": "NUMERIC(2,0)",
|
|
"dest_name": "aoscrw",
|
|
"dest_type": "numeric(2,0)",
|
|
"description": "Setup Crew"
|
|
},
|
|
{
|
|
"source_name": "AOREPP",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aorepp",
|
|
"dest_type": "text",
|
|
"description": "Reporting Point"
|
|
},
|
|
{
|
|
"source_name": "AOLAGT",
|
|
"source_type": "NUMERIC(8,2)",
|
|
"dest_name": "aolagt",
|
|
"dest_type": "numeric(8,2)",
|
|
"description": "Lag Time"
|
|
},
|
|
{
|
|
"source_name": "AOTBTH",
|
|
"source_type": "NUMERIC(8,0)",
|
|
"dest_name": "aotbth",
|
|
"dest_type": "numeric(8,0)",
|
|
"description": "Transfer Batch"
|
|
},
|
|
{
|
|
"source_name": "AOUNIT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "aounit",
|
|
"dest_type": "text",
|
|
"description": "Std. Units"
|
|
},
|
|
{
|
|
"source_name": "AOPRC#",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "aoprc#",
|
|
"dest_type": "text",
|
|
"description": "Process #"
|
|
},
|
|
{
|
|
"source_name": "AOEFF",
|
|
"source_type": "NUMERIC(5,2)",
|
|
"dest_name": "aoeff",
|
|
"dest_type": "numeric(5,2)",
|
|
"description": "Efficiency Percentage"
|
|
},
|
|
{
|
|
"source_name": "AOBK03",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "aobk03",
|
|
"dest_type": "text",
|
|
"description": "Sched Priority Group"
|
|
},
|
|
{
|
|
"source_name": "AO#MEN",
|
|
"source_type": "NUMERIC(2,0)",
|
|
"dest_name": "ao#men",
|
|
"dest_type": "numeric(2,0)",
|
|
"description": "Number Of Men"
|
|
},
|
|
{
|
|
"source_name": "AO#MCH",
|
|
"source_type": "NUMERIC(2,0)",
|
|
"dest_name": "ao#mch",
|
|
"dest_type": "numeric(2,0)",
|
|
"description": "Number Of Machines"
|
|
},
|
|
{
|
|
"source_name": "AOEFC1",
|
|
"source_type": "NUMERIC(15,9)",
|
|
"dest_name": "aoefc1",
|
|
"dest_type": "numeric(15,9)",
|
|
"description": "Efficiency Factor Before Seq"
|
|
},
|
|
{
|
|
"source_name": "AOEFC2",
|
|
"source_type": "NUMERIC(15,9)",
|
|
"dest_name": "aoefc2",
|
|
"dest_type": "numeric(15,9)",
|
|
"description": "Efficiency Factor After Seq"
|
|
},
|
|
{
|
|
"source_name": "AOBK04",
|
|
"source_type": "CHAR(8)",
|
|
"dest_name": "aobk04",
|
|
"dest_type": "text",
|
|
"description": "AOBK04"
|
|
},
|
|
{
|
|
"source_name": "AOCTME",
|
|
"source_type": "NUMERIC(5,2)",
|
|
"dest_name": "aoctme",
|
|
"dest_type": "numeric(5,2)",
|
|
"description": "Cycle Time (Sec/Part)"
|
|
},
|
|
{
|
|
"source_name": "AOMULT",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "aomult",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Multiple Parts"
|
|
},
|
|
{
|
|
"source_name": "AOCNOR",
|
|
"source_type": "NUMERIC(5,0)",
|
|
"dest_name": "aocnor",
|
|
"dest_type": "numeric(5,0)",
|
|
"description": "Concurrent Resources"
|
|
},
|
|
{
|
|
"source_name": "AOBCDR",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "aobcdr",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Burden Rate Factor"
|
|
},
|
|
{
|
|
"source_name": "AOFUT1",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aofut1",
|
|
"dest_type": "text",
|
|
"description": "(MRP) Create REPP By Tfr Batch Qty"
|
|
},
|
|
{
|
|
"source_name": "AOFUT2",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aofut2",
|
|
"dest_type": "text",
|
|
"description": "Standard Cost Rollup By Tfr Batch Qty"
|
|
},
|
|
{
|
|
"source_name": "AOFUT3",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "aofut3",
|
|
"dest_type": "text",
|
|
"description": "Expected Receipt Created By Trf Batch & Run Rate"
|
|
},
|
|
{
|
|
"source_name": "AOFUT4",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "aofut4",
|
|
"dest_type": "text",
|
|
"description": "Future Use 4"
|
|
},
|
|
{
|
|
"source_name": "AOFUT5",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "aofut5",
|
|
"dest_type": "text",
|
|
"description": "Future Use 5"
|
|
},
|
|
{
|
|
"source_name": "AOFUT6",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "aofut6",
|
|
"dest_type": "text",
|
|
"description": "Future Use 6"
|
|
},
|
|
{
|
|
"source_name": "AOFUT7",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "aofut7",
|
|
"dest_type": "text",
|
|
"description": "Future Use 7"
|
|
},
|
|
{
|
|
"source_name": "AOFUT8",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "aofut8",
|
|
"dest_type": "text",
|
|
"description": "Future Use 8"
|
|
},
|
|
{
|
|
"source_name": "AOFUT9",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "aofut9",
|
|
"dest_type": "text",
|
|
"description": "Future Use 9"
|
|
},
|
|
{
|
|
"source_name": "AOFUTA",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "aofuta",
|
|
"dest_type": "text",
|
|
"description": "Future Use A"
|
|
},
|
|
{
|
|
"source_name": "AOFUTB",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "aofutb",
|
|
"dest_type": "text",
|
|
"description": "Future Use B"
|
|
},
|
|
{
|
|
"source_name": "AOFUTC",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "aofutc",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Costing Run Standard"
|
|
},
|
|
{
|
|
"source_name": "AOFUTD",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "aofutd",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Theoretical Run Rate"
|
|
},
|
|
{
|
|
"source_name": "AOFUTE",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "aofute",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use E"
|
|
},
|
|
{
|
|
"source_name": "AOFUTF",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "aofutf",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use F"
|
|
},
|
|
{
|
|
"source_name": "AOPLNT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "aoplnt",
|
|
"dest_type": "text",
|
|
"description": "Plant Code"
|
|
},
|
|
{
|
|
"source_name": "AOSMCH",
|
|
"source_type": "NUMERIC(2,0)",
|
|
"dest_name": "aosmch",
|
|
"dest_type": "numeric(2,0)",
|
|
"description": "SetUp Number Machine"
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": []
|
|
}
|