Forum Post: json filter pattern sample code

  • Thread starter Thread starter agent_008_nl
  • Start date Start date
Status
Not open for further replies.
A

agent_008_nl

Guest
https://community.progress.com/community_groups/rollbase/w/rollbase/2279.business-entities-using-the-json-filter-pattern-code-samples.aspx Does not look like a preferable solution. The client should not know that the backend is abl. For a filter you could use the method autoedge | the factory uses. Create an array on the client quivalent to (in abl) f.e. create ttFilters. assign ttFilters.TableName = 'ttOrdMst' ttFilters.FieldName = 'CustNum' ttFilters.Operator = 'IsEqual' ttFilters.FilterValue = '1000284'. create ttFilters. assign ttFilters.TableName = 'ttOrdMst' ttFilters.FieldName = 'OrdCustRef' ttFilters.Operator = 'IsEqual' ttFilters.FilterValue = 'Stefan I'. send that to the backend and create the query there. -- Kind regards, Stefan Houtzager Houtzager ICT consultancy & development www.linkedin.com/in/stefanhoutzager

Continue reading...
 
Status
Not open for further replies.
Back
Top