Dear All,
I have an issue with a trigger whereby, when I enter quantity and unit cost the total amount is calculated and put in Line Amount field ,a trigger should run my function and check the amount in Line Amount field, compare it with another amount am having in a custom field and give an alert or a message.
I have used Modify("Line Amount") as per the below and I called my function through a trigger but unfortunately there is no alert. It seems like the trigger is not running the function.
Modify("Line Amount")
{
Trigger OnAfterValidate()
Begin
CheckBudgetOveruns();
End;
}
My questions is, is this the best trigger?