Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3954 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi Guys, I have created a simple audit log script, just wanted to know how to add parameters to allow capture of field name, old value and new value? script is below.

Show Custom Dialog [ Message: "Reason for this change/new record?"; Default Button: “OK”, Commit: “Yes”; Input #1: Clients::gChangeNote, "Change Log" ]

Freeze Window

Set Variable [ $ID; Value:Clients::ID ]

Go to Layout [ “Audit Log” (Audit Log) ]

New Record/Request

Set Field [ Audit Log::ID; $ID ]

Set Field [ Audit Log::ChangeLog; Clients::gChangeNote ]

Set Field [ Clients::gChangeNote; "" ]

Go to Layout [ original layout ]

This topic is 3954 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.