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)

GetNextPMPaymentNumber for GP2016 eConnect?

(0) ShareShare
ReportReport
Posted on by 18,335

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

I have the same question (0)
  • Verified answer
    Srini Ramidi Profile Picture
    2 on at

    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

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

#2
Shravan Attelli Profile Picture

Shravan Attelli 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans