I wanna make alert while item in inventory <= safety stock quantity, so I create new field "Out Of Stock" in table Item (27), and I put this code in Page Item List (31) in OnAfterGetRecord() trigger.
IF (Inventory <= "Safety Stock Quantity") THEN
VALIDATE("Out Of Stock",TRUE)
ELSE
CLEAR("Out Of Stock");
It's working but if I filter 'Out Of Stock" in List the filter is weird. I must modify this page after post journal,but in OnAfterGetRecord() trigger cannot modify.