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 :
Microsoft Dynamics GP (Archived)
New Discussion

How to perform GetEmployeeList using DynamicGPwebservice in Microsoft dynamic GP?

(0) ShareShare
ReportReport
Posted on by 7
We are working with the methods of dynamicGPWebservice like Get, create, update, or Delete the objects.

We are facing the "The application encountered an unhandled system exception.  Contact your system administrator for details." error with the methods of the services. 
Need clarification on request payload. Kindly give an idea to proceed further.
Request Payload: 

<soapenv:Envelope xmlns:soapenv="">schemas.xmlsoap.org/.../" xmlns:ns="">schemas.microsoft.com/.../01" xmlns:ns1="">schemas.microsoft.com/.../01" xmlns:ns2="">schemas.microsoft.com/.../01">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:GetEmployeeList>
         <ns:criteria xmlns:xsd="">www.w3.org/.../XMLSchema" xmlns:xsi="">www.w3.org/.../XMLSchema-instance">
            <ns:EmployeeKeyId>
               <ns:EqualValue>BARB0001</ns:EqualValue>
            </ns:EmployeeKeyId>
            <ns:IsActive>
               <ns:EqualValue>1</ns:EqualValue>
            </ns:IsActive>
            <ns:Scope>Return All</ns:Scope>
         </ns:criteria>
         <ns:context xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xmlns="">schemas.microsoft.com/.../01">
            <ns1:OrganizationKey xsi:type="CompanyKey">-1</ns1:OrganizationKey>
            <ns1:CultureName>en-US</ns1:CultureName>
            <ns1:CurrencyType>Transactional</ns1:CurrencyType>
         </ns:context>
      </ns:GetEmployeeList>
   </soapenv:Body>
</soapenv:Envelope>
Regards,
Priya

*This post is locked for comments

  • priya.sedhupandi@chainsys.com Profile Picture
    7 on at
    RE: How to perform GetEmployeeList using DynamicGPwebservice in Microsoft dynamic GP?

    Hi,

    For Reference:

    I got below exception details in DynamicWebserviceException Console.

    pastedimage1568785176940v1.png

    If I removed OrganizationKey field in the request payload, i got below exception,

    pastedimage1568785278808v2.png

    Regards,
    Priya

  • priya.sedhupandi@chainsys.com Profile Picture
    7 on at

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 4

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans