Avatar

Level 2

Hi Chaitanya,

I wrote something like this and it worked.

var List = ref(xfa.datasets.data.Invoice.InvoiceSummary.ListOfTaxSummary)

var value

  for i=0 upto List.nodes.length - 1 step 1 do

    if (List.nodes.item(i).Tax.TaxTypeCodedOther.Identifier.Ident.value == "QST")

    then

    value = List.nodes.item(i).Tax.TaxAmount.value

   endif               

   endfor

    $.rawValue =  value