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>
283 lines
7.0 KiB
JSON
283 lines
7.0 KiB
JSON
{
|
|
"name": "sach",
|
|
"source_connection": "S78030956",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "cms.sach",
|
|
"staging_table": "pipekit_staging.sach",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": "Sales Channel Master",
|
|
"description": "Price Level Master Codes",
|
|
"columns": [
|
|
{
|
|
"source_name": "BK7CODE",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "bk7code",
|
|
"dest_type": "text",
|
|
"description": "Sales Channel"
|
|
},
|
|
{
|
|
"source_name": "BK7DES1",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "bk7des1",
|
|
"dest_type": "text",
|
|
"description": "Sales Channel Description 1"
|
|
},
|
|
{
|
|
"source_name": "BK7DES2",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "bk7des2",
|
|
"dest_type": "text",
|
|
"description": "Sales Channel Description 2"
|
|
},
|
|
{
|
|
"source_name": "BK7DES3",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "bk7des3",
|
|
"dest_type": "text",
|
|
"description": "Sales Channel Description 3"
|
|
},
|
|
{
|
|
"source_name": "BK7TRAD",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "bk7trad",
|
|
"dest_type": "text",
|
|
"description": "Trading Company"
|
|
},
|
|
{
|
|
"source_name": "BK7CARC",
|
|
"source_type": "CHAR(17)",
|
|
"dest_name": "bk7carc",
|
|
"dest_type": "text",
|
|
"description": "Optional Default Carrier Code"
|
|
},
|
|
{
|
|
"source_name": "BK7SERC",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "bk7serc",
|
|
"dest_type": "text",
|
|
"description": "Optional Default Service Code"
|
|
},
|
|
{
|
|
"source_name": "BK7CUSR",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "bk7cusr",
|
|
"dest_type": "text",
|
|
"description": "Created By User"
|
|
},
|
|
{
|
|
"source_name": "BK7CDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "bk7cdat",
|
|
"dest_type": "date",
|
|
"description": "Date Created"
|
|
},
|
|
{
|
|
"source_name": "BK7CTME",
|
|
"source_type": "TIME",
|
|
"dest_name": "bk7ctme",
|
|
"dest_type": "time",
|
|
"description": "Time Created"
|
|
},
|
|
{
|
|
"source_name": "BK7UUSR",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "bk7uusr",
|
|
"dest_type": "text",
|
|
"description": "Updated By User"
|
|
},
|
|
{
|
|
"source_name": "BK7UDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "bk7udat",
|
|
"dest_type": "date",
|
|
"description": "Date Updated"
|
|
},
|
|
{
|
|
"source_name": "BK7UTME",
|
|
"source_type": "TIME",
|
|
"dest_name": "bk7utme",
|
|
"dest_type": "time",
|
|
"description": "Time Updated"
|
|
},
|
|
{
|
|
"source_name": "BK7SNDAT",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "bk7sndat",
|
|
"dest_type": "text",
|
|
"description": "Send Avatax"
|
|
},
|
|
{
|
|
"source_name": "BK7FUT01",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "bk7fut01",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "BK7FUT02",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "bk7fut02",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "BK7FUT03",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "bk7fut03",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "BK7FUT04",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "bk7fut04",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "BK7FUT05",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "bk7fut05",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "BK7FUT06",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "bk7fut06",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "BK7FUT07",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "bk7fut07",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "BK7FUT08",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "bk7fut08",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "BK7FUT09",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "bk7fut09",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "BK7FUT10",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "bk7fut10",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "BK7DBUY",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "bk7dbuy",
|
|
"dest_type": "text",
|
|
"description": "Default Direct Buy"
|
|
},
|
|
{
|
|
"source_name": "BK7DBAC",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "bk7dbac",
|
|
"dest_type": "text",
|
|
"description": "Default Direct Buy Action"
|
|
},
|
|
{
|
|
"source_name": "BK7PROM",
|
|
"source_type": "CHAR(35)",
|
|
"dest_name": "bk7prom",
|
|
"dest_type": "text",
|
|
"description": "Default Promotion Number"
|
|
},
|
|
{
|
|
"source_name": "BK7OTYP",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "bk7otyp",
|
|
"dest_type": "text",
|
|
"description": "Default Order Type"
|
|
},
|
|
{
|
|
"source_name": "BK7AVAC",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "bk7avac",
|
|
"dest_type": "text",
|
|
"description": "Check Available Quantity"
|
|
},
|
|
{
|
|
"source_name": "BK7QTHR",
|
|
"source_type": "CHAR(2)",
|
|
"dest_name": "bk7qthr",
|
|
"dest_type": "text",
|
|
"description": "Quantity Not Available Hold Reason"
|
|
},
|
|
{
|
|
"source_name": "BK7APPV",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "bk7appv",
|
|
"dest_type": "text",
|
|
"description": "Approval Required"
|
|
},
|
|
{
|
|
"source_name": "BK7APPD",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "bk7appd",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Pre-Approved Amount"
|
|
},
|
|
{
|
|
"source_name": "BK7APHR",
|
|
"source_type": "CHAR(2)",
|
|
"dest_name": "bk7aphr",
|
|
"dest_type": "text",
|
|
"description": "Pending Approval Hold Reason"
|
|
},
|
|
{
|
|
"source_name": "BK7PLCD",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "bk7plcd",
|
|
"dest_type": "text",
|
|
"description": "Override Price List Code"
|
|
},
|
|
{
|
|
"source_name": "BK7EDIS",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "bk7edis",
|
|
"dest_type": "text",
|
|
"description": "Extra Discount/Charge Accepted"
|
|
},
|
|
{
|
|
"source_name": "BK7EXPO",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "bk7expo",
|
|
"dest_type": "text",
|
|
"description": "Default Expedited Order"
|
|
},
|
|
{
|
|
"source_name": "BK7F0PR",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "bk7f0pr",
|
|
"dest_type": "text",
|
|
"description": "Force 0 Price"
|
|
},
|
|
{
|
|
"source_name": "BK7PRTY",
|
|
"source_type": "NUMERIC(1,0)",
|
|
"dest_name": "bk7prty",
|
|
"dest_type": "numeric(1,0)",
|
|
"description": "Default Priority"
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": []
|
|
}
|