Quantcast
Channel: Microsoft Dynamics 365 and Power Platform Library
Browsing all 102 articles
Browse latest View live

Conditional IIF Sum in SSRS report at group level

I got a requirement where I want to show sum amount based on differnent conditions.Simple Sum of amount can be shown with following expression;=Sum(Fields!Amount.Value)I tried following expression to...

View Article


Building query AND using query object in X++

Create and add datasource with range in X++// Code using X++ to build the queryQuery query;QueryRun queryRun;QueryBuildDataSource qbds;ProjTable ProjTable;;query = new Query();// Add a datasource to...

View Article


Calculate timing in X++ operations [WinAPI::getTickCount()]

While reading some lengthy operations e.g. reading data from CSV files, fetching data in query and uploading data etc I wanted to know the time consuming in each opertion. This helped me to optimize my...

View Article

Model Deployment - Power Shell & Command line statements

I myself often require following commands and worth to have these at one place to get it more quickly. Export a Model FileWindows PowerShellExport-AXModel -Model <name> -File...

View Article

Cannot open the datafile file axapden-us.alt

Faced following error after restoring Dynamics AX databases from one AOS server to other.Cannot open the datafile "C:\Program Files\Microsoft...

View Article


Image may be NSFW.
Clik here to view.

How to create Info part and use it on List page

This post is about how to create info Part in AX and use it on list page.For this example; I am using Projects List page and will add Revenue Info Part on it.Right click on AOT\Parts\Info Parts and...

View Article

Error when validate settings in Report servers by any admin account which is...

First thing you need to verify the Service account and Execution Account are properly configured under Reporting Services Configuration Manager.After some troubleshooting, I found UAC was not turned...

View Article

Dynamics AX "7" Insights

http://www.bdosolutions.com/ca/insights/microsoft-convergence-update-part-3-dynamics-ax-roadmap-and-strategy-microsoft-dynamics-ax-7-0/

View Article


AX to SQL data dictionary synchronization issues

One of my clients restored their AX database from PROD to DEV environment for AX 2009 and on database sync following error message was thrownCannot execute a data definition language command on ().The...

View Article


Image may be NSFW.
Clik here to view.

InventTrans table data model changes in AX 2012 vs AX 2009

The purpose of this post is to give an overview about the changes been made in the Dynamics AX 2012 data model related to inventory transactions.For more details; how to implement code changes for...

View Article

Show methods in AX lookups

This sample code is used to show Customer Name in lookup, In AX 2009 we had name field in CustTable but now its moved to DirPartyTable. We still have name() in CustTable which we can use to display...

View Article

Unit Conversion Check AX2009 Vs AX2012

AX 2009if(!UnitConvert::canConvert(this.inventTableModuleInvent().UnitId, this.SAB_ProdPickingUOM, this.ItemId))AX 2012unitConvFound =...

View Article

AX 2012 upgrade - Connect to source database failure

During database upgrade checklist I was failed to connect with source database. I followed the suggested steps from upgrade guide as pasted below but these weren't enough in my case for successful...

View Article


Retrieve worker email address through X++

Below code snipet is one of the way to retrieve employee/worker's primary email address.private LogisticsElectronicAddressLocator getInstructorEmail(HcmWorkerRecId  _workerRecId){...

View Article

How to check table size from SQL server

We often require to check size of the table to moniter database performance, specially working with files and storing it in database. AX does store files in database which can be setup under Document...

View Article


Image may be NSFW.
Clik here to view.

PostLoad() method in AX tables

Today I found an interesting thing with regards to AX tables and this post is all about this new experience which is the PostLoad() method in AX tables.When we create a new table in AOT, Morphx...

View Article

Image may be NSFW.
Clik here to view.

Lifecycle issue search directly from AX 2012 R3

AX 2012 R3 comes with new feature of searching any issue, if there is any, against each AOT object.Let's take example of SalesTable table and try to lookup issues reported for this object in LCS.It...

View Article


How to get Next RecId through X++

Below piece of code can be used to retrieve next record Id from the table.staticvoidgetNextRecId(Args _args){    //Table that stores record ids details for tables    SystemSequences systemSequences;...

View Article

Image may be NSFW.
Clik here to view.

GST/TAX at sales order and sales line level through X++

Sales order GST:Total GST of Sales order can be seen from following screen in AX 2012X++ code to achieve this;static void SalesTax_Per_SalesOrder(Args _args){    TaxTmpWorkTransForm...

View Article

Sales quotation GST through X++

X++ code to achieve this;staticvoidSalesTax_Per_SalesQuotation(Args _args){   SalesQuotationTable    salesQuotationTable;   SalesQuotationTotals   salesQuotationTotals;    container               cont;...

View Article
Browsing all 102 articles
Browse latest View live


Latest Images