RSS

Productivity Using The New Microsoft Dynamics AX Client

I had an opportunity to work with Adrian Orth in the past. He was the best PM that I ever worked with. Below is a session that he introduced the new Microsoft Dynamics AX web client, which provides reach and richness aligned with a familiar Office 365 interface. Learn new details about the updated navigation concepts including Workspaces and Task Guides, and how these enhancements help new and experienced users be more productive.

 
Leave a comment

Posted by on December 11, 2015 in Training, Video

 

Tags: , , ,

Taking Microsoft Dynamics AX to Azure

Join Ryan Battle, principle program manager and Winston Hait, senior marketing manager for Microsoft Dynamics AX, to learn about deploying Dynamics AX on the Microsoft Azure cloud. In this webcast they will talk about why you should consider an ERP solution in the cloud, its benefits and how you can use services like Microsoft Dynamics Lifecycle services (LCS) to easily develop, test, and deploy Dynamics AX in the cloud. They will also share customer examples and talk about how businesses are using Dynamics AX in the cloud today, why they made the decision to move to the cloud and the results of these deployments.

 
Leave a comment

Posted by on December 10, 2015 in General, Video

 

Tags: , ,

Introducing the New Microsoft Dynamics AX

I enjoyed this webcast and if you are curious about AX7. Please take a look at the Introduction below

Pepijn Richter, Director Product Marketing Microsoft Dynamics AX, and Satish Thomas, Group Program Manager Microsoft Dynamics AX, introduce the latest Microsoft Dynamics AX. Learn how this next generation ERP solution can help you make smarter decisions quicker, help you transform your business processes faster and grow your business at your pace.

 
Leave a comment

Posted by on November 24, 2015 in Development

 

Tags: , , ,

DIXF – Double entities in R3 CU10

Any version prior to CU10 has about 238 entities. AX 2012 R3 – CU10 doubles the number of DIXF entities (~467 entities). These new entities are in areas such as

1. Accounts payable, 10
2. Accounts receivable, 13
3. Cash and bank management, 7
4. General ledger, 23
5. Human resources, 27
6. Inventory and Warehouse management, 19
7. Organization administration, 27
8. Procurement and sourcing, 27
9. Product information management, 8
10. Production control, 17
11. Project management and accounting, 27
12. Sales and marketing, 4
13. System administration, 6
14. Travel and expense, 11

If your version is not R3 CU10, you can still apply KB 3061216 to support new DIXF entities. After applying the hot fix and you still don’t see new entities, you might delete them all and reopen the Target entities form

 
5 Comments

Posted by on November 16, 2015 in Development

 

Tags: , , , , , ,

How to Send Text Messages from Dynamics AX Using Twilio

Have you ever wished you could send text messages from Microsoft Dynamics AX? Because text messages are nearly always read, they are an ideal way to communicate alerts or reminders for employees, suppliers or end customers. I recently had a client who wanted to send text messages from AX, so I looked at several AX-to-SMS solutions. They were all far too complicated, so I decided to create something much simpler.

Texting from Twilio

I found an easy way to create my own SMS / text message solution using Twilio. You need some software development expertise, but it’s actually pretty easy to setup.

Let’s walk through the process of setting a free Twilio account, buying a local phone number (from which you will send for test message), installing Twilio API using NuGet and implementing API using your newly created Twilio credentials.

Setup a Twilio account

  1. The first steps is to create a Twilio account.
    Twilio Sign Up
  2. Log in and create a number. It is FREE to create a number.
  3. Click on “Buy a number” and choose any number you want.
    Twilio Buy Number
  4. Go to your “Account Settings”, make sure to copy “AccountSID” and “AuthToken.”
    Twilio Account Settings

Visual Studio

  1. Create a VS Project.
    Adding a VS Project
    Class Library
  2. Install Twlio API using NuGet.Installing the Twilio API
  3. Install-package Twilio.
    Twilio Install Package
  4. Twilio API will be added to the project.
    Twilio API will be added
  5. Create your first .NET app.using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using Twilio;namespace Twilio
    {

    public class AXTwilio
    {

    public AXTwilio()
    { }

    public string sendAxSMS(string _to, string _message)
    {

    // Find your Account Sid and Auth Token at twilio.com/user/account

    string AccountSid = “your Twilio account SID”;
    string AuthToken = “your Twilio Authtoken”;
    var twilio = new TwilioRestClient(AccountSid, AuthToken);
    var message = twilio.SendMessage(“+18172032952″, _to, _message);
    return message.Sid;

         }

      }

    }

     

  6. Right click the project, “Add Twilio to AOT” and then “Deploy.”
    Add Twilio to AOT

In Microsoft Dynamics AX

  1. Verify Twilio project in AOT (Visual Studio Projects > Dynamics AX Model Projects > C Sharp Projects).
    Verify Twilio Project in AOT
  2. Create a simple class like below and run it.public static void main(Args _args)
    {

    System.Exception ex;

    Twilio.AXTwilio twilio = new Twilio.AXTwilio();
    System.String to = “1112223333”;
    System.String message = “Hello from AX World”;

    try
    {

    twilio.sendAxSMS(to, message);
    info(“Messge Sent”);

    }
    catch(Exception::CLRError)
    {

    ex = ClrInterop::getLastException();
    if (ex != null)
    {

    ex = ex.get_InnerException();
    if (ex != null)
    {

    error(ex.ToString());

    }

          }

    }

        }

     

  3. Message is sent to my number like below.
    Twilio SMS confirmation

Conclusion

The business applications of using SMS with Twilio in AX is endless. With this solution, you can contact your customers, vendors, employees directly from within AX. You can create an SMS alert on each step (confirmation, picking, packing, invoice) of sales order process. You can send ETA alerts with arrival estimates and arrival confirmations, directly integrated with an existing GPS, field service, and order tracking systems. You can use automated SMS to coordinate with the field from your existing service management system and increase precision.

Download our whitepaper and learn why CFO’s throughout the world choose Microsoft Dynamics AX and mcaConnect!
 
3 Comments

Posted by on August 26, 2015 in Development

 

Tags: , , , , , , , , , , , ,

DIXF – Error when viewing target mapping

Issue:
An issue comes up today when a client could not open “View target mapping”. This is R2 CU7. The stack trace error is shown like below

“Field ‘Position’ in table ‘DMFTargetXMLToEntityMap’ has not been explicitly selected“

It works for some entities but fails for some entities

image

image

Result

After looking at stack trace I was able to find an issue with the select statement in table DMFEntity.generateXML() method. Position field was used but it was not part of Group by of the select statement; therefore, an exception was raised for missing field.

AOT > Table > DMFEntity > generateXML

I added ‘Position’ field to the select statement
while select mapping
group by MethodName, Position
where mapping.Entity      == _entity.EntityName
&& mapping.MappingType == DMFMappingType::Function
exists join sourceXMLFields
where sourceXMLFields.Entity == _entity.EntityName
&& sourceXMLFields.DefinitionGroup == _defGroup
&& mapping.EntityField == sourceXMLFields.EntityField

image

I’m now able to view the mapping. I found same issue with R3 CU8 and I haven’t tested with R3 CU9 yet.

image

 
Leave a comment

Posted by on June 15, 2015 in Development

 

Tags: , , , , , ,

How to create Azure Service Bus for AX Mobile Connector

Issue

In order to connect to AX using mobile apps, one way or another you will end up create service bus on Azure. You will need the ability to access ACS Management Portal. However, if a service bus is created directly in Azure portal, ACS  management portal will not be enabled.  See examples below

A service bus was created in Azure portal. It is missing ACS

image

A service bus was created using PowerShell

image

image

Solution

Create the service bus should not be done via Azure portal anymore, it must done via PowerShell commands

Step 1: Azure PowerShell CmdLets

Go to the Azure Downloads page and click the link to install the Azure PowerShell cmdlets.

clip_image001

This will launch the Web Platform Installer.  Click the Install button in the Web Platform Installer to install the cmdlets.

Step 2:  PowerShell Commands

1> Run the command “Add-AzureAccount” and provide Live ID user name/password to connect to a default Azure subscription.

image

2. Create a new Azure Service Bus namespace using the command

New-AzureSBNamespace -Name mynamespace -Location “Central US” -CreateACSNamespace $true -NamespaceType Messaging

Example:

New-AzureSBNamespace -name axatozMobileConnector -location ‘central us’ -createACSNamespace $true -namespacetype Messaging

image

Log to Azure portal and verify ACS Management Portal enabled

image

 
Leave a comment

Posted by on May 8, 2015 in Development

 

Tags: , , , , , , ,

 
%d bloggers like this: