Anchor |
---|
| _Toc248723703 |
---|
| _Toc248723703 |
---|
|
Anchor |
---|
| _Toc248721996 |
---|
| _Toc248721996 |
---|
|
Overview Data Flow Process Map Pre-requisites for Integration DBSync package (DBSync GreatPlains Integration) Installation in Salesforce Configure Great Plains for DBSync Integration DBSync Profile Setup DBSync Installation DBSync Configuration with Salesforce & Great Plains Running the integration Anchor |
---|
| _Toc398908579 |
---|
| _Toc398908579 |
---|
|
Overview
DBSync for Salesforce & Microsoft Dynamics Great Plains Integration is an easy to use application to integrate Salesforce Accounts/Contacts, Products and Opportunity with GP Customers, Items and SOP Transactions respectively. DBSync is also useful in migrating historical GP data into Salesforce or vice versa. DBSync provides Bi-directional sync with pre-built field to field map along with flexibility for more complex and dynamic mapping capability.
Anchor |
---|
| _Toc398908580 |
---|
| _Toc398908580 |
---|
|
Data Flow
Data flow of Bi-directional integration between Salesforce & Microsoft Dynamics GP is shown in the below table.
![](/docs/download/attachments/4522045/worddav36989f802ed823b2f89c1bed1ba4b077.png?version=1&modificationDate=1411253570000&api=v2)
Anchor |
---|
| _Toc398908581 |
---|
| _Toc398908581 |
---|
|
Process Map
Process Map of Bi-directional integration between Salesforce & Microsoft Dynamics GP is shown in the below image.
![](/docs/download/attachments/4522045/worddav7ca604142476a43dd68a01b820db6332.png?version=1&modificationDate=1411253570000&api=v2)
Anchor |
---|
| _Toc398908582 |
---|
| _Toc398908582 |
---|
|
Pre-requisites for Integration
- Integration of Salesforce to GP SOP transaction is invoked provided the Generate field in Salesforce Opportunity is selected with the required transaction.
- It is mandatory that SF Opportunity (to be integrated with QB Invoice) is associated with the respective SF Account & also should have Products with Standard Price Book attached to it for DBSync to invoke integration.
- GP to SF integration is based on the time stamp. GP entity that is newly created or modified will be picked to sync into Salesforce.
Anchor |
---|
| _Toc398908583 |
---|
| _Toc398908583 |
---|
|
DBSync package (DBSync GreatPlains Integration) Installation in Salesforce
- Once you click on the above link, you will get a prompt to enter Username and Password of Salesforce instance. Provide the necessary Salesforce credentials to proceed with the package installation. The Salesforce user installing the package should have the administrative privileges to proceed with the installation.
- Next you will see the Package Installation Details & Components. Click on Continue to Approve Package API Access, Choose Security Level and complete Installation.
- Verify if the package installation was completed successfully and check for the 'Deployed' status of the DBSync Invoices object.
- Go to Setup ? Create ? Custom Objects menu to verify if the "Invoices" object has Deployed status. If it is not, click edit button adjacent to the Invoice object, and mark Deployed as checked, and click on 'Save' button.
- Follow the next steps to include DBSync fields into Page Layout.
- Go to Setup ? Customize ? Account ? Page Layout. Click on edit and drag 'GPCustomerID' field on the page layout. Save the Account Page Layout.
- Go to Setup ? Customize ? Contact ? Page Layout. Click on edit and drag 'GPContactID', 'UniqueContactID' fields on the page layout. Save the Contact Page Layout.
- Go to Setup ? Customize ? Opportunities ? Page Layout. Click on edit and drag 'DOC ID', 'Doc Number', 'GPTransaction', ' GPTransactionID',' TransactionType' and ' Primary Contact' fields on the Page Layout.
- Go to Setup ? Customize ? Opportunities ? Opportunity Products. Click on edit and drag 'GP TransactionID' field on the Page Layout.
- Click on Related List and drag Invoices object to the Page Layout.
- Click on the setup icon on the Invoices object in the Related List Section and hit 'edit properties' button. Select columns Invoices, Invoice number, Total Invoice Amount, Payments, Balance, Days Outstanding, and Transaction Date. See the below screenshot for the columns order.
![](/docs/download/attachments/4522045/worddavda4ce713e8cb16768e8c93aa709ca396.png?version=1&modificationDate=1411253571000&api=v2)
![](/docs/download/attachments/4522045/worddav43a920d0c9e835b52b1273e6c7675e47.png?version=1&modificationDate=1411253571000&api=v2)
- After completing the process of adding all the necessary fields to the Opportunity page layout, click on the Save button on the top left had corner of the Opportunity Page Layout window to commit all the changes.
- Go to Setup ? Customize ? Opportunities ? Fields, and under Opportunity Custom Fields & Relationships section, click on New button to create a new custom field of Data Type "Auto Number" in Opportunity page layout with the following parameters.
- Field Label : Auto Doc Number
- Display Format : DBSYNC{000000}
- Starting Number : 1
- Field Name : Auto_Doc_Number
- Click on Next and make sure all the check boxes under Visible column are checked. Once done, click on Next and make sure Opportunity Layout is marked as checked on the subsequent page and click Save to commit all the changes.
- Go to Setup ? Customize ? Product ? Page Layout to move 'GPProductID, 'Location Code, 'Product Type' and 'Unit Of Measurement', 'PriceLevel', 'Class ID' and 'Currency ID' field to the Product layout.
- At this point, you have successfully completed configuration of your Salesforce instance for integration with Great Plains.
Anchor |
---|
| _Toc398908584 |
---|
| _Toc398908584 |
---|
|
Configure Great Plains for DBSync Integration
- Install and setup Microsoft Dynamics GP 10.0 or higher.
- Install and setup SQl Server Management Studio.
- Install and setup eConnect Runtime for the Domain user accessing Great Plains and SQL Server.
Anchor |
---|
| _Toc398908585 |
---|
| _Toc398908585 |
---|
|
DBSync Profile Setup
- Go to mydbsync.com & register for Free Trial.
![](/docs/download/attachments/4522045/worddavca7f2b9072570dfd3c45a3635125f4e8.png?version=1&modificationDate=1411253572000&api=v2)
- Ensure that Source & Target Adapters are Salesforce & Microsoft Dynamics GP respectively.
![](/docs/download/attachments/4522045/worddave1d893221db7d370577be8a6172370b3.png?version=1&modificationDate=1411253572000&api=v2)
- Authentication e-mail will be sent to your email address. Click on the link in the authentication e-mail and enter the user name and password mentioned during registration.
- DBSync account is created with Salesforce & Great Plains adapters for a trial period.
Anchor |
---|
| _Toc398908586 |
---|
| _Toc398908586 |
---|
|
DBSync Installation
It is necessary the on premise version of DBSync is used for Salesforce and Great Plains Integration. In order to use DBSync On Premise, DBSync should be installed locally and DBSync Account should be switched to On Premise from On Demand.
The process of installing DBSync is explained in the below link.
http://help.mydbsync.com/docs/display/dbsync/DBSync+On-Premise+Installation
The process of switching DBSync Account from On Demand to On Premise is explained in the below link
http://help.mydbsync.com/docs/display/dbsync/DBSync+On+Demand+to+On+Premise
Anchor |
---|
| _Toc398908587 |
---|
| _Toc398908587 |
---|
|
DBSync Configuration with Salesforce & Great Plains
- Login into www.mydbsync.com with your Username & Password.
![](/docs/download/attachments/4522045/worddavd689d7a9ef3cff628c3aea1f47559c0a.png?version=1&modificationDate=1411253573000&api=v2)
- Once logged in, click on MyHome from the menu and click on Launch button as show.
![](/docs/download/attachments/4522045/worddav3307a43493baf8b122f2e68d35e85c57.png?version=1&modificationDate=1411253574000&api=v2)
- Once launched, you will be redirected to DBSync console page in the next tab.
- Click on manage ? edit to navigate to adapter configuration page as shown.
![](/docs/download/attachments/4522045/worddav4d14b846e4ebfec4fbd974b48303b68f.png?version=1&modificationDate=1411253574000&api=v2)
- Click on edit link for the respective adapter to add required credentials as shown below.
![](/docs/download/attachments/4522045/worddavcbe98810a184b582158fe8d993ab58b4.png?version=1&modificationDate=1411253574000&api=v2)
For GreatPlains
eConnectPort : 18888
Datasource : DESKTOPUSERNAME\MSSQLSERVER
Dbname : <<GreatPlains Company Database name >>
- Click on Validate to validate your GreatPlains adapter.
![](/docs/download/attachments/4522045/worddavbd751f8821f3d2c68a4aad7120540e96.png?version=1&modificationDate=1411253574000&api=v2)
- Click on edit link for the Salesforce adapter to enter in Salesforce credentials as shown
For Salesforce
Username : <<Salesforce Username>>
Password : <<Salesforce password>>
Endpoint : https://salesforce.com/services/Soap/u/20.0
Note: For Sandbox, replace the default endpoint URL with the following link.
https://test.salesforce.com/services/Soap/u/20.0
Make sure to add the Salesforce security token after entering the password.
- Click on Save Properties button and then on Validate to validate your Salesforce credentials.
Anchor |
---|
| _Toc398908588 |
---|
| _Toc398908588 |
---|
|
Running the integration
DBSync integration for Salesforce & Great Plains can be run automatically using Scheduler or manually using the Run Button.
The detailed process of using Scheduler to run the integration is shown in the below wiki link.
http://help.mydbsync.com/docs/display/dbsync/Scheduler
Using the Run button to run the integration manually is explained below.
- Upon successful validation of your adapters, you can proceed to the Process Builder console either by double-clicking on the PDL on the right-hand column of DBSync console or by right-clicking and selecting the option Open. The below screenshot illustrates the same.
![](/docs/download/attachments/4522045/worddav0ce43e8dd86ed9aefa9176dbe02cd5d4.png?version=1&modificationDate=1411253574000&api=v2)
- The process builder page opens up. Before you can initiate the integration, select the Log level as
All from the drop down and click Save button as highlighted in the below screenshot. Now click on Run button to start the integration process.
![](/docs/download/attachments/4522045/worddav18dadb38c69e15604d72511772f1650d.png?version=1&modificationDate=1411253575000&api=v2)
- The various boxes with connection established between each one of them are referred to as "STATES" or "WORKFLOWS". Each of these workflows can be activated or de-activated based on the requirement. These workflow rules can be activated by having their respective checkboxes checked.
![](/docs/download/attachments/4522045/worddav6b845596afbc52b0c0e9ae0ee076f515.png?version=1&modificationDate=1411253575000&api=v2)
- Once you have activated the necessary WORKFLOWS, click on the save button to save the configuration before initiating the integration Process.
DBSync LLC 750 Old Hickory Blvd. Bldg 2, Suite 150 Brentwood TN 37027 U.S.A Email sales@avankia.com Phone/Fax 1-877-739-2818 Copyright @ 2010, DBSync LLC and/or its affiliates. All rights reserved. This document is provided for information purpose only, and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor is it subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. DBSync is a registered trademark of DBSync LLC and/or its affiliates. Other names may be trademarks of their respective owners.