moved procedure call from WO_MAT_ACTIONS to a standalone service to avoid posting too many transactions

This commit is contained in:
Infineon\StieberD
2025-07-28 14:34:20 -07:00
parent c7f1f86249
commit 9e54865e1e
5 changed files with 171 additions and 12 deletions

View File

@ -62,11 +62,10 @@ Main:
Open "DICT.":Table to @DICT then null
@ID = Key
Ans = Function(@Handler(Connection, Key, @RECORD))
If Ans EQ '' then
If (Ans EQ '') then
If Assigned(pKey) then
If pKey NE '' then
If (pKey NE '') then
Delete pTable, pKey else Null
Unlock pTable, pKey else Null
end
end
end
@ -101,7 +100,9 @@ Main:
end
If Assigned(pKey) then
If (pKey NE '') then
If (pKey NE '') then
// Call unlock here in case we ran into an error above
Unlock pTable, pKey else Null
// Always log the result
Open 'SQL_LOG' to hLog then
If Ans EQ '' then