Options

How can I modified page (31) Item List, after I Post Item Journal

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.

ie7vox99mwt1.jpg
Sign In or Register to comment.