Skip to main content

Notifications

Announcements

No record found.

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 75

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

  • Suggested answer
    Dan Sionov Profile Picture
    Dan Sionov 75 on at
    RE: Trigger off of proc RM_Post_Cash_Batch in GP2018

    Fantastic!  Thank you.  That did the trick.

  • Verified answer
    Patrick Roth Profile Picture
    Patrick Roth on at
    RE: Trigger off of proc RM_Post_Cash_Batch in GP2018

    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

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans