• Save
Aug Xml Net Forum Dynamics Integration
Upcoming SlideShare
Loading in...5
×
 

Aug Xml Net Forum Dynamics Integration

on

  • 1,108 views

netFORUM to Dynamics integration using econnect and xweb

netFORUM to Dynamics integration using econnect and xweb

Statistics

Views

Total Views
1,108
Views on SlideShare
1,106
Embed Views
2

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 2

http://www.lmodules.com 1
http://www.slideshare.net 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Aug Xml Net Forum Dynamics Integration Aug Xml Net Forum Dynamics Integration Presentation Transcript

  • Great Plains XML integration with netFORUM Real time XML integration between netFORUM and Dynamics GP
  • Project History
  • Objectives
    • Eliminate the time and errors caused by manually copying data.
    • Push the data to Great Plains when the batch is posted in netFORUM.
    • Leverage industry-standard technologies.
    • Avoid customizing netFORUM to avoid future upgrade issues
    • Upgrade to Dynamics GP 10.0 with the runtime version of eConnect that included new web methods.
  • Results
    • Upgraded system to Microsoft Dynamics GP 10.0
    • Installed a virtual server with econnect
    • Worked with Avectra and Microsoft on a baseline solution
    • Real time XML integration was created between netFORUM and Dynamics GP that pushed the data from netFORUM when you post the batch.
  • Setup in netFORUM
    • System option
      • “ BatchExportFormat ” = ‘econnect’
      • Configuration file
        • DynamicsGPWebService.dll.config
        • Located in the “iwebin” folder
        • Stores the URL, Login, etc. for the web service.
        • Business units in netFORUM are identified in Dynamics GP by company id numbers.
          • Companyid = 1
        • must be configured before attempting to post any batches
  • System Option : BatchExportFormat Set to ‘econnect’
  • Configuration file added to iwebin folder: DynamicsGPWebService.dll.config
    • <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?> <configuration><configSections>
    • <sectionGroup name=&quot;applicationSettings&quot; type=&quot;System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; >
    • <section name=&quot;DynamicsGPWebService.Properties.Settings&quot; type=&quot;System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; requirePermission=&quot;false&quot; />
    • </sectionGroup></configSections> <applicationSettings>
    • <DynamicsGPWebService.Properties.Settings>
    • <setting name=&quot;DynamicsGPWebService_DynamicsGP_Dynamics_x0020_GP“ serializeAs=&quot;String&quot;>
    • <value>http://** IPADDRESS**/ DynamicsGPWebServices/DynamicsGPService.asmx</value> </setting>
    • <setting name=&quot;DynamicsGPWebService_DynamicsGP_Dynamics_x0020_Login“ serializeAs=&quot;String&quot;>
    • <value> **LOGIN** </value> </setting>
    • <setting name=&quot;DynamicsGPWebService_DynamicsGP_Dynamics_x0020_Pwd“ serializeAs=&quot;String&quot;>
    • <value> **PASSWORD** </value> </setting>
    • <setting name=&quot;DynamicsGPWebService_DynamicsGP_Dynamics_x0020_Domain“ serializeAs=&quot;String&quot;>
    • <value> **DOMAIN** </value> </setting>
    • <setting name=&quot;DynamicsGPWebService_DynamicsGP_Dynamics_x0020_CompanyId“ serializeAs=&quot;String&quot;>
    • <value> COMPANY1:1;COMPANY2:2;COMPANY3:3 </value> </setting>
    • </DynamicsGPWebService.Properties.Settings> </applicationSettings> </configuration>
  • Setup in Dynamics GP
    • The eConnect runtime is installed on a separate virtual server, and accesses the SQL Server that manages Microsoft Dynamics GP data over the local network.
    • Integrating application SQL Server with
    • + Dynamics GP Data
    • eConnect API +
    • eConnect COM+ Application eConnect Business
    • eConnect Transaction Requester Objects
    • eConnect Replication Service
  • Installing econnect
    • When you use Microsoft Dynamics GP Utilities to create a new company, GP Utilities automatically installs the eConnect SQL stored procedures on your Microsoft Dynamics GP SQL server.
    • Dynamics GP must have multicurrency set
      • Tools/Setup/Financial/Multicurrency
        • Functional and Reporting currencies set to Z-US$
        • user login for GP with access to companies
  • Stored Procedures in eConnect
  • Customization
    • You cannot modify eConnect stored procedures. However, each stored procedure has pre and post stored procedures that you can use to customize the business logic
    • You can add SQL queries and commands to the pre and post procedures.
    • The pre stored procedure runs your custom code immediately before the eConnect stored procedure.
    • The post stored procedure runs immediately after the eConnect stored procedure.
    • The eConnect schema includes the following XML nodes:
      • <taGLTransactionHeaderInsert>
      • <taGLTransactionLineInsert>
  • eConnect Business Object
    • The business object checks the status reported by each step of the operation. If it detects that an error occurred, the stored procedure halts operation and returns an error message to the caller.
  • Setting up econnect user in Dynamics GP
  • econnect user access to Companies in Dynamics GP
  • Setup Multicurrency in Dynamics GP
  • Set up Multicurrency in Dynamics GP
  • Multicurrency access to companies in Dynamics GP
  • Accounting tab in netFORUM
  • Accounting Batch
  • Find Batch
  • List of Batches
  • Batch Profile
  • Click on Close batch
  • Click on Post Batch
  • Progress Bar will open in a small window
  • Post Batch will be grayed out
  • Error Processing in netFORUM
    • New Child form for exceptions from the post batch – account number not in GP
  • Batch in netFORUM
  • Batch in Dynamics GP
  • Batch Number is used for the Batch ID, Reference and Distribution Reference field
  • You can also post multiple batches from Accounting Period Profile in netFORUM
  • DynamicsWebServicesExceptionConsole
  • Example of the XML in econnect
    • <?xmlversion=&quot;1.0&quot;?><RequestObjects><GLTransactionxmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;>
    • <Extensions/><Key><JournalId>1</JournalId><Date>2008-05-02T00:00:00</Date></Key>
    • <BatchKey><Source/><Id>20080502CMMC</Id><CreatedDateTime>0001-01-01T00:00:00</CreatedDateTime></BatchKey>
    • <Lines><GLTransactionLine><Extensions/>
    • <Key><TransactionKey><JournalId>1</JournalId><Date>2008-05-02T00:00:00</Date></TransactionKey>
    • <SequenceNumber>0</SequenceNumber></Key>
    • <CreditAmountxsi:type=&quot;MoneyAmount&quot;><Currency>USD</Currency><Value>0</Value><DecimalDigits>0</DecimalDigits></CreditAmount>
    • <DebitAmountxsi:type=&quot;MoneyAmount&quot;><Currency>USD</Currency><Value>34543.0900</Value><DecimalDigits>0</DecimalDigits></DebitAmount>
    • <GLAccountKey><Id>1010-0000</Id><IsEncrypted>false</IsEncrypted></GLAccountKey>
    • <ExchangeRatexsi:nil=&quot;true&quot;/><ExchangeDatexsi:nil=&quot;true&quot;/></GLTransactionLine>
    • <GLTransactionLine><Extensions/><Key><TransactionKey><JournalId>1</JournalId><Date>2008-05-02T00:00:00</Date></TransactionKey>
    • <SequenceNumber>0</SequenceNumber></Key>
    • <CreditAmountxsi:type=&quot;MoneyAmount&quot;><Currency>USD</Currency><Value>34543.0900</Value><DecimalDigits>0</DecimalDigits></CreditAmount>
    • <DebitAmountxsi:type=&quot;MoneyAmount&quot;><Currency>USD</Currency><Value>0</Value><DecimalDigits>0</DecimalDigits></DebitAmount>
    • <GLAccountKey><Id>2412-3100</Id><IsEncrypted>false</IsEncrypted></GLAccountKey>
    • <ExchangeRatexsi:nil=&quot;true&quot;/><ExchangeDatexsi:nil=&quot;true&quot;/></GLTransactionLine></Lines>
    • <Reference>20080502CMMC</Reference><ExchangeRatexsi:nil=&quot;true&quot;/><ExchangeDatexsi:nil=&quot;true&quot;/>
    • <IsVoidedxsi:nil=&quot;true&quot;/>
    • <ModifiedBy>WS_ECONNECT</ModifiedBy><ModifiedDatexsi:nil=&quot;true&quot;/><TransactionStatexsi:nil=&quot;true&quot;/></GLTransaction>
    • <Contextxmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;xmlns=&quot;http://schemas.microsoft.com/dynamics/2006/01&quot;>
    • <OrganizationKeyxsi:type=&quot;CompanyKey&quot;><Id>-1</Id></OrganizationKey>
  • Notes on ASP.NET
    • The first time a user posts a batch posting of the day may take a minute or two to process.  After that it should be faster.  The reason is that the web service “goes to sleep” after an idle timeout expires. 
    • You can tweak the ASP.NET web application pool settings to try and keep the web service “awake” all the time or at least increase the idle timeout.  This is an ASP.NET/IIS configuration.
  • Important Note: Adding a new Company to Dynamics GP after eConnect is installed
    • The new company must be added to Web Services through the Add/Remove Programs option in the Control Panel.
    • On the machine where GP Web Services is installed, select Web Services from Add/Remove Programs and click Change.
    • Choose the Install Additional Company option and let that run. It will look for GP companies that do not have Web Services installed and will load the WS objects for those databases.
    • Dynamics GP must have multicurrency set
      • Tools/Setup/Financial/Multicurrency
        • Functional and Reporting currencies set to Z-US$
        • user login for GP with access to companies
        • It does not matter if you use multicurrency it must be setup for the web service to work
    Important Note: Multicurrency setup is critical