fixed bug in generate material track rows that would clear user comments and kit demand values

This commit is contained in:
Infineon\StieberD
2025-06-18 14:46:22 -07:00
parent 273b7f67a6
commit c4a3edece2

View File

@ -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