pipekit/config/modules/stkr.json
Paul Trowbridge 217177b3a7 Carry module description through config export/apply
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>
2026-09-04 00:05:57 -04:00

486 lines
12 KiB
JSON

{
"name": "stkr",
"source_connection": "S78030956",
"dest_connection": "usmidsap02",
"dest_table": "cms.stkr",
"staging_table": "pipekit_staging.stkr",
"merge_strategy": "full",
"merge_key": null,
"enabled": 1,
"dest_description": "Stock Room Master File 6.0",
"description": null,
"columns": [
{
"source_name": "AXSTKL",
"source_type": "CHAR(6)",
"dest_name": "axstkl",
"dest_type": "text",
"description": "Stock Location"
},
{
"source_name": "AXLOCN",
"source_type": "CHAR(30)",
"dest_name": "axlocn",
"dest_type": "text",
"description": "Location"
},
{
"source_name": "AXLDAT",
"source_type": "DATE",
"dest_name": "axldat",
"dest_type": "date",
"description": "Last Physical Date"
},
{
"source_name": "AXPLNT",
"source_type": "CHAR(3)",
"dest_name": "axplnt",
"dest_type": "text",
"description": "Plant Code"
},
{
"source_name": "AXSTTP",
"source_type": "CHAR(1)",
"dest_name": "axsttp",
"dest_type": "text",
"description": "Location Type"
},
{
"source_name": "AXBK01",
"source_type": "CHAR(5)",
"dest_name": "axbk01",
"dest_type": "text",
"description": "Not Used"
},
{
"source_name": "AXADR1",
"source_type": "CHAR(30)",
"dest_name": "axadr1",
"dest_type": "text",
"description": "Warehouse Address 1"
},
{
"source_name": "AXADR2",
"source_type": "CHAR(30)",
"dest_name": "axadr2",
"dest_type": "text",
"description": "Warehouse Address 2"
},
{
"source_name": "AXADR3",
"source_type": "CHAR(30)",
"dest_name": "axadr3",
"dest_type": "text",
"description": "Warehouse Address 3"
},
{
"source_name": "AXADR4",
"source_type": "CHAR(30)",
"dest_name": "axadr4",
"dest_type": "text",
"description": "Warehouse Address 4"
},
{
"source_name": "AXADR5",
"source_type": "CHAR(30)",
"dest_name": "axadr5",
"dest_type": "text",
"description": "Warehouse Address 5"
},
{
"source_name": "AXADR6",
"source_type": "CHAR(30)",
"dest_name": "axadr6",
"dest_type": "text",
"description": "Warehouse Address 6"
},
{
"source_name": "AXADR7",
"source_type": "CHAR(30)",
"dest_name": "axadr7",
"dest_type": "text",
"description": "Warehouse Address 7"
},
{
"source_name": "AXADR8",
"source_type": "CHAR(30)",
"dest_name": "axadr8",
"dest_type": "text",
"description": "Warehouse Address 8"
},
{
"source_name": "AXADR9",
"source_type": "CHAR(30)",
"dest_name": "axadr9",
"dest_type": "text",
"description": "Warehouse Address 9"
},
{
"source_name": "AXADR10",
"source_type": "CHAR(30)",
"dest_name": "axadr10",
"dest_type": "text",
"description": "Warehouse Address 10"
},
{
"source_name": "AXPOST",
"source_type": "CHAR(10)",
"dest_name": "axpost",
"dest_type": "text",
"description": "Postal Code/ZIP"
},
{
"source_name": "AXCITY",
"source_type": "CHAR(30)",
"dest_name": "axcity",
"dest_type": "text",
"description": "City"
},
{
"source_name": "AXPROV",
"source_type": "CHAR(3)",
"dest_name": "axprov",
"dest_type": "text",
"description": "Province /State Code"
},
{
"source_name": "AXCTRY",
"source_type": "CHAR(3)",
"dest_name": "axctry",
"dest_type": "text",
"description": "Country Code"
},
{
"source_name": "AXTEL",
"source_type": "NUMERIC(10,0)",
"dest_name": "axtel",
"dest_type": "numeric(10,0)",
"description": "Phone Number"
},
{
"source_name": "AXHLD",
"source_type": "CHAR(1)",
"dest_name": "axhld",
"dest_type": "text",
"description": "Held Stock Y/N"
},
{
"source_name": "AXMRP",
"source_type": "CHAR(1)",
"dest_name": "axmrp",
"dest_type": "text",
"description": "Obsoleted"
},
{
"source_name": "AXQCSK",
"source_type": "CHAR(1)",
"dest_name": "axqcsk",
"dest_type": "text",
"description": "QC Stock Room Y/N"
},
{
"source_name": "AXBINC",
"source_type": "CHAR(1)",
"dest_name": "axbinc",
"dest_type": "text",
"description": "Under Bin Control"
},
{
"source_name": "AXFLG1",
"source_type": "CHAR(1)",
"dest_name": "axflg1",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "AXFLG2",
"source_type": "CHAR(1)",
"dest_name": "axflg2",
"dest_type": "text",
"description": "Non-Std Pack SF Check Loc"
},
{
"source_name": "AXFLG3",
"source_type": "CHAR(1)",
"dest_name": "axflg3",
"dest_type": "text",
"description": "ATF/Custom Bonded"
},
{
"source_name": "AXFLG4",
"source_type": "CHAR(1)",
"dest_name": "axflg4",
"dest_type": "text",
"description": "flag4"
},
{
"source_name": "AXTXT1",
"source_type": "CHAR(10)",
"dest_name": "axtxt1",
"dest_type": "text",
"description": "Default Dimension Code"
},
{
"source_name": "AXTXT2",
"source_type": "CHAR(10)",
"dest_name": "axtxt2",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "AXTXT3",
"source_type": "CHAR(10)",
"dest_name": "axtxt3",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "AXTXT4",
"source_type": "CHAR(3)",
"dest_name": "axtxt4",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "AXVLOC",
"source_type": "CHAR(3)",
"dest_name": "axvloc",
"dest_type": "text",
"description": "Visual Location"
},
{
"source_name": "AXSTTY",
"source_type": "CHAR(5)",
"dest_name": "axstty",
"dest_type": "text",
"description": "Storage Type"
},
{
"source_name": "AXXDSL",
"source_type": "CHAR(6)",
"dest_name": "axxdsl",
"dest_type": "text",
"description": "X-Dock Special Loc"
},
{
"source_name": "AXOLOC",
"source_type": "CHAR(6)",
"dest_name": "axoloc",
"dest_type": "text",
"description": "Overflow Location"
},
{
"source_name": "AXFUT1",
"source_type": "CHAR(1)",
"dest_name": "axfut1",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "AXFUT2",
"source_type": "CHAR(1)",
"dest_name": "axfut2",
"dest_type": "text",
"description": "Use In-Transit Loc"
},
{
"source_name": "AXFUT3",
"source_type": "CHAR(1)",
"dest_name": "axfut3",
"dest_type": "text",
"description": "Auto-Receive In-Tran BOL at Target Plant"
},
{
"source_name": "AXFUT4",
"source_type": "CHAR(3)",
"dest_name": "axfut4",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "AXFUT5",
"source_type": "CHAR(3)",
"dest_name": "axfut5",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "AXFUT6",
"source_type": "CHAR(3)",
"dest_name": "axfut6",
"dest_type": "text",
"description": "WTR Recv Auto Detach Master/Mix"
},
{
"source_name": "AXFUT7",
"source_type": "CHAR(10)",
"dest_name": "axfut7",
"dest_type": "text",
"description": "ASN Template Code"
},
{
"source_name": "AXFUT8",
"source_type": "CHAR(10)",
"dest_name": "axfut8",
"dest_type": "text",
"description": "Pick/Put Zone"
},
{
"source_name": "AXFUT9",
"source_type": "CHAR(20)",
"dest_name": "axfut9",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "AXFUT10",
"source_type": "CHAR(30)",
"dest_name": "axfut10",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "AXBHLC",
"source_type": "CHAR(6)",
"dest_name": "axbhlc",
"dest_type": "text",
"description": "Bill-And-Hold Shipping Location"
},
{
"source_name": "AXINUS",
"source_type": "CHAR(1)",
"dest_name": "axinus",
"dest_type": "text",
"description": "In use Code"
},
{
"source_name": "AXIUSR",
"source_type": "CHAR(10)",
"dest_name": "axiusr",
"dest_type": "text",
"description": "In Use By"
},
{
"source_name": "AXPGRP",
"source_type": "CHAR(3)",
"dest_name": "axpgrp",
"dest_type": "text",
"description": "Picker Group"
},
{
"source_name": "AXCNSN",
"source_type": "CHAR(1)",
"dest_name": "axcnsn",
"dest_type": "text",
"description": "Consignment flag"
},
{
"source_name": "AXTMZN",
"source_type": "CHAR(4)",
"dest_name": "axtmzn",
"dest_type": "text",
"description": "Time Zone"
},
{
"source_name": "AXFAX",
"source_type": "CHAR(15)",
"dest_name": "axfax",
"dest_type": "text",
"description": "Fax Number"
},
{
"source_name": "AXEMAL",
"source_type": "CHAR(50)",
"dest_name": "axemal",
"dest_type": "text",
"description": "Email Address"
},
{
"source_name": "AXTPLT",
"source_type": "CHAR(3)",
"dest_name": "axtplt",
"dest_type": "text",
"description": "Transfer-To Plant"
},
{
"source_name": "AXTSTK",
"source_type": "CHAR(6)",
"dest_name": "axtstk",
"dest_type": "text",
"description": "Transfer-To Location"
},
{
"source_name": "AXLEAD",
"source_type": "NUMERIC(5,0)",
"dest_name": "axlead",
"dest_type": "numeric(5,0)",
"description": "Transfer Lead Time"
},
{
"source_name": "AXLTUN",
"source_type": "CHAR(1)",
"dest_name": "axltun",
"dest_type": "text",
"description": "Xfr Lead Time Unit (1-Days, 2-Hours)"
},
{
"source_name": "AXTTME",
"source_type": "NUMERIC(4,0)",
"dest_name": "axttme",
"dest_type": "numeric(4,0)",
"description": "Transfer Receiving Time"
},
{
"source_name": "AXSVIA",
"source_type": "CHAR(30)",
"dest_name": "axsvia",
"dest_type": "text",
"description": "Default Ship Via"
},
{
"source_name": "AXCWTR",
"source_type": "CHAR(1)",
"dest_name": "axcwtr",
"dest_type": "text",
"description": "Auto-Create WTR"
},
{
"source_name": "AXCBOL",
"source_type": "CHAR(1)",
"dest_name": "axcbol",
"dest_type": "text",
"description": "Auto-Create WTR Type BOL"
},
{
"source_name": "AXRBOL",
"source_type": "CHAR(1)",
"dest_name": "axrbol",
"dest_type": "text",
"description": "Auto-Print WTR Type BOL"
},
{
"source_name": "AXPBOL",
"source_type": "CHAR(1)",
"dest_name": "axpbol",
"dest_type": "text",
"description": "Auto-Post WTR Type BOL"
},
{
"source_name": "AXFEED",
"source_type": "CHAR(1)",
"dest_name": "axfeed",
"dest_type": "text",
"description": "Feed Production"
},
{
"source_name": "AXHIN",
"source_type": "CHAR(9)",
"dest_name": "axhin",
"dest_type": "text",
"description": "Health Industry Number"
}
],
"watermarks": [],
"hooks": []
}