From c4a3edece22aee9031c24f0a28545cbd2daedd10 Mon Sep 17 00:00:00 2001 From: "Infineon\\StieberD" Date: Wed, 18 Jun 2025 14:46:22 -0700 Subject: [PATCH] fixed bug in generate material track rows that would clear user comments and kit demand values --- LSL2/STPROC/REPORT_SERVICES.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LSL2/STPROC/REPORT_SERVICES.txt b/LSL2/STPROC/REPORT_SERVICES.txt index cdeb0b7..44c81ed 100644 --- a/LSL2/STPROC/REPORT_SERVICES.txt +++ b/LSL2/STPROC/REPORT_SERVICES.txt @@ -1402,7 +1402,7 @@ end service Service GenerateMaterialTrackRows() - + hSysLists = Database_Services('GetTableHandle', 'SYSLISTS') Lock hSysLists, ServiceKeyID then @@ -1752,7 +1752,7 @@ Service GenerateMaterialTrackRows() Key = Row<0, 1> : '*': Row<0, 3> ; // Key = ReactNo * WONo KeyList<0, -1> = Key Convert @VM to @FM in Row - If RowExists('MATERIAL_TRACK', Key) then + If RowExists('MATERIAL_REPORT', Key) then // Update it Rec = Database_Services('ReadDataRow', 'MATERIAL_REPORT', Key) If Error_Services('NoError') then