More servicesWindows Live
HomeHotmailSpacesOneCare
 
MSN
Sign in
 
 
Spaces home  Kamal's spaceProfileFriendsBlogMore Tools Explore the Spaces community

Kamal

View spaceSend a message
Occupation:
Location:
I am like a kid with the curiosity for Knowing and thirst for learning.... working 24/7 for the Information Technology industry :)

Kamal's space

A Dynamics Ax Blog (An official Microsoft Dynamics Ax related Commuinity site)

I 4 C For Dynamics Ax:)

 

So How did you read the title? “I Foresee for Dynamics Ax” …. that’s right, but still it has more subtle meaning to it.Keep reading to know more.

I4C also stands for “Innovites for Cable for Dynamics Ax”, the new add on that I(We) 4 C for Dynamics Ax. I4C(I Foresee) I4C  (Innovites for Cable) taking Dynamics Ax to a niche market, that’s cable industries.

It’s perfect to understand why Dynamics Ax was chosen as the platform for I4C before sharing the speciality of the solution.

Why Dynamics Ax?

Dynamics Ax is the right entrant to the market at the right time. This statement might make you raise your eyebrows. But that’s the fact. The market dominant ERP’s of the 1990’s like BAAN where widely implemented in many companies. These implementations have got quite old and the product companies of the ERP’s are not brisk enough to keep in phase with the changes that have happened mean time. So the companies that are looking  for a replacement have the following objectives to choose an ERP.

1. A product that exactly fits the existing technology stack.
2. A wider vision that ensures a long time support.
3. Cost Effective
4. Good manageability.

If Ax as an ERP can be scored against these needs, I’m sure that it would make up to a very good score. That simply defines in a few lines why Ax is the Platform for I4C

What I4C promises to deliver..

I can remember long time back having a discussion with some of my colleagues on what it takes to implement a Ax for a new Industry. The answer was pretty simple customize Ax to fit their process and implement. I did nod to it. But today if you would put forward the same question before me, I would definitely not give the same answer. Why do you need to go for new System if it is exactly reciprocating your process. Do you really need it ? What value addition has it got it for you ? That’s were the real reason behind the industry verticals stand.

Build a solution that doesn’t just reciprocate but enhances, add value to the existing process and make it more reliable. That’s the promise I4C carries.

I4C promises to inspires business innovation and create the changes to give room for the innovation and execute the change for excellence.

Innovites

I4C I4C as a Industry solution that Innovates, Renovates and Implements the best fit process for cable industry.

Simply to say …………..

InnovitesInnovates

Keep checking this space….as I take you further in to the journey of Innovites’ Innovation.

A Dynamic journey with Dynamics Ax ----

 

It’s exactly 2.5 years from the time i began my journey along with Dynamics Ax. I got in to Sonata as  a fresh graduate after my engineering degree. I was made part of the Dynamics Ax practice, being a hardware enthusiast during my graduation days I had little knowledge on “OOPS” (I knew only to say “oops”). So the journey with Ax @ Sonata was much a action packed one, with lots of stuff to learn and lots to explore. The journey was much more interesting when Sonata identified me for my efforts and put me on better roles. I played roles from being a test developer to a lead guiding a large vertical development.

It’s now few weeks since I have got myself out of Sonata to run towards my long term wish. But I sincerely feel that I am much obliged to Sonata for the opportunities  and space that  I was given. It was a hard decision to make, which I am still refusing to believe.

Water lilies

It’s time to talk about the new role that I have picked up. I am now part of the team that has set steps to build a cable solution on Dynamics Ax. I’m much exited about this new role as it was something that I wished to do after becoming an DAx’er (I mean an Ax guy). So get prepared to here more from me and the cable solution that we are building…..

I know you would be now much interested to know more on the cable solution and the people behind it. Just click here to quench your quest …. www.innovites.com

LOGO [LARGE]

Using record templates in code for Dynamics Ax 4.0.


This article deals with defaulting values from record templates through code in Dynamics Ax 4.0.
 
Whenever you creat a new record in the Item form, a small form opens up showing up the templates. You can choose one of the templates from which you want to the basic values like "Item Group", "Dimension Group" to be copied.(Provided you have setup a template for that table).
 

 

This comes handy to create new records further as most of the value is drawn from the template record itself. You can harness this when you do it through code also :) ....  The following lines will throw light on how to do it.
 
1. Assume that you have the template name, then all that you need is to create a new record based on the template.
These three lines will do the job...
    sysRecordTemplate = SysRecordTemplate::newCommon(inventTable); 
    sysRecordTemplate.parmForceCompanyTemplate('Feed'); //Template name as string
    sysRecordTemplate.createRecord();
There are two kind of templates one common for the entire company and the other for specific user. In my example i have taken the company template, for the simple reason that it is valid across all accounts.
 
2. The above code pressumes that you might know the template name in prior. Sometimes you may want to give user a option of telling what template he wants to use. In that case we may need to create a template for him.
Here is the code that will enable the lookup and validate the selection. Bind these methods to the control where the user selects.
 
//Call this method in the init method of form
SysRecordTmpTemplate VCTInitItemTemplates()
{
    Container               recordValues;
    ;

    recordValues = SysRecordTemplateTable::find(tablenum(inventTable)).Data;
    recordValues =  condel(recordValues,1,1);
    //tmp1 - Global variable for lookup   
    SysRecordTmpTemplate::insertContainer(tablenum(inventTable), tmp1, recordValues, SysRecordTemplateType::Company, true);
    //tmp2 - Global variable for validation
    SysRecordTmpTemplate::insertContainer(tablenum(inventTable), tmp2, recordValues, SysRecordTemplateType::Company, true);
    return tmp;
}


//Override the lookup method
public void lookup()
{
    SysTableLookup          sysTableLookup;
    SysRecordTmpTemplate    tmp;
    Container               recordValues;
    ;

    super();
  
    sysTableLookup = SysTableLookup::newParameters(tablenum(SysRecordTmpTemplate), this);

    //Add the fields to be shown in the lookup form
    sysTableLookup.addLookupfield(fieldnum(SysRecordTmpTemplate, Description), true);

    sysTableLookup.parmUseLookupValue(false);
    sysTableLookup.parmTmpBuffer(tmp2);
    // Perform lookup
    sysTableLookup.performFormLookup();
}      
//Override the modified method
public boolean modified()
{
    boolean                 ret;
    SysRecordTmpTemplate    tmp;
    container               recordValues;
    ;

    ret = super();

    select firstonly tmp2 where tmp2.Description == this.valueStr();

    if (!tmp2 && this.valueStr())
    {
        this.text('');
        warning ('Invalid selection.');
        return false;
    }

    return ret;
}
 
This also helps you learn usage of temporary tables for lookup's. The following line enables lookups through temporary table.
 
sysTableLookup.parmTmpBuffer(tmp2);
 
Hope now you can implement a full fledged code that will create it's record from an pre exisiting template.
 
----------- any template for codes where i can just get all the code that i want Wink

What's new in Dynamics Ax 2009 - PDF download link

 
 
   There is now a PDF containing what's new in DAX 2009 is avilable. It is comprehensive and good to read.
 
    What's new in Dynamics Ax 2009 - Technical (Requires login credential)
 
 
 
 I started my career in to Ax reading What's new in Dynamics Ax 4.0 Open-mouthed

Dynamics Ax 2009- Useful resources

 
   DAX 09 is catching the fire guys..... these days i could see my alert inbox filled with lots and lots of information on DAX 09.
 
  Here are few that i found interesting.... hope you to find them useful
 
 
   MFP throws light over the new layers that will be coming up in DAX 09 and how it will enable mulitiple industrial solutions for Ax.
 
   In the second one MFP has detailed the reason behind The secret semicolon and also details about the possibility of getting rid of it in DAX 6.0
  
 
    This a feature that i was looking for, now you can decide what elements from an enum will be available in the combo boxes. Thanks Kashperuk for bringing it out very earlier :)
 
 
   This article gives you a feel of how cross company coding is going to be easire in DAX09
 
 
   A detailed article on consuming webservices through code in DAX09 from MBS-ISV Development Evangelist
 
Downloads (Requires partner source credentials)
 
   What's new in DAX09 - Presentations related to Technical, functional and localizations 
 
Lot's of resource to keep crunching :) ..............PizzaPizza
  

Missing Dll for "Autozip for Dax" loaded

 
 
   I'm extremely sorry guys..... very lately after few emails from the readers i realized that i have missed the Dll file that is required to enable the Autozip option working.
 
   My sincere apologies. I have loaded the xpo and the dll in the following location :)
 
 
   Hope now you are able to use the Autozip option
 
 ...............Embarrassed sorry :(
 
   

Autozip 1.0 for Dynamics Ax 4.0

 
 
 A Promise is a promise....
 
 Here guys the Autozip for Dynamics Ax 4.0 which i promised a long time back (click to see my promise)Open-mouthed.
 It is pretty simple to use. Here is a short brief of how to install it.
 

 
Installing Autozip

 1. Dowload and Extract the zip file from the following place...
 2. Add the dll file from the extract to your bin directory and simlarly add an reference to it in your AOT
 3. Now import the XPO.
 4. Autozip is ready to use.

What's the use of Autozip
 
 Autozip let's you automatically zip the exported xpo and similary import an zip file rather a xpo.
 
How to zip during Export
 
 1. Just click the zip file option while u export.
 
              
 
2. It will export one .xpo file and one .zip file

 How to import a zip file
 
 1. Just open any drive and point to a zip file that contains xpo's(doesn't matter if it contain other files inside it also)
 2. That's all ... all xpo files inside the zip will be imported.
 
Can you use this for your own custom development?

  Yes you can use it. Please refer to the Job "JobAutozip" along with this project to know about it.
 
Missing Feature
 
 1. If your zip file extracts them as folders and puts the xpo inside folders, the system will not find them. (This fill
    be fixed in the next release)
 
 Enhancements
 
 1. An option to delete the .xpo file which get's exported.
 
 Axaptapedia Link
 
Also available at Axaptapedial here ......  http://www.axaptapedia.com/Autozip_for_Dax_4.0
 
 Do let me know your comments.
 
 Keep zipping :)

Sending alerts through code without error in Ax

 
 There was an article sometime back by Helmut on "sending alerts through code"(click to read the article), there was one problem with the code as helmut had quoted
 
    "* you will get an error in the alert form on the second tab"
 
  The error will not crop up if you use the following code....
 
void sendMessageToUsers()
{
    SysMailer           mail;
    UserInfo            UserInfo;
    EventInbox          inbox;
    EventInboxId        inboxId;
    ;
   
    select UserInfo where UserInfo.id == CurUserId();
    inboxId = EventInbox::nextEventId();
   
    inbox.initValue();
    inbox.ShowPopup     = NoYes::Yes;
    inbox.Subject       = "Testing alert via code";
    inbox.Message       = "Hello we are alerting";
    inbox.AlertedFor    = "This alert is just information no links are available";
    inbox.SendEmail     = false;
    inbox.UserId        = UserInfo.Id;
    inbox.TypeId        = classnum(EventType);
    //Give any table and field values
    inbox.AlertTableId  = TableNum(Address);
    inbox.AlertFieldId  = fieldNum(Address ,Name);
    inbox.TypeTrigger   = EventTypeTrigger::FieldChanged;
    inbox.CompanyId     = CurExt();
    inbox.InboxId       = inboxId;
    inbox.AlertCreatedDate = systemdateget();
    inbox.AlertCreateTime  = timeNow();
    inbox.insert();
}
 
 ...... Auto Alert plz Alert Smile

All about Ax upgrade for Ax 2009 (Ax 5.0)

 
 
   Hi Guys,
 
           Let's rush to MFP's blog to know all about upgrade for Dynamics Ax 2009. You get to download an interesting PPT From there.
 
 
 
 
That's interesting Party
 
           

My new Photo blog :)

 
 
 Guys this is something not related to Ax... recently i got an cannon camera(Cannon IXUS75).
 
 Asusual can't resist myself from exploring with it and the out come is my new photo blog :)
 
 check it out here ... http://isawifeltucusay.blogspot.com/  (You can read it like "I saw I felt U See U Say".... )

 Let me know what you feel Open-mouthed
 

User Experience Guidelines for Ax 2009

 
  
   
   Guys this is one among the best documents that i have seen. it wonderfully explains the guildlines for designing forms, reports and EP pages.
 
   Have a look... you will definetly appreciate it :)
 
   Thanks MS that's gr8Gift with a bow

Joining back for a happy journey of sharing :)

 
 
 Hi all readers,
 
         My sincere apologies for taking such a long time to come back. Though this blog has always been a central stage for me to put up my Ax learnings with the world I had to stay away from it due to an very interesting work. It was not just interesting but challenging too... i have nearly spent 24/7 of my time for it. But all of it turned in to a priceless possession of learning, which i will keep sharing in the coming days here.
 
  Keep reading !!! Keep expressing !!! Keep supporting !!!
 
  Let's have a happy journey Airplanesharing Hot
 
        

Auto zip for Dynamics Ax--- keep watching

 
 
Guys,
 
Are u frustrated to export your xpo and zip it each time .....
 
Are u bored of unzipping your zip files and importing it each time as XPO's.....
 
Then something interesting waiting for you.... Keep watching this space...
 
You will soon find the solution here.... 
 
 
                                          
                                           AutoZip for Dynamics Ax :)
 

Dynamics Partner Information source for India

 
 
     Check out Dynamics Partner Information Source......  the new partners blog from Micrsoft India.
 
   
 
    Good Luck Dynamics India Sun

Interview with Steen(Author Morphx IT) - By Brandon George

 
   Read What Steen andreasen has got to tell us about Ax 4.0 and his future works....  interview by Brandon George
 
 
         Interview With Steen (Author of Morphx IT)
 
 
  Thanks Party Brandon that was Interesting
View more entries