From c073e7011418bc7e613e821b7746ab53ca0e2573 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 27 Jul 2026 10:09:52 -0400 Subject: [PATCH] Fix _custom_sales_line_connector map: dest_names to match table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Five dest_names in the column map were junk from a crude source-name sanitizer (ext._price, margin__, _hd_grower, ext._cost, ext._margin_dollar) and didn't match the physical gp table's clean names (ext_price, margin_pct, hd_grower, ext_cost, ext_margin_dollar). The load is positional so this was harmless for years — until the new dest-table preflight's name check started (correctly) flagging the drift and failing the daily run. Align the map to the table. Co-Authored-By: Claude Opus 4.8 --- config/modules/_custom_sales_line_connector.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/modules/_custom_sales_line_connector.json b/config/modules/_custom_sales_line_connector.json index 3eca0df..6ff06ba 100644 --- a/config/modules/_custom_sales_line_connector.json +++ b/config/modules/_custom_sales_line_connector.json @@ -96,7 +96,7 @@ { "source_name": "_HD_Grower", "source_type": "VARCHAR(5)", - "dest_name": "_hd_grower", + "dest_name": "hd_grower", "dest_type": "text", "description": null }, @@ -187,7 +187,7 @@ { "source_name": "Ext. Price", "source_type": "NUMERIC(38,7)", - "dest_name": "ext._price", + "dest_name": "ext_price", "dest_type": "numeric(38,7)", "description": null }, @@ -201,7 +201,7 @@ { "source_name": "Ext. Cost", "source_type": "NUMERIC(38,9)", - "dest_name": "ext._cost", + "dest_name": "ext_cost", "dest_type": "numeric(38,9)", "description": null }, @@ -215,14 +215,14 @@ { "source_name": "Ext. Margin Dollar", "source_type": "NUMERIC(38,7)", - "dest_name": "ext._margin_dollar", + "dest_name": "ext_margin_dollar", "dest_type": "numeric(38,7)", "description": null }, { "source_name": "Margin %", "source_type": "NVARCHAR(4000)", - "dest_name": "margin__", + "dest_name": "margin_pct", "dest_type": "text", "description": null },