Setting up Dynamics AX 2012
You must perform these steps on each legal entity in Dynamics AX 2012 that you want to use with ReadSoft Online.
Some of the steps in this topic require files from the ReadSoft Online Connect installation. Therefore, you must install ReadSoft Online Connect before you proceed.
Configuring Dynamics AX 2012
You must perform these steps on each legal entity in Dynamics AX 2012 that you want to use with ReadSoft Online. To set up Dynamics AX 2012:
-
If your company does not operate in the United States, disable US taxation rules for non-US companies by deselecting
Apply U.S. taxation rules (
).
-
Navigate to
General Ledger and create journals. For processing non-PO invoices using Invoice Register and Approval journals:
- Make sure you have a journal with the Journal type set to Invoice register.
- Make sure you have a journal with the Journal type set to
Approval.
For processing non-PO invoices using Invoice journals:
- Make sure you have a journal with the Journal type set to Vendor invoice recording.
-
Navigate to
APInvReg as the Journal name.
, and select
- Create a folder where you want to save invoice images and specify this folder as the Archive directory ( ).
-
If
Use Active document tables
is enabled in Dynamics AX (Document management parameters), make sure that the correct tables are specified in the Active document tables list ( ).Reference table ID Table name 177 Inventory transactions 211 Ledger journal table 212 Journal lines 440 Posted sales tax 482 Audit trail 491 Vendor invoice journal 506 Vendor transactions 553 Inventory transaction posting 1425 Vendor invoices 3119 General journal account entry 3123 General journal entry -
Navigate to
and make sure File and URL document types are specified.
This folder must be shared if it is not on the same computer as the AOS server. For more information, see
Import the AX model file
- Close Microsoft Dynamics AX.
- Browse to your ReadSoft Online Connect Bin folder (default location: C:\ProgramData\ReadSoft Software Services AB\ReadSoftOnlineConnect\bin) and run the Import 2012 AXModel.bat file as administrator (right-click and select Run As Administrator).
- Extract the ZIP file and run Import 2012 AXModel.bat as an administrator by right-clicking the file and selecting Run As Administrator.
- Restart the Windows Service, Microsoft Dynamics AX Object Server [version]-MicrosoftDynamicsAX.
- Run Microsoft Dynamics AX.
- When a dialog states that “The model store has been modified,” select Skip and click OK.
-
Press Ctrl + D to open
AOT and click the
Project button.
- Expand the Shared node and double-click RsoIntegration to open the project.
-
Select
Compile (Build menu) to compile
the project.
-
Select
Generate Incremental CIL (Build
menu).
Register the service
- Double-click RsoIntegration to display the project content.
-
Expand the
Integration service node, right-click the
RsoIntegrationService service and select
.
Create an inbound port
- In Microsoft Dynamics AX, navigate to New. and click
- Type “RsoIntegrationServices” in the Port name setting.
-
Click the
Service operations button and use the dialog that appears to add all of the
RsoIntegrationService operations to the
Selected service operations list.
- Click Close to close the dialog.
-
Select
Include exceptions in fault. We also recommend that you set the Logging
mode to All document versions; however, you must make sure to create a system to clean the history regularly.
-
Click
Activate to activate the inbound port.
Restrict access to the new inbound port
Before completing these steps, familiarize yourself with the security best practices from Microsoft.
- Setup access for an AIF services user. This is the same Windows user you specify in the Custom Network Credentials in the ReadSoft Online Connect wizard.
-
Use the Security settings of the inbound port you created in the previous section to restrict access.
You can restrict access to a particular partition or company. You can also restrict access to specific users or user groups (Authorized users button).
Specifying access rights for the ReadSoft Online integration
This section describes how to:
- specify an integration group and user with limited access.
- enable the integration user.
Specifying an integration group and user with limited access
- Import, compile and register actions for the ReadSoft Online integration for Dynamics AX (version 14.0 or newer).
-
Using Dynamics AX, navigate to
.
-
Click
User to add a new user with these settings:
User ID Dynamics AX internal user ID. Network domain Customer domain. Alias Active directory user account ID or email address for users that do not use Active Directory. Default company Default user company. Enabled This setting must be selected in order to enable the user. -
Click
Assign roles.
-
In the dialog that appears, select
RsoIntegration role and click
OK.
Note that you can remove unnecessary roles by selecting the role and clicking Remove.
Enabling the integration user
To enable the user that you defined in Dynamics AX in the previous steps:
- Make sure that the user has read/write access to the folder that is specified in the Archive directory setting in Dynamics AX (Document management parameters dialog). If the Archive directory is located on a different computer than the AOS service, you must use a shared folder and to grant access to the user Windows account in the shared security. See troubleshooting for more information.
-
Open Windows services, right-click the
ReadSoft Online
Connect service and select
Properties.
-
Click the
Log On tab and specify Windows user. Click
Apply to make your changes and then click
OK to close the dialog.
- Restart the ReadSoft Online Connect service.