I have been written code on the “On lookup Trigger” to run some tasks, but I have noticed that due to this, the “On Vaidate Trigger” and “On After Validate Trigger” no longer works. Can anyone enlighten me as to why this may be ??
If you write your own lookup, it tends to look like: Item.RESET; Item.SETRANGE(…); IF FORM.RUNMODAL(0,Item) = ACTION::LookupOK THEN VALIDATE(“Item No.”,Item.“No.”); Because you are setting the value through code, you must explicitly put the VALIDATE in the if statement. If you use the standard Navision Lookup, it automatically runs the validate once you select an item.