Hi there ,
I need a method to enable or disable added datasources to the query, so, the name of the query is CustAccountStatement_FR.
i tried add init() method on the query as bellow :
public void init()
{
Query queryCust = new Query(queryStr(CustAccountStatement_FR));
if(!LedgerParameters::find().MyField)
{
// DimensionAttributeValueSetItemViewDS_ds.enabled(False);
//This.DimensionAttributeValueSetItemViewDS_ds.enabled(False);
queryCust.dataSourceTable(tableNum(TableName)).enabled(False);
}
super();
}
*This post is locked for comments