ASN wave label reporting 1 of multiple items

Hi Docentric Community, how do i get my wave label design template to report just the first external Item ID and not list all the available external item ID on the label.

Template design:
DocWHSWaveLabel_DWL_Pallet_HEBUTT_Label.docx (125.4 KB)

DDSP:
DocWHSWaveLabel_DWL.Report (25).ddsp (567.3 KB)

Hi @Damilare_Odusanya ,

If you always want to show just the first External Item ID from the list, you can use this XPath expression in your Field element:

WHSWorkLine/InventTable_1/CustVendExternalItem_1[1]/@ExternalItemId

The [1] means it will only take the first <CustVendExternalItem_1> node, even if there are multiple. So this will give you just the first ExternalItemId, not all of them.

Try it and let me know if that is what you need.

Thank you Amir, this makes more sense. I was adding [1] on the externalItemId instead