Re: [Arsperl-users] Problem with ars_setEntry

2007-02-12 Thread Thilo Stapff
The easiest way to relate field ids to names is probably to look them up in the admin tool. Alternatively, ars_GetFieldTable returns a hash with field names as keys and IDs as values: my %fieldTable = ars_GetFieldTable( $ctrl, $form ); foreach my $field ( keys %fieldTable ){ print "$fiel

Re: [Arsperl-users] Problem with ars_setEntry

2007-02-12 Thread Christopher Rogall
Thilo ok, I get the field IDs with ars_GetFieldTable, but wich field ID is the right one. The Field is a drop down list, but I must also enable a radio button and I must write a text to a textbox. Thanks for your help Chris > You have to use the field ID of "T_Status". > Moreover, T_Status is

Re: [Arsperl-users] Problem with ars_setEntry

2007-02-12 Thread Thilo Stapff
You have to use the field ID of "T_Status". Moreover, T_Status is probably a selection field (radio button or dropdown list), and you have to use the numerical value of "work in progress", e.g. ars_SetEntry($c, $schema, $entry, 0, 536870915, 2 ) Regards, Thilo Stapff Christopher Rogall schri

[Arsperl-users] Problem with ars_setEntry

2007-02-12 Thread Christopher Rogall
Hi Running Perl 5.8.8, Remedy 6.3 API, ARSPerl 1.84. I can“t change fields. For example: I open a ticket and read all information. The Status is "assigned" and I will change it to "Work in progress". How can I do this? ars_SetEntry($c, $schema, $entry, 0, "T_Status", "work in progress")|| die