Tuesday, 22 March 2016

Filtering On Form

Form>Form Methods>ClassDeclaration:

public class FormRun extends ObjectRun
{

    QueryBuildRange queryBuildRange;
}

Form > FormMethods:

public void init()
{
    super();

    queryBuildRange = CustInvoiceJour_ds.query().dataSourceTable(tableNum(CustInvoiceJour)).addRange(fieldNum(CustInvoiceJour, InvoiceId));

}

Form DataSource> table> Methods>executeQuery:

public void executeQuery()
{
    queryBuildRange.value("*15-16");
    super();

}


No comments:

Post a Comment