AX / Dynamics 365 For Finance and Operations blog

  • Contacts
  • Articles
  • Categories

Ultimi articoli

←Previous Page Next Page→

  • AX / D365FO – How to get a Base enum integer internal value with a SQL Server query or a Job

    18 December 2021

    Are you like me going crazy to figure out how to find the integer value of an enum type? No problem, the solution is around the corner. In this case you have 2 options : Open SSMS SQL session and run a query. Create a job / Runnable class SQL Query Job / Runnable class

    AX – D365FFO, Enums, X++

  • AX / D365FO – Add new button to the Modern POS layout in D365 Commerce Retail

    16 December 2021

    How to add a new button in the MPOS D365 Commerce Retail screen? Just follow these steps Go to Retail and Commerce > Channel setup > POS setup > POS > Screen layouts Filter for “F3CSH” screen layout Id assigned to your MPOS user (or Register or Store)Select the screen size (in layout sizes tab)…

    AX – D365FFO, Commerce Retail, Modern POS

  • AX / D365FO – Add Security roles to users in AX2012 #d365fo #ax2012

    15 December 2021

    To add security roles to system users just follow these instructions Go to “System Administration” –> “Users” Search the user you want to assigni the new roles and Double-click on it Here you’ll find roles already assigned to the user. If you want to assign new roles just click on “Assign Roles” button Choose the…

    Roles, Security Policy, System Administration

  • AX / D365FO – Set custom XML Namespaces Attributes (xmlns, xsi, etc..)

    14 December 2021

    Use setAttribute method() to add custom Namespace to an XML node like shown below

    AX – D365FFO, X++, XML files

  • AX / D365FO – Install Quality update in a Sandbox or Production environment in LCS #d365fo

    13 December 2021

    A quality update is a cumulative, roll-up build that contains fixes for known issues that are specific to the service update. A quality update is available when your environment is running the same version of the current service update (n), or when your environment is running on one version older than the current service update…

    AX – D365FFO, LCS – Lifecycle Services

  • AX / D365FO – Get Environement ID and Application/Platform release of a D365FO Environment in LCS #d365fo

    13 December 2021

    To check your D365FO cloud hosted environements Environment ID and Application release and Platform release just follow this steps: Access your LCS Project Access the environment you want to check (choose Sandbox or Production environment) Here you get : Environment ID : ……………………. Application release : 10.0.22 Platform release : PU46 (7.0.6164.49)

    AX – D365FFO, LCS – Lifecycle Services

  • Best XML Formatter and Beautifier

    11 December 2021

    For me one of the best online online XML Formatter and beautifier –> https://jsonformatter.org/xml-viewer

    XML files

  • AX – D365FO – X++ Language reference Guide

    11 December 2021

    Here you can find the official X++ Programming Language reference guide : https://docs.microsoft.com/en-us/dynamicsax-2012/developer/x-language-programming-guide?redirectedfrom=MSDN

    AX – D365FFO, X++

  • AX – D365FO – Open an LCS support ticket with the Microsoft Support team #d365fo

    11 December 2021

    To submit issues directly to Microsoft, select the Support tile in your LCS project. You can then submit issues in two ways: On the Active issue tab, select your issue, and then select Submit to Microsoft. On the Submitted to Microsoft tab, select Submit an incident, and then follow the on-screen instructions to submit the incident. After you submit an incident, you will…

    AX – D365FFO, LCS – Lifecycle Services

  • AX – D365FO – Collection classes in X++ #d365fo

    11 December 2021

    Reference article : https://docs.microsoft.com/en-us/dynamicsax-2012/developer/collection-classes-in-microsoft-dynamics-ax The collection classes are shown in the following table. Class Description Array Similar to the X++ language array type except that it can hold values of any single type, including objects and records. Objects are accessed in a specific order.For more information, see X++, C# Comparison: Array Syntax. List Contains elements that…

    Array, Collections, List, Map, set, Struct, X++

  • AX – D365FO – Count records in Queryrun

    10 December 2021

    If your query has just one datasource you can use SysQuery::countTotal If we need to count number of records of a query with more than one datasource, you must use SysQuery::CountLoops(QueryRun).

    QueryBuildDataSource, QueryRun, SysQuery, X++

  • AX – D365FO – How to retrieve classes involved in a workflow

    9 December 2021

    Find the handler classes that are triggered when a workflow starts is not an easy First you have to get the workflow ID and name In this example the workflow ID is 000009 and the name is “VendrequestNVATTemplate” After find the name go to Visual Studio and search for it in AOT. Opern the designer…

    Workflows, X++

  • AX – D365FO – Executing external x++ code with RunBuf() function

    8 December 2021

    With Runbuf() you can execute an external x++ code To show how it works, I am going to use this function to execute code read from an external file. In this example I want to retrieve the Customer Name from a given Customer Account number. First create an external file in c:\temp\ and call it…

    RunBuf, X++

  • AX – D365FO – Create an AOT Macro #D365FO

    7 December 2021

    You can organize the constants used in your code by creating a macro in the AOT for keeping all your constants in one place. Also is a good idea if your macro is going to be used in several places so you will be able to reuse the macro.To create a new macro in the…

    Macro, X++

  • AX – D365FO – Get Name of a specific vendor #d365fo

    7 December 2021

    To get the Vendor name just use vendTable.vendorName() method. This retrieves the Party name related to a specific vendor

    Vendor, X++

  • AX – D365FO – How To Load D365FO Debug Symbols #D365FO

    7 December 2021

    While debugging Visual Studio not stopping on your breakpoints? This could be that your D365 debug symbols are not loading. There are several settings that need to be set correctly to allow D365 debug symbols to load. This article will explain how you can troubleshoot this issue (see below)

    Debug, Visual Studio

  • AX – D365FO – Connect to UAT database through SSMS (SQL Server management studio)

    6 December 2021

    The only way to get access to UAT Sandbox SQL Server database throught SSMS is to make a request from LCS. This is access is only for 8 hours, after that time you need to request access again. So Login to LCS Go to UAT environment -> Full details. You should see request access controls…

    SQL Server, Testing, User acceptance tests, X++

  • AX – D365FO – Debug workflows

    6 December 2021

    The workflow infrastructure uses batch processing on AOS to execute workflows so in order to debug it you have to open Visual Studio in Administrator mode and attach to the Batch.EXE process. Now you can debug

    Workflows, X++

  • AX – D365FO – Azure hosted build for Dynamics 365 Finance

    6 December 2021

    Follow this article to create an Azure hosted Build machine : https://ariste.info/en/2020/05/azure-hosted-build-dynamics365-finance-scm/#configure-pipeline You can automate the process of building X++ code and creating deployable packages on any build agent that run on Microsoft Windows. These agents include Microsoft-hosted agents. This approach helps you avoid the setup, maintenance, and cost of deploying build virtual machines (VMs).…

    Deployable packages, DevOps

  • AX – D365FO – “While” statement example – X++

    4 December 2021

    X++

  • AX – D365FO – DO…WHILE statement example

    4 December 2021

    X++

  • AX – D365FO – “FOR” Statement example

    4 December 2021

    AX – D365FFO, X++

  • AX – D365FO – Refresh database data from a production environment to a sandbox environment (UAT) in LCS

    4 December 2021

    You can use Microsoft Dynamics Lifecycle Services (LCS) to perform a refresh of the database to a sandbox user acceptance testing (UAT) environment. A database refresh lets you copy the transactional and financial reporting databases of your production environment into the target, sandbox UAT environment. If you have another sandbox environment, you can also copy…

    AX – D365FFO, LCS – Lifecycle Services

  • AX – D365FO – “OR” conditions in a QueryBuildRange for a same field

    3 December 2021

    I want to add a list of values in an “OR” Condition for a same field in a QueryBuildRange. The result must be something like that select * from CustGroup where custGroup.CustGroup == ’50’ || custGroup.Group ==’90’; To do that Just add range and assign value on the same field multiple times as shown in code…

    Query, QueryBuildDataSource, QueryBuildRange, X++

  • AX – D365FO – Add Menu item to Favourites in AX2012

    3 December 2021

    To add a menu item to Favourites just right-click on menu item, click on “Add to favourites” and you’ll find it in the Favourites Menu (like show below)

    AX – D365FFO, Menu item

  • Visual Studio – Enable / Disable Word Wrap

    1 December 2021

    To set word wrap preferences On the Tools menu, select Options. In the Text Editor folder, choose the General options in the All Languages subfolder to set this option globally.— or —Choose the General options in the subfolder for the language in which you are programming. Under Settings, select or clear the Word wrap option.When the Word wrap option is selected, the Show visual glyphs for word wrap option is enabled. Select the Show…

    Visual Studio

  • AX – D365FO – Select Statement with an Outer Join

    1 December 2021

    SQL Statements

  • AX – D365FO – Making a Cross-Company Tables in AX

    1 December 2021

    When using AX, there are a lot of times where you want data to go across companies. To set a Table to Cross company just set NO the “Save Data per Company” property

    CrossCompany, Tables, X++

  • AX – D365FO – Customization Analysis Report (XppBp.exe)

    28 November 2021

    The Customization Analysis Report is a tool that analyzes your customization and extension models, and runs a predefined set of best practice rules. The report is one of the requirements of the solution certification process. The report is in the form of a Microsoft Excel workbook. Click here to view some examples on how to…

    AX – D365FFO, Customization Analysis Report, X++

  • SQL SERVER – How to : “The database could not be exclusively locked to perform the operation”

    27 November 2021

    If you are facing this error : “The database could not be exclusively locked to perform the operation. (Microsoft SQL Server, Error: 5030)” when you try to rename SQL server database you need to temporary switch from Multi User mode to single user mode, then rename the database and then set it back to Multi…

    SQL Server

  • AX – D65FO – How to solve error : “Cannot open W3SVC service on computer” while opening Visual Studio

    26 November 2021

    If you’re facing the error “Cannot open W3SVC service on computer” while opening Visual Studio you probably are trying to access without administrator permission. To open with Visual Studio Administrator privileges open Properties in application Task bar Click “Advanced” Check “Run as Administrator” and OK

    Cloud hosted environment, LCS – Lifecycle Services, Visual Studio

  • AX – D365FO – Export a database from LCS environments

    25 November 2021

    Access LCS with an Administrator account and click on your project Access the environment you want to export Click on Maintain –> Move database Click on “Export Database”. This operation could take up to 24 hours…. After the operation is completed click on Asset library Search your Database and click on it to download the database file…

    AX – D365FFO, LCS – Lifecycle Services

  • AX – D365FO – Create a D365FO cloud-hosted environment Virtual machine

    25 November 2021

    Create the VM Access LCS with an Administrator account and click on your project Click on “Cloud-hosted environments” Click on “Add” Choose D365FO Version Set Environment name and click on “Advanced settings” Check these settings Check these settings Click Next Wait 6-7 hours until completion Once completed click on “Local Accounts” (a remote desktop session…

    Cloud hosted environment, D365FO Virtual Machine, LCS – Lifecycle Services

  • AX – D365FO – How to solve error : “Lifecycle Services cannot perform the current {0} operation. Received null or empty value for parameter {1}” when attempting to deploy cloud-hosted environments within LCS.

    25 November 2021

    We recently encountered two errors when attempting to deploy cloud-hosted environments within LCS. “Lifecycle Services cannot perform the current {0} operation. Received null or empty value for parameter {1}”The diagnosis was that we were accessing LCS with an account in a different AAD domain than the Azure subscription tenant. To solve use an administrator account…

    Cloud hosted environment, LCS – Lifecycle Services

  • Download MICROSOFT AX/D365FO Official PDF documentation (English / Italian)

    24 November 2021

    MICROSOFT AX/D365FO Official documentation in english language : MICROSOFT AX/D365FO Official documentation in italian language :

    AX – D365FFO

  • AX – D365FO – Write and Read Txt file with TextIo class

    24 November 2021

    The following X++ job code sample creates a file and writes to it. Next the code reads from the file, and prints every record to the Infolog. This is the output result Message (14:12:47)File is at: C:\DOCUME~1\myalias\LOCALS~1\Temp\Test_File_IO.txtHello World.The sky is blue.

    Text file, X++

  • AX – D365FO – Set credentials in AIF Service client / Web Service

    23 November 2021

    This code shows how to pass user and password to a Web Service from AX

    Web Services, X++

  • AX – D365FO – Consuming a TLS 1.2 web service

    23 November 2021

    When consuming a web service from AX this error can occour: System.ServiceModel.CommunicationException: An error occurred while making the HTTP request to ……… This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding…

    TLS 1.2 security protocol, X++

  • AX -D365FO – Catch Exceptions Thrown from CLR Objects

    23 November 2021

    In Microsoft Dynamics AX, when your X++ code calls .NET framework methods it is important that your code be designed to handle exceptions. When your code catches exceptions it can relay valuable diagnostic information to the user. The following X++ code sample demonstrates how to handle exceptions that are thrown from .NET methods

    Error exceptions, X++

  • AX – D365FO – Using Like in select statement in X++

    20 November 2021

    In SQL it is common to use like when querying data.  For example, the following SQL statement queries the CustTable table for all customers that begin with ’12’ It is also possible to use like in X++ syntax.  The following X++ statement queries the CustTable table for the same data:

    Like operator, select statement, X++

  • AX – D365FO – Using update_recordset with CrossCompany statement

    20 November 2021

    If you have tried to use Update_recordset with CrossCompany option you’ll probably have faced this error : “Cannot update multiple records in yourTable(yourTable).Cross company update_recordset operation should skip database logging.” The reason is because you have to disable database logging before to proceed To solve this issue you must use these methods : yourTable.skipDataMethods(true); yourTable.skipDatabaseLog(true);…

    CrossCompany, SQL Statements, update_recordset, X++

  • AX – D365FO – Debug a copy of the production database in Dynamics 365 Finance & Operation

    19 November 2021

    This is a nice post that describes how to debug a copy of the production database in D365FO : https://rahulmsdax.blogspot.com/2019/03/debug-copy-of-production-database-in.html

    AX – D365FFO

  • AX – D365FO – Connect to Your Non-Production Database (UAT, etc..) with SQL Server management studio (SSMS)

    19 November 2021

    This is a good article that describes how to connect to a non production environment with SSMS https://stoneridgesoftware.com/how-to-connect-to-your-non-production-d365-finance-and-operations-database/

    SQL Server

  • AX – D365FO – Write a recursive method in X++

    17 November 2021

    This post describes how to write a recursive method in X++ In this example I get all the child Categories of a given Parent Category and write them into an info log.

    Recursive methods, X++

  • AX – D365FO – Create an XML file in X++

    17 November 2021

    Reference article : https://shyamkannadasan.blogspot.com/2016/06/ax-creates-xml-file-in-x-containing.html This example create an XML file in X++ containing employee details

    X++, XML files

  • AX – D365FO – Get individual dimensions value from Ledger Dimension in X++

    17 November 2021

    In this example method we pass 2 parameters : Ledger dimension record An Attribute named “BusinessUnit”. The attribute of which we want to retrieve the value This methods returns the sigle dimension Attribute value

    Financial Dimensions, X++

  • AX – D365FO – Integrate D365FO and a third party application using DMF Data Package and REST API

    17 November 2021

    This a good article that describes how to integrate a third party application with D365FO using Data management framework Data Packages and REST API : https://azureintegrations.com/2019/10/15/d365fo-interacting-with-data-management-frame-work-using-rest-api-for-delta-changes-on-entity/

    Data Integration, Data packages, REST API

  • D365FO – AX – Consume a Data Entity throught C# console application using ODATA REST API #d365fo #ax #msdyn365fo

    17 November 2021

    This a good article that describes how to integrate a third party application with D365FO using C# Console application and ODATA REAST API. In this example we’ll insert a new record throught a Data Entity : https://shootax.blogspot.com/2019/10/d365fo-data-integration-by-odata-part-1.html

    Data Integration, Data management

  • AX – D365FO – Data package numbering sequences

    13 November 2021

    Reference article : https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/lcs-solutions/process-data-packages-lcs-solutions Microsoft Dynamics Lifecycle Services (LCS) contains multiple base data packages that you can use to reduce the implementation time. These packages contain the elements that are required in each module/area in order to meet the minimum requirements. For advanced business processes, you might have to add more entities to the list…

    Data management, Data packages

  • AX – D365FO – Use Upgrade Analyzer tool to upgrade from AX2012 to D365FO

    13 November 2021

    This topic explains how to use the Upgrade analyzer tool to plan your upgrade from Microsoft Dynamics AX 2012. This tool is run against an AX 2012 environment and identifies data that you should clean up in AX 2012 to help reduce the subscription cost for Finance and Operations. The tool also suggests SQL configuration…

    Upgrade analyzer, Upgrade from AX2012

  • AX – D365FO – X++ Code to Unsettle Payment and Invoice

    13 November 2021

    This is small utility code if we need to unsettle payments and invoice Reference article : https://community.dynamics.com/ax/b/amirsaxspace/posts/x-code-to-unsettle-payment-and-invoice

    Customer Invoices, Payments, X++

  • AX – D365FO – Export an XML file using Electronic Reporting explained

    12 November 2021

    This article describes how to export an XML file using Electronic reporting : https://powerobjects.com/dynamics-365-finance-operations/electronic-reporting-explained/

    ER – Electronic Reporting

  • AX – D365FO – Join multiple tables on a Insert_recordset statement

    11 November 2021

    The following X++ code example shows a join of three tables on an insert_recordset statement that has a sub-select. Also, a while select statement with a similar join is shown. A variable is used to supply the inserted value for one column. The str variable must be declared with a length that is less than or…

    Insert_recordset, SQL Statements

  • SQL SERVER – Update a DateTime field

    11 November 2021

    This is an example on how to update a Datetime field including Hour, minutes and seconds

    Date functions, SQL Server

  • AX – D365FO – Number sequence automatic cleanup functionality to recover missing purchase orders numbers

    7 November 2021

    In case of a power failure, an application error, or other unexpected failure, the system cannot recycle numbers automatically for continuous number sequences. You can run the cleanup process manually or automatically to recover the lost numbers. Take a look at this article that describes how to recover missing purchase orders number with the cleanup…

    AX – D365FFO, Number sequences

  • AX – D365FO – Prevent submitters from approving their own workflows

    7 November 2021

    Our customers may requires to control Workflows to avoid creator approval on documents submitted to workflow. This could be controlled by the system where set Disallow approval by submitter control as Yes. You can find this control under System administration| Workflow| Workflow parameters (see screen below) Assume that the same user creates an invoice and normally he is the one…

    AX – D365FFO, Workflows

  • AX – D365FO – Leaining paths to gain the skills to becomecertified for Exam MB-320: Microsoft Dynamics 365 Supply Chain Management, Manufacturing

    7 November 2021

    Here you can find the learning path to gain the skills needed to become certified for Exam MB-320: Microsoft Dynamics 365 Supply Chain Management, Manufacturing : https://docs.microsoft.com/en-us/learn/certifications/exams/mb-320 Once accessed the page go in the “Online – Free” section and start you learnings

    AX – D365FFO, Exams

  • AX – D365FO – Learning path to gain the skills needed to become certified for Exam MB-310: Microsoft Dynamics 365 Finance

    7 November 2021

    Here you can find the learning path to gain the skills needed to become certified for Exam MB-310: Microsoft Dynamics 365 Finance : https://docs.microsoft.com/en-us/learn/certifications/exams/mb-310 Once accessed the page go in the “Online – Free” section and start you learnings

    AX – D365FFO, Exams

  • AX – D365FO – Learning paths to gain the skill needed to become certified on Exam MB-700: Microsoft Dynamics 365: Finance and Operations Apps Solution Architect

    7 November 2021

    Here you can find the learning path to gain the skills needed to become certified for Exam MB-700: Microsoft Dynamics 365: Finance and Operations Apps Solution Architect : https://docs.microsoft.com/en-us/learn/certifications/exams/mb-700 Once accessed the page go in the “Online – Free” section and start you learnings

    AX – D365FFO, Exams

  • AX – D365FO – Modify User Language and Country/Region settings

    6 November 2021

    In this example you need to modify the dashboard to start in a specific company and to use the following settings : – Country: France– Time zone: Paris– Language: French To do that follow these instructions : 1. Click the Gear icon in the top right corner of the page.2. Select User Options from the…

    AX – D365FFO, User interface Language, User settings

  • AX – D365FO – Unit of measures conversion examples

    6 November 2021

    Example Case : The pallets used by a company can contain 12 boxes.You need to create a unit of conversion for the boxes. You need to create a unit of measure for the pallet and another unit of measure for the box (if they don’t already exist). Then you create a unit conversion. Create a…

    Unit of measure, Unit of measure conversion

  • AX – D365FO – Configure the system to support customer approvals workflows.

    6 November 2021

    1. Navigate to Accounts receivable > Setup > Accounts receivable parameters. 2. Click the General tab.3. Expand the Customer Approval section.4. Click the slider named Enable customer approvals to Yes.5. Select the entities for which you wish to enable customer approvals.

    Workflows

  • AX – D365FO – modify the default print management setup for customer invoices to use the PDF format.

    6 November 2021

    1. Go to Navigation pane > Modules > Accounts Receivable > Setup > Forms > Form setup2. On the General tab, click the Print management button. 3. In the documents list, expand Customer invoice and select Original <Default>.4. In the Destination field, select Printer setup.5. In the Print destination settings windows, select File.6. Select PDF…

    Customer Invoices, Print management

  • AX – D365FO – convert datatime to string in a specific format

    5 November 2021

    Custom formatting string in .NET makes it really easy. This code achieves this output Datetime in GMT: 20211105_113052

    Date functions, X++

  • AX – D365FO – How to solve error: “Unable to hot-swap the revised assembly to the server” in AX 2012

    4 November 2021

    If you are trying to deploy a class library project from Visual Studio to AX server and facing this error : Error 1 Unable to hot-swap the revised assembly to the server. If this is a test or development installation, configure the server to enable hot-swapping. 0 0 ITStaging it means you must enable the…

    System Administration, Visual Studio

  • Ax – D365FO – How to : “The number of messages exceeds the limit of the Infolog (10000.)” message

    3 November 2021

    If you’re facing this warning message means you’re exeeding the limit of infolog message. Default limit of Infolog messages is 10000, but you can change the value of  MaxErrors macro in viewBuild() method of Info class (like shown below).

    infolog, X++

  • AX – D365FO – How To Use Advanced Filter

    2 November 2021

    This article contains many examples on How To Use Forms Advanced Filter : https://dynamics-tips.com/how-to-use-advanced-filter-d365-finance-and-operations/

    Advanced filters, Forms

  • AX – D365FO – Set date range filter in a Form

    2 November 2021

    Some other notable simple query syntax is the range syntax which is just two periods “..”. This represents a range between two values. For example, in a date field you could use it query for customers that have a customer since date between “9/21/2020” and “9/25/2020”. This is the syntax 9/21/2020..9/25/2020

    Forms, RunBase, RunBaseBatch, X++

  • AX – D365FO – Save previously used Query in a RunBaseBacth class

    2 November 2021

    If yoou want to save last used Query on a RunBaseBatch class just set TRUE the QueryRun.saveUserSetup() method like show in the example below This code will enable the “Previously used Query” option while opening the Select Form dialog like shown below

    Forms, Query, RunBase, RunBaseBatch, X++

  • AX – D365FO – Select TOP n rows in select statement – X++

    2 November 2021

    You can only retrieve 1, 10, 100, 1000 records from a select statement using firstonly syntax (like shown below) while select firstonly100 rent order by PostedDate desc where (rent.PostedDate > td && rent.RentalOrderStatus == z_RentalOrderStatus::Posted) || rent.RentalOrderStatus == z_RentalOrderStatus::Approved { info(“orders”); } If you want to get different number of rows you can implement a…

    select statement, X++

  • AX – D365FO – Convert UtcDateTime to string

    1 November 2021

    Date functions, X++

  • AX – D365FO – Get current system DateTime (with hours, minutes, seconds)

    1 November 2021

    You can use DateTimeUtil::getSystemDateTime() method to extract current system DateTime with hours, minutes and seconds. It will return date in this format : 01/11/2021 15:42:23

    Date functions, X++

  • AX – D365FO – X++ date runtime functions

    1 November 2021

    Here you can find the complete X++ Date runrtime functions : https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-date-run-time-functions

    Date functions, X++

  • AX – D365FO – Append text in an existing file with TextIO Class

    1 November 2021

    These are the mode in which the file should be opened. Specify one the following:R – ReadW – WriteA – Append (implies “W”)T – Translate (text)B – Binary

    X++

  • AX – D365FO – Use Security role access Report to investigate which user roles have visibility and access level to system objects

    31 October 2021

    Microsoft has added some additional new security reports that can be accessed through the web application. These can be found by going to System Administration -> Inquiries -> Security. Under this section you will find four reports: User Role Assignments Security Role Access Role to User Assignments Security Duty Assignments To investigate which user roles…

    AX – D365FFO, Security Policy, Security reports, System Administration

  • AX – D365FO – Grant Access to a form and View current form security objects with SECURITY DIAGNOSTICS TOOL

    31 October 2021

    This article described how to Grant Access to a form and View current form security objects with SECURITY DIAGNOSTICS TOOL : https://community.dynamics.com/365/financeandoperations/b/howtodynamics365/posts/how-to-view-security-diagnostics-for-page-in-dynamics-365

    AX – D365FFO, Security Policy, System Administration

  • AX – D365FO – Change The Dashboard Banner Or Logo of a legal entity In D365 Finance And Operations

    31 October 2021

    This article describes how to change the dashboard banner or logo in D365FO: http://blog.congruentsoft.com/change-the-dashboard-banner-or-logo-in-d365-finance-and-operations/

    AX – D365FFO

  • AX – D365FO – LEARNING PATHS TO GAIN THE SKILLS NEEDED TO BECOME CERTIFIED FOR EXAM MB-500: Microsoft Dynamics 365: Finance and Operations Apps Developer

    30 October 2021

    Here you can find the learning path to gain the skills needed to become certified for Exam MB-500: Microsoft Dynamics 365: Finance and Operations Apps Developer : https://docs.microsoft.com/en-us/learn/certifications/exams/mb-500 Once accessed the page go in the “Online – Free” section and start you learnings

    AX – D365FFO, Exams

  • AX – D365FO – Learning paths to gain the skills needed to become certified for Exam MB-300: Microsoft Dynamics 365: Core Finance and Operations

    30 October 2021

    Here you can find the learning path to gain the skills needed to become certified for Exam MB-300: Microsoft Dynamics 365: Core Finance and Operations : https://docs.microsoft.com/en-us/learn/certifications/exams/mb-300 Once accessed the page go in the “Online – Free” section and start you learnings

    AX – D365FFO, Exams

  • AX – D365FO – How to get current system Time?

    29 October 2021

    Date functions, X++

  • AX – D365FO – split datetime in hour minutes second in different timezone

    29 October 2021

    This is the example to  split datetime in hour minutes second in different timezone

    Date functions, X++

  • AX – D365FO – Complex criteria with combined AND and OR conditions

    29 October 2021

    Find all records where the ItemType is Service, or both the ItemType is Item and the ProjCategoryId is Spares. This is not possible to achieve using the standard range syntax. This example shows how to do that Note also that in this example, we are using the fieldStr() method to specify our actual field names…

    Query, Query ranges, QueryBuildDataSource

  • Ax – D365FO – How to SHOW/HIDE Select Query button in a RunbaseBatch class

    29 October 2021

    To show or hide the Select button on a RunBaseBatch class add the “showQuerySelectButton()” method and return true to how to show or false to hide

    Forms, RunBase, RunBaseBatch, X++

  • AX – D365FO – Query Object Datasource Linking

    29 October 2021

    Query, Query joins, QueryBuildDataSource, X++

  • AX – D365FO – Create RunbaseBatch Class with Query window selection

    29 October 2021

    Step 1: Create a runbasebatch class with all the needed methods Step 2: Override the initParmDefault() method Step 3: In Run method you can apply your logic

    QueryRun

  • AX – D365FO – ERROR : The method typeId has not been declared.

    28 October 2021

    Hi, In AX 2012 onwards typeId() is replaced with extendedTypeStr();

    X++

  • AX – D365FO – Open Visual Studio with a Specific Layer Configuration (CUS, USR, ETC..) from a shortcut in AX 2012

    28 October 2021

    Create a new shortcut. Type your visual studio client path in the browse textbox ( for example “C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe”), add /AXConfig parameter and add your .AXC file path (for example “C:\Users\Public\Desktop\R3 Icone AX\SVI\SVIR3_CUS.axc”). If you don’t know hot to create an .AXC configuration file follow this guide Final shortcut command will…

    AX – D365FFO, System Configuration

  • AX – D365FO – How to create a new client configuration/.AXC File in AX 2012

    28 October 2021

    This article will guide you through the steps to create a new AX client config file for a specific layer in AX 2012 R3.  1.     Click Start > Administrative Tools > Microsoft Dynamics AX 2012 Configuration to open the Microsoft Dynamics AX Configuration Utility. 2.     Click Manage > Create configuration. The Create Configuration window is displayed. 3.     Enter a name for the configuration, and then click OK.…

    AX – D365FFO, System Configuration

  • AX – D365FO – Delete Usage Data (SysLastValue) in X++

    27 October 2021

    In this example we delete the usage data for Class called “TaxReport” of the current user.

    Usage Data, X++

  • AX – D365FO – Function To get Current User Using X++

    27 October 2021

    If you need to get the current user id use this function :

    Users, X++

  • AX – D365FO – Methods on a Form Data Source

    26 October 2021

    Original document from Microsoft documentation : https://docs.microsoft.com/en-us/dynamicsax-2012/developer/methods-on-a-form-data-source Each form data source has a set of standard methods. You override these methods when you want to change the behavior for validation, caching, and so on. These methods are a subset of the methods in the FormDataSource system class. You use the AOT to access the standard…

    Forms, X++

  • AX – D365FO – How to: Add Filter Controls to a Simple List Form in Ax2012

    26 October 2021

    Click on this Microsoft documentation to add filter controls to a simple list form in AX2012 : https://docs.microsoft.com/en-us/dynamicsax-2012/developer/how-to-add-filter-controls-to-a-simple-list-form

    Forms, Simple List, X++

  • AX – D365FO – How to create a custom filter on list or inquiry form in Dynamics AX 2012

    26 October 2021

    During development we have to create custom inquiry forms. Or Form where we can  search and filter records on different criteria. Consider a scenario, where we have to build custom inquiry form for all saleline. In this inquiry or custom list form, we can filter on records on date, customer and amount or discount. Lets…

    Forms, ListPage Form

  • AX – D365FO – IF Ternary Operator

    25 October 2021

    This section describes a comparison of the ternary statement to the if statement.

    Ternary operator, X++

  • AX – D365FO – Get CustTable Customer Name in X++

    23 October 2021

    CustTable, X++

  • AX – D365FO – Importing CSV Using RunBaseBatch X++

    22 October 2021

    RunBase, RunBaseBatch, X++

  • AX – D365FO – Error : “Access denied to method processreport in class” in AX2012

    22 October 2021

    “If the permission node under the design of the SSRS report seems OK you can try to export and re-import the SSRS report by XPO. For me, it solved the problem (on AX2012 R2 CU7) without having to add any permission on roles or privileges. Under the hood, we found out that re-importing the report…

    Security Policy, Security reports

  • AX – D365FO – Calling an External Web Service from X++ in AX2012

    22 October 2021

    This article describes how to call an external Web Service from X++ in AX 2012 : https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/walkthrough-calling-an-external-web-service-from-x

    X++

  • Create Application user in Azure for use in Dynamics 365

    21 October 2021

    This article describes how to Create Application user in Azure for use in Dynamics 365 :

    Azure

  • AX – D365FO – Find Roles related to a Duty

    20 October 2021

    There are 2 ways to retrieve roles of a Duty. The first is by going in AOT, the second is to do a SQL Query. First Approach : Open AOT under the node Security –> Duties Then search your duty, right click on it and go into Add-Ins –> Security tools –> View related security…

    Duty, Roles, Security Policy

←Previous Page Next Page→
  • Subscribe Subscribed
    • AX / Dynamics 365 For Finance and Operations blog
    • Join 158 other subscribers
    • Already have a WordPress.com account? Log in now.
    • AX / Dynamics 365 For Finance and Operations blog
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar