Integration Manager: The Basics

I’m sure there have been numerous articles written about Integration Manager for Dynamics GP. Most of them are written for developers and contain advanced features, tips, and tricks for making it work in unique circumstances or using complicated data sources.

I find that most end users have a difficult time understanding the fundamentals of IM, so I want to outline a very simple integration design for those of you who are new to building integrations and feel a bit overwhelmed by the the tool.

The simplest way to approach a data import using IM is to first manually key in a transaction from the recordset you wish to import, whether it be a journal entry, a payables invoice, or a bank transaction.  This is best done in a test environment. Once you have the transaction entered, you can then open integration manager and better understand how it works because IM is like having another data entry person in your system. That’s right, folks: integration manager enters the data just like you did when you hand-keyed it.

Let’s have a look at a standard journal entry:

There are not a lot of fields on this window, but it is a good example of a transaction entry window in Dynamics GP:

  • It has a header section and a detail (line) section or grid
  • It has required fields
  • It has various options based on user input

Every transaction entry window has a header and a detail. In most cases, the header contains the information outside of the grid, or lines.

In this case, the header fields are:

  • Journal Entry number
  • Note
  • Intercompany checkbox
  • Batch ID
  • Transaction Type (standard or reversing)
  • Transaction Date
  • Reversing Date (only if you select the reversing transaction type)
  • Source Document
  • Reference
  • Currency ID

The detail/line/grid fields are:

  • Co. ID
  • Account
  • Debit
  • Credit
  • Description
  • Exchange Rate
  • Distribution Reference
  • Corresp Co. ID

Required fields are displayed in bold and red. This feature can be activated under user preferences and is very useful for identifying missing data values when importing records.

In terms of user-input options, it is actually surprising how many different parameters there on on this simple window.

  • If you mark the intercompany checkbox, for example, the Co. ID and Corresp Co. ID in the grid will be activated
  • If you select the Reversing type transaction, the Reversing date field will be activated
  • If you select an account in the grid that is linked to an analytical analysis group, the A next to the Account field will be activated, allowing entry of analysis information for this account

All of these options are also operational in Integration Manager and can be activated if needed.  Let’s compare the data entry window to the integration setup:

They certainly don’t look at all alike, do they?  But let’s take a closer look at IM and its components.

Under Sources, we have a header and a detail object, which correlate to the header and detail windows in the transaction entry window.

Query relationships allow us to link the header information to the detail information. More about that in a moment.

The Destination is the transaction entry window in Dynamics GP where the information will appear.

And Destination Mapping is where we will go to map each field from our source file(s) to the destination window.


Each source in an integration is linked to a data set that the user wishes to import into Dynamics GP.  The data can be in virtually any location and format, from a comma-delimited flat file to an Oracle database.  If using multiple sources (header and detail) there must be a column/field that establishes the link between the two files.  In our example, this is the DocNum field.  Alternatively, IM has the flexibility to allow use of a single datasource for both header and line information.  More about that below.

For our example, we’re going to use a sample integration that comes with Integration Manager.  It consists of two tab-delimited text files: one for the header and one for the detail. You will find these sample files by default in this location: C:\Program Files\Microsoft Dynamics\Integration Manager 10\Samples.

As you can see, the required information for a journal entry is all available in these two files.  The header information contains the Date and Reference values.  The line information contains the distribution accounts and amounts.  Both files contain the DocNum, which is a column used to join the files together and match the appropriate journal entry detail to each header.  We don’t need to provide a journal entry number, as we are going to allow Dynamics GP to assign this at the time of import.

Double-click on the Source object GL Trans Header to open the properties for this source:

You will notice the path to the source file on this window.  Use the elipse (3 dots) to navigate to your desired source file.  The remaining options are self-explanatory.  If you file is comma-delimited, choose that option, if tab-delimited, choose that option, etc.  If the first row of your source file contains field names, mark the checkbox to indicate that as well.

Click the Columns tab to continue and click the refresh button to display the columns from your source file.

Each time you change the source file, you MUST refresh the columns by clicking this button.  This forces IM to “read” the new source file and detect any additional columns or changes you have made to existing columns.

The additional tabs: Filter, Sorting, Scripts contain additional features that permit you to restrict the data to be imported, sort it prior to importing, and add logic to validate or manipulate the data prior to importing.  With scripts you can also enhance an integration to write back to the source and confirm importing was successful.  This is an advanced topic that I won’t address here, but examples are available if you need this functionality.

Repeat this process for each Source in your integration.  In this case, we would go through the same steps for the GL Line Detail source.

After you have clicked Apply and OK to close this window, you should right-click on each Source and choose to Preview.   This should show you the source data that will be imported and allow you to verify that the source files are pointed to the right place.  If the Preview does not look right or you receive an error message, you will need to correct the source data before proceeding.

Query Relationships

Once each source has been pointed to the appropriate source file, columns refreshed, and any additional options selected, we need to define the relationships between the various sources.  Double-click the Query Relationships object to display the sources.

To link the sources, simply click on the field name/column on the header source and drag your cursor to the same field name/column on the detail source.  This will create the arrow displayed.  If it is not set properly, right-click on the arrow and choose Remove.  For more advanced links, right-click on the arrow and choose Properties to open the Select Relationship Type window.  Remember that the Master file is the origin of the arrow.  The child file is where the head of the arrow is pointing.

Once you’ve completed the query relationships, close that window.


For pre-defined integrations, such as our sample one, the destination is already defined.  If you were building a new integration, you would right-click on the Destination folder object and choose Add a Destination, then select from a list of objects.  In this case, our destination is already set to General Journal.

Destination Mapping

The mapping of your source file to the Dynamics GP destination is the heart of integration manager.  You will notice when you double-click on Destination Mapping that all of the folders displayed pertain to a component of the destination window in Dynamics GP.

In this General Journal example, the top level is our header information.  Click on General Journal to view all of the fields available on the journal entry window in Dynamics GP: Journal Entry, Intercompany, Batch ID, etc.  They are all present and can be mapped here.  The real power of IM comes into play by using the Rules, however.

Notice that the Rule column is set to Default for almost every field.  This tells IM to allow Dynamics GP to automatically take care of the information in that field according to how it would occur if you were manually entering it into the transaction window in the system.  If you were keying a journal entry, Dynamics would provide you with the next journal entry number, the intercompany checkbox would be unmarked, you would need to enter a batch ID, etc.

In our example, we have made the Batch ID a constant value.  Other options are to Use a Source Field, Use Input, or Use Script.  Use a Source Field will allow you to map the field from your source file.  You would need to have a field/column in the header file that contains the Batch ID.  Use Input will prompt you at run time to enter a batch id.  Use Script will allow you to program how you want the batch id to be defined based on additional information you provide in a script.

For each field on the transaction entry window, you need to decide how you want the information populated.  The Rule dropdown may contain different options depending on which field you select.  In addition, if you select Use Constant, the Source column will be populated with the specific options pertaining to that field in Dynamics GP.  For example, if you select Use Constant for the Transaction Type field, you will be presented with the two options available in Dynamics: Standard or Reversing.  By selecting Reversing, you are ensuring that every record imported will be created as a Reversing Transaction, but you must also ensure that your source file header contains a reversing date field/column in order to map that information as well.

The Reference field is a required field, and I will use it  to demonstrate various options that are available in IM at the field/column level.  When you click on the Reference field and choose Use Source, you will notice the ellipsis (3 dots) is activated and you can use that to select the appropriate field to map from your source file.  The Source Object window will open, and the dropdown will contain all of the sources available for this integration. In our case, it will show the header and detail options.  Because we are mapping a field on the header, we want to select from the header source.  We would highlight the Reference field and click Select.

With your cursor still on the Reference field in the mapping window, you will notice there are additional options available in the lower left-hand area of the screen.  These features allow IM to handle various conditions in your source data in order for IM to import it properly into Dynamics GP.  For example, if your source file contains both Standard and Reversing transactions and you have a field in the header that indicates this using S or R, you would want to use the Translation option, which will allow you to tell Dynamics if this column contains an “S” that means Standard, if it contains an “R” that means Reversing, etc.

If you were mapping the batch ID from your source file, but it is in upper and lowercase format, Dynamics GP won’t import it.  The integration will fail because the Batch ID field must be in uppercase characters.  In the integration, you can specify that you want to convert the case at runtime.  The other options are for leading spaces, trailing spaces, how to handle a data string that is too long, and what to do if your source field is null/empty.  By default Dynamics will cancel a document if a required field is null, but for optional fields, you can choose to make it a blank value or use a default value from the Dynamics setup.

Once you have set the options for each field on this window, click the Options tab to select how you want to handle additional elements of the integration.  For example, if the Batch ID you have mapped or entered as a constant value does not exist in Dynamics GP, you can opt to have it created at runtime as shown below:

Once we’ve mapped the header (General Journal object), we need to proceed with the Entries object.  In addition, if we wanted to import Analytical Accounting distributions or Tax details, we would need to map each of those objects as well.  In our case, we will continue with Entries.

As you can see, we are using the source file for the account, debit, and credit amounts and allowing Dynamics GP to handle the rest of the distribution grid in the transaction entry window.  One very useful feature of IM that is available for distribution fields is the Rule to Use Positive Source Field or Negative Source Field.  This allows you to import data from a single field in the source file, as in our sample file where Amount is negative for credits and positive for debits.  IM allows us to use this same field and will designate the debit or credit status of the distribution based on this logic.

The options tab for Entries lets us specify the source object for this particular object: Line Detail.  The Rule column here also contains options such as Default (if you have default distribution accounts set up for a vendor for example) or Empty (to bring in zero amounts) or Default Non-Imported (which is helpful if you only want to map the debit side of a payable and allow Dynamics to assign the A/P account from the Vendor or Posting Setup window.  The Rules will vary depending on the Dynamics GP window destination and the type of transaction you are importing.


After you have mapped all sources to their appropriate destination object, you are ready to run the integration.  The progress window will advise you of any issues with your import, and you can also view the log from that window after the integration has run.  To access a log after you have exited the progress window, simply double-click the top level of the integration (GL Transaction) and click on the Logs tab:

I hope this helps as an introduction to using this very powerful and flexible tool.  We have barely scratched the surface here, but I hope I have answered some fundamental questions about Integration Manager.


Filed under Microsoft Dynamics

30 responses to “Integration Manager: The Basics

  1. Pingback: From the GP Blogs: The Basics of Integration Manager; Closing Purchase Orders Safely; “Field Service Anywhere” Discontinued; Business Essentials Technical Demonstration Toolkit - GP News

  2. Pingback: Integration Manager Basic -

  3. This is great – step by step simple instructions are hard to find – I sent the link to my staff. Could you do a post on econnect?

  4. Pingback: Integration Manager Basics - Mohammad R. Daoud

  5. Ian Chesnick


    Is is possible to use IM for 2 different MDA’s which are using the same GL source values i.e. the same amount will be used for both analyses? Will this mean we will need tow source files?


  6. Todd M Bowlsby

    This article makes mention of the ability for IM to import Analytical Accounting transactions, “In addition, if we wanted to import Analytical Accounting distributions or Tax details, we would need to map each of those objects as well.” However, I was under the impression it is not possible to import AA transaction information.

    Can someone clarify this for me? Can one, indeed, import AA transactaions utiliting IM? If so, how?

    Any help with this would be greatly appreciated.

    Kind regards,

    Todd M Bowlsby

  7. Todd M Bowlsby

    Thank you so much for your help. It is very much appreciated.

    All by best,

    Todd M Bowlsby

  8. Steve Kearley

    Great post on IM. It’s been hard find good, clear guidelines with a clear description. I just recently discovered how to “copy” an integration without messing up the source, etc., of the new integration. Look forward to more of your posts. We have always has problems adding anything as a source other than a csv file. I have a couple using a regular Excel file, but have had trouble ever doing it again, and now as I am getting better using Access tables, I would love to be able to perhaps Access as a source, or other database-type file.

    Again, thanks for this post!

  9. Pingback: Dynamics GP Integrations using Integration Manager, Table Import, eConnect and Web Services - About Dynamics, Development and Life

  10. linda fuller

    how do you copy an integration without messing up the original integration? – if I use save as the original appears to be overwritten and starting from scratch each time seems unnecessarily onerous

    • That’s a great question! I’ve done this myself a few times by mistake. In order to make a new copy, you have to copy each source of the destination to a new integration. The first step would be to use the save as feature as you describe. You then have to remove the original sources and add new ones. The destination mapping will remain the same unless you modify it. Any modifications you make will be saved with this new integration and will not change the original one.

  11. Joe

    HI Q,

    This is a great post – unfortunately when I run the integration I keep getting an error msg stating that I do not have all the required fields. I have followed these steps to letter and am using very plain, test data.

    Any suggestions?


    • Hi, Joe:
      The only required fields are the reference and the distributions themselves. Make sure you have something mapped to the reference field under the mappings area of the integration.

  12. Thank you for any other informative web site. Where else could I am getting that kind of info written in such a perfect manner?
    I’ve a project that I am just now running on, and I’ve been on the look out for such information.

  13. Regards for posting “Integration Manager: The Basics | Q
    Factors Blog”. I actuallywill definitely end up being coming back for more reading through and commenting in the
    near future. Thank you, Sara

  14. dlr

    Could you possibly do an example of updating Salary Pay Rates for existing employees. I’m having a terrible time. (Destination Adapter – Microsoft Dynamics GP – Payroll – Payroll Master – Pay Codes)

    • I’ll look into this. Updating the payroll master should not be difficult at all. If you can provide some more detail as to the errors you are receiving, I can help you troubleshoot it.

      • DLR

        I’ve actually figured it out.

        Here’s the first Error: DOC 1 ERROR: Unhandled script exception:
        Illegal address for field ‘Go To Button’ in script ‘APR_Employee_Pay_Code_Setup_Form_PRE_Trigger’. Script terminated. I went to Microsoft Dynamics GP – Tools – Customize – Customization Status – Disabled HRM Solution Series and this error was resolved.

        The second error stated my Employee IDs didn’t exist. Service Pack 2 for Integration Manager resolved this problem. All is well now. Thanks!

  15. Janie

    I use integration manager today to upload AP invoices with multiple distributions and also for invoices with the same doc number to multiple vendors. (ex. Sept 2014 utilities). Is there a way to use integration manager to upload multiple invoices to the same vendor including a description on the transaction?

  16. Very nice post. I simply stumbled upon your weblog and wanted to say that I have really enjoyed browsing your
    blog posts. In any case I’ll be subscribing for your feed and I’m hoping
    you write again soon!

  17. Ann

    Hi QFactor, as everyone said this is a great post. I am trying to do a Bank Rec and a Bank Transaction Entry, can you please help with the steps? Thanks very much!

  18. G

    This is a very helpful post! Thanks for this. Is there a way to use IM for faster bank reconciliations? Can we push bank receipts and payments to the reconciliation window? Or import the AR receipts from an excel dump?

    • Thank you! I believe the best method to automate bank reconciliation is by using the eReconcile feature in GP. This allows you to validate against a file from your bank and reconcile based on various criteria. Importing AR cash receipts is best done using Lockbox. This allows you to import cash receipts from a flat file and automatically apply them to invoices in GP. Both of these features are available in GP 2013.

      • Hozefa

        Can you please help us or provide us with any link in which there are the steps which incudes tutorials for uses of Lockbox and Ereconciliation

      • From inside GP, go to Help and choose Documentation and Resources on the Web. This will take you to the user guides page for various versions of Dynamics GP. Lockbox is in the Receivables Management guide. eReconcile is in the eBanking user guide.

  19. G

    Thanks a lot!! I will chcek out both, eReconcile and Lockbox.

  20. Pingback: | Integration Manager BasicIntegration Manager Basic -

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s