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>
143 lines
3.6 KiB
JSON
143 lines
3.6 KiB
JSON
{
|
|
"name": "armasc",
|
|
"source_connection": "S78030956",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "cms.armasc",
|
|
"staging_table": "pipekit_staging.armasc",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": "A/R Master Codes File - Sales Codes 6.0",
|
|
"description": "Sales GL Account Configuration",
|
|
"columns": [
|
|
{
|
|
"source_name": "ZWCODE",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "zwcode",
|
|
"dest_type": "text",
|
|
"description": "Record C"
|
|
},
|
|
{
|
|
"source_name": "ZWCOMP",
|
|
"source_type": "NUMERIC(2,0)",
|
|
"dest_name": "zwcomp",
|
|
"dest_type": "numeric(2,0)",
|
|
"description": "Company Number"
|
|
},
|
|
{
|
|
"source_name": "ZWKEY1",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "zwkey1",
|
|
"dest_type": "text",
|
|
"description": "A/R Bank Code"
|
|
},
|
|
{
|
|
"source_name": "ZWKEY2",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "zwkey2",
|
|
"dest_type": "text",
|
|
"description": "G/L Sales Code"
|
|
},
|
|
{
|
|
"source_name": "ZWFIL1",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "zwfil1",
|
|
"dest_type": "text",
|
|
"description": "Fill"
|
|
},
|
|
{
|
|
"source_name": "ZWSAL#",
|
|
"source_type": "NUMERIC(12,0)",
|
|
"dest_name": "zwsal#",
|
|
"dest_type": "numeric(12,0)",
|
|
"description": "Sale G/L Account"
|
|
},
|
|
{
|
|
"source_name": "ZWELB#",
|
|
"source_type": "NUMERIC(12,0)",
|
|
"dest_name": "zwelb#",
|
|
"dest_type": "numeric(12,0)",
|
|
"description": "COS Labour"
|
|
},
|
|
{
|
|
"source_name": "ZWINV#",
|
|
"source_type": "NUMERIC(12,0)",
|
|
"dest_name": "zwinv#",
|
|
"dest_type": "numeric(12,0)",
|
|
"description": "Short Term Deferred Service Sales"
|
|
},
|
|
{
|
|
"source_name": "ZWDSC#",
|
|
"source_type": "NUMERIC(12,0)",
|
|
"dest_name": "zwdsc#",
|
|
"dest_type": "numeric(12,0)",
|
|
"description": "Discount G/L Account"
|
|
},
|
|
{
|
|
"source_name": "ZWEXB#",
|
|
"source_type": "NUMERIC(12,0)",
|
|
"dest_name": "zwexb#",
|
|
"dest_type": "numeric(12,0)",
|
|
"description": "COS Burden (Var)"
|
|
},
|
|
{
|
|
"source_name": "ZWEXM#",
|
|
"source_type": "NUMERIC(12,0)",
|
|
"dest_name": "zwexm#",
|
|
"dest_type": "numeric(12,0)",
|
|
"description": "COS Material"
|
|
},
|
|
{
|
|
"source_name": "ZWEXO#",
|
|
"source_type": "NUMERIC(12,0)",
|
|
"dest_name": "zwexo#",
|
|
"dest_type": "numeric(12,0)",
|
|
"description": "COS Other"
|
|
},
|
|
{
|
|
"source_name": "ZWFRT#",
|
|
"source_type": "NUMERIC(12,0)",
|
|
"dest_name": "zwfrt#",
|
|
"dest_type": "numeric(12,0)",
|
|
"description": "Prepaid Freight"
|
|
},
|
|
{
|
|
"source_name": "ZWDEP#",
|
|
"source_type": "NUMERIC(12,0)",
|
|
"dest_name": "zwdep#",
|
|
"dest_type": "numeric(12,0)",
|
|
"description": "Long Term Deferred Service Sales"
|
|
},
|
|
{
|
|
"source_name": "ZWFIL2",
|
|
"source_type": "CHAR(394)",
|
|
"dest_name": "zwfil2",
|
|
"dest_type": "text",
|
|
"description": "Not Used"
|
|
},
|
|
{
|
|
"source_name": "ZWEXBF",
|
|
"source_type": "NUMERIC(12,0)",
|
|
"dest_name": "zwexbf",
|
|
"dest_type": "numeric(12,0)",
|
|
"description": "COS Burden (Fixed)"
|
|
},
|
|
{
|
|
"source_name": "ZWWCOS",
|
|
"source_type": "NUMERIC(12,0)",
|
|
"dest_name": "zwwcos",
|
|
"dest_type": "numeric(12,0)",
|
|
"description": "Deferred Sales (Bill By Order)"
|
|
},
|
|
{
|
|
"source_name": "ZWPLNT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "zwplnt",
|
|
"dest_type": "text",
|
|
"description": "Plant Code"
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": []
|
|
}
|