Quantcast
Channel: Microsoft Dynamics Ax
Browsing all 181 articles
Browse latest View live

Executing external x++ code

runbuf() executes x++ code passed to it. The code must be defined as a function and can return a value. Parameters passed to runbuf() will be forwarded, but default parameters won’t work. To show how...

View Article


Execute External X++ File

static void ExecuteExternalX++File(Args _args){    TextBuffer  textBuffer;    XppCompiler xppCompiler = new XppCompiler();    Source source;    textBuffer  = new TextBuffer();...

View Article


Image may be NSFW.
Clik here to view.

How to read text files that have line feed and carriage return intermixed...

I am trying to read a text file using Dynamics AX. However, the following code replaces any spaces in the lines with commas:// Open file for read accessmyFile = new TextIo(fileName ,...

View Article

Split big text files in smaller ones in X++

Below is a job I found useful many times, so don’t want to loose it.Nothing special, but maybe you’ll find it useful too.It splits an input text file into smaller files.As there is one comment line for...

View Article

read text file in axapta

TextBuffer is used to read the whole text file. Load file using textBuffer.fromFile and fetch the whole file string from the .getTextTextBuffer textBuffer;textBuffer = new...

View Article


Image may be NSFW.
Clik here to view.

Misc.Charge Keep Check Box in Sales Order

The Keep Check Box option in the Sales Order Misc.Charge line has effect after posting the invoice as the following:-If it is marked the Microsoft Dynamics AX 2009 will keep the Misc.Charge Line after...

View Article

Image may be NSFW.
Clik here to view.

Modifying posted Purchase or Sales Trade agreements in MS Dynamics AX 2012

 Hi All,        We are going to discuss about the process as how to modify the Sales or Purchase trade agreements which are posted.        Here we are going to discuss how to modify the line discount...

View Article

Image may be NSFW.
Clik here to view.

AX 2012 Trade Agreements

Trade agreements in AX 2012 will be setup using journals. These journals will now “post” new agreements, changes to existing agreements, and remove agreements. Activate Trade AgreementsTo use trade...

View Article


Image may be NSFW.
Clik here to view.

WMS in Microsoft Dynamics® AX 2009. Shipping Process Overview

IntroductionThe WMS (Warehouse Managements System) encompasses the core components within average Microsoft Dynamics AX installations that are implemented to manage and run world class warehouses.The...

View Article


Image may be NSFW.
Clik here to view.

Change management for purchase orders [AX 2012]

Updated: January 25, 2012Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012You can use change management to control the changes that you make...

View Article

Image may be NSFW.
Clik here to view.

Configuration Key Status Using X++ Code

As we are aware, Configuration key controls access to specific feature. To know about the status of a configuration key, the user has to traverse Administration->Setup->System->...

View Article

How to check configuration key in X++

Query:How can i check if the configuration key is enabled through x++?Answer:if (isConfigurationKeyEnabled(configurationkeynum(keyname))){//insert code here}

View Article

Image may be NSFW.
Clik here to view.

Solving issue with first long starting report on SSRS 2008

As I wrote in my previous blog post First report and report after specific time interval starts a long time on MS SQL 2008 Reporting Services, a first report after specific time takes very long to...

View Article


Image may be NSFW.
Clik here to view.

How to handle SSRS reports which will take long time

How to handle SSRS reports which will take long timeWe know that there are/will be some reports which will take more time to render due to the many rows/transactions. This post will help you to show...

View Article

Image may be NSFW.
Clik here to view.

Faster start Reporting Services

In the morning, your users complain about slow reports. There is often a bad habit of saying that this is due to the first launch and it will get better eventually.Obviously, users are entitled to...

View Article


Microsoft Dynamics Ax Macros

In MorphX macros are not commonly used. A few places make use of macros such as keeping track of the list of fields stored when using dialogs. It is recommended only to use macros to define constants....

View Article

Ax2012 Get the Dimension values for the Main Account

Get the Dimension Values for the Main Accountstatic void krishh_dimensionCombValuesforMainAccount(Args _args){    DimensionAttributeValueCombination  dimAttrValueComb;    DimensionStorage...

View Article


AX2012 Import Chart of Accounts from CSV

/ Assumes a file structure with:// Account number;Account name;Account type (based on the enum DimensionLedgerAccountType)static void Krishh_ImportChartOfAccounts(Args _args){    ChartOfAccountsService...

View Article

GlobalCache (alternative to GlobalVariables in X++)

Many times because of flawed implementation designs, we often need global variables. We may use a table with a key field and a container field for this purpose, but the simplest way of doing this will...

View Article

SysGlobalObjectCache class in AX 2012 [x++]

January 12, 2012 — Sreenath ReddyFriends,There is a new class SysGlobalObjectCache that has been introduced in AX 2012, which will help for Global object caching with the help of scope,  Key and...

View Article
Browsing all 181 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>