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