1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

json filter pattern sample code

Discussão em 'PSDN - Forum' iniciado por agent_008_nl, Fevereiro 17, 2015.

  1. agent_008_nl

    agent_008_nl Guest

    https://community.progress.com/comm...ing-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...

Compartilhe esta Página