Hi Teoman,

> So, if I need a trigger for both cases, I need to call the same
> function from both triggers... Is this true?

true!
 
> Another question is, %OnAfterSave does not know the %Id value of the
> inserted record. (I guess that is because of the transaction not yet
> completed) So what should I do if I need it within the trigger?

False!

In %OnAfterSave you can get the ID by calling the method %Id().
In %OnBeforeSave you don't have the ID.
 
HTH
Florian

Reply via email to