• Skip to main content
  • Skip to primary sidebar
  • Home
  • About
  • Recommended Readings
    • 2022 Book Reading
    • 2023 Recommended Readings
    • Book Reading 2024
    • Book Reading 2025
    • Book Reading 2026
  • 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

Tips and tricks

Workflow Assigned User to Employee Personal Id Dynamics Ax 2012

April 6, 2018 by alirazazaidi

Small tip but interesting.

 

HcmWorker::findByPerson(DirPersonUser::find(workflowWorkItemTable.UserId).PersonParty).PersonnelNumber);

 

🙂

Parameter _reportName cannot be null or empty. Dynamics Ax 2012 R3

March 19, 2018 by alirazazaidi

Hi, All, After Incremental CIL,  errors started to appear on controller classes. These are all those classes where report Name is mentioned in code. Error message in compilation as below.

Parameter _reportName cannot be null or empty.

When we compiled respected class, This error move to next controller class. After compiling number of classes. Finally We decided to compile the all classes by right click on Classes node of AOT.

Compilation of all classes in AX resolved the issue.

 

Notes about Labels D365 for Finance and operations.

March 14, 2018 by alirazazaidi

 

Suppose we are doing customization or new development from scratch. We need labels for our control, forms, fields for display caption or titles.

 

So first step is to create it by adding new item in Visual studio.

 

 

 

Name it as required,

 

 

Select language. I select the English “US”

 

Make it finish

 

As a result new  label file is created in visual studio solution

 

 

Click on file and add values through editors.

 

Labels created here can be search at control, field, EDT and Enum can be searched and used

 

 

 

 

After creating labels file in project you find button in labels.

 

Search and selected required label

It is not recommend to create a new label for every field instead search and use label. For example for “Description” search and use existing one.

 

Something similar appear when I searched “Description”.

It shows all possible labels

 

 

You can add labels in label file using text editor.  For example I write AL0005 in text editor.

 

On saving, On opening label editor I found something similar.

 

Operation could not completed parameter is incorrect D365 for finance and operations.

March 14, 2018 by alirazazaidi

Aahaaaa, just started development, one table, some edts and a form, as I tried to compile , I found the Error

” Operation could not completed parameter is incorrect”.

Machine generated alternative text:
Microsoft Visual Studio 
The operation could not be completed. The parameter is 
incorrect. 
OK 
x

Interestingly, the old trick, run visual studio as administrator still works here.

So I saved the project and run the Visual studio by right click on visual studio Icon and select the run at Administrator.

Customer / Vendor ledger Dimension D365 for finance and operations X++

February 28, 2018 by alirazazaidi

 

In D365 for finance things are little bit change and much more organized. In Dynamics Ax 2012, which consider as classic AX. We get ledger dimension  with DimensionStorage class

 

ledgerDim = DimensionStorage::getDynamicAccount(

‘US-001’,

LedgerJournalACType::Cust);//Account

offsetLedgerDim = DimensionStorage::getDynamicAccount(

‘USMF OPER’,

LedgerJournalACType::Bank);//OffsetAccount

 

 

 

 

In D365 this Microsoft provide LedgerDynamicAccountHelper. Code snippet is here

 

 

 

 

 

 

ledgerDim = LedgerDynamicAccountHelper:

:getDynamicAccountFromAccountNumber(‘US-1001’,

LedgerJournalACType::Cust);

 

offsetLedgerDim = LedgerDynamicAccountHelper:

:getDynamicAccountFromAccountNumber(

‘USMF OPER’,

LedgerJournalACType::Bank);

 

 

Reference http://daxingwitheshant.blogspot.com/2015/04/creating-payment-journal-using-x-in-ax.html

Item Group is not specified Dynamics Ax 2012

February 15, 2018 by alirazazaidi

Until and unless you have not good grip on functional side, you are unable to deliver customization. This idea constantly grow in mind and now started to grow as fear,

What if the functional consultant is not available or not provide good testing. And your piece of Code breaks in Production.  In ERP things goes beyond unit testing, We need extensive scenario based testing. In ERP development is easy, but covering all possible scenarios is tough, you have to grow functionally.

 

So I started to explore functional side by my own. And small issue starts to popup and now I started to document as I faced them 1 by 1 during learning process.

 

So I got very small issues. When I tried to use a newly created item in purchase line.

Item Group is not specified for item.

 

 

 

It took me almost 10-15 minutes where is the Item group in Release product detail form.

 

I found it in Manage Costs fast tab.

Microsoft Connect portal retired, you have to follow other link

February 9, 2018 by alirazazaidi

 

Hi all, I was trying to download latest Dynamics 365 for finance Dev box vm, but found that Microsoft Connect portal is retired. you can found all information here.

https://docs.microsoft.com/en-us/collaborate/connect-redirect

 

I expect that lastest VM link will available here, As I found latest 7.3 update 12 link here

https://aka.ms/finandops73pu12

 

And it leads us to some share point link, Download is good as compare to old connect link.

 

How to extend trial period on D365 Finance and operation Dev box vm.

February 5, 2018 by alirazazaidi

Today, I login Dev box Vm and found trail period is expired. I follow following steps to extend its period. These are common step, but lets document it.

So I open PowerShell run as administrator.

And write following command

slmgr -rearm

Command is successfully executed and I got following message

So restart the VM.

copy UAT database to dev box SQL Server Dynamics 365 for finance and Operations

January 31, 2018 by alirazazaidi

I followed below link and UAT database which was restored from Production DB by Microsoft Employee. that and download and restored on my local dev box VM.

I found this link so precise that no need to blog any more.

https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/database/copy-database-from-azure-sql-to-sql-server

Process Busy Indicator D365 for finance and operations

January 25, 2018 by alirazazaidi

Hi All, today I have small tip, During development, I have to process a lot of records. During this , I need Busy screen process indicator.

 

I used following code snippet to create progress busy indicator.

 

For this I have to do following changes in my Class method (Business logic).

  1. Convert required method to Static
  2. Parameter is changed to Container and then required parameter extract from container inside the method.

 

 

So my required method become something like

 

 

Class myProcess

{

 

 

Public static void RunmyProcess(Container _C)

{

Str _Value = conpeek(_C,1);

 

 

 

}

 

}

 

 

 

class RunBtnProcess

{

/// <summary>

///

/// </summary>

public void clicked()

{

 

container _Xyz=[TableName.FieldValue];

super();

SysOperationSandbox::callStaticMethod(classNum(myProcess),
staticMethodStr(myProcess,RunmyProcess),_Xyz, 
'Ledger Record in process', 'Operation completed');

 

 

}

 

}

Reference : Internet.

« 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 (64)
  • D365OF (60)
  • Data Management (1)
  • database restore (1)
  • Dynamics 365 (59)
  • Dynamics 365 for finance and operations (139)
  • Dynamics 365 for Operations (175)
  • 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