Skip to main content

Notifications

Microsoft Dynamics GP forum
Unanswered

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

Posted on by

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.

  • mm123 Profile Picture
    mm123 2,535 on at
    RE: How to read data BY USING VBA FOR PO LINE ITEMS IN GREAT PLAINS 2018

    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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans