Re: [Arsperl-users] change status and write on diary
Brought to you by:
jeffmurphy
|
From: Paizo <pai...@gm...> - 2007-05-17 07:28:27
|
it works! :)
Thank you very much :)
2007/5/16, Jeff Murphy <jcm...@je...>:
>
> Paizo wrote:
> > thanks for your anwers.
> > I still don't understand how you choose a specific trouble ticket, you
> > just call getfieldtable by passing a form name and change the status and
> > the diary by ars_setentry but of which ticket?!
> >
> >
>
> I messed up the SetEntry call :-)
>
> One of the parameters is "entry-id" which is the ticket# you want to
> operate on.
>
>
>
>
>
> >
> > $c = ars_Login(server, user, pass);
> > %t = ars_GetFieldTable($c, "Form Name");
>
>
> ars_SetEntry($c, "Form Name",
> "000000000012345", 0,
> $t{'Status'}, "Closed",
> $t{'Diary'}, "All fixed!")
> || die $ars_errstr;
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
--
CFAH3 CUT-LASS
|