Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP forum
Answered

Trigger off of proc RM_Post_Cash_Batch in GP2018

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

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans