create new number sequence by x++ code in AX 2012
static void DemoNumberSeq(Args _args){NumberSeq numberSeq;Str salesId;numberSeq = NumberSeq::newGetNum(SalesParameters::numRefSalesId());salesId = numberSeq.num(); info(strFmt("%1",salesId)); }How it...
View ArticleDialog Runbase Example in AX 2012
class Runbase_Example extends RunBase{TransDate fromDate,toDate;CustAccount custAccount;DialogField...
View ArticleQueries query classes example in AX 2012
static void Query_cntRecords(Args _args){ Query query = new Query(); QueryRun queryRun; QueryBuildDataSource qbd; int64 iCountRecords; ; qbd = query.addDataSource(tablenum(CustTable)); queryRun = new...
View ArticleMicrosoft Dynamics AX 2012 R3 Tech Conference
Hi there! I will be attending to the Dynamics AX 2012 R3 tech conference in Seattle with my team members from TriBridge. In addition, in this post I would like to share the courses I will be taking at...
View ArticleExcel Cube Functions: Exclude a Single Member from a Set
I’ve talked previously about how one can use MDX to create sophisticated cube sets in Excel, but I was recently stumped by a questions from one of my clients. The question seemed simple enough (“How do...
View ArticleWrite data to text file in AX 2012 and AX 2009
static void writeDataToTxt(Args _args){ CustTable custTable; BinData binData; TextBuffer textBuffer; ; textBuffer = new TextBuffer(); textBuffer.setText(''); while select custTable {...
View ArticleData Partitions in Dynamics AX 2012 R2
Dynamics AX 2012 R2 has got an excellent feature, ‘Data Partitions”. It enables Business data isolation but sharing the same business application.Click here to know about the excellent feature
View ArticleRelease products using X++ code in AX 2012
static void ReleaseProducts(Args _args){EcoResProduct ecoResProduct;;select firstOnly ecoResProduct where EcoResProduct.DisplayProductNumber == "7042"; //Audio...
View ArticleTip - SSRS Time Format functions for converting to am/pm
Dear Friends,Sometime back I was working on few standalone SSRS reports which uses time fields from AX 2009 database like for e.g. smmActivities table and the time here is stored in form of integer...
View ArticleCustom workflow Participant Provider
Very good example on custom workflow Participant Provider on Ax 2009, similar implementation for Ax 2012 also. In Microsoft Dynamics AX, there are four workflow provider types. In some cases, the...
View ArticleX++ Debugging Tips and Tricks #3–Conditional breakpoints
The Dynamics AX Debugger doesn’t support conditional breakpoints. Once in a while this limitation can be quite annoying – but there is a simple workaround. The third trick in the series of X++...
View Article10 reasons I love my Microsoft Surface
First things first – I work for Microsoft, and I will not claim to be unbiased. Yet, I bought my Surface out of my own pocket in a regular Microsoft Store – I was even in line for 3 hours to get it....
View ArticleReread(), refresh() and research()
Hi,reread Rereads the active record from the database.refresh Refreshes the view of all the records currently held in thedata source.research Refreshes the complete query defined in the data source.
View ArticleHow to get records by using tableId
static void TableRecByRecID(Args _args){Common common;DictTable dictTable;#define.tableNo(77)// 77 is CustTable id;dictTable = new DictTable(#tableNo);common = dictTable.makeRecord();select...
View ArticleTroubleshooting Error uploading Invoice Journals Number Sequence "0" does not...
Dear All,Greetings and it's been a while since I did some real posting. Had been very very busy with go live and new projects.Recently for one of our clients, we have setup centralized payments where...
View ArticleTip Dynamics AX Batch Execution and Using the NOLOCK hint to read SQL Server...
Dear All,Hope you are doing well.I thought to share here a quick handy tip which I have been using for quite a while now.Scenario:I have a batch job running in AX which loads thousands of rows into...
View ArticleMicrosoft Dynamics AX 2012 R3 - New Data Import Export Framewrok Changes
Hi There! I hope everybody is doing great! I had the opportunity to attend to the MS AX 2012 R# Tech Conference thanks to TriBridge. In this post I would like to discuss the new Data Import Export...
View ArticleMicrosoft Dynamics AX 2012 R3 technical features
Hi Guys, There are some major changes in AX 2012 R3 as follows1.Automated deployment of AX 2012R3 in Windows Azure2.Building Microsoft AX services integration with the Microsoft Windows Azure Service...
View ArticleMicrosoft Dynamics ERP–Growth Statistics
The latest statistics are out relative to the overall install base, unit and percentage growth of all four Microsoft Dynamics ERP and CRM products. This includes: Microsoft Dynamics AX Microsoft...
View ArticleAX 2012 SSRS RDP Class
[SRSReportQueryAttribute(querystr(CustTransQuery))]public class CustTransdemoDP extends SRSReportDataProviderBase{ CustTransDemoTmp custTransDemoTmp; CustTable custTable; CustTrans custTrans; AmountCur...
View Article