Quantcast
Channel: Microsoft Dynamics AX/D365 Finance - Technical
Browsing all 131 articles
Browse latest View live

Create Purchase order or Sales order and invoice through X++

static void CreatePOAndInvoice(Args _args){     PurchTable      purchTable;     PurchLine       purchLine;     VendTable       vendTable = VendTable::find("1000");     AxPurchTable    axPurchTable;...

View Article


Save AX 2009 report in to PDF format.

public boolean fetch(){boolean ret;;// The below code will save the report of ax 2009 in to pdf format and thus help you to send the report to...

View Article


Change the color of individual field in ax 2009 Report

public void executeSection(){int controlcount;int counter;int usecolor;int oldcolor;object...

View Article

To set the password when you start your AX.

The very first class called when you log in to the AX is Application(Class) and method startuppost().Thus you can write the code here in startuppost method.void startupPost(){dialog d;dialogfield df,...

View Article

Args class

The Args system class is one of the most widely used classes in Axapta. Args is an abbreviation for arguments and an Args object is used to pass information from one object (caller) to another newly...

View Article


MultiSelection of records

void checkSelectedRecords(){Student inventLocal;;//getFirst method gets all the selected records in the gridinventLocal = Student_ds.getFirst(true);while (inventLocal){info(strfmt("You selected Item...

View Article

RunBase framework:

The RunBaseBatch class extends the RunBase class and allows one to create classes (jobs) that can be added to the batch queue. Once the job has been added to the queue, it will be executed by the batch...

View Article

Report structure in AX 2009 / Create report in simple steps

public class ReportRun extends ObjectRun{ dialogField Fromdatefield,todatefield;    FromDate fromdatevalue;    ToDate   todatevalue;    date1980 date1;    date1980 date2;    ConfirmId...

View Article


Image may be NSFW.
Clik here to view.

Renumber your RecId's

Every record in Axapta will have one unique identifier: the RecId.The RecId will be unique per company and the system gets the next RecId number from the table SYSTEMSEQUENCES, field...

View Article


Tax calculation through X++

Method 1:void clicked(){real tax1;;    super(); tax1 = Tax::calcTaxAmount(Salesline.TaxGroup, Salesline.TaxItemGroup, Systemdateget(), Salesline.CurrencyCode, Salesline.LineAmount,...

View Article

Image may be NSFW.
Clik here to view.

Formula 1 Team Races With Microsoft Dynamics

Guys, Dynamics AX has been adopted by Lotus F1 team to manage their every aspect of the business.

View Article

Import the record from MS Excel to AX2009 / AX2012

The below code will help you to import the Excel file in to your MS Dynamics AX 2009 / AX 2012.staticvoidImportFromExcelTOAX(Args _args){    #AviFiles    SysOperationProgress        progress =...

View Article

Image may be NSFW.
Clik here to view.

Some Important date functions in AX

Dayname: Retrieves the name of the day of the week specified by a number.wkofyr : Calculates the week of the year in which a date fallsmthofyr: Retrieves the number of the month in the year for the...

View Article


To find stock On-Hand in AX through X++

static void findOnHand(Args _args){ InventDim inventDim;InventDimParm inventDimParm;Itemid itemid;InventOnHand inventOnHand = new InventOnHand();;// take a sample item for testingitemid = "Item1";//...

View Article

Image may be NSFW.
Clik here to view.

Use of container in display method in AX

Hi friends, Today am going to discuss about the use of container in display method in MS dynamics AX.There may be requirement when we need to display certain things from multiple lines in to a single...

View Article


Lookup (or) Drop-down for field in Dynamic AX using query

void lookupField(FormControl  control){    Query                   query = new Query();    QueryBuildDataSource    queryBuildDataSource;    QueryBuildRange         queryBuildRange;    SysTableLookup...

View Article

X++ Code to Export AOT Object / automatic backup of XPO's.

Hi friends, hope all is well!! JToday am here to convey the most vital subject for MS dynamics AX.Development or customization's are the most important topic which should be saved or backup need to be...

View Article


Get exchange rate from web in to MS AX

static void GetExchangeRates(Args _args){    com com = new com('microsoft.xmlhttp');    com com1;    XMLDocument xmlDoc;    Dialog exchDialog = new Dialog("Exchange Rates");    DialogField   fromField;...

View Article

Force Synchronisation of AOT tables through X++ in AX:

static void forceDbSynchronize1(Args _args){Dictionary dict;int idx, lastIdx, totalTables;TableId tableId;Application application;SysOperationProgress progress;StackBase errorStack;ErrorTxt...

View Article

Ledger postings in MS Dynamics AX 2009

PS stands for packing slip PSO stands for packing slip offsetLedger postings for sales order:1.packing slip:                                                                                      Credit...

View Article
Browsing all 131 articles
Browse latest View live


Latest Images