Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

How do I pass the checkbook id for a batch in createPayablesInvoice web service

(0) ShareShare
ReportReport
Posted on by 45

We have upgraded to MGP v11 and am looking at web services. I have tried the native code in the web services reference for createPayablesInvoice using Visual Studio 2010 which returns the error 'No Checkbook ID has been passed for the new batch number - pass a batch checkbook id (BatchCHEKBKID) or add a default checkbook in Payables Setup'. I have added a default checkbook id in MGP payables setup and it works and creates the batch.

However we use multi currencies and checkbooks so I need to be able to set this for each batch. The error implies you can but the createPayablesInvoicePolicy seems to create the batch and the payables object does not seem to have a property to set this.

*This post is locked for comments

  • RobAmt Profile Picture
    RobAmt 45 on at
    Re: How do I pass the checkbook id for a batch in createPayablesInvoice web service

    I wouldn't hold your breath. According to Microsoft this is not a bug but a product suggestion! I would have said it was an oversight not exposing the checkbook ID through Web Services. As you state this work around means you have to install eConnect on everyone's machine.

  • Re: How do I pass the checkbook id for a batch in createPayablesInvoice web service

    Thanks for the feedback.  Hopefully in GP 2013 they will have enhanced Web Services a bit.  I hate having to go back and forth between eConnect and Web Services. At least with Web Services you don't have to install eConnect on everyone's machine.

  • RobAmt Profile Picture
    RobAmt 45 on at
    Re: How do I pass the checkbook id for a batch in createPayablesInvoice web service

    We did solve the problem after it was referred to Microsoft. You have to drop back to econnect to create the batch with the checkbook ID and then use web services to create the payables invoice. You have to modify the stored procedure taPMTransactionPre to pickup the batch when it exists.

  • Verified answer
    Re: How do I pass the checkbook id for a batch in createPayablesInvoice web service

    Same problem here.  There seems to be no way to create a batch and assign a checkbook ID unless you have a default set and let Web Services create it.

  • Kevin Reed Profile Picture
    Kevin Reed 30 on at
    Re: How do I pass the checkbook id for a batch in createPayablesInvoice web service

    Did you figure this out?  I have the same question.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans