Deepak,

That is a limit in ars_GetListEntryWithFields().

You need to do an initial ars_GetListEntry() followed by multiple
ars_GetEntry() calls.

Or to speed things up a little, you could do ars_GetMultipleEntries()
instead of ars_GetEntry(). This way you can retreive the entries in chunks
of 100.

        Best Regards - Misi, RRR AB, http://www.rrr.se

> 1). I tried this -
>
> @get_list_fields = (1,3,240000008);
> @entries = ars_GetListEntryWithFields($ctrl, $form, $qual, 0, 0,
>         [ @get_list_fields ]);
>
> When I try to retrieve a field by name 'Worklog' whose field id is
> 240000008 (as per https://w.amazon.com/?RemedyDBColumns),
> I get this error -
>
>
> [ERROR] Cannot specify a diary field, a character field with unlimited
> length or maximum length over 255 bytes, or Status-History as a field in
> a get list description (240000008) (ARERR #241) at test3.pm line 38.
>
>
> Any thoughts?
>
> 2). Also, I was expecting the following two calls to return me with
> _all_ the fields in the 'HPD:HelpDesk' form.  But it returned only few
> (about 10 fields)?
>
> ars_GetListEntry($ctrl, $form, $qual, 0, 0);
> ars_GetListEntryWithFields($ctrl, $form, $qual, 0, 0);
>
> Here's the output:
>
> $VAR1 = '0003044848';
> $VAR2 = {
>           '1' => '0003044848',
>           '200000004' => 'Subway 2.0',
>           '3' => 1170889526,
>           '200000005' => 'Operations',
>           '240000006' => 'Subway 2.0 Ops Scrum team',
>           '240000015' => 'ajayc',
>           '536870944' => 'ajayb',
>           '7' => 6,
>           '8' => '[AUTOCUT] LogScan exceeded on
> aws-subway-sal-1101.vdc.amazon.com [[ERROR] [2007-02-07 15:05:00,506]
> ISE:GRID: [ID11708895003595',
>           '536871031' => 3,
>           '536871015' => 1170922734,
>           '536871018' => undef
>         };
>
> ps:  attached the whole program.
>
> Thanks,
> Deepak
>
>
>
> -------------------------------------------------------------------------
> 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
> Arsperl-users@arsperl.org
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>



-------------------------------------------------------------------------
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
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to