Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Failed to create companies in GP10 SPk5

Posted on by Microsoft Employee

Good day Community

Recently updated to SPk5 GP10, only upgrade my production company, did not test the upgrade. But now when creating or adding companies Fabikam data, GP10 displays an error when in the stored procedure 'Create_Requester_Procs_cursor'. Now remove the automated solution 'Clear_Companies' some companies that had registered. But I can not create new ones.

The error is as follows:

"The following SQL statement produced an error:

set nocount on  declare @NAME varchar(100) declare @TEXT varchar(8000) declare taCreateRequesterProcs insensitive cursor for   select DOCTYPE from eConnect_Out_Setup (nolock) where MAIN = 1 and DOCTYPE not like '%GetList'  open taCreateRequesterProcs fetch next from taCreateRequesterProcs into @NAME while (@@fetch_status <> -1) begin  if (@@fetch_status <> -2)  begin  select @TEXT = 'exec eConnectOutCreate '+ @NAME + ', 0'  exec (@TEXT)   select @TEXT = 'exec eConnectOutCreate '+ @NAME + ', 1'  exec (@TEXT)   select @TEXT = 'exec eConnectOutCreate '+ @NAME + ', 2'  exec (@TEXT)  end   fetch next from taCreateRequesterProcs into @NAME end  deallocate taCreateRequesterProcs”

I appreciate your support and comments, greetings

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Failed to create companies in GP10 SPk5

    Hello Francisco,

    My client run the script but the error message persists when creating companies. He had no problem in carrying the results of the script were:

    'The eConnect_Out_Setup Table has been updated for ILSA'

    'The eConnect_Out_Setup Table has been updated for TWO'

    Thanks in advanced

  • L Vail Profile Picture
    L Vail 65,271 on at
    Re: Failed to create companies in GP10 SPk5

    Por favor, responda en inglés

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Failed to create companies in GP10 SPk5

    Que tal Francisco,

    Mi cliente ya ejecuto el script pero persiste el mensaje de error al crear las compañias. Al parecer no tuvo problemas en la ejecucion, los resultados del script fueron:

    'The eConnect_Out_Setup Table has been updated for ILSA'

    'The eConnect_Out_Setup Table has been updated for TWO'

    Gracias por tu ayuda y seguimiento

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Failed to create companies in GP10 SPk5

    Hello Mr. Francisco Zurita

    Make a backup of your company that generated this error and run the following script, please let us know if this fix your issue

    declare @dbname char(5), @statement char(1500)
    declare eConnect_Out_Setup_Fix cursor for
      select INTERID from DYNAMICS..SY01500 where INTERID in (select name from master..sysdatabases)
    set nocount on
    open eConnect_Out_Setup_Fix
    fetch next from eConnect_Out_Setup_Fix into @dbname
    while (@@fetch_status <> -1) begin
      set @statement='
    if exists (select * from ' + rtrim(@dbname) + '.dbo.sysobjects where id = object_id(''dbo.eConnect_Out_Setup'') and OBJECTPROPERTY(id,''IsUserTable'') = 1)
      update ' + rtrim(@dbname) + '.dbo.eConnect_Out_Setup set DATACNT = 72 where DOCTYPE = ''ModifiedItem''
    print ''The eConnect_Out_Setup table has been updated for '+ rtrim(@dbname) + ''''
      exec (@statement)
      fetch next from eConnect_Out_Setup_Fix into @dbname
    end
    deallocate eConnect_Out_Setup_Fix
    set nocount off

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans