on 11-15-2019 9:35 AM
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;
}
I found that instead of querying my custom BO I needed to Read it and bind the data list to the list node under my custom BO instead of binding it to the custom BO root node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.