Search This Blog

Monday, September 30, 2013

RPC errors when calling WinAPI method from a batch job.

Hi Guys,

I found a very good article about the errors and issues when we are calling WinAPI class from a Batch job.

Click here to read the content.

Happy Daxing,
AX Dude.

Thursday, September 26, 2013

Troubleshooting BizTalk Web Services - AX 2009

Hi Guys,

how to identify and resolve common Web service issues.

Click here to see the content.

Happy Daxing,
AX Dude.

How to: Trace a Call to an AIF Web Service

Hi Guys,


How to trace a call from an external client to an X++ service exposed as a Web service in Microsoft Dynamics AX. When you call the Web service, the call goes to the Web service and is then passed to the AOS. You can use tracing to capture the parameters the client sends to the Web services as well as the parameters that are sent from the Web service to the AOS.

Click here to see the content.

Happy Daxing,
AX Dude.

Wednesday, September 25, 2013

How to delete the file from particular location in Axapta


 WinApi::deleteFile(filepath);


Happy Daxing...

strLfix & strRfix Function - Append zeros to the String - AX 2009

Hi Folks,

The following code used to append zeros to the string either left /Right.

static void Append(Args _args)
{
    int i = 1;
    str Append;
    str finalResult;
    ;

   Append= strlFix(int2str(i), 5, "0"); // Create a string, with a length of 5, ending with the value of ''i'' and padded with zeros
finalResult = strFmt("%1", Append);
info(finalResult);

}

o/p:10000


Happy Daxing.....

Remove the characters from string and convert to date to str in Axapta

Hi Folks,

strRem and date2str
Below job are to explain about how remove the characters from date and time in axapta

static void Job131(Args _args)
{
    str st;
    ;
    st = strRem(date2str(today(),213,2,0,2,0,4)+time2str(timenow(),                       TimeSeparator::Space,TimeFormat::Auto)," ");
    info(st);
}

Normally date and time will display like 09/25/2013 07:14:30 Am
By using date2str it will convert the date to str and again remove the character also .

O/P:09252013071430am

Thanks
Happy Daxing...

Using File path on a form getting Error in Axapta

Hi Folks,

After a long time am coming  back to posting few new things here for AX Developer...

When we want to select the file path in form level. Normally what we will do create one EDT and extends with filepath (EDT), but that time when you are trying to select the path we will get error like stack-trace/Error message .Don’t worry there is no problem with your ax application. Simple we need to provide the method to the form like filepathLookUpTitle ().
Below method we need to add it into form level methods, i.e.

str filePathLookupTitle()
{
    return "Select document folder";
}

Thanks
Happy Daxing....

Friday, September 20, 2013

What are the diffrences between "index" & "index hint" in X++

Hi Guys,

I found a useful link which explaines about "index" and "index hint".

Click here

Happy Daxing,
AX Dude.

Thursday, September 19, 2013

Create/Delete Customer using AIF Service Class in Dynamics AX without AIF Setup

Hi Guys,

The Application Integration Framework allows us to create/update/delete or read data. Now in AX2009 we have a facility of creating/deleting records using AIF Service classes. There is "NO ADDITIONAL AIF SETUP"(Like Enabling Endpoints etc.) required to execute the code via service class. The services can be used to read/write data in AX.
Click here to see the cource page.

Thanks,
AX Dude.

Friday, September 13, 2013

Dynamics AX Performance Optimization Guide

Hi Guys,

Yesterday I was in browsing to find some DAX performance oprimization tips as I am working on performance issues in AIF,AOS, SQL Traces and Batch Job optimizations. I found an interesting book.

Click here to read a brief review about that book.

Happy Daxing...!
AX Dude

Thursday, September 12, 2013

Performance Analyzer for Microsoft Dynamics

Hi All,

                    Performance Analyzer for Microsoft Dynamics (Performance Analyzer) is the tool used by Microsoft Dynamics support, Premier Field Engineers, and product team members to diagnose performance issues with Dynamics products.

Click here to download

Happy Daxing....!
AX Dude.