Hello!
Does anyone here have the parameters for these methods (PM_Create_Paid_Trx_HIST_Record and PM_Create_OPEN_Record_Ex) in GP 18.2 or know how to find out? I've installed the SDK for 18.2 but could not find it there.
Thanks in advance.
Here is the full parameter list for PM_Create_Paid_Trx_HIST_Record from 18.4 with the added optional parameters.
inout file PM_Paid_Transaction_HIST,
PM_Key_MSTR;
inout PMShadowTables IO_PMShadowTables;
inout DBTransactionData IO_DBTransactionData;
in string IN_Voucher_Number,
IN_Vendor_ID;
in integer IN_Document_Type;
in date IN_Document_Date;
in string IN_Document_Number,
IN_Batch_Number;
in date IN_Discount_Date,
IN_Due_Date;
in string IN_PO_Number,
IN_Tax_Schedule_ID,
IN_Purchase_Schedule_ID,
IN_Freight_Schedule_ID,
IN_Misc_Schedule_ID,
IN_Shipping_Method,
IN_Payment_Terms_ID,
IN_Currency_ID;
in dollar IN_Dollar_Parms[TRX_AMT_NUM];
in string IN_Trx_Description,
IN_Checkbook_ID,
IN_Batch_Source,
IN_TRX_Source;
in 'Note Index' IN_Note_Index;
in 'PPS Tax Rate' IN_PPS_Tax_Rate;
in 'Percent Of Gross Amount Subject' IN_PPS_Percent_Subject;
in integer IN_Payment_Entry_Type;
in string IN_Card_Name;
in date IN_GL_Posting_Date,
IN_Date_Inv_Paid_Off;
in integer IN_MC_Update_Status;
in boolean fICTrx;
in date IN_Tax_Date;
in 'Apply Withholding' IN_fApplyWithholding;
in boolean I_fEcTrx;
in 'Tax Invoice Required' I_fTaxInvReqd;
in string sCheckName;
in Electronic I_fElectronic;
in 'Vendor Address Code - Remit To' isVendorAddressRemitToID;
in '1099 Type' ten99Type;
in '1099 Box Number' ten99BoxNumber;
optional in 'PO Number' sPONumber = "";
optional in 'Workflow Status' WorkflowStatus = WORKFLOW_STATUS_NOT_ACTIVATED;
optional in 'Invoice Receipt Date' IN_InvoiceReceiptDate;optional in string IN_Lng_Description="";
Here is the full parameter list for PM_Create_OPEN_Record_Ex from 18.4 with the added optional parameters.
inout file PM_Transaction_OPEN; {-- buffer not set --}
inout PMShadowTables IO_PMShadowTables;
inout DBTransactionData IO_DBTransactionData;
in string IN_Voucher_Number,
IN_Vendor_ID;
in integer IN_Document_Type;
in date IN_Document_Date;
in string IN_Document_Number,
IN_Batch_Number;
in date IN_Discount_Date,
IN_Due_Date;
in string IN_PO_Number,
IN_Tax_Schedule_ID,
IN_Purchase_Schedule_ID,
IN_Freight_Schedule_ID,
IN_Misc_Schedule_ID,
IN_Shipping_Method,
IN_Payment_Terms_ID,
IN_Currency_ID;
in dollar i_dFunctionalTrxAmounts[TRX_AMT_NUM];
in string IN_Trx_Description,
IN_Checkbook_ID,
IN_Batch_Source;
out string OUT_Voucher_Number;
in string IN_TRX_Source;
in 'Note Index' IN_Note_Index;
in 'PPS Tax Rate' IN_PPS_Tax_Rate;
in 'Percent Of Gross Amount Subject' IN_PPS_Percent_Subject;
in integer IN_Payment_Entry_Type;
in string IN_Card_Name;
in date IN_GL_Posting_Date;
in boolean fICTrx;
in date IN_Tax_Date;
in 'Apply Withholding' IN_fApplyWithholding;
in boolean I_fEcTrx;
in 'Tax Invoice Required' I_fTaxInvReqd;
in string sCheckName;
in Electronic I_fElectronic;
in 'Vendor Address Code - Remit To' isVendorAddressRemitToID;
in '1099 Type' ten99Type;
in '1099 Box Number' ten99BoxNumber;
optional in 'PO Number' sPONumber = "";
optional in 'Workflow Status' WorkflowStatus = WORKFLOW_STATUS_NOT_ACTIVATED;
optional in 'Invoice Receipt Date' IN_InvoiceReceiptDate;
optional in string IN_Voucher_Number_Work = "";
optional in string IN_Lng_Description="";
Kind regards
David
Module:
Payables Management
Script type:
Global
Form (If a form global):
Category:
Posting
Description:
This script will take the values passed to it and will create a record in the PM_Paid_Transaction_HIST table. The multicurrency record associated with this document will be created here if it does not already exist.
NOTE: Do not call this script directly. The necessary dependencies have not been documented. The interface is given with the sole intention to provide an integration point for script level triggers.
Prerequisites:
Undocumented
Parameters:
inout table PM_Paid_Transaction_HIST, {unpositioned}
PM_Key_MSTR. {positioned}
inout PMShadowTables IO_PMShadowTables.
inout DBTransactionData IO_DBTransactionData.
in string IN_Voucher_Number,
IN_Vendor_ID.
in integer IN_Document_Type.
in date IN_Document_Date.
in string IN_Document_Number,
IN_Batch_Number.
in date IN_Discount_Date,
IN_Due_Date.
in string IN_PO_Number,
IN_Tax_Schedule_ID,
IN_Purchase_Schedule_ID,
IN_Freight_Schedule_ID,
IN_Misc_Schedule_ID,
IN_Shipping_Method,
IN_Payment_Terms_ID,
IN_Currency_ID. (Not used in SBF.)
in dollar IN_Dollar_Parms[TRX_AMT_NUM].{ 1) Purchases_Amount,
2) Trade_Discount_Amount,
3) Misc_Charges_Amount,
4) Freight_Amount,
5) Tax_Amount,
6) Total_Payments,
7) 1099_Amount,
8) Write_Off_Amount,
9) Discount_Available_Taken /
Discount_Amount_Available,
10) PPS_Amount_Deducted,
11) GST_Discount_Amount,
(Not used in SBF.)
12) Unapplied 1099 Amount
13) Document_Amount,
14) Current_Trx_Amount,
15) Discount_Taken_Amount,
16) Backout Purchases Amount
17) Backout Freight Amount
18) Backout Misc Amount
19) Percent Discount
20) Discount Dollar Amount
21) Backout Trade Discount}
in string IN_Trx_Description,
IN_Checkbook_ID,
IN_Batch_Source,
IN_TRX_Source.
in 'Note Index' IN_Note_Index.
in 'PPS Tax Rate' IN_PPS_Tax_Rate.
in 'Percent Of Gross Amount Subject'
IN_PPS_Percent_Subject.
in integer IN_Payment_Entry_Type.
in string IN_Card_Name.
in date IN_GL_Posting_Date,
IN_Date_Inv_Paid_Off.
In integer IN_MC_Update_Status. {-- Indicator how/if associated
MC_PM_Transactions record is updated
0 = Do not update.
1 = Update doc status only for existing.
2 = Create new one if one doesn't exist.
This is also indicated by having the
PM_Key_MSTR buffer filled in. --}
(Not used in SBF.)
in boolean fICTrx.
in date IN_Tax_Date.
in 'Apply Withholding' IN_fApplyWithholding;
in boolean I_fEcTrx;
in 'Tax Invoice Required' I_fTaxInvReqd;
in string sCheckName;
in Electronic I_fElectronic;
in ‘Vendor Address Code – Remit To’ VendorAddressRemitToID;
in ‘1099 Type’ ten99Type;
in ‘1099 Box Number’ ten99BoxNumber;
Did you ever find the parameters for the PM_Create_Paid_Trx_HIST_Record? I haven't beeen able to find them either. Thanks -J
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,522 Super User 2024 Season 2
Martin Dráb 228,441 Most Valuable Professional
nmaenpaa 101,148