Skip to main content

Posts

Showing posts with the label dynamics

Import References for SSRS Report user Control in Enterprise portal axapta

Following Import References  are required in using section for Creating SSRS Report user Control in Enterprise portal axapta using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.DataVisualization.Charting; using System.Web.UI.WebControls; using Microsoft.Dynamics.Framework.Portal.UI.WebControls; using Microsoft.Dynamics.Framework.Portal.UI.WebControls.WebParts; using System.Diagnostics; using Microsoft.Dynamics.AX.Framework.Reporting.Shared; using Microsoft.Dynamics.Framework.BusinessConnector.Session; using Microsoft.Dynamics.AX.Framework.Portal.Data; using Microsoft.Dynamics.Framework.Portal.CommonControls; using System.Globalization; using Microsoft.Dynamics.AX.Framework.Services.Client; using Microsoft.Dynamics.Framework.Portal; using Microsoft.Dynamics.Framework.Portal.UI; using Proxy = Microsoft.Dynamics.Framework.BusinessConnector.Proxy; ...

Code to Get dimension description and value in ax 2012

This is hints of Code to Get dimension description and value in ax 2012. I have taken example of purchase order to show by selection first line of purchase line dimension value and description. PurchLine _purchLine; DimensionValue _Dimvalue; Description _Dimdesc; ; select firstonly _purchLine; _Dimvalue= dimValue(_purchLine.DefaultDimension, 'Department'); _Dimdesc = dimDesc(s_purchLine.DefaultDimension, 'Department'); info(strfmt("%1: %2", _Dimvalue, _Dimdesc));