Field differences

General question about the package, problems, solutions
develtec
Posts: 13
Joined: Fri May 25, 2012 8:41 am

Field differences

Postby develtec » Tue Jul 31, 2012 9:34 am

Is there an easy way to simply show the fields that changed, their old, and new values in the body of the email for the given action performed?

Pavel
Posts: 281
Joined: Fri Dec 12, 2008 12:19 am

Re: Field differences

Postby Pavel » Tue Jul 31, 2012 11:41 am

develtec wrote:Is there an easy way to simply show the fields that changed, their old, and new values in the body of the email for the given action performed?

If you would like to operate with static set of fields, you can use GetFieldOriginalValue predefined function (it was introduced in version 1.4, but user-defined function can be used in earlier releases), i.e.

Code: Select all

original value: GetFieldOriginalValue('fieldname')
new value: $fieldname


You can also use "change notification" example from the RUC 2006 presentation (pp 28-31).

Pavel


Return to “Email Notification Package Q&A”

Who is online

Users browsing this forum: No registered users and 1 guest

cron