Hi all, running AX2012 R3 CU8.
Follow-up to: https://community.dynamics.com/ax/f/33/t/170411
After filtering by a table field using the following instructions, http://dynamics-ax-live.blogspot.co.uk/2010/03/how-to-filter-records-in-form-by-code.html I was able to get the desired result. However, in a later example I tried to do the same thing with a View field and it didn’t work
Is the code instruction different for this? It specifically falls over when adding the range.
(the example used: CurrencyQBR = this.query().dataSourceName('CustTable').addRange(fieldnum(CustTable,Currency));)
I suspect “fieldNum” needs to be something else.
Thanks in advance for any help :)
*This post is locked for comments
I have the same question (0)