Posts

Showing posts from 2016

How to deploy a Package [AX7]

Image
Hi Folks,

[Make sure you will run every application as admin]

I hope many of us already moved on Next version of Dynamics AX. Today I am going to demonstrate “How to Deploy a Package in AX7”. In current version, we have new architecture for code deployment. Now we don’t have the option for ad hoc import, like we did using XPO export import. Now AX is very different in terms of deployment, code movement and build etc, Please refer this post for more details this architecture.
Every customization must be moved using deployable package from one environment to another. There two ways to move this package on target environment.

A. Using LCS services.
B. Manual using command prompt.

Here I’ll show using command prompt, as I found its better than LCS (After successfully deploy many packages J)
Follow below steps,


1. Create Deployment Package:
Run VS as admin, Go to Dynamics AX menu. Select Create a deployment package as shown below.



Choose your package from list and path to save this file


Click on c…

Fourth time in a row

Hi All, 
After a hattrick, it’s my fourth time in a row.  Thanks to each of you for your and support.   
https://mvp.microsoft.com/en-us/PublicProfile/5000410?fullName=Deepak+Agarwal
Old Post: 1st  Award 2nd Award 3rd Award
-Deepak Agarwal aka Harry 

Follow us on Facebook to keep in rhythm with us. @Facebook https://www.facebook.com/theaxapta

Menu buttons are not appearing on Dynamics AX application

Image
Hi Folks,When you access AX application on DEV/TEST/SAND box (server directly) you will miss several menu/option buttons. Same issue is with LCS portal.To fix this issue, just add both URL as trusted site. To do this follow below easy steps: 1. Open Internet explorer2. Go to Option->Security->trusted site and add both thereNow open refresh your pages and check….Now it look more catchy , isn’t it.

Setup Number Sequence in AX7

Image
Hi Friends,

Number sequence setup is almost same in D365 and AX2012. We have to Setup number sequence for first time use our environment. Follow below few steps are you all set to go.

1. Go to



2. Click on generate


New wizard will open,


Click on next button,




That’s all. You all set with number sequence now.

-Harry

Recurring Data import/Export in AX7

Hi Folks,
Since we have AX7 in market now and many of us already started on this excited version. There are many new things coming in and some are deprecated as well. 
I was facing a requirement on DIXF in AX7 where I need to import a file from a shared path. As AX7 is on Azure now and every export/import will be using blob. So here issues come, how we can use our shared path to import/Export the files. However, I didn’t found any straight forward method for dequeue (export), but successfully done with enqueue(Import).
You can refer below link for more details and download API to support your customization. 
https://ax.help.dynamics.com/en/wiki/recurring-integrations/
https://github.com/Microsoft/Dynamics-AX-Integration/tree/master/DIXFSamples

If you check the README file in DIXF sample, where they mention some compatibility issue with CTP8 version, so EXCEL will not have supported there, you may face version issue 
"The version of Microsoft Excel is not supported. -Exception from HRESU…

Extensible Data Security Framework in MS Dynamics AX 7

This feature replaces the record level security feature available in earlier releases of AX. The extensible data security framework or XDS policy framework enables developers and administrators to secure data in shared tables such that users have access to only the part of the table that is allowed by the enforced policy. Features: 1. Improved filters for data security 2. Data security based on effective date 3. Data security policy concept
Concept: 1. Constrained table 2. Primary table 3. Policy query 4. Context
Process: Step 1: Create a query Step 2: Create a policy Step 3: Add constrained table or view Step 4: Configure the context
This post referred from here

-Harry Follow us on Facebook to keep in rhythm with us. @Facebook

ITI Windows 10 Roadshow - April 23, 2016 (Noida)

Hi Folks
IT Implementer Community Roadshow -  Windows 10 Discover the most innovative and reliable Windows yet!
Windows 10 brings increased stability and predictability to your organization, while minimizing risk. Attend this session on What's new in Windows 10 Enterprise: Increasing Security, Predictability, and Compatibility to explore new servicing, security, and management features that enable corporate data access across devices and platforms while allowing you to maintain control over those devices.  Join us to explore:
* What's new in Windows 10. * How to help ensure application compatibility with new and legacy LOB apps with Microsoft Edge and IE 11. *  How to implement security and identity capabilities through Microsoft Azure Active Directory, Hello/Passport, Device Guard, Enterprise Data Protection, as well as Multi-Factor Authentication. * Windows as a Service. How to create and configure deployment and management packages using Microsoft Mobile Device Management, and Microsoft Intu…

Hide ENUM values at run time [AX-2012]

Image
Hi Folks,
Here is code sample to hide ENUM elements from a FORM at run time.  For reference purpose I’m using SalesTable.BankducmentType (ENUM = BankDocumentType) field which contain below four elements
1. None
2. LetterOfCredit
3. ImportCollection
4. LetterOfGuarantee

Now i want to show only first two values while selecting on SO, to achieve this override the form control method as below

public void enter()
{
    super();
    this.delete(enum2str(BankDocumentType::LetterOfGuarantee));
    this.delete(enum2str(BankDocumentType::ImportCollection));   
}

Save your changes and, Now run your form and you will get desired values only.


-Harry

Alex on DAX (Alex Kwitny): How to find what projects an object from the AOT e...

Alex on DAX (Alex Kwitny): How to find what projects an object from the AOT e...: Where I work, we are required to create a new, numbered project for every modification request.  The numbered projects have corresponding do... -Harry Follow us on Facebook to keep in rhythm with us. @Facebookhttps://www.facebook.com/theaxapta

Dynamics 365/AX7 available certification

Updated: May 6, 2017.

Hi Folks,

Here is some information regarding latest version of AX certification.

Exam titleExam numberMicrosoft Dynamics 365 customer engagement Online DeploymentMB2-715Microsoft Dynamics 365 Customization and ConfigurationMB2-716Microsoft Dynamics 365 for SalesMB2-717Microsoft Dynamics 365 for Customer ServiceMB2-718

Refer these link also,

https://www.microsoft.com/en-us/learning/mcsa-microsoft-dynamics-365.aspx
https://www.microsoft.com/en-us/learning/dynamics-certification.aspx


-Harry
 Follow us on Facebook to keep in rhythm with us. @Facebook https://www.facebook.com/theaxapta

Dynamics Ax 7, RTW is here

Hi Folks,

Finally we have a RTW(Release to Web) version of new Dynamics AX 7 (build number 7.0.1265.3015) and has been made available for deployments now. you can download virtual machine (VM) with below link

Dynamics Ax 7

(make sure you have require access for this link).

You can also get a lot of reference material + VM on LCS portal (Lifecycle services). LCS will also help you to deploy your desired environment on cloud.

Follow below link to get detailed information,  how to access Microsoft Dynamics AX Development instances, configure on premise development VMs, and find key configurations settings for developers and administrators.
Access Microsoft Dynamics AX Development Instances

That's all for now.

Enjoy….
Harry

Welcome To TechBrothersIT: Microsoft Dynamics Lifecycle Services Video Tutori...

Welcome To TechBrothersIT: Microsoft Dynamics Lifecycle Services Video Tutori...: This playlist is dedicated to Microsoft Dynamics Lifecycle Services also known as LCS. This playlist contains videos from overview to detai...

 -Harry Follow us on Facebook to keep in rhythm with us. @Facebookhttps://www.facebook.com/theaxapta

FormButtonGroupControl object does not have method “realValue”

Image
Hi Guys,While accessing realEdit control methods in code system gives below error runtime.Error:Possible solution: Although there are not such issue with your code. Its just cache issue. Try to clear cache and compile your whole project.This issue must be fixed now.Thanks-Harry

Error with Main account lookup: FormDataObject object does not have method 'resolveReference'

Image
Hi Folks, Recently I faced one issue with Main account lookup on a new table. While selecting value from lookup I am getting several different errors, (see snaps below). Error message:Error executing code: FormDataObject object does not have method 'resolveReference'. Stack trace (C)\Classes\FormDataObject\resolveReference
(C)\Classes\FormSegmentedEntryControl\resolveReference
(C)\Classes\FormSegmentedEntryControl\modified
(C)\Classes\FormSegmentedEntryControl\Leave
(C)\Classes\FormRun\task
(C)\Classes\SysSetupFormRun\task - line 20 Error Snaps:Solution: Try below steps to resolve this issue. 1. Create a normal relation in your table with DimensionAttributeValueCombination table like below yourTable.LedgerDimension == DimensionAttributeValueCombination.RecId2. On Form Data source, overwrite below method on LedgerDImension field public Common resolveReference(FormReferenceControl _formReferenceControl)
{
    return revaluationAccountController.resolveReference();
}
3. Overwrite below me…

More about Dynamics AX-7