• Skip to main content
  • Skip to primary sidebar
  • Home
  • About
  • Recommended Readings
    • 2022 Book Reading
    • 2023 Recommended Readings
    • Book Reading 2024
    • Book Reading 2025
  • Supply Chain Management Guide
  • PKM
  • Microsoft Excel
  • Microsoft Copilot in Office 365
  • Public Wiki Page

Ali Raza Zaidi

A practitioner’s musings on Dynamics 365 Finance and Operations

Dynamics AX 2012

Dynamics Ax 2012 R3 Cu8 demo data download link

January 25, 2015 by alirazazaidi

 

Demo data file for Dynamics Ax 2012 R3 CU8 is available for download. You can download it from following link

https://mbs.microsoft.com/partnersource/northamerica/sales-marketing/demo-tools/virtual-machines/AX2012DemoToolsMaterials

To log on here you must have partner source or customer source credentials.


1-23-2015 2-06-47 PM

 

Todo is help us to remember the reason why we commented the code in Dynamics Ax 2012

January 23, 2015 by alirazazaidi

Very interesting feature for developers in dynamics Ax 2012 comes from its legacy version is

//Todo: come back here

During development many times, we have to comment some code because it is unfinished or generate errors and we cannot generate CIL.  Later we forget where were we set commented lines of code because AX has thousands of classes.

The best option is to put comment with keyword “todo:” and leave message there or wrote the reason why we commented the line below.

When we compile the code there will be message in compile output window.

1-23-2015 1-06-38 PM

unable to save method … Dynamics Ax 2012 R3

January 19, 2015 by alirazazaidi

I got error message ” Unable to save method init” during saving the form.   While surprising it gives no error on compiling the code. I also found some errors on classes too, I solved it by following way, possible it helps,

 

1-19-2015 7-12-33 PM

 

Using AXBuild for fast compilation in Dynamics Ax 2012 R3

January 17, 2015 by alirazazaidi

We can compile with whole AOT in less time as compared to compilation in Mophix. From Dynamics Ax 2012 R2 cu7 and later a utility provided for this purpose. You can found AXBuild exe from this location.

X:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin

And compilation command is as follow.

axbuild.exe xppcompileall /s=01 /altbin=”C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin” /log:”C:\Temp”

Where s=01 is the AOS server Id

aXbuild

How to check Dynamics Ax 2012 form is in edit mode

January 16, 2015 by alirazazaidi

During development, I wrote code in clicked event of Button. But requirement is that code will works only if form is in edit mode. I used following code to check it

 

boolean _bool;

supper();

_bool=   element.inViewMode();

if (_bool==boolean::true)
{
info (“true”);
}
else
{
info (“false”);
}

This  method element.inViewMode() return true when form is view mode.
 

How to create a new module in dynamics Ax 2012

January 14, 2015 by alirazazaidi

Go to Data Dictionary in AOT. Expand it and under configuration create a new configuration key.

Suppose we are going to create Module name with CustomModule, so we create is configuration key with same name. If you have license key then enter it other wise left it blank. This approach with out licence key works for development but for production you have must have ISV license.

1-14-2015 10-25-39 AM

1-14-2015 10-25-55 AM

 

 

 

 

 

 

community

 

Now go to Menu and create a menu with Name “CustomModule”.

1-14-2015 10-30-09 AM

 

 

 

Expand it and copy other menu and paste in it, then remove all menu items, left empty, common, step up, reports and inquiries.

1-14-2015 10-31-47 AM

 

 

Now right click on CustomModule and from properties set and set it configuration key mentioned in above step

1-14-2015 10-33-31 AM

 

Now expand the menu and right click on main menu and add reference to Custom Module menu.

 

1-14-2015 10-36-18 AM

 

 

Now add one menu Item in newly created menu for example just open a empty form from menu Item.

 

Save it and close the client and restart the AOS.

 

When AOS is restart you find a new module click it and open it.

1-14-2015 10-39-37 AM

1-14-2015 10-40-11 AM

 

VendBankAccount and BankAccountTable address relation Dynamics Ax 2012

January 10, 2015 by alirazazaidi

We can get address for VendBankAccount table and BankAccountTable by following way.

 

VendBankAccount  table has method which returns address VendBankAccount.addressing() ;

For BankAccountTable you can use following query to fetch its address, both table has similar releationship with logistic location table

BankAccountTable  _BankAccount;

LogisticsPostalAddress _postalAddress;

LogisticsLocation  _location;

while select * from _BankAccount

join * from _location

join _postalAddress

where _postalAddress.Location == _location.RecId

&& _BankAccount.Location == _location.RecId

{

info (_BankAccount.AccountID + ” address “+ _postalAddress.Address);

}

 

How to register Request for Quotation response in Dynamics Ax 2012 and its convert Purchase order

January 10, 2015 by alirazazaidi

 

In my previous post, we create and post a request for Quotation for two different vendors,

http://tech.alirazazaidi.com/how-to-create-request-for-quotations-in-dynamics-ax-2012/

 

In this post I am going to register the response sent by vendors against request for Quotation.

1-10-2015 2-04-58 PM

 

 

By clicking on Request for quotation replies. A list page open, if you saw last two lines are against our required RFQ. because we send it to two different vendors.

1-10-2015 2-07-15 PM

 

We are going to register the response from the “Lande Packaging Supplies”.


From top menu select copy Data to reply and click on Edit.

replay

 

On click on edit detail page opens you can update the information according to replies.

Repliy detail

For first Item, I have to update price from 50 to 40 , We assume that Vendor offer us with less price.

PriceUpdate

Save it and similarly register response for other vendor.

 


 

 

 

 

 

Now go to back to all request Quotation form. Select the Request for Quotation and found request of Quotation as follow

Status is received

From top menu strip click on compare replies

Compare replices

 

Following form will open which shows the line header with amount.

legal

If you saw Vendor account 1001 offers less prices then vendor 1002. I am going to accept that response and that will result in Purchase Order convert from Request for Quotation.

 

Select the line and click on accept button.

Similar form opens

 

Purchase order successfully created against accepted response.

 

Purchase Order created

 

 

How to create request for quotations in Dynamics AX 2012

January 8, 2015 by alirazazaidi

 

Consider a scenario, where your organization “USMF” (demo data legal entity), what to purchase items from Vendors. They have different vendors who can provide these items / services on different discounted rate. So USMF create a request Items with specific quantity and send these request to different vendors. When vendors receives these request they evaluate different points and return the bids against them, We can register these responses in Ax against Request for which quotations they offered.  After finalizing selected Quotes converted into Purchased order.

In this post we are going to request for quote and post this quote to different Vendors.

 

For creating request for Quotations you have to go Procurement and sourcing module.

 

The menu path will be Procurement and sourcing=> Request of Quotation=> All request for quotation

request for Quotation

 

 

 

When you click on “All requests for quotations” link a list page will open

All Request for Quotetion list page

 

 

 

 

Click on Request for Quotation new button from top Quotation tab.

 

Create New Quotation

 

Select solicitation type and select RFQ-for Goods.

1-8-2015 3-31-19 PM

 

Update the delivery date to 2/28/2015 and also set expiration date and time to 1/21/2015.

Request for Delivery Date

Expiration date and time is means that vendor has to send response before the expiry date.

Click on Ok button and Request for Quotes detail page opens.

line Item

 

 

 

Here you can select item, its quantity and site id.

sss

Quantatity

 

 

 

 

 

Now you can select the vendors for list against you send request for quotes by expending vendor fast tab below the

Vendor

Select vendor account and click on add button.

For example I want to send this request for quotes to two vendors Acme Office Supplies and Lande Packaging Supplies.

selected vendor

Now vendors are selected we have to send these quotes to vendors, If your organization use the Enterprise portal then you can post this request for quote to vendor portal. But here I am just Request of quotes to posted

dd

 

By Clicking on Send button following window will be open, If you are interested in printing you can click on print button.

1-8-2015 4-49-52 PM

 

After clicking on ok button you can check that in Request for quote detail page, that vendor highest status  become sent.

Vendor status

If we saw the list page then find the status of request for quotes is also send

1-8-2015 5-03-15 PM

File load dialog in Dynamics Ax 2012

January 4, 2015 by alirazazaidi

Some times we have to load files into dynamics Ax. Following X++ code helps to load files in Dynamics AX.

Dialog _dialog;
DialogField _file;
;

//Prompt to import excel
_dialog = new Dialog(“Please select the file to load”);
_dialog.addText(“Select file:”);
_file = _dialog.addField(ExtendedTypeStr(“FilenameOpen”));

_dialog.run();

if (_dialog.closedOK())
{
info(_file.value() );
}

File load

ddd

« Previous Page
Next Page »

Primary Sidebar

About

I am Dynamics AX/365 Finance and Operations consultant with years of implementation experience. I has helped several businesses implement and succeed with Dynamics AX/365 Finance and Operations. The goal of this website is to share insights, tips, and tricks to help end users and IT professionals.

Legal

Content published on this website are opinions, insights, tips, and tricks we have gained from years of Dynamics consulting and may not represent the opinions or views of any current or past employer. Any changes to an ERP system should be thoroughly tested before implementation.

Categories

  • Accounts Payable (2)
  • Advance Warehouse (2)
  • AI (3)
  • Asset Management (3)
  • Azure Functions (1)
  • Books (6)
  • Certification Guide (3)
  • ChatGPT (3)
  • Claude (1)
  • Customization Tips for D365 for Finance and Operations (63)
  • D365OF (60)
  • Data Management (1)
  • database restore (1)
  • Dynamics 365 (59)
  • Dynamics 365 for finance and operations (139)
  • Dynamics 365 for Operations (174)
  • Dynamics AX (AX 7) (134)
  • Dynamics AX 2012 (274)
  • Dynamics Ax 2012 Forms (13)
  • Dynamics Ax 2012 functional side (16)
  • Dynamics Ax 2012 Reporting SSRS Reports. (31)
  • Dynamics Ax 2012 Technical Side (52)
  • Dynamics Ax 7 (65)
  • Exam MB-330: Microsoft Dynamics 365 Supply Chain Management (7)
  • Excel Addin (1)
  • Favorites (12)
  • Financial Modules (6)
  • Functional (8)
  • General Journal (1)
  • Implementations (1)
  • Ledger (1)
  • Lifecycle Services (1)
  • Logseq (4)
  • Management Reporter (1)
  • Microsoft Excel (4)
  • MS Dynamics Ax 7 (64)
  • MVP summit (1)
  • MVP summit 2016 (1)
  • New Dynamics Ax (19)
  • Non Defined (9)
  • Note taking Apps (2)
  • Obsidian (4)
  • Personal Knowledge Management (3)
  • PKM (16)
  • Power Platform (6)
  • Procurement (5)
  • procurement and sourcing (6)
  • Product Information Management (4)
  • Product Management (6)
  • Production Control D365 for Finance and Operations (10)
  • Sale Order Process (10)
  • Sale Order Processing (10)
  • Sales and Distribution (5)
  • Soft Skill (1)
  • Supply Chain Management D365 F&O (5)
  • Tips and tricks (278)
  • Uncategorized (165)
  • Upgrade (1)
  • Web Cast (7)
  • White papers (4)
  • X++ (10)

Wiki

  • SCM

Copyright © 2026 · Magazine Pro On Genesis Framework · WordPress · Log in