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

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP2016 SDK

(0) ShareShare
ReportReport
Posted on by 257

Hi All,

I'm upgrading my customization from GP2015 to GP2016. I've been using Trigger_RegisterProcedure.

It works fine in GP2015, but I got error in GP2016 when I triggering this procedure/function :

  • PrintPostingReports of form Batch

  • SOP_Post_TRX

 May be the parameters has been changed. Could anyone help me?

Thanks very much

*This post is locked for comments

I have the same question (0)
  • Verified answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,069 Most Valuable Professional on at
    RE: GP2016 SDK

    Hi Hendy

    SOP_Post_TRX has the following parameters added to the end of the parameter list between GP 2015 and GP 2016:

    optional inout  table    CM_Transaction_Temp;
    optional in  integer   nCallerID;
    optional out string   sMsg;
    optional in  integer   IN_Use_Posting_Date_From;

    PrintPostingReports of form Batch has the following parameter added to the end of the parameter list between GP 2015 and GP 2016:

    optional in integer        nCallerIDPostThru;

    Hope this helps

    David

  • Suggested answer
    hendy Profile Picture
    257 on at
    RE: GP2016 SDK

    Hi David,

    Thanks very much for your help. This solves my problem.

  • kwj3 Profile Picture
    11 on at
    RE: GP2016 SDK

    where is the GP2016 SDK anyway?   the version released with the GP2016 download is for GP2015.  I can't seem to find GP2016 SDK anywhere.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,069 Most Valuable Professional on at
    RE: GP2016 SDK

    Hi Ken

    It probably has not been updated.

    There was a blog post with some info on table changes on the Dynamics GP support and services blog.

    David

  • Community Member Profile Picture
    on at
    RE: GP2016 SDK

    can anyone give me the paremeters change for the procedure IVC_Post_Trx?

    thanks

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,069 Most Valuable Professional on at
    RE: GP2016 SDK

    Hi Martin

    I am at GPUG Summit and don't have my machine open, so my good friend Leslie Vail looked up the parameters in the SDK. You could find this information in IVCGLBS.doc, it would also be in the params.txt.

    IVC_Post_Trx

    Module:

    Invoicing

    Script type:

    Global

    Category:

    Posting

    Description:

    This script posts a single Invoice transaction.  This includes verification and actual posting of the document.  This is the main script each document passes through.

    Prerequisites:

    The IVC_HDR_WORK record should be read with a lock before entering this script and should be saved after this script.  The Batch_Headers, IVC_SETP and RM_Module_SETP  files should be positioned on the appropriate records.

    Called By:

    (The Invoicing posting process, and should not be used by others.)

    IVC_Post_Batch

    IVC_Void_Batch

    Window_Delete

    Global Scripts Called:

    Add_Posting_Security_Record

    IVC_Post_Commissions

    IVC_Post_Create_HIST_HDR

    IVC_Post_Customer

    IVC_Post_Distributions

    IVC_Post_Header

    IVC_Post_IV

    IVC_Post_IV_Verify

    IVC_Post_Intrastat

    IVC_Post_Payments

    IVC_Post_Taxes

    IVC_Post_Verify_Commissions

    IVC_Post_Verify_Distributions

    IVC_Post_Verify_Header

    IVC_Void_Trx

    RM_Recon_Get_Bucket

    Parameters:

    in   boolean   IN_Edit_List.   {Printing an edit list?}

    in   boolean   IN_Print_Report.   {Printing the posting journal.}

    in   boolean   IN_Reprint.   {Reprint of posting journals enabled.}

    in   boolean   IN_Post_To_GL.   {Posting to GL?}

    in   boolean   IN_Auto_Post_To_GL.   {Auto posting to GL?}

    in   boolean   IN_Use_Non_Unique_Batches.   {Creating unique GL batches?}

    in   boolean   IN_First_Trx.   {First transation in the batch?}

    in   integer   IN_Post_With_Detail.   {Post with detail?}

    in boolean fUseAcctSettings.

    in   integer   IN_Window_Type.   {Window type the posting started on.}

    in   string   IN_Source_Doc.   {Source document for posting to GL.}

    in   string   IN_TRX_Source.   {Audit trail code.}

    inout  dollar   INOUT_GL_Sequence.   {GL sequence.}

    inout  'Batch Number'   INOUT_GL_Batch.   {GL batch.}

    inout  'Journal Entry'   INOUT_Journal.   {GL journal number.}

    inout 'TRX Source' sPerpAdjustTrxSrc; {Batch ID for any Perpetual revaluation}

    inout 'Journal Entry' nPerpAdjustJE; {Journal Entry for any Perpetual revaluation}

    inout 'Sequence Line' nPerpAdjustSeq; {Journal Entry Line Number for any Perpetual revaluation}

    inout integer nPerpAdjustErr; {Journal Entry Err Number for any Perpetual revaluation}

    inout  file   Batch_Headers.   {Batch headers file, positioned.}

    inout file IV_Cost_Variance_TEMP.

    inout  file   IVC_HDR_WORK.   {Header file, positioned and locked.}

    inout  file   IVC_HDR_HIST. {Header history file.}

    inout file   IVC_Report_TEMP.   {Report temp file.}

    inout file   IVC_SETP.   {Invoicing setup file, positioned.}

    inout file   RM_Module_SETP.   {RM setup file, positioned.}

    David

  • Community Member Profile Picture
    on at
    RE: GP2016 SDK

    Hai David,

    can you give me the parameters change for the procedure PM_TRX_Post_Transaction on from PM_Batch_Entry?

    Thanks

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,069 Most Valuable Professional on at
    RE: GP2016 SDK

    Hi Daut

    Have you tried looking up the parameters in the parameter list document in the SDK?

    David

  • Community Member Profile Picture
    on at
    RE: GP2016 SDK

    Hi David,

    i have using parameters List in SDK.

    inout                    PMShadowTables           IO_PMShadowTables;

    inout                    DBTransactionData        IO_DBTransactionData;

    inout                    'Distribution Batch Information'IO_DistBatchInfo;

    inout                    table                    GL_DP_Distribution_TEMP;

    inout                    table                    PM_PPS_Data_TRX_TEMP;

    inout                    table                    PM_Transaction_WORK;

    inout                    table                    Batch_Headers;

    inout                    boolean                  IO_rgfBooleanParms[20];

    in                       'Batch Source'           I_sBatchSource;

    in                       'Batch Number'           I_sBatch;

    in                       'Voucher Number - WORK'  I_sVoucher;

    in                       'TRX Source'             I_TRXSource;

    inout                    'Batch Number'           IO_sPPSBatchNumber;

    in                       long                     I_TransactionsLeftToPost;

    But still get error register Procedure.

    Its work fine on GP2010 with same parameter.

  • Community Member Profile Picture
    on at
    RE: GP2016 SDK

    hi david, i already tried these parameters that you posted (which are in the sdk) and the trigger fails to register. i asume that the sdk is not yet updated

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans