Skip to main content
Microsoft Dynamics GP forum
Answered

Trigger off of proc RM_Post_Cash_Batch in GP2018

editSubscribe (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?

  • 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

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans