March 03, 2013

How to find your object in AOT projects

How to find your object in AOT projects

This is a small but precious tool for AX developing.
Have you ever tried to find in which projects your objects are included? Yes, I have... Not so easy to search and look into each project.
Now, it is just a question of one click: this mighty LC Project Search will make the life easier. And good news, it is free. So, profit and enjoy!
There are three xpo-files with appropriate versions for AX 4.0, 2009, and 2012. (I have tested 2009 one). You can import it, then launch with the menu item, and this is ready to go.

Just type the name of any object you're looking for, optionally, you can choose the type of it, then press Search. Be patient, it takes some time to populate the result table.

Now, all projects contain the object are here.
-Harry

March 02, 2013

Code to play sound in axapta

Code to play sound in axapta 

static void ExemploPlaySound(Args _args)
{
    System.Media.SoundPlayer YourMPlayer;
    ;
    YourMPlayer= new System.Media.SoundPlayer();
    YourMPlayer.set_SoundLocation("c:\\xyz.wav");
    YourMPlayer.Play();
}

-Harry

Generates the index for the base enums


Generates the index for the base enums


static void baseenumid(Args _args)
{
dictenum dictenum;
int i;
;
dictenum = new dictenum(enumname2id('NumberSeqModule'));

for(i=0;i<dictenum.values();i++)
{
print int2str(i)+','+dictenum.index2Name(i);
pause;
}
}

Axapta Interview Questions- Part II

Interview Questions for Axapta 2009/2012

In my previous post i share some Interview questions with you, here are some new question.... 
  1. What is the difference between fetch() in send() in axapta?
  2. What is the difference between pack() and unpack()?
  3. What are different kinds of delete actions available in Ax?What does cascade+restricted do?What is the difference between restricted and cascade + restricted?
  4. What is abstract class?Name some abstract classes in axapta?
  5. What is interface?Does Axapta support multiple inheritance?Name some interface classes in axapta?
  6. How many kinds of join are there in axapta?
  7. What is lookup?How many kinds of lookup can be done in axapta?
  8. What is the utility of jumpref()?
  9. Which class is called while sales order invoicing?
  10. What is the use of temporary table in axapta?
  11. What is OCC?
  12. What is the difference between Abstarct and interface?
  13. Which Objects in Axapta obtain ID?
  14. What is Map?How can we use it?
  15. What is Cache Lookup Property?
  16. What does the RunOn property of Class do?
-Harry