AX / Dynamics 365 For Finance and Operations blog

  • Contacts
  • Articles
  • Categories

Ultimi articoli

←Previous Page Next Page→

  • D365FFO – AX – Data management package REST API

    14 April 2021

    This topic describes the Data management framework’s package representational state transfer (REST) application programming interface (API). The package API lets you integrate by using data packages. The REST API can be used with both cloud deployments and on-premises deployments. For on-premises deployments, this functionality is currently available for Microsoft Dynamics 365 for Finance and Operations,…

    Data management, Data packages, REST API

  • D365FFO – AX – Develop composite data entities

    14 April 2021

    A composite entity is a concept that allows you to build a single entity by leveraging multiple entities that are related to each other. What is a composite entity? Composite entity is concept that allows you to build a single entity by leveraging multiple entities that are related to each other. The concept is heavily…

    Data Entities

  • D365FFO – AX – Choose a data integration strategy

    14 April 2021

    This topic is intended to help architects and developers make sound design decisions when they implement integration scenarios. The topic describes integration patterns, integration scenarios, and integration solutions and best practices. However, it doesn’t include technical details about how to use or set up every integration pattern. It also doesn’t include sample integration code.  Note…

    Data Integration, Data management

  • D365FFO – AX – Data management overview

    14 April 2021

    This topic describes how you can use the data management framework to manage data entities and data entity packages in Finance and Operations. The data management framework consists of the following concepts: Data entities – A data entity is a conceptual abstraction and encapsulation of one or more underlying tables. A data entity represents a common…

    Data management

  • D365FFO – AX – Process and consume data packages in Dynamics 365 Finance and Operations apps solution

    14 April 2021

    A data package for a Dynamics 365 Finance and Operations app can consist of one or many data entities. A typical data package consists of a group of entities for a specific task, process, or function. For example, the data entities that are required for general ledger setup might be part of one data package.…

    Data packages, Export data

  • D365FFO – AX – Update and Update_RecordSet Code sample in Ax

    13 April 2021

    This is Update and Update_RecordSet Code sample. Result of both will be same . //Update_Recordset

    X++

  • Visual Studio – Team Foundation Server – Difference Command syntax

    13 April 2021

    Compares, and if it is possible, displays differences between two files, files in two folders, or a shelveset and a local or a server file. Required Permissions To use the difference command, you must have the Read permission for all specified items set to Allow. For more information, see Permissions and groups reference.Copy Copy Copy Copy Parameters Argument Description itemspec Required.…

    File comparison, Version Control – TFS, Visual Studio

  • D365FFO – AX – Compare the code of a class that is in source control

    13 April 2021

    To compare the code of a modified class there are 3 options : In Team Explorer, select Compare with Latest Version. In Team Explorer, select Compare with Workspace Version Run the diff command Example:In Team Explorer, right-click FMRental.xml, and select Compare with Latest Version. Choose Compare with Latest Version to see how the changes you…

    Source Control, Visual Studio

  • D365FFO – AX – RECURRING INTEGRATIONS

    13 April 2021

    Recurring integration does the following things: It builds on data entities and the Data management framework. It enables the exchange of documents or files between Finance and Operations and any third-party application or service. It supports several document formats, source mapping, Extensible Stylesheet Language Transformations (XSLT), and filters. It uses secure REST application programming interfaces…

    Recurring integrations, REST API

  • D365FFO – AX – Comparison of cloud and on-premises features

    13 April 2021

    This topic shows a comparison of features available in cloud vs. on-premises for the following applications: Dynamics 365 Finance Dynamics 365 Supply Chain Management Dynamics 365 Commerce Dynamics 365 Human Resources Information about the development and administration features is included, as well. The following tables list the application areas. Cloud and on-premises support is listed for the…

    AX – D365FFO

  • REPORTING AND POWER BI – ANALYTICS, AGGREGATE MEASUREMENTS, AND KPI MODELING

    13 April 2021

    This topic discusses the embedded business intelligence (BI), aggregate measurements, dimensions, and data entities, and aggregate programming model. Embedded business intelligence The term embedded business intelligence (BI) refers to experiences that use highly intuitive and fluid visualizations to provide insights that are relevant to a task, so that user is more informed and can make…

    Power BI, Reports

  • D365FFO – AX – CREATE KPI IN FORM

    13 April 2021

    KPI Create a new item of type ‘Key Performance Indicator’ TransAmountKPI. Provide a label and help text for this KPI. Select ‘TransAggregateMeasurements’ in measurement property. Create a new node under Value > Ranges node. Name it ‘Area’. Select dimension as ‘Area’, attribute as ‘AreaId’ and ‘Value’ in filter property. Optionally add nodes under ‘Trends’ node.…

    Forms, KPI, X++

  • D365FFO – AX – Synchronous and Asynchronous operations

    13 April 2021

    In AX7 we have various new ways to execute a time consuming operation on the user client. We all know the feeling if we execute a very long operation on a program window that operation blocks all the user interface until it is completed. To prevent this, in AX 2012 we used either the progress bar to…

    Asynchronous operations, Synchronous operations, X++

  • AX – D365FFO – Class extension model in X++

    13 April 2021

    This article describes the new class extension model in X++. Because over-layering is a very intrusive feature, we recommend that you not use it. The alternative to over-layering is extension. Extension lets you extend existing artifacts in a new model. Extensions are easier to maintain, but the amount of extension that can be done during…

    Extensions, X++

  • AX – D365FFO – Using the edit Method Modifier

    12 April 2021

    The edit method modifier is used to indicate that a method’s return value is to be displayed on a form, and users can edit that value. If you don’t want users to edit the value, use a display method. Use the edit method modifier on the following: Table methods Form methods Form data source methods…

    Edit method

  • AX – D365FO – Using the display Method Modifier

    12 April 2021

    The display method modifier indicates that the method has a return value that can appear on a form or a report. A display method is any method that includes the display keyword as a method modifier. You can use the display method modifier with the following kinds of methods: Table methods Form methods Form data…

    Display method, X++

  • AX – D365FFO – Write extensible enums

    12 April 2021

    An enumeration (enum) is made extensible by setting the following enum properties: Is Extensible = True UseEnumValue = No If you set these properties, downstream implementors can extend the enum with more elements. The values of the elements are determined at deployment time and won’t be identical across systems. However, the following behavior is ensured:…

    Enums, Extensions

  • AX – D365FO – Modify existing fields in a table through extension

    12 April 2021

    To modify properties on an existing field in a table, you must first create an extension for the table. You can modify the following properties: Label Help text Country Region Codes Extended Data Type – You can select only extended data types (EDTs) that are derived from the currently selected EDT. The lookup in the property…

    EDT – Extended data types, Extensions, Tables

  • AX – D365FFO – Verify if a line is changed meanwhile you are inside a while statement

    12 April 2021

    In this example I am selecting Puchlines which have PurchTable in a backorder status

    recVersion, X++

  • AX – D365FFO – MODIFY TABLE PROPERTIES THROUGH EXTENSION

    11 April 2021

    To modify properties on a table, you must create an extension of that table. In Application Explorer, right-click the table, and then select Create extension. A new table extension is created in the selected project, as shown in the following illustration. You can now modify the following properties through the property sheet: Created By Created Date…

    Extensions, Tables

  • AX – D365FFO – MODIFY EXTENDED DATA TYPES (EDTS) THROUGH EXTENSION

    11 April 2021

    There are several properties that can be customized on existing extended data types (EDTs) through extension: Label Help text Form help Country region codes String size You can only modify the value if the EDT does not extend from another EDT. You can only set the new String size to a value equal to or…

    EDT – Extended data types, Extensions

  • AX – D365FO – HOW TO: CREATE A MENU ITEM FOR A REPORT (SSRS)

    11 April 2021

    You can create menu items in Microsoft Dynamics AX to provide access to the reports that you create with the Visual Studio tools for Microsoft Dynamics AX. These menu items are created as output menu items from the Menu Items node in the AOT and can display reports in both the client and in Enterprise Portal Web…

    Menu item, Output menu item, SSRS – sql server reporting services

  • AX – D365FFO – EXTENDING DECIMAL POINT PRECISION FOR SELECTED DATA TYPES

    11 April 2021

    This topic describes how to extend decimal point precision for selected data types. You can create extensions of specific extended data types of the type Real, to change the decimal point precision for certain scenarios. To change the decimal point precision, change the NoOfDecimals property as needed. Extended data types are hierarchical and inherit behavior from the…

    Data types, Decimal point precision

  • AX – D365FFO – FORM STYLES AND PATTERNS

    11 April 2021

    This topic describes the concept of form patterns and discusses the process for applying and removing patterns. A list of frequent questions are also answered in this topic. Dynamics AX 2012: Form styles and templates In Microsoft Dynamics AX 2012, several form styles were introduced and formalized. Primary data types are represented by the List…

    Form patterns, Forms

  • SQL SERVER – Clustered and Nonclustered Indexes Described

    11 April 2021

    An index is an on-disk structure associated with a table or view that speeds retrieval of rows from the table or view. An index contains keys built from one or more columns in the table or view. These keys are stored in a structure (B-tree) that enables SQL Server to find the row or rows…

    Clustered index, Indexes, Non clustered index, Primary idex, SQL Server

  • D365FFO – AX – LIST PAGE FORM PATTERN

    11 April 2021

    This article provides information about the List Page form pattern. A list page presents a set of data on a UI that is optimized for browsing records, so that you can find and work with a specific record. Usage A list page presents a set of data on a user interface that is optimized so…

    Forms, List Page

  • AX – D365FO – X++ – Computed columns and virtual fields in data entities

    11 April 2021

    This article provides information about computed and virtual fields, which are the two types of unmapped fields that a data entity can have. The article includes information about the properties of unmapped fields, and examples that show how to create, use, and test them. The sample code is targeted towards creating or modifying an entity…

    View Computed Column, Virtual fields, X++

  • D365FFO – Identify all extension changes made to the base form

    11 April 2021

    There are two possibilities : Right-click the base form and select view references. In the search bar on the form extension element, enter the text e:. Customization and Extension – Example: Navigate to FMRental.Extension in the Tree DesignerIn the Visual Studio, in Solution Explorer, in the FleetManagement Discounts project, expand User Interface > Form Extensions.…

    Extensions, Utility

  • AX – D365FFO – POWER AUTOMATE – TRIGGERS USING BUSINESS EVENT IN POWER AUTOMATE AND MICROSOFT DYNAMICS 365 FINANCE AND OPERATIONS

    11 April 2021

    Triggers using business event in Microsoft Dynamics 365 Finance and Operations Wondering how to quickly configure D365FO to get alerts based on activities/events and be able to make informed decisions? If you have been using LogicApps, MS Flow, PowerApps and wondering when would triggers be made available with D365FO then from PU24 and onwards a…

    AX – D365FFO, Business event, Ms Flow, Power Automate, Triggers

  • AX – D365FFO – CONFIGURE CONDITIONAL DECISIONS IN A WORKFLOW

    11 April 2021

    Use the following procedure to configure the properties of a conditional decision. A conditional decision is a point at which a workflow divides into two branches. To configure a conditional decision, in the workflow editor, right-click the conditional decision, and then click Properties to open the Properties form. Name a decision Follow these steps to enter a name for…

    AX – D365FFO, Workflows

  • AX – D365FFO – X++ – SIMPLE LIST AND DETAILS FORM PATTERN

    11 April 2021

    This topic provides information about the Simple List and Details form pattern. This pattern is used to maintain data for entities of medium complexity. Usage The Simple List and Details (SL+D) pattern is used to maintain data for entities of medium complexity. Entities of medium complexity are those entities that have six or more fields.…

    AX – D365FFO, Forms, Simple List, X++

  • AX – D365FFO – Table Properties (CASCADE, RESTRICTED, CASCADE + RESTRICTED)

    11 April 2021

    Example of Restricted –Suppose we have two tables (Customer & Order) and the relation is of One-To-Many i.e Customer can have many orders.So on a parent table i.e.(Customer) if I set a delete action property to “RESTRICTED” for Order table. Then If I go and delete the record from a Customer table. It will first…

    AX – D365FFO, Tables

  • Linq-to-Entities Query in Entity Framework

    10 April 2021

    Here, you will learn how to write LINQ-to-Entities queries and get the result in Entity Framework 6.x as well as in Entity Framework Core. Visit LINQ Tutorials to learn LINQ step by step. The DbSet class is derived from IQuerayable. So, we can use LINQ for querying against DbSet, which will be converted to an SQL query. EF API executes this SQL query…

    Entity Framework, Linq, Visual Studio

  • Model-First Development with Entity Framework

    10 April 2021

    In the Model-First approach, you create the entities, relationships, and inheritance hierarchies directly on the design surface of EDMX and then generate the database from your model. First of all, add the new Entity Data Model by right clicking on the project in the solution explorer in Visual Studio (2012/2015/2017) -> Add -> New Item. This will open…

    Entity Framework

  • D365FFO – AX – Class extension – Method wrapping and Chain of Command

    9 April 2021

    The functionality for class extension, or class augmentation, has been improved. You can now wrap logic around methods that are defined in the base class that you’re augmenting. You can extend the logic of public and protected methods without having to use event handlers. When you wrap a method, you can also access public and…

    AX – D365FFO, Chain of Command, Extensions, X++

  • TFS – Devops – AX – D365FFO – Develop in branches – Select an effective branching strategy

    9 April 2021

    Creating branches for your Team Foundation Version Control (TFVC) repositories are useful to isolate risk. Consider some challenges team members typically face when they work on a software project that is staffed by more than five or ten people: The group has a few (or maybe several) different feature teams, each working on a set…

    AX – D365FFO, Branches, DevOps, System Administration, Version Control – TFS

  • AX – Incremental CIL generation

    9 April 2021

    First go to AX developer interface

    AOT, AX – D365FFO, CIL, System Administration

  • D365FFO – AX – What is CIL in AX 2012

    9 April 2021

    n Microsoft Dynamics AX 2012, code can be compiled to CIL and run in the .NET CLR. But what does CIL mean and what is it used for?CIL stands for Common Intermediate Language and is in essence an object-oriented assembly language. It complies with the Common Language Infrastructure (CLI), which is a specification that was…

    AOT, AX – D365FFO, CIL

  • D365FFO – AX – X++ – Using dynamic query values (SysQueryRangeUtil) in Dynamics AX

    9 April 2021

    Whenever I setup Cues for customers in AX 2012 I use dynamic filtering to create actionable cues representing relevant data. I do tend to forget the precise name of the methods and number of parenthesis etc. so here is the full list of end-user available methods based on the SysQueryRangeUtil class: Most used: Name Used…

    AX – D365FFO, Query, SysQueryRangeUtil, X++

  • AX – D365FO – Using SysQuery functions / methods with QueryBuildRange

    9 April 2021

    Instead of direct assignment of the values to the query build range value, we can use SysQuery class methods to avoid the errors of datatype conversion. So here in this post I gave some useful methods. QueryBuildRange qbr; —To set the value we usually follow as below mentioned code qbr.value(“Our Value”); qbr.value(queryValue(“Our Value”)); –We can set the value using…

    AX – D365FFO, Query, SysQuery, X++

  • AX – D365FFO – Display element by Model in AOT

    9 April 2021

    1. In Microsoft Visual Studio, on the Dynamics 365 menu, click Model Management > Refresh Models.2. Open Application Explorer by clicking View > Application Explorer.3. Right-click the AOT root node, and then click Model view.A list of installed models is displayed.Reference:https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/manage-runtime-packages

    AOT, AX – D365FFO, Models, Visual Studio

  • AX2012 – Analyzing SELECT statements using SQL Server Profiler

    9 April 2021

    I recently had an issue when trying to create a new integration for the Dynamics Connector between Dynamics AX 2012 and CRM.  The Connector integration would run, but no records were returned from the AX service that I had created for the integration.  I needed to be able to see the SELECT statement that was…

    AX – D365FFO, SQL Server Profiler, System Administration, Utility

  • Microsoft Dynamics AX 2012 Utilities – Trace Parser

    9 April 2021

    Microsoft Dynamics AX 2012 Trace Parser – Trace Parser ships with Microsoft Dynamics AX. Trace Parser consolidates information from multiple sources, such as remote procedure calls (RPCs) and Microsoft SQL Server, to provide an integrated view of application performance at run time. Following are the details to installation and usage of trace parser: Installation procedure…

    AX – D365FFO, System Administration, Trace Parser, User Interface, Utility

  • D365FFO – AX – Monitoring and diagnostics tools in Lifecycle Services (LCS)

    9 April 2021

    This topic describes the various tools that Microsoft Dynamics Lifecycle Services (LCS) provides to help you monitor, diagnose, and analyze the health of the Finance and Operations environments that you manage. To have a successful onboarding experience to the cloud service, you must know the health of your environments at all times. You must also…

    AX – D365FFO, LCS – Lifecycle Services, System Administration

  • AX 2012 – Clear all Usage Data

    9 April 2021

    Go to AOT (Ctrl + D)

    AOT, AX – D365FFO, Usage Data

  • AX 2012 – Clear a class Usage Data

    9 April 2021

    AOT, AX – D365FFO, Usage Data

  • SSRS – Use a Report Data Provider Class in a Report

    9 April 2021

    A report data provider (RDP) class is an X++ class that is used to access and process data for a report. An RDP class is an appropriate data source type when the following conditions are met: You cannot query directly for the data you want to render on a report. The data to be processed…

    AX – D365FFO, SSRS – sql server reporting services, X++

  • AX 2012 – AOT – SQL in Table browser syntax

    8 April 2021

    AOT, AX – D365FFO, Table Browser

  • AX – D365FFO – X++ – Help label text description

    8 April 2021

    AX – D365FFO, Labels, X++

  • D365FO – X++ – How can you create a simple dialog box in Dynamics AX?

    8 April 2021

    static void DialogSampleCode(Args _args) {     Dialog      dialog;     DialogField field;     ;     dialog = new Dialog(“My Dialog”);     dialog.addText(“Select your favorite customer:”);     field = dialog.addField(extendedTypeStr(CustAccount));     dialog.run();     if (dialog.closedOk())     {         info(field.value());     } }

    AX – D365FFO, Forms, Simple Dialog, X++

  • AX2012 – Unable to do Check-in object or class

    7 April 2021

    Unable to check-in your class (or other object,) to TFS and cannot see the object in list of available checkin objects? Then goes to your project and re-add your class to “Version control”

    AX – D365FFO, Projects, System Administration, Version Control – TFS

  • AX2012 – Add new field to Report (SSRS)

    7 April 2021

    Open your AX Project. Go in DataDictionary –> Tables Go in AOT –> Visual Studio Projects, search for your report and click “EDIT” Visual Studio will open Build and Deploy your Visual Studio Project

    AX – D365FFO, SSRS – sql server reporting services

  • AX 2012 – Version Control in Dynamics AX: Check-in a project and all of its pending objects programmatically

    7 April 2021

    There have been times in Dynamics AX, when I have had to check in a project that includes a lot of objects. Whenever we do a new design or bug fix we always create a project and then add in all the objects that we are making changes to. When completed, we check in the project…

    AX – D365FFO, Projects, System Administration, Version Control – TFS

  • D365FFO – AX – Set required mandatory dialog field in a Runbase (or RunBaseBatch) dialog Form

    6 April 2021

    Forms, RunBase, RunBaseBatch, X++

  • AX – How to: Access a Report for Edit

    6 April 2021

    Determining a Report Name If you want to know the name of a report that you see in the Microsoft Dynamics AX client, the menu item indicates the report name. The following procedure describes how to determine the report name. To determine a report name In the AOT or in Application Explorer, expand the Menus node and…

    AX – D365FFO, SSRS – sql server reporting services

  • Basics of creating SSRS reports in Axapta (AX 2012)

    5 April 2021

    The current version of Axapta, namely Dynamics AX 2012 (the AX2012) all reporting is built on MS Sql Server Reporting Services (SSRS), the use of old technology reporting is possible, but not desirable, and create reports in AX2012-based SSRS not quite trivial . To help new developers, we decided to write a short article describing the minimum…

    AX – D365FFO, SSRS – sql server reporting services

  • D365FFO – How to create SSRS Report start from scratch for Dynamics 365

    4 April 2021

    AX – D365FFO, SSRS – sql server reporting services

  • Dynamics AX 2012 R3 Step by Step – How to build SSRS Report (Advanced RDP Class)

    4 April 2021

    AX – D365FFO, SSRS – sql server reporting services

  • Create simple SSRS report using Query in Dynamics AX 2012 R3

    4 April 2021

    AX – D365FFO, SSRS – sql server reporting services

  • AX2012 – Inventory adjustment journal

    2 April 2021

    AX – D365FFO, Inventory Management, User Interface

  • AX2012 – Get on-hand quantity

    2 April 2021

    AX – D365FFO, Inventory Management, On-hand Quantity, User Interface

  • D365FFO – AX – X++ – Get on-hand quantity

    2 April 2021

    //Get InventDim buffer    inventDim.InventLocationId = importTable.InventLocationId;    inventDim.wMSLocationId = importTable.WMSLocationId;    inventDim.InventSiteId = InventLocation::find(importTable.InventLocationId).InventSiteId;    inventDim = inventDim::findOrCreate(inventDim); inventSum = inventSum::find(importTable.ItemId, inventDim.inventDimId);    

    AX – D365FFO, Inventory Management, On-hand Quantity, X++

  • D365FFO – AX -X++ – Get buffer InventDim per Site/Warehouse/Location

    2 April 2021

       //Get InventDim buffer    inventDim.InventLocationId = importTable.InventLocationId;    inventDim.wMSLocationId = importTable.WMSLocationId;    inventDim.InventSiteId = InventLocation::find(importTable.InventLocationId).InventSiteId;    inventDim = inventDim::findOrCreate(inventDim);

    AX – D365FFO, InventDim, X++

  • D365FFO – AX – X++ – Expressions in query ranges

    2 April 2021

    One of least understood but most powerful Axapta features is the so-called Expressions in query ranges syntax. This is not the same as simply using a QueryBuildRange object in a query and specifying a criteria for a single field. Contents  [hide]  1 Introduction 2 Syntax 3 Examples 3.1 Simple criteria 3.2 Complex criteria with combined AND and OR clauses 3.3 WHERE clauses referencing fields from…

    AX – D365FFO, Query, Query ranges, X++

  • D365FFO – AX – Visual Studio – uncheck the flag for automatic conflict resolution

    2 April 2021

    Setup, System Administration, Visual Studio

  • D365FFO – AX – X++ – Get Worker SalesTaker

    2 April 2021

    HcmWorkerRecId hcmWorkerRecId = DirPersonUserEx::findUserWorkerReference();

    AX – D365FFO, HCM, Utility, Worker Salestaker, X++

  • D365FFO – Batch Jobs history

    2 April 2021

    AX – D365FFO, Batch jobs, User Interface

  • AX / D365FO – How to: Add a Lookup Form to a Control in X++

    2 April 2021

    You can use X++ to add a custom lookup form to a control. To achieve this, you override the lookup method of the control. This allows you to create a query and define a lookup form specific to the control. However, note that the lookup functionality will only be available for the specified control and…

    AX – D365FFO, Forms, Lookup method, X++

  • AX – X++ – Creating and revising the Project Budget from Project Forecasts in D365

    2 April 2021

    With the following code we can able to import the project budget and revising too

    AX – D365FFO, Project budget

  • D365FFO – AX – How joins in X++ select statement are translated into T-SQL

    2 April 2021

    It is not always obvious what request is actually executed on SQL Server. The most confusing is probably exists join in X++. Let’s analyze how joins in select statement in X++ are translated into T-SQL statement sent to SQL Server. 1. join in X++: select AccountNum from custTablejoin TaxGroupId from custGroupwhere custGroup.CustGroup == custTable.CustGroup; CROSS JOIN in T-SQL: SELECT T1.ACCOUNTNUM,…

    AX – D365FFO, Query, Query joins, X++

  • D365FFO – AX – X++ – code to create form data-source extension class

    2 April 2021

    [ExtensionOf(formdatasourcestr(HcmWorker, HcmWorker))]

    AX – D365FFO, Extensions, Forms, X++

  • D365FFO – AX – Updating Vendor Address using X++

    2 April 2021

    Hi, Vendor address state value can be retrieved from tables VendTable, DirPartyTable, DirPartyLocation, LogisticsLocation and LogisticsPostalAddress (or) through the view DirPartyPostalAddressView(mentioned in the blogs suggested by Vilmos) You can use the following job(query) to get the data and to update the state:static void VendorState(Args _args){VendTable vendTable;DirPartyTable dirPartyTable;DirPartyLocation dirPartyLocation;LogisticsLocation logisticsLocation;LogisticsPostalAddress logisticsPostalAddress;LogisticsAddressState LogisticsAddressState; while select vendTablewhere vendTable.AccountNum…

    AX – D365FFO, Vendor, X++

  • D365FFO – AX – FTP Adapter for AIF

    2 April 2021

    The Application Integration Framework in Dynamics AX is an extensible framework for data transportation and reception. It support the separation of transport technology (e.g. MSMQ, XML/SOAP Webservices, Filesystem Share) security aspects (services, permissions, transported data) and data manipulation. Creating new adapters to support other transport technologies is simple. Here is an example to support FTP.…

    AIF, FTP

  • How To Setup Workflows | Dynamics 365FFO AX

    2 April 2021

    Workflows

  • D365FFO – AX – Getting Count in X++ using Select statement

    2 April 2021

      select count(RecId) from AssetTable;

    Query

  • AX – D365FFO – X++ – Export in EXCEL

    2 April 2021

    Microsoft Dynamics 365 for Finance and Operations has several convenient ways to view, edit and publish data. One convenient way is a feature that opens information in Excel. This feature uses some out-of-the-box Excel templates. By using these templates you directly view, edit and delete data from Excel without any additional import/export functionality. Although there…

    AX – D365FFO, Excel

  • AX – D365FFO – Electronic Reporting in Microsoft Dynamics 365 Finance and Operations | Webinar | ANZ D365 FinOps Team

    2 April 2021

    AX – D365FFO, ER – Electronic Reporting

  • AX – D365FFO – Dynamics 365 Webinar: Configurable Business Documents

    2 April 2021

    Part 1/2 Part 2/2

    AX – D365FFO, Business Document

  • AX – D365FFO – Dynamics 365 Webinar: Electronic Reporting Basics Through Simple Example

    2 April 2021

    AX – D365FFO, ER – Electronic Reporting

  • D365FFO – AX – X++ – Walkthrough: Add a Computed Column to a View

    2 April 2021

    This walkthrough describes how you can add a computed column to a view in Microsoft Dynamics AX. A computed column is the output of a computation that inputs a regular column. For example, suppose your table has a column that is named AnnualRent. Your view could return a computed column that is named MonthlyRent and…

    AX – D365FFO, View, View Computed Column, X++

  • Step to create simple view of multiple tables in Ax / D365FFO

    2 April 2021

    This video clip will show you how to Create Simple View In Ax 2012 using multiple tables. In this clip I shown  example of table inventtrans and Inventtransorigin . Mostly people face how to get all inventory transaction order wise like sales order,purchase order,production order etc . Then you can follow steps shown in clip to…

    AX – D365FFO, View, X++

  • Replacement groups in AX / D365FFO – X++

    2 April 2021

    AX 2012 introduced a new type of form control called “Replacement group”. It’s very handy, nevertheless quite a few developers still don’t know about it or are not sure how to use it effectively. This post is not going to details; the intention is rather to show something simple, though still from end to end.…

    AX – D365FFO, Replacement Groups, Tables, X++

  • Create a Runbase batch class in AX / D365FO X++ code

    2 April 2021

    Recently got a requirement to create a run base batch for posting inventory journals.So, I created below class. Please change the code according to your requirement. Step 1 – Copy and paste the below code in a new classStep 2 – Create a new action button and attach the class to it.Step 3 –  Add…

    AX – D365FFO, RunBaseBatch, X++

  • D365FFO – AX – Remove a worker (employer, worker) from a User

    2 April 2021

    AX – D365FFO, HCM, Worker

  • D35FFO – AX – Worker Financial Dimensions

    2 April 2021

    AX – D365FFO, Financial Dimensions

  • D365FFO – AX – X++ – Get the Worker from the current user

    2 April 2021

    HcmWorkerRecId   hcmWorkerRecId =  HcmWorkerLookup::currentWorker(); HcmWorker::userId2Worker(curUserId());HcmWorker::worker2Name(HcmWorker::userId2Worker(curUserId()));

    AX – D365FFO, Current User, HCM, Worker, X++

  • D365FFO – AX – Worker line manger x++

    2 April 2021

    static void WorkerLineManager(Args _args){HcmPosition hcmPosition,hcmPositionLoc;HcmPositionDetail positionDetail;HcmPositionWorkerAssignment workerAssignment,workerAssignmentLoc;HcmPositionHierarchy positionHierarchy, positionHierarchyLoc;HcmWorker hcmWorker,hcmWorkerLoc; select positionHierarchyjoin hcmPositionwhere hcmPosition.RecId == positionHierarchy.Positionjoin workerAssignmentwhere workerAssignment.Position == hcmPosition.RecIdjoin hcmWorkerwhere hcmWorker.RecId == workerAssignment.Worker&& hcmWorker.PersonnelNumber == “891”;{ select positionHierarchyLocjoin hcmPositionLocwhere hcmPositionLoc.RecId == positionHierarchy.ParentPositionjoin workerAssignmentLocwhere workerAssignmentLoc.Position == hcmPositionLoc.RecIdjoin hcmWorkerLocwhere hcmWorkerLoc.RecId == workerAssignmentLoc.Worker; info(strFmt(“%1–line manager %2”, hcmPositionLoc.PositionId,hcmWorkerLoc.PersonnelNumber));}}

    AX – D365FFO, HCM, Line manager, Worker

  • D365FFO – AX – X++ – Build SSRS reports for Finance and Operations apps

    2 April 2021

    See article –> https://docs.microsoft.com/it-it/learn/modules/build-reports-finance-operations/

    AX – D365FFO, SSRS – sql server reporting services

  • D365FFO – AX – X++ – Refresh DataSource and retain position

    2 April 2021

    Refresh a DataSource is a very common task to Dynamics AX developers, as you’ll most likely perform changes on a record and have to present it to the user, on a form. The most commonly used method to refresh the DataSource to make a form show what you have changed on a record is the research method.The…

    AX – D365FFO, Data source, X++

  • D365FO – AX – X++ – CopyAttachments (Copy attachments)

    2 April 2021

    private void al0CopyAttachmentsQuotationToProject(RecId _SalesQuotationRecId, RecId _ProjTableId)     {         DocuRef salesQuotationDocuRef;         DocuRef ProjTableDocuRef;         //Search if exists an attachment for SalesQuotationTable         while select  salesQuotationDocuRef                     where salesQuotationDocuRef.RefTableId == tableNum(SalesQuotationTable)             &&   salesQuotationDocuRef.RefRecId == _SalesQuotationRecId         {             //Copy attachment into Project             DocuRef::createFromDocuRef(salesQuotationDocuRef,_ProjTableId , tableNum(ProjTable));         }         ;

    Attachments, AX – D365FFO, X++

  • D365FFO – X++ – AX – TableId to Table name

    2 April 2021

    If(tableId2Name(this.RefTableId) == tableStr(SalesQuotationTable)

    AX – D365FFO, tableId2Name, Tables, X++

  • D365FFO – AX – X++ TableId of a Table

    2 April 2021

    tableNum(SalesQuotationTable)

    AX – D365FFO, TableNum, Tables, X++

  • D365FFO – AX – X++ – Table Name to Table Str

    2 April 2021

    tableStr(SalesQuotationTable)

    AX – D365FFO, Tables, TableStr, X++

  • D365FO – AX – X++ – Tutorial: refresh, reread, research, executeQuery – which one to use?

    2 April 2021

    X++ developers seem to be having a lot of trouble with these 4 datasource methods, no matter how senior they are in AX.So I decided to make a small hands-on tutorial, demonstrating the common usage scenario for each of the methods. I have ordered the methods based on the impact on the rows being displayed…

    AX – D365FFO, Data source, X++

  • D365FFO – AX – Modify/update the Default dimensions through X++

    2 April 2021

    HcmWorker hcmWorker;HcmEmployment hcmEmployment,hcmEmploymentup;DimensionAttributeValueSetStorage dimStorage = new DimensionAttributeValueSetStorage();DimensionAttribute dimAttrC,dimAtrrCC;DimensionAttributeValue dimAttrCValue,dimAtrrCCValue;DimensionDefault defaultDimension; int i;str costcenter1,costcenter2, name1,name2; dimStorage = DimensionAttributeValueSetStorage::find(this.NewDefaultDimension); for (i=1 ; i<= dimStorage.elements() ; i++){if(i==1){name1 = DimensionAttribute::find(dimStorage.getAttributeByIndex(i)).Name; // cost centercostcenter1 = dimStorage.getDisplayValueByIndex(i);}else{name2 = DimensionAttribute::find(dimStorage.getAttributeByIndex(i)).Name; // classcostcenter2 = dimStorage.getDisplayValueByIndex(i);}} select firstonly hcmWorker where hcmWorker.PersonnelNumber == this.PersonnelNumber;select firstonly hcmEmployment where hcmEmployment.Worker == hcmWorker.RecId; defaultDimension = hcmEmployment.DefaultDimension;dimStorage = DimensionAttributeValueSetStorage::find(defaultDimension);…

    AX – D365FFO, Defeaul Dimensions, X++

  • D365FFO – AX – X++ – Replace a Financial Dimension in Default Dimensions [AX 2012]

    2 April 2021

    In my earlier post, I had explained how we can set financial dimensions. In this post, I will provide a job by which we can replace one attribute value in a combination of financial dimensions. The class that we can use is the DimensionDefaultingService and method to use is “serviceReplaceAttributeValue”. For this purpose, we will use…

    AX – D365FFO, Financial Dimensions, X++

  • D365FFO – AX – Create default dimension using x++

    2 April 2021

    Default dimensions are used very commonly in D365FO and DAX 2012. During development or customization of the system, it is very common that we often stuck at the time when we have to create default dimension using our own dimension values. To solve this problem, I am sharing this code. You just have to alter…

    AX – D365FFO, Defeaul Dimensions, X++

  • D365FFO – AX – Modify / Update the Default Dimension in AX 2012 R3 Using X++ Code.

    2 April 2021

    Modify/ Update the Default Dimension  in AX 2012 R3 Using X++ Code. static void RB_ModifyDimension(Args _args){     ItemId      itemId;    str         costCentre;     DimensionAttributeValueSetStorage   dimStorage = new DimensionAttributeValueSetStorage();    DimensionAttribute                  dimAttribute;    DimensionAttributeValue             dimAttributeValue;   …

    AX – D365FFO, Defeaul Dimensions, X++

  • D365FFO – X++ – AX – How to write a display method in extensions (D365)

    2 April 2021

    Requirement is to display a column from InventTable on Movement Journal lines form based on the selected item. 1. Create a new class and give a name, best practice is to give a name of the object with extension keyword 2. Once class is created, make sure you are using proper syntax and namespaces as…

    AX – D365FFO, Display method, Extensions, X++

  • D365FFO – AX – X++ : Add Report Parameter to SSRS Query Report

    2 April 2021

    In this post we’ll learn how to add report parameter and show it in the report dialog for a Query based SSRS report. Please follow the development steps below to achieve it: 1. Create an AOT Query MAKCustTable.2. Drag CustTable table to the Data Sources node of the query.3. Set Dynamic property to Yes on the Fields node to add all the fields available in the table…

    AX – D365FFO, Reports, SSRS – sql server reporting services

←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