Hi,
I am trying to customize DimensionLookup form which is in Dimensions model by adding some custom code in init method of the form. What I am trying to do is add a range in the query by adding two new datasources referencing DimensionAttributeValue and DimensionAttrValueLedgerOverride table. I was able to successfully add DimensionAttributeValue table as the datasource in the QueryBuildDataSource and specify the range in it as the table is in the Dimensions model itself. But, when I try to add DimensionAttrValueLedgerOverride table as a source, it won't recognize the table as it is in Ledger model rather than Dimension model. How do we approach this situation?
Here is the one that works as DimensionAttributeValue is in Dimensions model as well.
qbds = queryBuildDataSource.addDataSource(tableNum(DimensionAttributeValue));
What does not work is following code as DimensionAttrValueLedgerOverride is in Ledger model
qbds = queryBuildDataSource.addDataSource(tableNum(DimensionAttrValueLedgerOverride));
Thanks.
*This post is locked for comments