Dynamics Search Engine

Thursday, January 22, 2009

How to browse or open a table in Microsoft Dynamics Ax by using X++ language

Note: There is no warranty on this article, use at your own risk.
This article explains:
How to browse a table runtime in Microsoft Dynamics Ax
How to browse a table using x++ language in Microsoft Dynamics Ax
How to browse a table programatically in Microsoft Dynamics Ax
How to open a Microsoft Dynamics Ax table by using X++ codes

Requirement: You should be familiar with Dynamics Ax basic programming.

Open your Ax application then AOT.

Go to Jobs node and create a new job.
Copy the below code and paste it to your job. Here I renamed the job to BrowseTable.

I applied it on Ax 3.0

static void BrowseTable(Args _args)
{
SysTableBrowser systabB;
;
systabB = new SysTableBrowser();
systabB.run(tablenum(inventtable));
}

No comments:

Post a Comment