Addendum:  

 

It is NOT every record that returns this field (whose value seems always
null) but only some.  In the ones with this field id of 0, I do not get a
value for field id 10001820 which is a display only (presumably not global)
field z1D_StatusReasonDisplay.

 

This is the last field in the array of fields as is the 0.  So the set of
field values seem to have either a value of NULL for field id 0 or a string
for field if 10001820.

 

It is no longer a critical issue as I now ignore field ids being returned
that do not appear on the form definition.

 

Cheers

Ben

From: Ben Chernys [mailto:ben.cher...@softwaretoolhouse.com] 
Sent: February-08-12 15:09
To: 'arslist@ARSLIST.ORG'
Subject: Can anone explain a field id of 0 in TMS:Task on
ARGetMultipleEntries?

 

Hi Folks,

ARS version: 7.5.00 Patch 002 200906100308 
API version: 7.6.03 running in Windows
Server    Sun against Oracle

On only a single form in ITSM 7.6.0, TMS:Task, I do an ARGetMultiple entries
and I consistantly get a field at the end of each record with the field id
'0'  -  zero.

The form has 238 fields (not 239).  This is the only form with this
behaviour in many many forms queried but certainly every form.  This is the
extract from the apires.log file 

   ARGetMultipleEntries results 
Return Code: OK 
Field Value List List: 100 items 
   Field Value List: 239 items 
      Field Value Struct: 
         Field Id: 1 
         Value: (char) TAS000000013575 
      Field Value Struct: 
         Field Id: 2 
         Value: (char) Mupdate 
      Field Value Struct: 
         Field Id: 3 
         Value: (timestamp) 1327954959 
      Field Value Struct: 
         Field Id: 4 
         Value: NULL 
. . .   snip   . . . 
      Field Value Struct: 
         Field Id: 0 
         Value: NULL 
   Field Value List: 239 items 
      Field Value Struct: 
         Field Id: 1 

Cheers
Ben Chernys

 


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to