The basic search / search function (Ctrl + F) in AX 2009/2012 does not work properly ... how to fix it?

I feel like I can lose my mind ... but if you are looking for an AOT for something with the double colon "::", it does not work completely. I try to go through Forms \ SysAotFind to figure this out, but I did not want my wheels to be a bunch for something that could only be on my system.

To play in AX 2009, select Classes \ SalesTableType, press Ctrl + F and put "CustLedgerAccounts :: sumAccount" in the text box and click "Find Now." You can see that this is explicitly located in the Classes \ SalesTableType \ accountCust method. I also tried to find basic enumerations inside objects.

+4
source share
3 answers

I noticed the same behavior, but avoiding a colon with a backslash makes the search correct.

So, in your case, you will need to look for "CustLedgerAccounts \: \: sumAccount".

+7
source

The search uses regular expressions in the syntax defined by match . Colon is a special character, so it needs to avoid backslash.

+5
source

For those who are looking for a fix, you can see where the problem is and just set it up if you want to resolve it specifically for double colons:

[c] \Classes\SysTreeNodeSearch\isNodeInRange #46 if (!match(containingText,source)) return false; 
0
source

Source: https://habr.com/ru/post/1394236/


All Articles