web
You’re offline. This is a read only version of the page.
close
Skip to main content
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.
Categories:
WS Exception.png

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

I have the same question (0)
  • DV-20051314-0 Profile Picture
    10 on at
    Dyn GP Web Services - one company "Type Boolean is not a defined system type"
    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)
  • Suggested answer
    DV-20051314-0 Profile Picture
    10 on at
    Dyn GP Web Services - one company "Type Boolean is not a defined system type"
    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.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,004

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 865 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 582 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans