Skip to Content
0
Former Member
Jul 17, 2009 at 11:42 AM

RFx Response validation script issue

22 Views

Dear all,

I am working on a script to incorporate some validations into the RFx Response Line Items.

However, I keep getting the same problem, even though I have tried to access the line item collection in multiple ways.

Roughly the script is as follows:

colln = doc.getCollectionMetadata("COLLN_LINEITEM").get(doc);

if (colln != null) {

Iterator li_iter = colln.iterator();

logMsg.setLogMessage("********LI Collection Size:"+colln.size());

line_item = li_iter.next();

logMsg.setLogMessage("********LI is Available :"+line_item);

(i have verified that doc = Rfx response doc)

The output (for RFx with 3 line items) shows up as :

********LI Collection Size:3

********LI is Available :null

If you have worked on an RFx Response validation, could you please let me know how you accessed the line items.

Thanks & Regards,

Reshma

Edited by: Reshma Varghese on Jul 17, 2009 1:42 PM