web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Trigger off of proc RM_Post_Cash_Batch in GP2018

(0) ShareShare
ReportReport
Posted on by 77

As Microsoft is no longer releasing the current SDK for GP2018, I'm having trouble finding the correct prototype to trigger against the proc RM_Post_Cash_Batch.

According to the latest documentation which is for GP2015, it is:

inout file Batch_Headers;
inout file RM_Module_SETP;
inout file RM_Keys_MSTR;
in integer IN_Post_Type;
in integer IN_Window_Type;
in DestID DestID[MAXIMUM_POSTING_REPORTS];

However, when doing a script profile, it would appear there is an additional parameter at the end.  Looks to be an integer, a long or a boolean.  I tried all of them and in, inout, or out with no success.

'RM_Post_Cash_Batch', table 'Batch_Headers', table 'RM_Module_SETP', table 'RM_Keys_MSTR', 3, 2, "TTTFF", 1

What can that last parameter possibly be.

Where can I find the necessary information now?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Patrick Roth Profile Picture
    Microsoft Employee on at

    the current params are:

    inout file Batch_Headers;

    inout file RM_Module_SETP;

    inout file RM_Keys_MSTR;

    in integer IN_Post_Type;

    in integer IN_Window_Type;

    in DestID DestID[MAXIMUM_POSTING_REPORTS];

    optional in integer nCallerID;

    I was working on SmartPost recently as a customer noted that there was an option on posting cash receipts for auto deposit them and this was the param to make that happen (if memory serves).

    Think I figured out the new param was option because:

    1. I typed out the "call" in Dexterity and it compiled without that last param (thus has to then be optional)

    2. and better, in vstools if you look at the definition in object browser it shows one definition with the first 6 as they've been (with the names) and then an override with the optional param (with names).

    and then if you reconstruct that, you get above.

    And I double checked with my friends at Microsoft and they said "yes, that's it".

    Yes it would be nice if they published the full SDK like they did back in the old days.

    patrick

  • Suggested answer
    Dan Sionov Profile Picture
    77 on at

    Fantastic!  Thank you.  That did the trick.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
talty09 Profile Picture

talty09 2

#1
Anthony Beatty Profile Picture

Anthony Beatty 2

#3
CP04-islander Profile Picture

CP04-islander 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans