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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Dyn GP Web Services - one company "Type Boolean is not a defined system type"

(3) ShareShare
ReportReport
Posted on by 10
Good day
 
I've installed Dynamics GP Web services, and configured 6 companies using the Web Services Configuration wizard.
 
I'm using C# to call the web services (to create GL journals), however, it works for all companies except one. When I run the code, it fails, and when I view the Web Services Exceptions Console, I see the following:
 
Exception has been thrown by the target of an Invocation
Type Boolean is not a defined system type
 
The code works for all the companies except this one. It's almost as if something has not registered on this company. I've reinstalled Web Services and econnect. I've removed and re-added all the companies using the Wizard, still not working.
 
Any assistance will be appreciated.
WS Exception.png

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Categories:
I have the same question (0)
  • DV-20051314-0 Profile Picture
    10 on at
    I ran a SQL profiler trace, and this is the code that gives the error:
     
    declare @p40 int
    set @p40=0
    exec eConnectOut @I_vDOCTYPE='WSMulticurrencySetup',@I_vOUTPUTTYPE=1,@I_vINDEX1TO=default,@I_vINDEX2TO=default,@I_vINDEX3TO=default,@I_vINDEX4TO=default,
        @I_vINDEX5TO=default,   @I_vINDEX6TO=default,@I_vINDEX7TO=default,@I_vINDEX8TO=default,@I_vINDEX9TO=default,@I_vINDEX10TO=default,@I_vINDEX11TO=default,
        @I_vINDEX12TO=default,@I_vINDEX13TO=default,
        @I_vINDEX14TO=default,@I_vINDEX15TO=default,@I_vINDEX1FROM=default,@I_vINDEX2FROM=default,@I_vINDEX3FROM=default,@I_vINDEX4FROM=default,@I_vINDEX5FROM=default,
        @I_vINDEX6FROM=default,@I_vINDEX7FROM=default,@I_vINDEX8FROM=default,@I_vINDEX9FROM=default,@I_vINDEX10FROM=default,@I_vINDEX11FROM=default,@I_vINDEX12FROM=default,
        @I_vINDEX13FROM=default,@I_vINDEX14FROM=default,@I_vINDEX15FROM=default,@I_vFORLOAD=default,@I_vFORLIST=1,@I_vACTION=default,@I_vROWCOUNT=1000,@I_vREMOVE=default,
        @I_vDATE1=default,@I_vWhereClause=default,@O_iErrorState=@p40 output
    select @p40
     
    And this is the error coming back:
     
    Msg 243, Level 16, State 2, Procedure dbo.taRequesterWSMulticurrencySetup1              , Line 2 [Batch Start Line 2]
    Type Boolean is not a defined system type.
     
    (1 row affected)
    WS Exception 2.png
  • Suggested answer
    DV-20051314-0 Profile Picture
    10 on at
    We used an application called "OpenDBDiff" to scan on a schema level differences between the working and non-working databases.
     
    The one thing highlighted was a user-defined data type that someone created.
     
    All the other databases that worked, this field was not there.
     
    We removed the user-defined field, then using the Web Service Configuration Wizard, I removed the company and then added the company back.
     
    And all is now working!
     
    Hope this helps someone.
    WS UDT to remove.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans