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