Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GetNextPMPaymentNumber for GP2016 eConnect?

(0) ShareShare
ReportReport
Posted on by 18,297

Hello, 

How can I get Next Payment Number for eConnect 16? It seems to be available for older version eConnect 9. 

https://support.microsoft.com/en-us/help/939276/how-to-retrieve-the-next-payment-number-for-payables-management-paymen

Do I need to add any reference?

Your earliest reply is highly appreciable.

Thanks much

Sandip

*This post is locked for comments

  • Verified answer
    Srini Ramidi Profile Picture
    2 on at
    RE: GetNextPMPaymentNumber for GP2016 eConnect?

    Hello Sandip,

    Seems like the method GetPMNextPaymentNumber was removed GP 2013 onward. You can directly make a call to the taGetPMNextPaymentNumber stored procedure to retrieve the next payment number.

    DECLARE @RC int

    DECLARE @I_vInc_Dec tinyint

    DECLARE @O_iPMNPYNBR varchar(21)

    DECLARE @O_iErrorState int

    -- TODO: Set parameter values here.

    set @I_vInc_Dec=1

    EXECUTE @RC = [dbo].[taGetPMNextPaymentNumber]

      @I_vInc_Dec

     ,@O_iPMNPYNBR OUTPUT

     ,@O_iErrorState OUTPUT

    select @O_iPMNPYNBR

    Best,

    Srini

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans