From 42ab26abbf4f11970c4b2487836e6132b6423fb2 Mon Sep 17 00:00:00 2001 From: bleeson Date: Fri, 31 Oct 2025 14:49:56 -0700 Subject: [PATCH] TC uses CA for cases when it can't use the item translation table. --- source_logistics_amazon_856_SOTPI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source_logistics_amazon_856_SOTPI.py b/source_logistics_amazon_856_SOTPI.py index 395f4e4..ee7f878 100644 --- a/source_logistics_amazon_856_SOTPI.py +++ b/source_logistics_amazon_856_SOTPI.py @@ -474,7 +474,8 @@ def get_line_information( ,'' as [UPC] ,'' as [ISBN] ,'' as [GTIN] - ,[ITM].[SAU_0] + ,case [ITM].[SAU_0] when 'CS' then 'CA' + else [ITM].[SAU_0] end [SAU_0] ,coalesce([STL].[SHL_0], 100) as [SHL_0] ,case coalesce([STL].[SHLUOM_0], 2) when 2 then 'Months'