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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)
Active 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

    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Dan Liebl Profile Picture

Dan Liebl 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans