fixed a locking bug preventing work order quantities from updating when cassette quantities are modified

This commit is contained in:
Infineon\StieberD
2024-12-12 17:59:52 -07:00
committed by Stieber Daniel (CSC FI SPS MESLEO)
parent 7f309c87d4
commit bad03f6abe
4 changed files with 18 additions and 30 deletions

View File

@ -934,7 +934,7 @@ Service UpdateReleasedQty(WONo)
UnRelQty = WOQty - RelQty
end
WORec<WO_LOG_UNREL_QTY_STATIC$> = UnRelQty
Database_Services('WriteDataRow', 'WO_LOG', WONo, WORec)
Database_Services('WriteDataRow', 'WO_LOG', WONo, WORec, True$, False$, False$)
end
end service
@ -946,7 +946,7 @@ Service UpdateReceivedQty(WONo)
If Error_Services('NoError') then
RXQty = obj_WO_Log('RxQty', WONo:@RM:WORec)
WORec<WO_LOG_RX_QTY_STATIC$> = RXQty
Database_Services('WriteDataRow', 'WO_LOG', WONo, WORec)
Database_Services('WriteDataRow', 'WO_LOG', WONo, WORec, True$, False$, False$)
end
end service