xpath constraints using attributes of current page

0
i have a data grid (entity: salesOrderDetails) that i wish to constrain using an attribute of the page parameter ( another entity called SalesOrderHeaders ) they both have SOnumber attributes. How can i constrain the data grid by the page parameter?
asked
1 answers
0

Hello,

 

You can achieve this by using, Microflow as data source fro DataGrid. Since SalesOrderHeaders is the page parameter that means for your DS Microflow SalesOrderHeaders will also be the current object . Now you can retrieve All the salesOrderDetails from DB and add xpath constraints like SOnumber = $SalesOrderHeaders/SOnumber.

You can then return this list to DataGrid. 

 

Hope this helps

 

Cheers

answered