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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

In Dynamics GP 10's Visual Basic editor, I'm trying to capture data from the EmployeeMaintenance form from the Hire form. I have added both cards to the VB editor and I've added all the fields to those forms that I need. Can anyone show me the syntax to us

(0) ShareShare
ReportReport
Posted on by

I'm trying to use the Hire Card's Save_AfterUserChanged event to get the user data that gets transferred from the Applicant database table to the UPR00100 table after the HireCard is saved and send that to a web service that automatically creates Active Directory accounts.

Also, an important detail to note is that these forms are found in different products. The EmployeeMaintenance form is in the Great_Plains product, and the Hire form is found in the Human_Resources product. I don't know if I need to somehow refer to the product name first. But, when I try this:

Great_Plains.EmployeeMaintenance.EmployeeID, it is flagged as undefined by the vb compiler.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Carl Meadows Profile Picture
    315 on at

    This sounds like you need to set a reference between the 2 modules.

    Click on the project name (Microsoft Dynamics GP)on the left hand side of the Vb window then go to the tools menu and click 'references'. This will give you a list of 'product's that GP can work with - make sure there is a tick against 'Hire'.

    If you are working in 'Hire ' and want to access GP fields, then swap it around - click on 'Hire', then tools, references and make sure GP is ticked.

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 2

#2
mtabor Profile Picture

mtabor 1

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans