Oldvalue and New value

Need to know what I am doing wrong I cannot seem to figure out how to implement this code

my $ticket = $self->TicketObj;
my $txn = $self->TransactionObj;
my $type = $txn->Type;
my $field = $txn->Field;
my $NewStatus = “open”;
my $oldvalue = $txn->Oldvalue;
my $newvalue = $txn->Newvalue;
$RT::Logger->debug(“Open Ticket on Change Oldvalue $oldvalue\n”);
$RT::Logger->debug(“Open Ticket on Change Newvalue $newvalue \n”);

I continue to get the following for new or old value.
Scrip 63 Commit failed: RT::Transaction::Oldvalue Unimplemented in RT::Action::UserDefined. ((eval 1728) line 6)

Thanks all for the help.

Thanks
Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726 * 262-783-6261 ext. 2296
bbaker@copesan.commailto:cstephan@copesan.com
www.copesan.comhttp://www.copesan.com/
“Servicing North America with Local Care”

Thanks for the quick response to a NewBe question sorry.

Thanks
Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726 • 262-783-6261 ext. 2296
bbaker@copesan.com

"Servicing North America with Local Care"From: G. Dawson [mailto:gd250@cam.ac.uk]
Sent: Thursday, August 22, 2013 11:26 AM
To: Bryon Baker
Subject: Re: [rt-users] Oldvalue and New value

Oldvalue and Newvalue should be OldValue and NewValue

Gareth