Code:
if(@Operation = 90)
begin
declare @plus int
select @plus = OptLevel from SRO_VT_SHARD.._Items Where Serial64 = @ItemSerial
if(@plus >= 12)
begin
update SRO_VT_SHARD.._Items Set OptLevel = '12' Where Serial64 = @ItemSerial
end
end
add this code to _AddLogItem Procedure in LOG DB
made it especially for you tested and working