Skip to Content
0
Nov 15, 2019 at 09:35 AM

Item data list only shows last entry after query

92 Views

I have custom BO with list node under it and I want to query my BO by ID then when I get the result I want to show the items in list node into my data list, it currently only returns the last entry of my list node under custom BO.

import AP.Common.GDT;

businessobject BusinessObject2 {

		[AlternativeKey] element ID:UUID ;

		node list[0,n]
		{
			element Test:LANGUAGEINDEPENDENT_MEDIUM_Text ;
			element Method:LANGUAGEINDEPENDENT_MEDIUM_Text ;
			element UoM:LANGUAGEINDEPENDENT_MEDIUM_Text ;
			element Min:LANGUAGEINDEPENDENT_MEDIUM_Text ;
			element Typical:LANGUAGEINDEPENDENT_MEDIUM_Text ;
			element Max:LANGUAGEINDEPENDENT_MEDIUM_Text ;
			element InspectionResult:LANGUAGEINDEPENDENT_MEDIUM_Text ;
		}
		action check;
}

Attachments

data-model.png (92.0 kB)
query.png (84.8 kB)