4594.2 you can use the modified method on datasource field or

Axapta

    Next

  • 1. 9468.3 Thank's a lot /Torben
    technet.navision.com Posting date: Wednesday, March 03, 200 technet.navision.com Posting path: Navision Axapta/Technology (Ax)/Best Practices/How to ...
  • 2. 9474.2 Discussion 8058
    Take a look at discussion 8058. Regard technet.navision.com Posting date: Wednesday, March 03, 200 technet.navision.com Posting path: Navision Axapta/Technology (Ax)/Best Practices/How to ...
  • 3. 4949.4 Copy Display filed to Excel
    I only would like to know if you (aEva) have been able to solve this technet.navision.com Posting date: Thursday, February 19, 200 technet.navision.com Posting path: Navision Axapta
  • 4. 9460.2 Windows 2000 vs Windows 2003 - which better
    First, please note that Windows 2003 is not currently supported with Axapta. Therefore, I would not move the Axapta clients or server to Windows 2003 for this reason Secondly, I believe I have seen some posts on TechNet where some people have had issues with Windows 2003 server. I can only say that I have been running Windows 2003 server prior to it being released and I have not had any problems with regards to Axapta. However, this is not a recommendation. I will say that if you were just talking in general I much prefer Windows 2003 server over Windows 2000. Windows 2003 performs much better from my unofficial tests. /Michael technet.navision.com Posting date: Wednesday, March 03, 200 technet.navision.com Posting path: Navision Axapta/Technology (Ax)/Performance
  • 5. 9474.1 Multiple word search on Technet
    Could you tell me how to perform search on Technet with multiple words? Whenever I perform search with more than one word, it doesn't return any results and I couldn't find an article describing advanced search techniques. Thank you, technet.navision.com Posting date: Tuesday, March 02, 200 technet.navision.com Posting path: Navision Axapta/Technology (Ax)/Best Practices/How to ...

4594.2 you can use the modified method on datasource field or

Postby em9lY2hp » Wed, 27 Apr 2005 06:30:14 GMT

a validatewrite method to check if the right value is choosen
like the following

<pre>
    MyEnum oldVal = aRecord.orig.()myField; 
    MyEnum newVal = aRecord.myField;

    DictEnum e = new DictEnum(enumnum(MyEnum));
    int i;
    ;

    for(i = 0; i <= e.values() -1; i++)
    {
        if(e.index2Value(i) == oldVal)
        {
            break;
        }
    }

    if(e.index2Value(i + 1) != newVal)
    {
        throw error("not allowed!");
    }

</pre>

you have to check if the orig value ist already the last element
which I haven't done here.

hope this helps

technet.navision.com Posting date: Monday, August 12, 2002

technet.navision.com Posting path: Navision Axapta


Return to Axapta

 

Who is online

Users browsing this forum: No registered users and 39 guest