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)

GetNextPMPaymentNumber for GP2016 eConnect?

(0) ShareShare
ReportReport
Posted on by 18,306

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

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
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans