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()
|
Service GenerateMaterialTrackRows()
|
||||||
|
|
||||||
hSysLists = Database_Services('GetTableHandle', 'SYSLISTS')
|
hSysLists = Database_Services('GetTableHandle', 'SYSLISTS')
|
||||||
Lock hSysLists, ServiceKeyID then
|
Lock hSysLists, ServiceKeyID then
|
||||||
|
|
||||||
@ -1752,7 +1752,7 @@ Service GenerateMaterialTrackRows()
|
|||||||
Key = Row<0, 1> : '*': Row<0, 3> ; // Key = ReactNo * WONo
|
Key = Row<0, 1> : '*': Row<0, 3> ; // Key = ReactNo * WONo
|
||||||
KeyList<0, -1> = Key
|
KeyList<0, -1> = Key
|
||||||
Convert @VM to @FM in Row
|
Convert @VM to @FM in Row
|
||||||
If RowExists('MATERIAL_TRACK', Key) then
|
If RowExists('MATERIAL_REPORT', Key) then
|
||||||
// Update it
|
// Update it
|
||||||
Rec = Database_Services('ReadDataRow', 'MATERIAL_REPORT', Key)
|
Rec = Database_Services('ReadDataRow', 'MATERIAL_REPORT', Key)
|
||||||
If Error_Services('NoError') then
|
If Error_Services('NoError') then
|
||||||
|
Reference in New Issue
Block a user