web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Integration Manager 11 VB Script Issue

(0) ShareShare
ReportReport
Posted on by

I have a "Before Integration" script that passes parameters to two different stored procedures and then executes them to fill staging tables, from which I pull the data for this integration.  The script worked perfectly in IM10, but we just upgraded to GP2010/IM11, and now I get a timeout error every time my code goes to execute the first proc.  Code is below.  Any ideas?  Thanks!

 

sBusdate = InputBox("Please Enter Business Date(yyyy-mm-dd):")
sRevdate = InputBox("Please Enter Reversing Date(yyyy-mm-dd):")
sFedRate = InputBox("Please Enter a Fed Rate as decimal(0.04%=0.0004):")

set MyCon = CreateObject("ADODB.Connection")
  MyCon.Open "ProdClear"
  MyCon.Execute("Exec AcctgdailyDRWIUploadTempTable '" + sBusDate + "', '" + sRevdate + "'," + cstr(sFedRate) )
 
  MyCon.Execute("Exec AcctgdailyDRWIUploadHeaderTempTable '" + sBusDate + "', '" + sRevdate + "'")

  MyCon.Close

_____

Here is the error I get after the code times out:

ERROR: Error Executing Script 'Before Integration' Line 9: - [Microsoft][ODBC SQL Server Driver]Query timeout expired
[Microsoft][ODBC SQL Server Driver]Query timeout expired
Error Executing Script 'Before Integration' Line 9: - [Microsoft][ODBC SQL Server Driver]Query timeout expired
[Microsoft][ODBC SQL Server Driver]Query timeout expired
Integration Failed
Integration Results
    0 documents were read from the source query.
    0 documents were attempted:
        0 integrated without warnings.
        0 integrated with warnings.
        0 failed to integrate.

 

*This post is locked for comments

I have the same question (0)
  • Vahe Profile Picture
    40 on at

    Hi, did you ever figure this out?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
mtabor Profile Picture

mtabor 1

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans