• 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

Ali Raza Zaidi

A practitioner’s musings on Dynamics 365 Finance and Operations

Dynamics Ax 2012 Technical Side

How to convert utcdate time to ISO 8601 Formats D365 Finance and Operations

January 26, 2025 by alirazazaidi

Hi friends, recently I got chance to write a code to convert Utc date time to iso 8601. I wrote following code snippet you can modify as per your need

public static str GetEPochTime(utcdatetime _DateTimeValue)
{
    utcDateTime utcDateTimeValue;
    str formattedDateTime;
  
    date datepart;
    int milliseconds;
    TimeOfDay _time;
    // _DateTimeValue = DateTimeUtil::applyTimeZoneOffset(_DateTimeValue, Timezone::GMTPLUS0300KUWAIT_RIYADH); // Adjust for specific timezone if needed
    int _year= DateTimeUtil::year(_DateTimeValue);
    int _day = DateTimeUtil::day(_DateTimeValue);
    int _Month = DateTimeUtil::month(_DateTimeValue);
    int _Hour = DateTimeUtil::hour(_DateTimeValue);
    int _second = DateTimeUtil::second(_DateTimeValue);
    int _minute = DateTimeUtil::minute(_DateTimeValue);
    int _timetomilliSecond = 0;
    var localTime =  new System.DateTime(_year, _Month, _day, _Hour, _minute, _second,_timetomilliSecond, System.DateTimeKind::Utc);
    localTime =System.TimeZoneInfo::ConvertTime(localTime,System.TimeZoneInfo::FindSystemTimeZoneById("Arabic Standard Time"));
    // Example UTC DateTime
    // utcDateTimeValue = _DateTimeValue;
    formattedDateTime = localTime.ToString("o");
    // formattedDateTime =DateTimeUtil::toStr(_DateTimeValue);
    formattedDateTime =strReplace(formattedDateTime,".0000000",".00+03:00");
    return formattedDateTime;

TempDB, SrsReportDataProviderPreProcessTempDB And long Running Report Dynamics 365 Finance and operations

October 18, 2022 by alirazazaidi

Recently I got interesting issue. I developed the report based on RDP Class. I have to populate temp table. And based on this temp table I have to aggregate some calculation like sum, Average on Group by.

But when I populate another table based on this aggregation. Report starts to go long awaiting state. I dont know the reason. Later I found that I did not give active connection to temp table variables.

I added following line of code in reports and report processing reduce to less then 2 minutes

this.takeOwnershipOfTempTable(_BEGroupWiseSalarySheetTmp);
this.takeOwnershipOfTempTable(_BEBranchWiseSalarySheetTmp);

How to setup a reporting and accounting Currency Dynamics 365 finance and operations

April 6, 2022 by alirazazaidi

Publish-AXReport : The user or group name is not recognized. Dynamics ax 2012

November 23, 2019 by alirazazaidi

Today I faced this issue, after restoring database of other server, on report deployment on new ssrs I found this error and deployment aborted

Solution is to delete all rows form SysServerSessions.

How to find Purchase requisitions number sequence reference Dynamics 365 for finance and Operations

September 18, 2019 by alirazazaidi

Number sequence for Purchase requisition is not available in Procurement and sourcing Parameter form.
So what is way to find out. Its is very easy. If you see number Sequence form in Organizational administration module. you will filter options
There you can select “Purchase” in Area and ” Purchase requisition” in Reference.

List of technical learning Paths on Microsoft Learn – Dynamics 365 for Finance and Operations

September 18, 2019 by alirazazaidi

Hi all, I just created a list of technical learning paths on Microsoft learn.
Amazingly simple, good and easy to learn.
Hope you all enjoy, learn and take benefit from these links
https://docs.microsoft.com/en-us/learn/paths/introduction-develop-finance-operations/
https://docs.microsoft.com/en-us/learn/paths/build-finance-operations/
https://docs.microsoft.com/en-us/learn/browse/?products=dynamics-finance-operations
https://docs.microsoft.com/en-us/learn/modules/connect-power-platform-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/integrate-azure-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/integration-concepts-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/data-integrations-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/integration-patterns-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/create-classes-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/design-deployment-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/performance-monitoring-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/build-forms-optimize-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/get-started-xpp-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/customize-visual-studio-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/manage-lifecycle-services-finance-operations/
https://docs.microsoft.com/en-us/learn/paths/extending-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/extend-elements-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/role-security-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/explore-extensions-framework-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/apply-basic-performance-optimization-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/manage-source-code-version-control-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/explore-test-framework-tools-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/develop-object-oriented-code-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/build-tables-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/build-edt-enums-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/build-workspaces-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/explore-reporting-tools-finance-operations/
https://docs.microsoft.com/en-us/learn/modules/build-reports-finance-operations/

Allow duplicate check Global Address Book Dynamics 365 for finance and operations.

May 31, 2019 by alirazazaidi

Dynamics 365 for finance and operations provide functionality of check Party Name already exists in Global Address book, So End user can select instead create a new one if required.

Here is video I shared this functionality in small less then 5 minutes series.

 

 

List of Vendor Invoices against Payment General Entry

May 15, 2019 by alirazazaidi

Between posted Vendor Payment Journal and Settled Invoice only relation is Voucher number in ledger Journal Trans and VendSettlement Table.

So My friends my code snippet is here,

        VendTrans               vendTrans;

        VendSettlement          VendSettlement;

  while select * from VendSettlement

                join  * from vendTrans

                where VendTrans.DataAreaId == VendSettlement.TransCompany

                && VendTrans.RecId  == VendSettlement.TransRecId

                && VendTrans.AccountNum == VendSettlement.AccountNum

                && VendSettlement.OFFSETTRANSVOUCHER == _ledgerJournalTrans.Voucher

Haaapy Daxinggg

Serialization version mismatch detect, make sure the runtime dlls are in sync with the deployed metadata D365 For finance and operations

May 6, 2019 by alirazazaidi

Don’t what reason, possible I manually copied the model files to my dev one box. After compiling my model and run the customization, on one control document. I faced this issue.
Serialization version mismatch detect, make sure the runtime dlls are in sync with the deployed metadata. Version of file ‘12104’. Version of dll ‘172’.
Solution for that. I build all models by checking all models.

How to get table id in Dynamics 365 for finance and operations.

January 15, 2019 by alirazazaidi

Table Id can be found SysTableIdView.  in Dev environments, you can do direct query on sql server.

select * from SysTableIdView

 

If you did not access sql server then you can open it on table browser.

 

http://usnconeboxax1aos.cloud.onebox.dynamics.com/?cmp=usmf&mi=SysTableBrowser&TableName=SysTableIdView

 

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)
  • Asset Management (3)
  • Azure Functions (1)
  • Books (6)
  • Certification Guide (3)
  • Customization Tips for D365 for Finance and Operations (62)
  • D365OF (59)
  • Data Management (1)
  • database restore (1)
  • Dynamics 365 (58)
  • Dynamics 365 for finance and operations (135)
  • Dynamics 365 for Operations (165)
  • 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)
  • Implementations (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 (3)
  • Personal Knowledge Management (2)
  • PKM (13)
  • Power Platform (6)
  • Procurement (5)
  • procurement and sourcing (5)
  • Product Information Management (4)
  • Product Management (6)
  • Production Control D365 for Finance and Operations (10)
  • Sale Order Process (10)
  • Sale Order Processing (9)
  • Sales and Distribution (5)
  • Soft Skill (1)
  • Supply Chain Management D365 F&O (3)
  • Tips and tricks (278)
  • Uncategorized (165)
  • Upgrade (1)
  • Web Cast (7)
  • White papers (4)
  • X++ (7)

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