Ok, Will do a little more adjusting, thanks for the help.
-- Bart Op 8 december 2011 12:28 schreef Ruslan Zakirov <r...@bestpractical.com> het volgende: > On Thu, Dec 8, 2011 at 14:46, Bart <b...@pleh.info> wrote: > > sub Prepare { > > my $self = shift; > > my $new_value = $self->TicketObj-> FirstCustomFieldValue( 'Teller > New' ) > > + 5; > > $self->TicketObj->AddCustomFieldValue(Field => 'Teller New', Value => > > $new_value, RecordTransaction => 0 ); > > return 1; > > } > > You should move all this code into Commit. Don't change objects during > prepare. > > -- > Best regards, Ruslan. >
-------- RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 & 6, 2012