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, ...
Unanswered

How to read data BY USING VBA FOR PO LINE ITEMS IN GREAT PLAINS 2018

(0) ShareShare
ReportReport
Posted on by 10

I have to update the Purchase order grid in GP. so on every line item which user selects on a PO, the system should display the message for a order quantity to the user that the Minimum order quantity for this line item is Y units for this specific vendor.In this regard, I want to use ITEM VENDOR MAINTENANCE WINDOW IN GP  WHICH HAS MINIMUM ORDER QTY FIELD.  Note that User enters the PO manually. We use PO generator as well to create PO based on qty.

Now the user wants that whenever they enter a Purchase order manually in GP, The system should give some intimation to the user that this vendor has minimum acceptable order quantity for this Line Item . I have never used VBA before, Can you help me please? will appreciate the efforts of anybody..

Down below is the VBA Code I am trying to do this but getting error of TYPE MISMATCH. In this code, I have to apply If check that if MINORQTY (minimum order quantity in table IV00103) Is 0 then dont display message but if Min order quantity  is nonzero then MSGBOX should display the minimum order quantity. Can any body help how to do this as I am completely new for VBA

Thank you so much for your cooperation.

Categories:
  • mm123 Profile Picture
    2,535 on at

    Hi, We have done a similar automation for our customer who is in GP 2018, Interested to learn, Please drop an email.

    Regards,

    Sam

    samr(at)expsoltech(dot)com

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
Martin Dráb Profile Picture

Martin Dráb 510 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 302 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 197

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans