fixed bug in generate material track rows that would clear user comments and kit demand values
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user