Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

RM_TRX_Post_Sales_Work of form RM_Batch_Entry proc parameters

Posted on by 25

Hello,

I am trying to get the prototypes for RM_TRX_Post_Sales_Work of form RM_Batch_Entry on GP 2018.

I tried to use the GP Power Tools, but it's not returning the list.

Thanks,

Dan.

Categories:
  • Verified answer
    dsionov Profile Picture
    dsionov 25 on at
    RE: RM_TRX_Post_Sales_Work of form RM_Batch_Entry proc parameters

    Thanks Almas.  I was trying to register the trigger.

    Through another source, someone sent me the following, so you were right about being optional.

    inout     RMShadowTables                                            IO_RMShadowTables;

    inout     'Distribution Batch Information' IO_DistBatchInfo;

    inout     table GL_DP_Distribution_TEMP;

    inout     table RM_Sales_WORK;

    inout     table MC_RM_Transactions;

    inout     table RM_Customer_MSTR;

    inout     table Batch_Headers;

    in            boolean                                                                               fPostToGL;

    in                            'TRX Source'                                       IN_TRX_Source;

    in            long       I_DonePosting;

    optional inout table                                        CM_Transaction_Temp;

    optional in integer                                                           nCallerID;

    optional               out         string                                     sMsg;

    optional               in  integer                                           nUseBatchDate;

  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: RM_TRX_Post_Sales_Work of form RM_Batch_Entry proc parameters

    I have GP2018 installed and the parameters I listed are from GP2018 profiler. I have also SDK installed but I didn't find the procedure detail in it. On breaking parameters according to the list you provided, the last 4 fields are parameters you are trying to set.

    'RM_TRX_Post_Sales_Work of form RM_Batch_Entry',

    -, [RMShadowTables]
    1-,               [ 'Distribution Batch Information']
    table 'GL_DP_Distribution_TEMP',       [table]
    table 'RM_Sales_WORK',                   
    [table]
    table 'MC_RM_Transactions',             [table]
    table 'RM_Customer_MSTR',             [table]
    table 'Batch_Headers',                      [table]
    1,                                                      
    [boolean ]
    "RMSLS00000007",                             ['TRX Source' ]
    0,                                                        [long]

    and 4 more parameters are, they can be optional try using the procedure without passing them values. Or try to use below datatypes.

    table 'CM_Transaction_Temp',            [table]
    1,                                                         [boolean]
    "",                                                          [string]
    0                                                           [long/boolean]

    What exactly are you doing? Are you trying to register trigger or calling script?.

  • dsionov Profile Picture
    dsionov 25 on at
    RE: RM_TRX_Post_Sales_Work of form RM_Batch_Entry proc parameters

    Thank you Almas, but unfortunately, that's not exactly what I was looking for.  I was looking for the prototypes for that proc.  As an example, in the latest SDK that Microsoft published, the prototype was as follows.  But it's no longer accurate in GP2018.  When I do a script debugger (see output below prototype), it's indicating 4 new parameters not shown in this prototype.  I tried to add my own parameters, but GP is not liking something.

    inout                    RMShadowTables           IO_RMShadowTables;

    inout                    'Distribution Batch Information'IO_DistBatchInfo;

    inout                    table                    GL_DP_Distribution_TEMP;

    inout                    table                    RM_Sales_WORK;

    inout                    table                    MC_RM_Transactions;

    inout                    table                    RM_Customer_MSTR;

    inout                    table                    Batch_Headers;

    in                       boolean                  fPostToGL;

    in                       'TRX Source'             IN_TRX_Source;

    in                       long                     I_DonePosting;

    'RM_TRX_Post_Sales_Work of form RM_Batch_Entry', -, 1-, table 'GL_DP_Distribution_TEMP', table 'RM_Sales_WORK', table 'MC_RM_Transactions', table 'RM_Customer_MSTR', table 'Batch_Headers', 1, "RMSLS00000023", 1, ?, 0, "", 0

  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: RM_TRX_Post_Sales_Work of form RM_Batch_Entry proc parameters

    'RM_TRX_Post_Sales_Work of form RM_Batch_Entry', -, 1-, table 'GL_DP_Distribution_TEMP', table 'RM_Sales_WORK', table 'MC_RM_Transactions', table 'RM_Customer_MSTR', table 'Batch_Headers', 1, "RMSLS00000007", 0, table 'CM_Transaction_Temp', 1, "", 0

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans