pipekit/config/modules/glie.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

283 lines
7.4 KiB
JSON

{
"name": "glie",
"source_connection": "S78030956",
"dest_connection": "usmidsap02",
"dest_table": "cms.glie",
"staging_table": "pipekit_staging.glie",
"merge_strategy": "full",
"merge_key": null,
"enabled": 1,
"dest_description": "G/L Inventory Expense Accounts 6.1",
"description": "Inventory GL Account Code Configuration",
"columns": [
{
"source_name": "Y1PLNT",
"source_type": "CHAR(3)",
"dest_name": "y1plnt",
"dest_type": "text",
"description": "Plant Code"
},
{
"source_name": "Y1GLEC",
"source_type": "CHAR(3)",
"dest_name": "y1glec",
"dest_type": "text",
"description": "G/L Expense Code"
},
{
"source_name": "Y1INVA",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1inva",
"dest_type": "numeric(10,0)",
"description": "G/L Inventory Account"
},
{
"source_name": "Y1PRVR",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1prvr",
"dest_type": "numeric(10,0)",
"description": "G/L Price Variance"
},
{
"source_name": "Y1USVR",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1usvr",
"dest_type": "numeric(10,0)",
"description": "G/L Usage Variance"
},
{
"source_name": "Y1PADJ",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1padj",
"dest_type": "numeric(10,0)",
"description": "G/L Physical Adjustment"
},
{
"source_name": "Y1RVAL",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1rval",
"dest_type": "numeric(10,0)",
"description": "G/L Inventory Revaluation"
},
{
"source_name": "Y1INTP",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1intp",
"dest_type": "numeric(10,0)",
"description": "G/L Interplant Variance"
},
{
"source_name": "Y1FUT1",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1fut1",
"dest_type": "numeric(10,0)",
"description": "Future Use"
},
{
"source_name": "Y1FUT2",
"source_type": "CHAR(3)",
"dest_name": "y1fut2",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "Y1FUT3",
"source_type": "CHAR(10)",
"dest_name": "y1fut3",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "Y1FUT4",
"source_type": "CHAR(20)",
"dest_name": "y1fut4",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "Y1FUT5",
"source_type": "NUMERIC(15,5)",
"dest_name": "y1fut5",
"dest_type": "numeric(15,5)",
"description": "Future Use"
},
{
"source_name": "Y1FUT6",
"source_type": "NUMERIC(15,5)",
"dest_name": "y1fut6",
"dest_type": "numeric(15,5)",
"description": "Future Use"
},
{
"source_name": "Y1FLG1",
"source_type": "CHAR(1)",
"dest_name": "y1flg1",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "Y1FLG2",
"source_type": "CHAR(1)",
"dest_name": "y1flg2",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "Y1FLG3",
"source_type": "CHAR(1)",
"dest_name": "y1flg3",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "Y1FREX",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1frex",
"dest_type": "numeric(10,0)",
"description": "BOL Freight Expense Acct#"
},
{
"source_name": "Y1SREX",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1srex",
"dest_type": "numeric(10,0)",
"description": "BOL Freight Sur- charge Expense Acc#"
},
{
"source_name": "Y1FRVR",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1frvr",
"dest_type": "numeric(10,0)",
"description": "BOL Freight Variance Acct#"
},
{
"source_name": "Y1SRVR",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1srvr",
"dest_type": "numeric(10,0)",
"description": "BOL Freight Sur- charge Variance Acc#"
},
{
"source_name": "Y1NEGA",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1nega",
"dest_type": "numeric(10,0)",
"description": "Negative Inventory Adjustment"
},
{
"source_name": "Y1RPIR",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1rpir",
"dest_type": "numeric(10,0)",
"description": "Repair GL Account"
},
{
"source_name": "Y1GLM1",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1glm1",
"dest_type": "numeric(10,0)",
"description": "G/L Clearing Account for Multiplier-1"
},
{
"source_name": "Y1GLM2",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1glm2",
"dest_type": "numeric(10,0)",
"description": "G/L Clearing Account for Multiplier-2"
},
{
"source_name": "Y1CLAC",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1clac",
"dest_type": "numeric(10,0)",
"description": "Work Order Option Clearing"
},
{
"source_name": "Y1FUT7",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1fut7",
"dest_type": "numeric(10,0)",
"description": "Future Use"
},
{
"source_name": "Y1FUT8",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1fut8",
"dest_type": "numeric(10,0)",
"description": "Future Use"
},
{
"source_name": "Y1FUT9",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1fut9",
"dest_type": "numeric(10,0)",
"description": "Future Use"
},
{
"source_name": "Y1FUT10",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1fut10",
"dest_type": "numeric(10,0)",
"description": "Future Use"
},
{
"source_name": "Y1FUT11",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1fut11",
"dest_type": "numeric(10,0)",
"description": "Future Use"
},
{
"source_name": "Y1SAAC",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1saac",
"dest_type": "numeric(10,0)",
"description": "Month-End Option Serial Adj"
},
{
"source_name": "Y1BHCL",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1bhcl",
"dest_type": "numeric(10,0)",
"description": "Bill-And-Hold Clearing"
},
{
"source_name": "Y1CBMX",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1cbmx",
"dest_type": "numeric(10,0)",
"description": "Container BOM Part Expense"
},
{
"source_name": "Y1UVLB",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1uvlb",
"dest_type": "numeric(10,0)",
"description": "G/L Usage Variance Labour"
},
{
"source_name": "Y1UVFB",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1uvfb",
"dest_type": "numeric(10,0)",
"description": "G/L Usage Variance Fix Burden"
},
{
"source_name": "Y1UVVB",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1uvvb",
"dest_type": "numeric(10,0)",
"description": "G/L Usage Variance Var Burden"
},
{
"source_name": "Y1UVOTH",
"source_type": "NUMERIC(10,0)",
"dest_name": "y1uvoth",
"dest_type": "numeric(10,0)",
"description": "G/L Usage Variance Other"
}
],
"watermarks": [],
"hooks": []
}