AX / Dynamics 365 For Finance and Operations blog

  • Contacts
  • Articles
  • Categories

Ultimi articoli

←Previous Page Next Page→

  • AX / D365FO – How to show Query Builder Select syntax in an Infolog

    19 July 2022

    To show the SQL command of a Query builder in an infolog just use the ToString() method like shown in code below The info method will show this result in the form {Query object 37782b80:SELECT * FROM InventTrans(InventTrans_1)WHERE ((StatusIssue = 4))JOIN * FROM InventTransOrigin(InventTransOrigin_1)ON InventTrans.InventTransOrigin = InventTransOrigin.RecIdAND ((InventTransId = N’xxxxxxx’))JOIN * FROM InventDim(InventDim_1) ON InventTrans.inventDimId…

    QueryBuildDataSource, QueryBuildRange, QueryRun, X++

  • AX / D365FO – Enable “Saved views” on D365FO Forms

    18 July 2022

    The saved views feature in Dynamics 365 Finance and Operations allows users to save personalizations into sets of views that they can toggle back and forth between. They are excellent to improve user experience and efficiency, but they are not enabled by default, so they cannot be used if none enable them (see image below)…

    AX – D365FFO

  • AX / D365FO – How to : “Unknown User” on Trace Parser

    15 July 2022

    Are you trying to open an ETL Trace parser file but not able to see the trace log inside it? When you search for your D365FO user you just see an “Unknown user” on “Select grouping” lookup field? The problem is not the “Trase parser” application, but how the file was generated. To generate a…

    AX – D365FFO

  • AX – D365FO – Number Sequences Explained

    16 June 2022

    Number sequences in Dynamics 365 Finance and Operations (Dynamics 365) are used to systematically and automatically generate and manage the unique identifiers for different types records throughout the system. There are a large number of types of records that require a number sequence before the record and be successfully created. Some examples are customers, vendors,…

    AX – D365FFO, Number sequences

  • AX / D365FO – create Text file and download locally in the web browser with File::SendStringAsFileToUser #d365fo #ax #msdyn365fo

    16 June 2022

    AX – D365FFO, X++

  • AX – D365FO – Regenerate Cross reference in AX2012 to see the relationships between objects (Used by)

    15 June 2022

    The Microsoft Dynamics AX cross-reference system allows you to see the relationships between objects. You can see the following: Which other objects use the current object Which other objects the current object uses For example, you can get a list of every piece of code that uses a particular method, or you can see which…

    AX – D365FFO, Cross-reference

  • AX – D365FO – How to count affected/updated rows in a Update_recordset statement

    15 June 2022

    How to know how many rows have been updated in a Update_recordset statement? It’s simple, you can just use rowCount() method of the table after the update statement like shown below

    update_recordset

  • AX – D365FO – Name and Id of tables in ax 2012

    15 June 2022

    PurchRFQLineMap ( Request for quotation lines 4 )BankGroup ( Bank groups 5 )RFIDProcessStructureTmp ( RFID process structure 6 )BankAccountTable ( Bank accounts 7 )BankAccountTrans ( Bank transactions 8 )BankChequeLayout ( Check layout 9 )BankChequeTable ( Check table 10 )BankDeposit ( Bank deposit 11 )BankTransType ( Bank transaction type 12 )BOM ( BOM lines 18 )BOMCalcTable…

    Senza categoria

  • AX – D365FO – How to locate a code based on a label in AX 2012

    15 June 2022

    Open development workspace and click on Tools –> Label –> Label editor Search your label by code or description anc click “Used By”. Here you can find all label reference in code

    AOT, Labels

  • AX – D365FO – Compare an XPO file with an AOT Object

    15 June 2022

    To compare an XPO file with an AOT Object follow these instructions : Apen AOT, choose the object you want to compare and click Import button Choose the XPO file, click on Show Details checkbox, expand the tree, and click Compare button Choose the layout (cus, usr, etc..) you want to compare with XPO and…

    AOT

  • AX – D365FO – Duplicate a report in AX2012

    15 June 2022

    Go to AOT -> SSRS Reports Search the report you want to duplicate and export Choose a location for XPO file Open exported file with notepad Change report name with the new name (in my case I added the suffix _ERA in the name) and generate a new GUID (you can use any GUID generator)…

    Reports, SSRS – sql server reporting services

  • AX – D365FO – How to solve error : “The business logic assembly …….., Version=1.0.0.0, Culture=neutral, PublicKeyToken=null does not contain a class for report …….” in a SSRS Project

    15 June 2022

    If this error occur : “The business logic assembly ………………, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null does not contain a class for report ………………………………………” just double click on any data method to solve the problem. Then you can deploy your project

    Reports, SSRS – sql server reporting services

  • Dynamics 365 Human Resources – Questionnaires

    15 June 2022

    Set up training courses : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-courses Questionnaires : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-questionnaires Create questionnaires : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-design-questionnaires Distribute and schedule questionnaires : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-distribute-questionnaires Distribute questionnaires using scheduling : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-distribute-questionnaires-scheduling View and evaluate the results of questionnaires : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-evaluate-questionnaire-results Analyzing questionnaire results : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-analyze-questionnaire-results Create an open ended question : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-create-open-ended-question

    Senza categoria

  • AX – D365FO – Add dropdown filters that show results into a form grid but disconnected from the form datasource.

    15 June 2022

    This is the result we want to obtain, 2 dropdown filters that show results into a form grid but disconnected from the form datasource. When the year is selected and month no then the form will show data from 01/01/year and 31/12/year. When the year and month are both selected then the form will show…

    X++

  • AX – D365FO – Create a resizable form

    15 June 2022

    To make a resizable form you must open the form, go under Design, search the grid and change the width and height properties to “Column width” and “Column height”

    Forms, X++

  • AX – D365FO – Add a lookup for help in a field(or extended data type)

    15 June 2022

    Somethimes it’necessary add a lookup form to a field o extende data type Expected result

    Senza categoria

  • AX – D365FO – Create a “Simple Details w/Standard Tabs” Form

    15 June 2022

    First create a new Table “Al0VendorSearchCriteria” AccounNum is take from VendTable.accountNum StatesId is of type Int64 Al0VendorActicivityId is of type Int64 (taken from another custom table that could be seen in my article : https://d365ffo.com/2021/07/04/ax-d365fo-create-a-simple-and-detail-tree-form/ Create a relation betewwn Al0VendorSearchCriteria and Al0Activity Create Extended data types for the 2 fields Add 2 field s to…

    Simple Details w/Standard Tabs, X++

  • AX – D365FO – How to Add a field in a table and add it into a form data source?

    15 June 2022

    If you add a field in a table and want to ad in a form data source you can use “Restore” button

    Forms

  • AX – D365FO – “Insert if empty” property in Form data source (how to enable/disable the insert of a new empty record in a form grid)

    15 June 2022

    If you want to automatically create a new empty record in a for grid when the form is empty you can set “Insert if empty” property to yes in data grid Otherwise set it ito No and this is the result

    InsertIfEmpty, X++

  • AX / D365FO – Add Row Numbers to SSRS Report

    10 June 2022

    Imagine that you must print an invoice and you want to add row numbers next to each item line. This is very simple. All you have to do is to open your SSRS report and a new column Add new Expression Inside the expression add the function RowNumber(Nothing) Now deploy and execute your report. The…

    Reports, SSRS – sql server reporting services, X++

  • AX / D365FO – Get label text in different languages

    10 June 2022

    To get a label text in a specific language you can use labelId2String() method of the SysLabel class. If you avoid to specify the language the method will use the default system Language

    Labels, X++

  • AX / D365FO – Get Customer Primary email address, phone, fax, Website url

    9 June 2022

    To get the Customer Primary contact informations like e-mail address, phone number, web site url and fax number you can use these 4 methods

    X++

  • AX / D365FO – How to get Customer delivery address in X++

    8 June 2022

    To get the Customer delivery address you can use custtable.mcrDefaultDeliveryPostalAddress() method This example shows how to get a formatted customer delivery address from a given invoice Account

    X++

  • AX / D365FO – How to Call table Display method in Custom lookup – X++

    13 May 2022

    In this simple example I’ll show how add a Table display method as a field of a custom lookup field

    X++

  • AX / D365FO – Add a custom report design under Print management in AX 2012

    6 May 2022

    Below are the steps to be followed : Create new Design for Report under visual studio Add code to method:\Data Dictionary\Tables\PrintMgmtReportFormat\Methods\populateAdd code before TTSCOMMIT:addOther(PrintMgmtDocumentType::PurchaseOrderInvoice, ssrsReportStr(VendInvoiceDocument, MyReport), ssrsReportStr(VendInvoiceDocument, MyReport), #NoCountryRegionId); Choose you new format under:AP -> setup -> form setup -> Print management -> Vendor invoice -> report format to VendInvoiceDocument.MyReport New Report design can be…

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

  • AX / D365FO – Add/Change company logo

    6 May 2022

    I have a company logo in my report I have a scenario in which a company logo should change according to the company in which I run. How to do that? It is very easy to add the logo. Go to Organization administration > setup > Organization > Legal entities Here you will have Company…

    AX – D365FFO, X++

  • AX – D365FO – GET NAME OF A SPECIFIC VENDOR from a given vendAccount #D365FO

    4 May 2022

    AX – D365FFO, Vendor, X++

  • AX / D365FO – Form Field allow edit based on conditon

    21 April 2022

    If you want to allow edit only some fields on the form grid control this is an example that shows hot to reach this goal. 1. Create a Form method as below 2. Call the above method from the form Data source Active method after Super() as below

    Data source, X++

  • AX / D365FO – How to call an Action Menu Item in a Form event handler

    20 April 2022

    In this example I want to call a menu item every time a Data source record is deleted

    AX – D365FFO, Data source, Menu item, X++

  • AX / D365FO – How to refresh form in x++

    20 April 2022

    You can just set property “Auto refresh data” of a button to Yes or alternatively via x++ you can use this code

    Data source, X++

  • AX / D365FO – Export Data Entity Enum fields labels in BYOD using Computed columns or Virtual fields

    19 April 2022

    When you export a Data Entity in BYOD the base enums fields values are shown as integer values. This is a big problem because it’s very difficult to understrand the real value of the field. To solve this issue you can extend the standard data entity or modify a custom one using a virtual field…

    AX – D365FFO, BYOD, Data Entities, Data management, View Computed Column, Virtual fields, X++

  • AX / D365FO – Data Entity to extract Invoices and related Payment vouchers

    14 April 2022

    If you need to extract invoices and related payment voucher numbers you can use 2 Data entities : “Customer payment journal line” or alternatively use “Customer payment journal line settled invoice” Access Data management > Export “Customer payment journal line” Data Entity Select “Customer payment journal line” Click “Export now” When completed click on “Download…

    Customer Invoices, Data Entities, Data management, Payments, Project Invoices

  • AX / D365FO – Update a Form Datasource control field in an Eventhandler

    14 April 2022

    Below code shows how to get buffer from form data source field event handler(modified field) and update values as per the requirement

    X++

  • AX / D365FO – Calling Datasource modified() method programatically

    14 April 2022

    This example shows hot to change Form datasource field value and call its modified() methods throught X++ code

    X++

  • AX / D365FO – Get DataSource in a Form Control EventHandler Method

    13 April 2022

    In Dynamics 365 for Operations you can react to the OnClicked event by copying the event handler method for the event and pasting the method into a class. Below is an example of an event handler method that reacts to the OnClicked event of a button on a form Create new Class and paste below…

    X++

  • AX / D365FO – Add minutes to a DateTime field

    10 April 2022

    This simple job shows how to add 5 minutes to the system UTCDateTime This is the result

    Date functions, X++

  • AX – D365FO – Automatically refresh Form grid data after pressing Action Menu item button

    5 April 2022

    Are you using an Action menu item to insert or modify some rows in a From data grid and you want to immediatly refresh grid data to see you changes? It’s simple!! When you add your Action Menu item in form just set the “Auto refresh data” property to YES (like shown below) After the…

    AX – D365FFO, X++

  • AX – D365FO – Calculate Withholding tax on a Sales order – X++

    31 March 2022

    This is an example job of how to calculate withholding tax for a Sales order

    AX – D365FFO, Withholding tax, X++

  • AX – D365FO – Calculate Withholding tax on a Purchase order – X++

    30 March 2022

    This is an example job of how to calculate withholding tax for a purchse order

    Withholding tax, X++

  • AX / D365FO – Convert an amount into an amount with fixed 2 decimal places after the comma using NUMBERFORMAT() in Electronic reporting

    29 March 2022

    In Electronic reporting if you want to convert an amount into an amount with fixed 2 decimal places after the comma you can use NUMBERFORMAT function Here is an example If the amount is 12.3 then the result will be 12.30 If the amount is 12 then the result will be 12.00

    AX – D365FFO, ER – Electronic Reporting

  • AX / D365FO – Run a batch job with a different user account

    25 March 2022

    When you create a batch job by default the job is executed by the user who created it. If for some reason the user is disabled by a system administrator (for example because he leaves the company where he works) the jobs stop executing and disappear from the jobs form. In these cases to preserve…

    AX – D365FFO, Batch jobs, User Interface

  • AX / D365FO – how to hide or display an xml element based on a particular condition in Electronic reporting

    23 March 2022

    If you want to hide or show an XML element tag depending on a particular condition you can use the “Enabled” button (see below) In this case I want to show the xml element if the customer name is not empty. So enter a condition that returns true if the name is set and false…

    AX – D365FFO, ER – Electronic Reporting

  • AX / D365FO – Change default company in X++

    14 March 2022

    If you want to change the company during the code (i.e. in a Runnable class or a job) you can use changeCompany(‘xxx’) command like shown in this example :

    AX – D365FFO, X++

  • AX / D365FO – HOW TO : “Cannot get IGraphDocumentManager” to view application object hierarchy

    14 March 2022

    If you face this error when trying to view application object hierarchy it means you have to install an option Visual Studio component. You can install it from Tools\Get Tools and Features\Individual components\ Go to Individual components > Code tools > DGML editor and enable it and then enable “Finance and Operations (Dynamics 365)” under…

    AX – D365FFO, Visual Studio, X++

  • AX / D365FO – Execute a SSRS report in batch mode

    10 March 2022

    If you have a report that takes a long time to complete you can consider running it in “batch mode” To reach this result you must call the parmExecutionMode(SysOperationExecutionMode::ScheduledBatch) method in the main Method of the report controller class. For example you can do this But pay attention!! This code forces the report to always…

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

  • AX / D365FO – How to solve error : Overdelivery of line is 100,00 percent, but the allowed overdelivery is only 0 percent

    10 March 2022

    If you face this error it means that you’re trying to deliver (for sales orders) or receive (for purchase orders) a quantity that differs from the quantity given on the order line. To solve this issue you have to : Enable Overdelivery flag on the modules parameters (Account receivables or Procurement and sourcing) Enabled Overdelivery…

    AX – D365FFO

  • AX / D365FO – Removing and Replacing Characters in Strings in X++

    9 March 2022

    To remove characters in a string you can use strrem() method To replace characters in a string you can use strreplace() method Here are some examples :

    AX – D365FFO, X++

  • AX / D365FO – Restart a D365FO environment

    6 March 2022

    To restart a specific service in a deployed environment, follow these steps. In LCS, open the appropriate project, and select the environment to restart the service for. On the Environment details page, select Maintain > Restart services. In the Restart a service dialog box, select the service to restart, and then select OK.The Environment state value is updated when the service is restarted. To view…

    AX – D365FFO, LCS – Lifecycle Services

  • AX / D365FO – Editable table browser with XppTools utility

    6 March 2022

    XppTools is a very useful custom package that contains facilities to manage D365FO environments like : -Display system field name in the query filter-Display table relation fields–Editable table browser-List of Values to Range–Execute direct SQL in D365FO database-SQL reports-D365FO Infolog call stack-DEVDimensionHelper class–Read Excel and CSV files-Blocking in D365FO-Create ledger journals using X++-Create ledger journal…

    AX – D365FFO, Table Browser, X++

  • AX / D365FO – Import and Export ax models in Dynamics 365 for Finance and Operations

    6 March 2022

    Export a Model We ca use ModelUtil.exe, is a tool located in the path K:\AosService\PackagesLocalDirectory\Bin, where K drive could be different if you are not in a cloud environment. Export the model store from the source environment open a cmd with Administrative Privileges and navigate the path of ModelUtil.exe, now run this command: Example Delete…

    AX – D365FFO, Models, Visual Studio, X++

  • AX / D365FO – MERGING A LEDGER DIMENSION WITH A DEFAULT DIMENSION in AX2012 – X++

    5 March 2022

    This example shows how to merge a ledger dimension coming from one place with a default dimension from another place. This could be the ledger dimension in a ledger journal line we need combined with a default dimension from customer. Follow this code to reach the goal :

    AX – D365FFO, Defeaul Dimensions, Financial Dimensions, X++

  • AX / D365FO – Remove all child nodes of a Parent node in XML #d365fo #ax #msdyn365fo

    28 February 2022

    Imagine that your requirement is to write an XML file with some nodes inside, but in a specific case you must remove all the child nodes of a Parent node you have already written. Something like that: If you want to remove all child nodes of a parent node in an XML file you can…

    AX – D365FFO, X++, XML files

  • AX / D365Fo – Add XSI:TYPE attribute in XML files – X++ #ax #msdyn365fo #d365fo

    27 February 2022

    We want to create an XML file with : a namespace in the first element. an XSI prefix for XML elements attributes Desidered output

    AX – D365FFO, X++, XML files

  • AX / D365Fo – Add Namespace and attributes (XSI:TYPE) with XSI prefix in XML files – X++ #ax #msdyn365fo #d365fo

    27 February 2022

    We want to create an XML file with : a namespace in the first element. a prefix for every XML elements a prefix for XML elements attributes Desidered output : So let’s see how to do that in X++ If you don’t want to write the XSI prefix before each XML ELement just write this…

    AX – D365FFO, X++, XML files

  • AX / D365FO – Make a form editable by default using “Always Open for editing” Property #ax #d365ffo #msdyn365fo

    19 February 2022

    By default in D365FO a form is not immediatly editable. If you want to edit you first have to click on “Edit” button in the top left of the screen (like shown below) If you want a form to be immediatly editable you must open “Options” property and click on “Always open for editing”. Next…

    AX – D365FFO, Forms

  • AX / D365FO – aX2012 jobs are back in D365FO

    19 February 2022

    Great news!! AX2012 jobs are back in D365FOThis means you can run x++ custom script in Production environment without any downtime.The feature will be available in 10.0.25 service update. Look at this post for more details.

    AX – D365FFO

  • AX / D365FO – Attach documents (in base64 format) in Electronic Invoice XML files

    16 February 2022

    To attach a document in XML electronic invoices just follow these steps : In this example we’ll create an Project e-invoice First be sure the customer has these 2 flags enabled in the E-INVOICE section :– eInvoiceregister– einvoice attachment Now create a Project Create an item requirement order Post the Packing slip Return to the…

    AX – D365FFO, E-Invoices, ER – Electronic Reporting

  • AX / D365FO – Create a “Table of Contents” Form Pattern

    15 February 2022

    This is an example of “Table of contents” form. This kind of pattern is very useful to store parameters data. Let’s see how to create a new one. Create a new Form in Visual Studio Apply “Table of contents” pattern Give it a name (eg.Parameters) Add new Tab Add new Tab Page Add new Group…

    AX – D365FFO

  • AX / D365FO – Office integration – Add columns to an Excel Add-in Document Template #ax #d365fo #msdyn365fo

    15 February 2022

    The D365FO excel add-in is a very powerful tool that helps users to manage environment entity data to work better and faster. Document templates comes out with many editable entity field columns, but not all of them are available. If you want to add more fields you have to modify the original template. These are…

    AX – D365FFO, Excel, Office integration

  • AX / D365FO – Create a Simple List Form in D365FO #ax #d365fo #msdyn365fo

    15 February 2022

    This is a Simple list form and it’s the final result we want to obtain Here are the steps to create a Simple List Form in D365FO Right click on VS Project and Add new item Click on Dynamics 365 Items > User Interface > Form > Insert the Form name > Add Right click…

    AX – D365FFO, Forms, Simple List

  • AX / D365FO – Electronic reporting – Register a new ER LCS repository #ax #d365fo #msdyn365fo

    14 February 2022

    Register a new ER LCS Repository To create a new Electronic reporting LCS Repository you must login to D365FO portal with an Administrator Account. Go to Organization administration > Workspaces > Electronic reporting. In the Configuration providers section, select your configuration provider tile. Select Repositories.You can now open the list of repositories of your configuration provider. Select Add to open the drop-down…

    AX – D365FFO, ER – Electronic Reporting

  • AX / D365FO – Check which users are online #ax #d365fo #msdyn365fo

    14 February 2022

    Want to know who is currently logged into the system? It’s simply, go to “System administration” > “Online users” Here is the list of all online user.Here you see : User ID User name Status (“Running” means user is online) Login date and time

    AX – D365FFO, Users

  • AX / D365FO – Electonic reporting – How to solve : Reference of the object ‘XXXXXX’ to the object ‘Base’ ({XXXXXXGUIDXXXXX},9) cannot be established

    10 February 2022

    If you’rre getting this error while importing a derived Configuration, pay attention that the derived base configuration and the Parent configuration are the same version otherwise you’ll get the following error : Reference of the object ‘XXXXXX’ to the object ‘Base’ ({XXXXXXGUIDXXXXX},9) cannot be established To solve this error simply rebase the derived configuration to…

    ER – Electronic Reporting

  • AX / D365FO – Access with Administrator rights in a D365FO Virtual machine development environment (Tier1) with AdminUserProvisioning

    6 February 2022

    When you access a new development virtual machine (Tier 1) your user cannot access the D365FO environment. To access you must be an Administrator. To become an Administrator you can use “AdminUserProvisioning” tool. Follow these steps to get it : Login to your VM Open IIS Manager Go to “Sites” > Right click on AOSService…

    AX – D365FFO, D365FO Virtual Machine

  • AX / D365FO – Pause an automatic environment Service update in LCS

    6 February 2022

    To pause updates, follow these steps. In LCS, in your implementation project, open the Project settings page.This page has a new tab that is named Update settings. Select the Update settings tab in the Pause Updates section, and then select Pause upcoming update. In the dialog box that appears, select whether you want to pause updates to your production environment only, or to…

    AX – D365FFO, LCS – Lifecycle Services, Service updates

  • AX / D365FO – How to find data entity from table #ax #d365fo #msdyn365fo

    5 February 2022

    Are you going crazy to find the Data Entities related to a specific table? Unfortunately you cannot do it from D365FO user interface but only from Visual Studio These are the steps to achieve the goal : Open Visual Studio Open the table you need to search the related Data Entity and click on “Find…

    AX – D365FFO, Data Entities, Data management

  • AX / D365FO – Electronic Reporting – Change a Source Model in an existing ER Format

    4 February 2022

    Do you have an existing ER format and you want to change the source mapping model? It’s simply! Just access “Electronic reporting” > choose your format > click on “Designer” Click on “Mapping”> choose your model > click on “Edit” Now you can change the “Model” and the related “Definition“

    AX – D365FFO, ER – Electronic Reporting

  • AX / D365FO – Electronic Reporting – How to : Cannot see newly created tables in the data source table list

    3 February 2022

    Have you created a new table or view and cannot see in the “Table” data source list view? That means you have to refill the list. To do that just press “Refill Table” button, wait a few minutes and the table will appear

    AX – D365FFO, ER – Electronic Reporting

  • AX / D365FO – Electronic Reporting Format a Date

    23 January 2022

    In Electronic Reporting you can easily format a Date or DateTime using DATEFORMAT() or DATETIMEFORMAT() Here is an example of how to use it DATEFORMAT needs 2 input parameters : Date (or dateTime in case of DATETIMEFORMAT) format (which is the output conversion format) Code below shows how to convert current date in yyyyMMdd format…

    AX – D365FFO, ER – Electronic Reporting

  • AX / D365FO – Electronic reporting Get current Legal entity name

    23 January 2022

    How to get the Legal Enity name in Electronic reporting? It’s easy.. there is a predefined function called “GetCurrentCompany()“. You can find it in the formula editor.

    AX – D365FFO, ER – Electronic Reporting

  • AX / D365FO – Electronic Reporting set output file name

    23 January 2022

    By default the name of the electronic reporting output file is made up of : “UserId”+ fixed string “.out”. We can change this name in a static or dynamic way. In my case I prefer to set a unique name. For example consisting of : a static prefix (eg. PriceList) + LegalEntity+ execution date /…

    AX – D365FFO, ER – Electronic Reporting

  • AX / D365FO – Send a message to all online users in LCS #d365fo #ax #msdyn365fo

    22 January 2022

    In LCS you can send a message to online users to warn them that it will not be possible to log into the system in view of an upcoming update. Check online users Login to D365FO portal Go to “System administration” > “Online users” Here is the list of all online user.Here you see :…

    AX – D365FFO, LCS – Lifecycle Services

  • AX / D365FO – Using Cross-Company in Electronic Reporting #ax #d365fo #msdyn365fo

    22 January 2022

    When you associate an Electronic reporting Data Model to a Data Source Table or View you can decide to extract Cross-Company data. When defining the data source just enable “Cross-company” Property

    AX – D365FFO, CrossCompany, ER – Electronic Reporting

  • AX / D365FO – Create an AOT View based on a Query #d365fo #ax #msdyn365fo

    22 January 2022

    Create the AOT Query object First of all you must create an AOT Query Open Visual Studio and Add a new Query Item Add new Data source Set Query properties Dynamic Fields > to automatically include all Table fields choose “Yes”, otherwise chose “No” to select fields manually Table > choose the table of query…

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

  • AX / D365FO – Format a date of a View with computed column #d365fo #ax #msdyn365fo

    22 January 2022

    In this example I will create a new computed column that sjows the FromDate field of the PriceDiscTable in a YYYYMMDD format Open the view and add a new string computed column Give it “FromDateStr” name Now create a new method The method must be private static server str fromDateformat() Now return to the computed…

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

  • AX / D365FO – How to create an AOT view in Dynamics 365

    21 January 2022

    Good post that explains how to create an AOT view in D365FO > https://community.dynamics.com/365/financeandoperations/b/howtodynamics365/posts/how-to-create-view-in-dynamics-365

    AX – D365FFO, View, X++

  • AX / D365FO – Electronic reportings – Export Data model configurations between environments

    21 January 2022

    Have you just created an electronic reporting report in a development environment and want to upload it to another environment without doing it from scratch? The correct way is to share the data model in LCS, but for testing purpose I’ll prefer to expor t the model definition using an XML configuration file. So let’s…

    AX – D365FFO, ER – Electronic Reporting

  • AX / D365FO – Electronid reporting Text functions

    21 January 2022

    Electronic reporting (ER) text functions can be used to perform operations on data sources of the String data type. This topic provides a summary of these functions. > https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/analytics/er-functions-category-text?toc=/dynamics365/commerce/toc.json

    AX – D365FFO, ER – Electronic Reporting

  • AX / D365FO – ELECTRONIC REPORTING Conversion functions

    21 January 2022

    Electronic reporting (ER) type conversion functions can be used to convert values between types. This topic provides a summary of these functions > https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/analytics/er-functions-category-type-conversion?toc=/dynamics365/commerce/toc.json

    AX – D365FFO, ER – Electronic Reporting

  • AX / D365FO – How to solve: “Application specific parameters are not set correctly for the configuration” in Electronic reporting

    16 January 2022

    If you get this error while executing an electronic reporting report : “Application specific parameters are not set correctly for the configuration.” it means that you have configured specific parameters of an ER format per legal entity but not not so well… This problem usally occours when the the specific parameters of a format version…

    AX – D365FFO, ER – Electronic Reporting

  • AX / D365FO – Enable “Records to include” in Electronic Reporting

    15 January 2022

    Are you developing an ER Report but when you try to execute it you can’t find the “Records to include” tab? (picture below) Answer is simple! When you created the data source you forgot to enable the “Ask for Query” checkbox (picture below) So now return to your data source and change this parameter. You…

    AX – D365FFO, ER – Electronic Reporting

  • AX / D365FO – Delete an LCS Project #d365fo #ax #msdyn365fo

    14 January 2022

    Open LCS Select “All projects” tab Select the project to be deleted and click on “Delete” icon Confirm that you are sure to delete the project

    AX – D365FFO, LCS – Lifecycle Services

  • AX / D365FO – Displaying a Message Box in X++ #d365fo #ax #msdyn365fo

    13 January 2022

    Box Class Methods The following table describes the Box class methods and their associated DialogBoxType system enum values. Box class static method name Associated DialogBoxType enum value Description info InfoBox The OK button is the only one that the info method displays in the dialog box.Use this method to display general information messages rather than for warning…

    AX – D365FFO, X++

  • Azure Devops – Full Video Training Course

    8 January 2022

    Very well done Youtube Azure Devops video course : https://www.youtube.com/playlist?list=PLkLerKPSoQ_M1kA_FzK1106ZsJdSZFIhp

    DevOps

  • AX / D365Fo – How to : “Pushing took too long. You can change the default timeout of 300 seconds by using the -Timeout option with the push command.” #d365fo #ax #msdyn365fo

    4 January 2022

    When we try to pusj a D365FO nuget package in devops it may happen that the load times out because the loading time has exceeded the time limit of 300 seconds. In this case, to solve the problem it is sufficient to raise the time limit to a higher value (for example 1000 seconds). To…

    AX – D365FFO, DevOps

  • AX / D365FO – Check if parameters value is set at Runtime with prmIsDefault() method

    3 January 2022

    In X++ the prmIsDefault () let us know if a method’s input parameter variable has been set at runtime or not. If it’s been set at runtime prmIsDefault () returns false, if it’s not set returns true. This method is useful if you have to to skip a method’s logic if its input parameter variable’s…

    AX – D365FFO, prmIsDefault(), X++

  • AX / D365FO – Get Next Sequence number even if Sequence mode is set to manual #d365fo #ax #msdyn365fo

    2 January 2022

    There are cases in which we need to be able to use number sequences even if the mode is set to manual. I am referring in particular to those automatic creation procedures that require the automatic entry of a number sequence. If the sequence encoding mode is set to manual then we will not be…

    AX – D365FFO, Number sequences, X++

  • Ax / D365FO – Create customer through X++ #d365fo #ax #msdyn365fo

    31 December 2021

    Click here to get the code to create a customer throught X++ : How to: Create customer through X++

    AX – D365FFO, X++

  • AX / D365FO – Create a custom web service in D365FO – #d365fo #ax #msdyn365fo

    30 December 2021

    Here are 2 articles that show how to create custom service in D365FO : Create a Custom Service in D365 (classic method) : https://dynamics365musings.com/create-a-custom-service-in-d365/ Custom Web Service in few steps D365FO (simplified method) : https://community.dynamics.com/365/financeandoperations/b/365foandaxtechnicalworld/posts/custom-web-service-in-few-steps-d365fo

    AX – D365FFO, Web Services, X++

  • AX / D365FO – Apply the latest Service update to a development virtual machine #d365fo #ax #msdyn365fo

    28 December 2021

    Download Software deployment package Open your VM, go to LCS > Shared Asset library Go to “Software deployable package” > Select the Service update you want to download and save it. The package is very large (5-6 GB) so it can take a while to download Unblock (Properties > General) the zip file before unzipping…

    AX – D365FFO, D365FO Virtual Machine, LCS – Lifecycle Services, Service updates, X++

  • AX / D365FO – Hot to : “The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop” #d365fo #ax #msdyn365fo

    28 December 2021

    When applying a Service update to aD365FO local development VM the update fails on the Sync AX database step with the following error. The problem seems to be that the SSRS service is not started. In order to fix this, start the service and re-run from the failing step. Re-run from the failing step

    AX – D365FFO, D365FO Virtual Machine, LCS – Lifecycle Services, Service updates

  • AX / D365FO – Add a subquery computed column in a Data Entity #d365fo #ax #msdyn365fo

    27 December 2021

    I want to add a computed column in a data entity. This computed column is not a simple calculated field but the result of a subquery.This query retrieve a field from a table (VendPackingSlipVersion) which is linked to the main Data Entity Data source table (VendPackingSlipTrans). The relation bewteen Main Table and the child table…

    AX – D365FFO, Data Entities, Data management, X++

  • AX / D365FO – Create an xml file and download into the browser with File::SendFileToUser #d365fo #ax #msdyn365fo

    25 December 2021

    To create an xml file you can use XmlNode class and if you want to save it into a folder you can use save method, but if you want to send to the user using the browser download functionality you have to use File::SendFileToUser method. This method accepts only a MemoryStream so you must convert…

    AX – D365FFO, X++, XML files

  • AX / D365FO – “Sales tax Payments” procedure (TaxReport) execution in batch mode in AX 2012 #d365fo #ax #msdyn365fo

    23 December 2021

    In ax 2012 there is no way to post the VAT transactions in batch mode. The only possible mode is the interactive one which can last several hours and blocks the user’s PC who is unable to work. So we decided to modify the procedure in order to give the user the possibility to launch…

    AX – D365FFO, Batch jobs, X++

  • AX / D365FO – How to debug Batch jobs and Service operations in AX2012

    23 December 2021

    Here is a good article that describes how to debug a batch job in AX2012 : https://dynamicsaxinsight.wordpress.com/2014/03/10/ax-2012-how-to-debug-batch-jobs-and-service-operations/

    AX – D365FFO, Debug, System Administration, X++

  • AX / D365FO – Get Production or UAT environment URL from LCS

    20 December 2021

    Login to LCS, click on your project then select Full Details The environment Form will appear, then select Log on to environment.

    LCS – Lifecycle Services

  • Azure Devops – Add or remove a Swimlane in a Kanban Board

    19 December 2021

    So, what swimlanes will support your tracking needs? Once you’ve identified one or two, add them to your Kanban board. Open your Kanban board Choose the  gear icon to configure the board and set general team settings. Choose Swimlanes and then choose the  plus icon and enter the name of the swimlane you want to add.The default lane appears…

    DevOps

  • MS Project – How to reset bar styles?

    19 December 2021

    To reset a bar style, right click on the bar and select Bar styles Now click the Reset button at the bottom of this dialogue and the bar style will revert back to its default.

    Microsoft Project

  • MSProject – Indent/Outdent tasks

    19 December 2021

    There are two ways to indent or outdent a task in your project: Click the task row that you want to indent or outdent, and then, on the Task tab, in the Editing group, click Indent or Outdent. Click the task row that you want to indent or outdent. To indent the task, press Alt + Shift + Right arrow. To outdent…

    Microsoft Project

  • MSProject – Change the default time unit for work

    19 December 2021

    In Project, the default time unit for work is hours, but you can change it to be minutes, days, weeks, or months: Choose File > Options. In the Project Options dialog box, choose Schedule. In the Work is entered in list, choose the time unit that you want.

    Microsoft Project

←Previous Page Next Page→
 

Loading Comments...
 

    • 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