Codeunit "Gen. Jnl.-Post Line"
ID 12
Namespace: Microsoft.Finance.GeneralLedger.Posting
Core posting engine for individual general journal lines with comprehensive validation and ledger entry creation.
Handles posting transactions to general ledger, customer/vendor ledgers, VAT entries, and auxiliary registers.
Provides advanced features including currency handling, dimension processing, and deferral management.
Architecture:
This codeunit serves as the fundamental posting engine for Business Central's general journal system.
It orchestrates the creation of multiple ledger entries from a single journal line, handling complex
business rules, currency conversions, and cross-module integrations.
Core Responsibilities:
- General ledger entry posting with dimension and currency support
- Customer and vendor ledger entry creation and application processing
- VAT calculation and posting including unrealized VAT handling
- Fixed asset journal integration and depreciation posting
- Bank account and payment processing
- Intercompany transaction handling and G/L register maintenance
Extension Points:
Supports extensive customization through integration events at key posting stages, enabling
custom validation, field modifications, and auxiliary posting operations.
Properties
| Name |
Value |
| Permissions |
TableData "G/L Account" = r,
TableData "G/L Entry" = rimd,
TableData "Cust. Ledger Entry" = rimd,
tabledata "Customer Posting Group" = R,
TableData "Vendor Ledger Entry" = rimd,
tabledata "Vendor Posting Group" = R,
TableData "G/L Register" = Rimd,
TableData "G/L Transaction" = Rimd,
TableData "G/L Entry - VAT Entry Link" = rimd,
TableData "VAT Entry" = Rimd,
TableData "Bank Account Ledger Entry" = rimd,
TableData "Check Ledger Entry" = rimd,
TableData "Detailed Cust. Ledg. Entry" = Rimd,
TableData "Detailed Vendor Ledg. Entry" = Rimd,
TableData "Line Fee Note on Report Hist." = rim,
TableData "Employee Ledger Entry" = Rimd,
TableData "Detailed Employee Ledger Entry" = Rimd,
tabledata "Source Code Setup" = R,
tabledata "Sales & Receivables Setup" = R,
tabledata "Purchases & Payables Setup" = R,
TableData "FA Ledger Entry" = rimd,
TableData "FA Register" = rimd,
TableData "Spend Request to G/L Link" = rimd,
TableData "Maintenance Ledger Entry" = rimd
|
| TableNo |
Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
Methods
GetGLReg
Returns the G/L Register that has been created during the posting process.
procedure GetGLReg(var NewGLReg: Record "G/L Register")
Parameters
RunWithCheck
Wrapper for the main procedure which checks and posts the journal line.
As a result G/L Entries and Register are created along with other related ledger entries.
procedure RunWithCheck(var GenJnlLine2: Record "Gen. Journal Line"): Integer
Parameters
Returns
| Type |
Description |
|
Integer |
No. of the last General Ledger Entry that has been created.
|
RunWithoutCheck
Wrapper for the main procedure posts the journal line without checking it.
As a result G/L Entries and Register are created along with other related ledger entries.
procedure RunWithoutCheck(var GenJnlLine2: Record "Gen. Journal Line"): Integer
Parameters
Returns
| Type |
Description |
|
Integer |
No. of the last General Ledger Entry that has been created.
|
IsGLEntryInconsistent
Specifies if the General Ledger Entries that have been created during the posting process are inconsistent.
procedure IsGLEntryInconsistent(): Boolean
Returns
| Type |
Description |
|
Boolean |
True if the G/L Entry is inconsistent, false otherwise.
|
ShowInconsistentEntries
Shows a list of all inconsistent G/L Entries that has been produced during the posting.
procedure ShowInconsistentEntries()
InitLastDocDate
Assignes information (Document Type, Document No., Posting Date) fron Gen. Journal Line to the global variables.
procedure InitLastDocDate(GenJnlLine: Record "Gen. Journal Line")
Parameters
InitVAT
Initializes the G/L Entry for posting VAT depending on the VAT Posting of the Gen. Journal Line.
procedure InitVAT(var GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var VATPostingSetup: Record "VAT Posting Setup")
Parameters
PostVAT
Creates and inserts VAT Entries for the Gen. Journal Line that is being posted.
If Gen. Journal Line requires Sales Tax, VAT Entries are created and inserted for each Tax Line that is needed.
procedure PostVAT(GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; VATPostingSetup: Record "VAT Posting Setup")
Parameters
InsertVAT
Creates and inserts VAT Entry for the Gen. Journal Line that is being posted.
If Calculation Type is Sales Tax, VAT Entries are filled with Tax related information.
VAT Posting Parameter is created to be used for the VAT Entry.
procedure InsertVAT(GenJnlLine: Record "Gen. Journal Line"; VATPostingSetup: Record "VAT Posting Setup"; GLEntryAmount: Decimal; GLEntryVATAmount: Decimal; GLEntryBaseAmount: Decimal; SrcCurrCode: Code[10]; SrcCurrGLEntryAmt: Decimal; SrcCurrGLEntryVATAmt: Decimal; SrcCurrGLEntryBaseAmt: Decimal)
Parameters
| Name |
Type |
Description |
|
GenJnlLine
|
Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
Gen. Journal Line that is being posted.
|
|
VATPostingSetup
|
Table Microsoft.Finance.VAT.Setup."VAT Posting Setup" |
VAT Posting Setup applicable to Gen. Journal Line that is being posted.
|
|
GLEntryAmount
|
Decimal |
Amount that is used for the new VAT Entry Amount if Gen. Posting Type is Settlement.
|
|
GLEntryVATAmount
|
Decimal |
Amount that is used for the new VAT Entry Amount if Gen. Posting Type is not Settlement.
|
|
GLEntryBaseAmount
|
Decimal |
Amount that is used for the new VAT Entry Base.
|
|
SrcCurrCode
|
Code[10] |
Currency Code that has been used for the posting transaction (empty if local currency).
|
|
SrcCurrGLEntryAmt
|
Decimal |
Determines new VAT Entry amount after exhange to foreign currency.
|
|
SrcCurrGLEntryVATAmt
|
Decimal |
The VAT Amount to be used for additional currency.
|
|
SrcCurrGLEntryBaseAmt
|
Decimal |
The VAT base to be used for additional currency.
|
SummarizeVAT
Creates G/L Entries for VAT. If summarization is needed, before creating new entry existing ones in TempGLEntryVAT.
buffer are checked. If entry in the buffer for the same G/L Account and Bal. Account already exists, just the amount is increased.
procedure SummarizeVAT(SummarizeGLEntries: Boolean; GLEntry: Record "G/L Entry")
Parameters
InsertSummarizedVAT
Inserts summarized VAT G/L Entries for the Gen. Journal Line that is being posted.
Summarized entries are taken from TempGLEntryVAT buffer.
procedure InsertSummarizedVAT(GenJnlLine: Record "Gen. Journal Line")
Parameters
Remarks
Global G/L Entry buffer for VAT is cleared at the end of procedure.
RunPostFixedAsset
Wrapper procedure for external call of PostFixedAssetPostFixedAsset, which is used for posting a Gen. Journal Line with Account Type Fixed Asset.
G/L Entries, VAT Entries and FA Ledger Entries are created.
procedure RunPostFixedAsset(GenJnlLine: Record "Gen. Journal Line")
Parameters
Remarks
In the procedure there is no check if Account Type is Fixed Asset.
PostJob
Wrapper procedure for external call of PostJob, which is used for posting a gen. journal line with account type job.
G/l entries, job entries, usage related ledger entries (resourse or item and value), possibly warehouse entries are created.
procedure PostJob(GenJnlLine: Record "Gen. Journal Line"; GLEntry: Record "G/L Entry")
Parameters
Remarks
Procedure should not be called externally.
Global variable determining if the gen. journal line is related to the job is set in the procedure.
StartPosting
Initialize global variables and G/L Register for new posting batch, locks needed tables.
procedure StartPosting(GenJnlLine: Record "Gen. Journal Line")
Parameters
ContinuePosting
If new transaction needs to be started, Unrealized VAT is check and posted, global values initialized for the new transaction.
Currency is updated for the new Gen. Journal Line that is being posted, current Balance of the posting is updated.
procedure ContinuePosting(GenJnlLine: Record "Gen. Journal Line")
Parameters
ResetTransactionState
Invalidates the transaction-scoped caches in this codeunit so the next call to RunWithCheck
is forced through StartPosting (which re-takes the G/L Entry table lock and re-reads the
last entry number from disk) instead of taking the ContinuePosting fast path with a stale
NextEntryNo.
procedure ResetTransactionState()
FinishPosting
Checks if transaction is balanced for both local and additional currencies, inserts all G/L Entries that were created for the Gen. Journal Line.
If posting is performed for application purpose, original Customer and Vendor Ledger Entries are updated to reflect that.
Cost journal line is posted if cost accounting setup is setup for this purpose.
procedure FinishPosting(GenJournalLine: Record "Gen. Journal Line"): Boolean
Parameters
Returns
| Type |
Description |
|
Boolean |
True if balance of the transaction is balanced for both local and additional currencies.
|
InitGLEntry
Initializes g/l entry from gen. journal line.
procedure InitGLEntry(GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; GLAccNo: Code[20]; Amount: Decimal; AmountAddCurr: Decimal; UseAmountAddCurr: Boolean; SystemCreatedEntry: Boolean)
Parameters
| Name |
Type |
Description |
|
GenJnlLine
|
Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
general journal line that is being posted.
|
|
GLEntry
|
Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry" |
Return value: g/l entry that is being created.
|
|
GLAccNo
|
Code[20] |
G/l account that will be used to create e/l entry.
|
|
Amount
|
Decimal |
Amount that will be used for g/l entry (in local currency).
|
|
AmountAddCurr
|
Decimal |
Amount that will be used for g/l entry (in additional currency).
|
|
UseAmountAddCurr
|
Boolean |
Determines if amount in the field "Additional-Currency Amount" should be used for the new g/l entry or should it be caculated.
|
|
SystemCreatedEntry
|
Boolean |
Determines if g/l entry is created by the system.
|
Remarks
If g/l account used for posting has restricted dimensions, error is raised.
If g/l account selected for the gen. journal line is blocked or have different posting type.
InitGLEntry
procedure InitGLEntry(GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; GLAccNo: Code[20]; Amount: Decimal; AmountAddCurr: Decimal; UseAmountAddCurr: Boolean; SystemCreatedEntry: Boolean; AmountSrcCurr: Decimal)
Parameters
InitGLEntryVAT
Initializes g/l entry from gen. journal line and summarizes VAT g/l entries.
procedure InitGLEntryVAT(GenJnlLine: Record "Gen. Journal Line"; AccNo: Code[20]; BalAccNo: Code[20]; Amount: Decimal; AmountAddCurr: Decimal; UseAmtAddCurr: Boolean)
Parameters
| Name |
Type |
Description |
|
GenJnlLine
|
Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
General journal line that is being posted.
|
|
AccNo
|
Code[20] |
G/l account that will be used for new g/l entry.
|
|
BalAccNo
|
Code[20] |
Account that will be used for new g/l entry as the balancing account.
|
|
Amount
|
Decimal |
Amount that will be used for g/l entry (in local currency).
|
|
AmountAddCurr
|
Decimal |
Amount that will be used for g/l entry (in additional currency).
|
|
UseAmtAddCurr
|
Boolean |
Determines if amount in the field "Additional-Currency Amount" should be used for the new g/l entry or should it be caculated.
|
InitGLEntryVATCopy
Initializes a general ledger entry for VAT posting with data copied from an existing VAT entry.
Creates G/L entry with dimension and posting details derived from the source VAT entry.
procedure InitGLEntryVATCopy(GenJnlLine: Record "Gen. Journal Line"; AccNo: Code[20]; BalAccNo: Code[20]; Amount: Decimal; AmountAddCurr: Decimal; VATEntry: Record "VAT Entry"): Integer
Parameters
Returns
| Type |
Description |
|
Integer |
Entry number of the created G/L entry
|
InsertGLEntry
Updates the amounts of the g/l entry and adds it to the TempGLEntryBuffer to be inserted.
procedure InsertGLEntry(GenJnlLine: Record "Gen. Journal Line"; GLEntry: Record "G/L Entry"; CalcAddCurrResiduals: Boolean)
Parameters
Remarks
If g/l entry amount is not properly rounded, error is raised.
CreateGLEntry
Initializes the g/l entry from the general journal line and adds it to the TempGLEntryBuffer to be inserted.
procedure CreateGLEntry(GenJnlLine: Record "Gen. Journal Line"; AccNo: Code[20]; Amount: Decimal; AmountAddCurr: Decimal; UseAmountAddCurr: Boolean)
Parameters
| Name |
Type |
Description |
|
GenJnlLine
|
Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
General journal line that is being posted.
|
|
AccNo
|
Code[20] |
G/l account that will be used for new g/l entry.
|
|
Amount
|
Decimal |
Amount that will be used for g/l entry (in local currency).
|
|
AmountAddCurr
|
Decimal |
Amount that will be used for g/l entry (in additional currency).
|
|
UseAmountAddCurr
|
Boolean |
General journal line that is being posted.
|
CreateGLEntry
procedure CreateGLEntry(GenJnlLine: Record "Gen. Journal Line"; AccNo: Code[20]; Amount: Decimal; AmountAddCurr: Decimal; UseAmountAddCurr: Boolean; AmountSrcCurr: Decimal)
Parameters
CreateGLEntryBalAcc
Initializes the g/l entry from the general journal line. Fills balance account information and adds it to the TempGLEntryBuffer to be inserted.
procedure CreateGLEntryBalAcc(GenJnlLine: Record "Gen. Journal Line"; AccNo: Code[20]; Amount: Decimal; AmountAddCurr: Decimal; BalAccType: Enum "Gen. Journal Account Type"; BalAccNo: Code[20])
Parameters
CreateGLEntryVAT
Initializes the g/l entry from the general journal line and detailed cv. ledger entry buffer, adds the g/l entry to the TempGLEntryBuffer to be inserted.
Inserts vat entries.
procedure CreateGLEntryVAT(GenJnlLine: Record "Gen. Journal Line"; AccNo: Code[20]; Amount: Decimal; AmountAddCurr: Decimal; VATAmount: Decimal; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
CreateGLEntryVATCollectAdj
Initializes the g/l entry from the general journal line and detailed cv. ledger entry buffer, adds the g/l entry to the TempGLEntryBuffer to be inserted.
Collects needed adjustments, inserts vat entries.
procedure CreateGLEntryVATCollectAdj(GenJnlLine: Record "Gen. Journal Line"; AccNo: Code[20]; Amount: Decimal; AmountAddCurr: Decimal; VATAmount: Decimal; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var AdjAmount: array[4] of Decimal)
Parameters
| Name |
Type |
Description |
|
GenJnlLine
|
Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
General journal line that is being posted.
|
|
AccNo
|
Code[20] |
G/l account that will be used for new g/l entry.
|
|
Amount
|
Decimal |
Amount that will be used for g/l entry (in local currency).
|
|
AmountAddCurr
|
Decimal |
Amount that will be used for g/l entry (in additional currency).
|
|
VATAmount
|
Decimal |
Vat amount that will be used for g/l entry.
|
|
DtldCVLedgEntryBuf
|
Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer" |
DtldCVLedgerEntry Buffer that holds the information about posting groups and tax information that will be used for g/l entry creation.
|
|
AdjAmount
|
array[4] of Decimal |
Return value: the adjustment amount for the g/l entry.
|
CalcCurrencyUnrealizedGainLoss
Calculates unrealized gains and losses, if there are any then detailed CV ledger entries are created.
procedure CalcCurrencyUnrealizedGainLoss(var CVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary; GenJnlLine: Record "Gen. Journal Line"; AppliedAmount: Decimal; RemainingAmountBeforeAppln: Decimal)
Parameters
CalcAmtLCYAdjustment
Calculates the difference in local currency between the actual remaining amount of the c/v ledger entry and the remaining amount based on the adjusted currency factor.
If there is a difference then detailed CV ledger entries are created and posted to equate the difference.
procedure CalcAmtLCYAdjustment(var CVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line")
Parameters
ApplyCustLedgEntry
Prepares and posts customer ledger entries needed for the application. Detailed customer ledger entries are created and posted for both
the old and the new customer ledger entry.
procedure ApplyCustLedgEntry(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; Cust: Record Customer)
Parameters
Remarks
If the gen. journal line does not allow application or customer/gen. journal line is not setup for application, application is not performed.
CustPostApplyCustLedgEntry
Stand-alone procedure to post (from check to finish) application gen. journal line for the customer ledger entries.
G/l entries, vat entries, customer ledger entries and detailed customer ledger entries are created and posted.
procedure CustPostApplyCustLedgEntry(var GenJnlLinePostApply: Record "Gen. Journal Line"; var CustLedgEntryPostApply: Record "Cust. Ledger Entry")
Parameters
PostDtldCustLedgEntries
Posts all detailed customer ledger entries that are stored in DtldCVLedgEntryBuf. Creates g/l entry for the total amounts.
procedure PostDtldCustLedgEntries(GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; CustPostingGr: Record "Customer Posting Group"; LedgEntryInserted: Boolean): Boolean
Parameters
Returns
| Type |
Description |
|
Boolean |
True if any detailed customer ledger entries has been created.
|
Remarks
DtldCVLedgEntryBuf is cleared after the procedure is finished.
ApplyVendLedgEntry
Prepares and posts vendor ledger entries needed for the application. Detailed vendor ledger entries are created and posted for both
the old and the new vendor ledger entry.
procedure ApplyVendLedgEntry(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; Vend: Record Vendor)
Parameters
ApplyEmplLedgEntry
Prepares and posts employee ledger entries needed for the application. Detailed employee ledger entries are created and posted for both
the old and the new employee ledger entry.
procedure ApplyEmplLedgEntry(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; Employee: Record Employee)
Parameters
VendPostApplyVendLedgEntry
Stand-alone procedure to post (from check to finish) application gen. journal line for the vendor ledger entries.
G/l entries, vat entries, vendor ledger entries and detailed vendor ledger entries are created and posted.
procedure VendPostApplyVendLedgEntry(var GenJnlLinePostApply: Record "Gen. Journal Line"; var VendLedgEntryPostApply: Record "Vendor Ledger Entry")
Parameters
EmplPostApplyEmplLedgEntry
Stand-alone procedure to post (from check to finish) application gen. journal line for the employee ledger entries.
G/l entries, vat entries, employee ledger entries and detailed employee ledger entries are created and posted.
procedure EmplPostApplyEmplLedgEntry(var GenJnlLinePostApply: Record "Gen. Journal Line"; var EmplLedgEntryPostApply: Record "Employee Ledger Entry")
Parameters
PostDtldVendLedgEntries
Posts all detailed vendor ledger entries that are stored in DtldCVLedgEntryBuf. Creates g/l entry for the total amounts.
procedure PostDtldVendLedgEntries(GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; VendPostingGr: Record "Vendor Posting Group"; LedgEntryInserted: Boolean): Boolean
Parameters
Returns
| Type |
Description |
|
Boolean |
True if any detailed vendor ledger entries has been created.
|
Remarks
DtldCVLedgEntryBuf is cleared after the procedure is finished.
PostDtldEmplLedgEntries
Posts all detailed employee ledger entries that are stored in DtldCVLedgEntryBuf. Creates g/l entry for the total amounts.
procedure PostDtldEmplLedgEntries(GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; EmplPostingGr: Record "Employee Posting Group"; LedgEntryInserted: Boolean): Boolean
Parameters
Returns
| Type |
Description |
|
Boolean |
True if any detailed employee ledger entries has been created.
|
Remarks
DtldCVLedgEntryBuf is cleared after the procedure is finished.
PostDtldCVLedgEntry
Depending on the detailed customer/vendor ledger entry type, creates g/l entry and other entries for the detailed customer/vendor ledger entry.
If general journal line is created not for the unapplication purpose, adjustments can be collected.
procedure PostDtldCVLedgEntry(GenJournalLine: Record "Gen. Journal Line"; DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; AccNo: Code[20]; var AdjAmount: array[4] of Decimal; Unapply: Boolean)
Parameters
PostUnrealVATEntry
Posts an unrealized VAT entry for general journal line processing.
Handles unrealized VAT scenarios where VAT is posted upon payment rather than invoice.
procedure PostUnrealVATEntry(GenJnlLine: Record "Gen. Journal Line"; var VATEntry2: Record "VAT Entry"; VATAmount: Decimal; VATBase: Decimal; VATAmountAddCurr: Decimal; VATBaseAddCurr: Decimal; GLEntryNo: Integer)
Parameters
PostApply
Posts application entry to and applies it to the already existing customer/vendor/employee ledger entry.
In the process g/l entries and detailed entries are created, existing customer/vendor/employee ledger entries are updated.
procedure PostApply(var GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; BlockPaymentTolerance: Boolean; AllApplied: Boolean; var AppliedAmount: Decimal; var PmtTolAmtToBeApplied: Decimal)
Parameters
UnapplyCustLedgEntry
Creates and posts un-applying entry for currently applied detailed customer ledger entry.
G/l entry with unapplied amount is created as part of the process
Related customer ledger entry is being updated as part of the process
Unrealized vat is posted
procedure UnapplyCustLedgEntry(GenJournalLine: Record "Gen. Journal Line"; DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")
Parameters
Remarks
Customer, detailed customer ledger and vat entries are being locked
UnapplyVendLedgEntry
Creates and posts un-applying entry for currently applied detailed vendor ledger entry.
G/l entry with unapplied amount is created as part of the process
Related vendor ledger entry is being updated as part of the process
Unrealized vat is posted
procedure UnapplyVendLedgEntry(GenJournalLine: Record "Gen. Journal Line"; DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")
Parameters
Remarks
Vendor, detailed vendor ledger and vat entries are being locked
UnapplyEmplLedgEntry
Creates and posts un-applying entry for currently applied detailed employee ledger entry.
G/l entry with unapplied amount is created as part of the process
Related employee ledger entry is being updated as part of the process
procedure UnapplyEmplLedgEntry(GenJournalLine: Record "Gen. Journal Line"; DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")
Parameters
Remarks
Employee and detailed employee ledger entries are being locked
GLCalcAddCurrency
Calculates additional currency amount for G/L posting based on various posting scenarios.
Handles currency conversion, rounding, and posting rules for additional currency setup.
procedure GLCalcAddCurrency(Amount: Decimal; AddCurrAmount: Decimal; OldAddCurrAmount: Decimal; UseAddCurrAmount: Boolean; GenJnlLine: Record "Gen. Journal Line"): Decimal
Parameters
| Name |
Type |
Description |
|
Amount
|
Decimal |
Base amount in local currency
|
|
AddCurrAmount
|
Decimal |
Amount in additional currency
|
|
OldAddCurrAmount
|
Decimal |
Previous additional currency amount for comparison
|
|
UseAddCurrAmount
|
Boolean |
Indicates whether to use the provided additional currency amount
|
|
GenJnlLine
|
Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
General journal line containing currency posting rules
|
Returns
| Type |
Description |
|
Decimal |
Calculated additional currency amount for posting
|
CalcLCYToAddCurr
Converts amount to additional reporting currency
procedure CalcLCYToAddCurr(AmountLCY: Decimal): Decimal
Parameters
| Name |
Type |
Description |
|
AmountLCY
|
Decimal |
Amount in local currency
|
Returns
| Type |
Description |
|
Decimal |
Amount in additional reporting currency
|
Remarks
If additional reporting currency is not set, conversion is not performed.
ExchangeAmtLCYToFCY2
Converts amount from local to foreign currency.
procedure ExchangeAmtLCYToFCY2(Amount: Decimal): Decimal
Parameters
| Name |
Type |
Description |
|
Amount
|
Decimal |
Amount to be converted
|
Returns
| Type |
Description |
|
Decimal |
Amount in foreign currency
|
CheckNonAddCurrCodeOccurred
Checks and returns if the currency code is different than additional reporting currency
procedure CheckNonAddCurrCodeOccurred(CurrencyCode: Code[10]): Boolean
Parameters
| Name |
Type |
Description |
|
CurrencyCode
|
Code[10] |
Currency Code to be checked
|
Returns
| Type |
Description |
|
Boolean |
True if Currency Code passed as a parameter is different than additional reporting currency
|
SetGLRegReverse
Sets parameter ReverseGLReg to the same value as global variable GLReg with reversed set to true.
procedure SetGLRegReverse(var ReverseGLReg: Record "G/L Register")
Parameters
Remarks
Global variable GLReg stores information of the g/l register that being created
ABSMin
Returns smaller value of the two parameters passed to the procedure.
procedure ABSMin(Decimal1: Decimal; Decimal2: Decimal): Decimal
Parameters
| Name |
Type |
Description |
|
Decimal1
|
Decimal |
Value to compare
|
|
Decimal2
|
Decimal |
Value to compare
|
Returns
| Type |
Description |
|
Decimal |
Smaller of the two passed parameters
|
GetGLSetup
Retrieves general ledger setup if it wasn't retrieved before.
Global variable to store additional reporting currency is set from general ledger setup.
procedure GetGLSetup()
GetSourceCodeSetup
Retrieves and caches the source code setup for posting operations.
Optimizes performance by reading the setup once and reusing it across posting operations.
procedure GetSourceCodeSetup()
CheckDimValueForDisposal
Check dimension restrictions on gen. journal line that relates to g/l account.
procedure CheckDimValueForDisposal(GenJnlLine: Record "Gen. Journal Line"; AccountNo: Code[20])
Parameters
Remarks
Only gen. journal lines that have amount are checked
FA Posting Type must be equal to disposal on gen. journal line
SetOverDimErr
Sets the global variable OverrideDimErr for the current instance of the codeunit.
If OverrideDimErr is not set dimension check is performed before posting gen. journal line
procedure SetOverDimErr()
SetPreviewMode
Sets the Preview Mode for the current instance of the codeunit.
Preview Mode ensures no transactions are committed to the database.
procedure SetPreviewMode(NewPreviewMode: Boolean)
Parameters
| Name |
Type |
Description |
|
NewPreviewMode
|
Boolean |
The new value for the Preview Mode.
|
CheckGLAccDimError
Check dimension restrictions on gen. journal line that relates to g/l account.
procedure CheckGLAccDimError(GenJnlLine: Record "Gen. Journal Line"; GLAccNo: Code[20])
Parameters
Remarks
Only gen. journal lines that have amount and currency are checked
g/l account must be same as specified on currency realized/unrealized gain/loss
SetIgnoreJournalTemplNameMandatoryCheck
Sets the global variable IgnoreJournalTemplNameMandatoryCheck for the current instance of the codeunit.
If IgnoreJournalTemplNameMandatoryCheck is not set "Journal Templ. Name Mandatory" check is performed before gen. journal line
procedure SetIgnoreJournalTemplNameMandatoryCheck()
GetCurrency
Retrieves currency record based on the currency code.
procedure GetCurrency(var Currency: Record Currency; CurrencyCode: Code[10])
Parameters
CollectAdjustment
Populates the array AdjAmount with gen. journal lines value amount and additional currency amount.
procedure CollectAdjustment(var AdjAmount: array[4] of Decimal; Amount: Decimal; AmountAddCurr: Decimal)
Parameters
| Name |
Type |
Description |
|
AdjAmount
|
array[4] of Decimal |
Return Value: array of adjustment amounts
|
|
Amount
|
Decimal |
Gen. journal line amount
|
|
AmountAddCurr
|
Decimal |
Gen. journal line amount in additional currency
|
Remarks
If amount and additional currency amount values are positive array elements 1 (one) and 2 (two) are populated.
For negative values array elements 3 (three) and 4 (four) are populated
HandleDtldAdjustment
Handles detailed adjustment entries for currency and rounding differences in posting.
Creates additional G/L entries to balance out adjustment amounts from currency conversions and rounding.
procedure HandleDtldAdjustment(GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; AdjAmount: array[4] of Decimal; TotalAmountLCY: Decimal; TotalAmountAddCurr: Decimal; GLAccNo: Code[20])
Parameters
GetAdjAmountOffset
Returns offset of adjustment amount.
If amount positive and amount in additional currency is greater than 0 (zero) return value will be 1. If not - return value will be 3.
procedure GetAdjAmountOffset(Amount: Decimal; AmountACY: Decimal): Integer
Parameters
| Name |
Type |
Description |
|
Amount
|
Decimal |
gen. journal line amount
|
|
AmountACY
|
Decimal |
gen. journal amount (in additional currency)
|
Returns
| Type |
Description |
|
Integer |
Adjustment amount offset
|
GetNextEntryNo
Returns next entry no. that should be used when creating ledger (i.e. general, customer, vendor, etc.) entries.
procedure GetNextEntryNo(): Integer
Returns
| Type |
Description |
|
Integer |
Returns next entry no. to be used for posting
|
GetNextTransactionNo
Returns next transaction no. that should be used when creating ledger (i.e. general, customer, vendor, etc.) entries.
procedure GetNextTransactionNo(): Integer
Returns
| Type |
Description |
|
Integer |
Returns next transaction no. to be used for posting
|
GetNextVATEntryNo
Return next vat entry no. that should be used when creating next vat entry.
procedure GetNextVATEntryNo(): Integer
Returns
| Type |
Description |
|
Integer |
Next vat entry no. to be used for posting
|
IncrNextVATEntryNo
Increases global variable NextVATEntryNo by 1 (one).
procedure IncrNextVATEntryNo()
Remarks
Variable NextVATEntryNo is used as entry no. when creating vat entries
IncrNextEntryNo
Increases global variable NextEntryNo by 1 (one).
procedure IncrNextEntryNo()
Remarks
Variable NextEntryNo is used as entry no. when creating ledger entries
IsTempGLEntryBufEmpty
Procedure to check if global temporary/buffer table TempGLEntryBuf is empty.
procedure IsTempGLEntryBufEmpty(): Boolean
Returns
| Type |
Description |
|
Boolean |
True if global temporary/buffer table TempGLEntryBuf is empty
|
UpdateGLEntryNo
Parameter GLEntryNo is updated with value of parameter SavedEntryNo.
Global variable NextEntryNo is decreased by 1 (one).
procedure UpdateGLEntryNo(var ExistingGLEntryNo: Integer; var SavedEntryNo: Integer)
Parameters
| Name |
Type |
Description |
|
ExistingGLEntryNo
|
Integer |
Existing value for g/l entry no.
|
|
SavedEntryNo
|
Integer |
New value for g/l entry no.
|
Remarks
Variable NextEntryNo is used as entry no. when creating ledger entries
UpdateTotalAmounts
Creates/updates temporary/buffer table TempDimPostingBuffer with amount and amount in additional currency based on dimension set id.
The procedure should be used to aggregate amounts by dimensions.
procedure UpdateTotalAmounts(var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary; DimSetID: Integer; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
SetAddCurrForUnapplication
Updates additional-currency amount on buffer table DtldCVLedgEntryBuf when un-application of customer/vendor ledger entries is posted.
procedure SetAddCurrForUnapplication(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
Remarks
Amount is only updated for buffer table entry with type other than application, unrealized/realized gain/loss or correction of remaining amount
CheckCustMultiplePostingGroups
Checks if multiple customer posting groups exists on customer ledger entries that relate to detailed entries being created.
procedure CheckCustMultiplePostingGroups(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"): Boolean
Parameters
Returns
| Type |
Description |
|
Boolean |
Returns true if multiple customer posting groups exists for customer ledger entries being applied
|
Remarks
The check is only performed when customer ledger entries are being applied.
CheckVendMultiplePostingGroups
Checks if multiple vendor posting groups exists on vendor ledger entries that relate to detailed entries being created.
procedure CheckVendMultiplePostingGroups(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"): Boolean
Parameters
Returns
| Type |
Description |
|
Boolean |
Returns true if multiple vendor posting groups exists for vendor ledger entries being applied
|
Remarks
The check is only performed when vendor ledger entries are being applied.
CheckEmplMultiplePostingGroups
Checks if multiple employee posting groups exists on employee ledger entries that relate to detailed entries being created.
procedure CheckEmplMultiplePostingGroups(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"): Boolean
Parameters
Returns
| Type |
Description |
|
Boolean |
Returns true if multiple employee posting groups exists for employee ledger entries being applied
|
Remarks
The check is only performed when employee ledger entries are being applied.
RemoveDeferralSchedule
Removes deferral header and line associated with gen. journal line.
procedure RemoveDeferralSchedule(GenJournalLine: Record "Gen. Journal Line")
Parameters
Remarks
Deferrals are only removed if line no. on gen. journal line is specified (not 0).
DeferralPosting
procedure DeferralPosting(DeferralCode: Code[10]; SourceCode: Code[10]; AccountNo: Code[20]; var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean)
Parameters
SetFADimAlreadyChecked
Sets the new value for global variable FADimAlreadyChecked.
procedure SetFADimAlreadyChecked(NewFADimAlreadyChecked: Boolean)
Parameters
| Name |
Type |
Description |
|
NewFADimAlreadyChecked
|
Boolean |
New value for global variable FADimAlreadyChecked
|
Remarks
If this value is not set (false) the dimensions are checked for restrictions when initializing new g/l entry
SetTempGLEntryBufEntryNo
Sets entry no. of the global temporary/buffer table TempGLEntryBuf.
procedure SetTempGLEntryBufEntryNo(NewTempGLEntryBufEntryNo: Integer)
Parameters
| Name |
Type |
Description |
|
NewTempGLEntryBufEntryNo
|
Integer |
New entry no.
|
Remarks
TempGLEntryBuf is a global temporary/buffer table used to accumulate all the g/l entries that will be posted
IncreaseTaxEntryNo
procedure IncreaseTaxEntryNo()
SetApplyingCurrencyCode
procedure SetApplyingCurrencyCode(NewApplyingCurrencyCode: Code[10])
Parameters
| Name |
Type |
Description |
|
NewApplyingCurrencyCode
|
Code[10] |
|
Events
OnBeforeRunWithCheck
[IntegrationEvent(True,False)]
local procedure OnBeforeRunWithCheck(var GenJournalLine: Record "Gen. Journal Line"; var GenJournalLine2: Record "Gen. Journal Line"; var GLEntryNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeRunWithoutCheck
[IntegrationEvent(True,False)]
local procedure OnBeforeRunWithoutCheck(var GenJournalLine: Record "Gen. Journal Line"; var GenJournalLine2: Record "Gen. Journal Line"; var GLEntryNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeCode
[IntegrationEvent(True,False)]
local procedure OnBeforeCode(var GenJnlLine: Record "Gen. Journal Line"; CheckLine: Boolean; var IsPosted: Boolean; var GLReg: Record "G/L Register"; var GLEntryNo: Integer)
Parameters
OnBeforeCheckGLAccDimError
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGLAccDimError(var GenJournalLine: Record "Gen. Journal Line"; GLAccNo: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforeCheckGLAccDirectPosting
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGLAccDirectPosting(var GenJournalLine: Record "Gen. Journal Line"; GLAcc: Record "G/L Account"; var IsHandled: Boolean)
Parameters
OnBeforeCheckDeferralPostDate
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDeferralPostDate(PostingDate: Date; var IsHandled: Boolean)
Parameters
| Name |
Type |
Description |
|
PostingDate
|
Date |
|
|
IsHandled
|
Boolean |
|
OnBeforeCheckPurchExtDocNo
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckPurchExtDocNo(GenJournalLine: Record "Gen. Journal Line"; VendorLedgerEntry: Record "Vendor Ledger Entry"; CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var Handled: Boolean)
Parameters
OnBeforeStartPosting
[IntegrationEvent(False,False)]
local procedure OnBeforeStartPosting(var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnBeforeCreateGLEntryBalAcc
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateGLEntryBalAcc(var GenJnlLine: Record "Gen. Journal Line"; var AccNo: Code[20]; Amount: Decimal; AmountAddCurr: Decimal; var BalAccType: Enum "Gen. Journal Account Type"; var BalAccNo: Code[20])
Parameters
OnAfterCreateGLEntryBalAcc
[IntegrationEvent(True,False)]
local procedure OnAfterCreateGLEntryBalAcc(GenJnlLine: Record "Gen. Journal Line"; GLEntry: Record "G/L Entry")
Parameters
OnVendPostApplyVendLedgEntryOnBeforeApplyVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeApplyVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")
Parameters
OnCreateGLEntryVATOnBeforeInsertGLEntry
[IntegrationEvent(False,False)]
local procedure OnCreateGLEntryVATOnBeforeInsertGLEntry(GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry")
Parameters
OnBeforeStartOrContinuePosting
[IntegrationEvent(True,False)]
local procedure OnBeforeStartOrContinuePosting(var GenJnlLine: Record "Gen. Journal Line"; LastDocType: Option; LastDocNo: Code[20]; LastDate: Date; var NextEntryNo: Integer)
Parameters
OnCodeOnAfterStartOrContinuePosting
[IntegrationEvent(False,False)]
local procedure OnCodeOnAfterStartOrContinuePosting(var GenJournalLine: Record "Gen. Journal Line"; LastDocType: Enum "Gen. Journal Document Type"; LastDocNo: Code[20]; LastDate: Date; var NextEntryNo: Integer)
Parameters
OnInitGLEntryVATCopyOnBeforeSummarizeVAT
[IntegrationEvent(False,False)]
local procedure OnInitGLEntryVATCopyOnBeforeSummarizeVAT(GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; VATEntry: Record "VAT Entry")
Parameters
OnCreateGLEntryOnBeforeInsertGLEntry
[IntegrationEvent(False,False)]
local procedure OnCreateGLEntryOnBeforeInsertGLEntry(GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; VATEntry: Record "VAT Entry")
Parameters
OnBeforeContinuePosting
[IntegrationEvent(False,False)]
local procedure OnBeforeContinuePosting(var GenJournalLine: Record "Gen. Journal Line"; var GLRegister: Record "G/L Register"; var NextEntryNo: Integer; var NextTransactionNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeCustUnrealizedVAT
[IntegrationEvent(False,False)]
local procedure OnBeforeCustUnrealizedVAT(var GenJnlLine: Record "Gen. Journal Line"; var CustLedgEntry: Record "Cust. Ledger Entry"; SettledAmount: Decimal; var IsHandled: Boolean)
Parameters
OnBeforePostFixedAsset
[IntegrationEvent(True,False)]
local procedure OnBeforePostFixedAsset(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnBeforePostGenJnlLine
[IntegrationEvent(True,False)]
local procedure OnBeforePostGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean)
Parameters
OnBeforePostGLAcc
[IntegrationEvent(True,False)]
local procedure OnBeforePostGLAcc(GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var GLEntryNo: Integer; var IsHandled: Boolean; var TempGLEntryBuf: Record "G/L Entry" temporary)
Parameters
OnBeforePostVAT
[IntegrationEvent(True,False)]
local procedure OnBeforePostVAT(var GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; VATPostingSetup: Record "VAT Posting Setup"; var IsHandled: Boolean; var AddCurrGLEntryVATAmt: Decimal; var NextConnectionNo: Integer; var TaxDetail: Record "Tax Detail")
Parameters
OnBeforePostPmtDiscountVATByUnapply
[IntegrationEvent(False,False)]
local procedure OnBeforePostPmtDiscountVATByUnapply(var GenJournalLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry")
Parameters
OnBeforePostVend
[IntegrationEvent(False,False)]
local procedure OnBeforePostVend(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnBeforeFindAmtForAppln
[IntegrationEvent(False,False)]
local procedure OnBeforeFindAmtForAppln(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var AppliedAmount: Decimal; var AppliedAmountLCY: Decimal; var OldAppliedAmount: Decimal; var Handled: Boolean; var ApplnRoundingPrecision: Decimal; var VATEntry: Record "VAT Entry")
Parameters
OnBeforeVendUnrealizedVAT
[IntegrationEvent(False,False)]
local procedure OnBeforeVendUnrealizedVAT(var GenJnlLine: Record "Gen. Journal Line"; var VendorLedgerEntry: Record "Vendor Ledger Entry"; SettledAmount: Decimal; var IsHandled: Boolean)
Parameters
OnAfterCustLedgEntryInsert
[IntegrationEvent(True,False)]
local procedure OnAfterCustLedgEntryInsert(var CustLedgerEntry: Record "Cust. Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; var DtldLedgEntryInserted: Boolean; PreviewMode: Boolean)
Parameters
OnInsertVATOnAfterCalcVATDifferenceLCY
[IntegrationEvent(False,False)]
local procedure OnInsertVATOnAfterCalcVATDifferenceLCY(GenJournalLine: Record "Gen. Journal Line"; VATEntry: Record "VAT Entry"; var VATDifferenceLCY: Decimal; var CurrExchRate: Record "Currency Exchange Rate")
Parameters
OnInsertVATOnAfterSetVATAmounts
[IntegrationEvent(False,False)]
local procedure OnInsertVATOnAfterSetVATAmounts(var GenJournalLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry"; var GLEntryAmount: Decimal; var GLEntryVATAmount: Decimal; var VATAmount: Decimal; var GLEntryBaseAmount: Decimal; var VATBase: Decimal; var SrcCurrGLEntryAmt: Decimal; var SrcCurrGLEntryVATAmt: Decimal; var SrcCurrVATAmount: Decimal; var SrcCurrGLEntryBaseAmt: Decimal; var SrcCurrVATBase: Decimal)
Parameters
OnAfterVendLedgEntryInsert
[IntegrationEvent(True,False)]
local procedure OnAfterVendLedgEntryInsert(var VendorLedgerEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; var DtldLedgEntryInserted: Boolean; PreviewMode: Boolean)
Parameters
OnAfterFindAmtForAppln
[IntegrationEvent(False,False)]
local procedure OnAfterFindAmtForAppln(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var AppliedAmount: Decimal; var AppliedAmountLCY: Decimal; var OldAppliedAmount: Decimal; var ApplnRoundingPrecision: Decimal; var VATEntry: Record "VAT Entry")
Parameters
OnAfterFindJobLineSign
[IntegrationEvent(False,False)]
local procedure OnAfterFindJobLineSign(var GenJnlLine: Record "Gen. Journal Line"; var IsJobLine: Boolean)
Parameters
OnAfterInitGLEntry
[IntegrationEvent(True,False)]
local procedure OnAfterInitGLEntry(var GLEntry: Record "G/L Entry"; GenJournalLine: Record "Gen. Journal Line"; Amount: Decimal; AddCurrAmount: Decimal; UseAddCurrAmount: Boolean; var CurrencyFactor: Decimal; var GLRegister: Record "G/L Register")
Parameters
OnAfterInitGLRegister
[IntegrationEvent(False,False)]
local procedure OnAfterInitGLRegister(var GLRegister: Record "G/L Register"; var GenJournalLine: Record "Gen. Journal Line"; NextTaxEntryNo: Integer; var NextEntryNo: Integer; var NextVATEntryNo: Integer; var NextTransactionNo: Integer)
Parameters
OnAfterInitBankAccLedgEntry
[IntegrationEvent(False,False)]
local procedure OnAfterInitBankAccLedgEntry(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnAfterInitCheckLedgEntry
[IntegrationEvent(False,False)]
local procedure OnAfterInitCheckLedgEntry(var CheckLedgerEntry: Record "Check Ledger Entry"; BankAccountLedgerEntry: Record "Bank Account Ledger Entry")
Parameters
OnAfterInitCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnAfterInitCustLedgEntry(var CustLedgerEntry: Record "Cust. Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; var GLRegister: Record "G/L Register")
Parameters
OnAfterInitVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnAfterInitVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; var GLRegister: Record "G/L Register")
Parameters
OnAfterInitEmployeeLedgerEntry
[IntegrationEvent(False,False)]
local procedure OnAfterInitEmployeeLedgerEntry(var EmployeeLedgerEntry: Record "Employee Ledger Entry"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnAfterInsertDtldCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnAfterInsertDtldCustLedgEntry(var DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; GenJournalLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; Offset: Integer)
Parameters
OnAfterInsertDtldVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnAfterInsertDtldVendLedgEntry(var DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; GenJournalLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; Offset: Integer)
Parameters
OnAfterInsertDtldCustLedgEntryUnapply
[IntegrationEvent(False,False)]
local procedure OnAfterInsertDtldCustLedgEntryUnapply(var CustomerPostingGroup: Record "Customer Posting Group"; var OldDetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var GenJnlLine: Record "Gen. Journal Line"; var NewDetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")
Parameters
OnAfterInsertGlobalGLEntry
[IntegrationEvent(True,False)]
local procedure OnAfterInsertGlobalGLEntry(var GLEntry: Record "G/L Entry"; var TempGLEntryBuf: Record "G/L Entry"; var NextEntryNo: Integer; GenJnlLine: Record "Gen. Journal Line")
Parameters
OnAfterInsertGLEntry
[IntegrationEvent(True,False)]
local procedure OnAfterInsertGLEntry(GLEntry: Record "G/L Entry"; GenJnlLine: Record "Gen. Journal Line"; TempGLEntryBuf: Record "G/L Entry" temporary; CalcAddCurrResiduals: Boolean)
Parameters
OnAfterInitVAT
[IntegrationEvent(False,False)]
local procedure OnAfterInitVAT(var GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var VATPostingSetup: Record "VAT Posting Setup"; var AddCurrGLEntryVATAmt: Decimal)
Parameters
OnAfterInsertVAT
[IntegrationEvent(True,False)]
local procedure OnAfterInsertVAT(var GenJournalLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry"; var UnrealizedVAT: Boolean; var AddCurrencyCode: Code[10]; var VATPostingSetup: Record "VAT Posting Setup"; var GLEntryAmount: Decimal; var GLEntryVATAmount: Decimal; var GLEntryBaseAmount: Decimal; var SrcCurrCode: Code[10]; var SrcCurrGLEntryAmt: Decimal; var SrcCurrGLEntryVATAmt: Decimal; var SrcCurrGLEntryBaseAmt: Decimal; AddCurrGLEntryVATAmt: Decimal; var NextConnectionNo: Integer; var NextVATEntryNo: Integer; var NextTransactionNo: Integer; TempGLEntryBufEntryNo: Integer)
Parameters
OnAfterInsertVATEntry
[IntegrationEvent(True,False)]
local procedure OnAfterInsertVATEntry(GenJnlLine: Record "Gen. Journal Line"; VATEntry: Record "VAT Entry"; GLEntryNo: Integer; var NextEntryNo: Integer; var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary)
Parameters
OnAfterIsNotPayment
[IntegrationEvent(True,False)]
local procedure OnAfterIsNotPayment(DocumentType: Enum "Gen. Journal Document Type"; var Result: Boolean)
Parameters
OnAfterPostBankAcc
[IntegrationEvent(True,False)]
local procedure OnAfterPostBankAcc(var GenJnlLine: Record "Gen. Journal Line"; Balancing: Boolean; var TempGLEntryBuf: Record "G/L Entry" temporary; var NextEntryNo: Integer; var NextTransactionNo: Integer)
Parameters
OnAfterRunWithCheck
[IntegrationEvent(True,False)]
local procedure OnAfterRunWithCheck(var GenJnlLine: Record "Gen. Journal Line")
Parameters
OnAfterRunWithoutCheck
[IntegrationEvent(True,False)]
local procedure OnAfterRunWithoutCheck(var GenJnlLine: Record "Gen. Journal Line")
Parameters
OnAfterPostPmtDiscountVATByUnapply
[IntegrationEvent(True,False)]
local procedure OnAfterPostPmtDiscountVATByUnapply(var GenJournalLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry")
Parameters
OnAfterOldCustLedgEntryModify
[IntegrationEvent(False,False)]
local procedure OnAfterOldCustLedgEntryModify(var CustLedgEntry: Record "Cust. Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; var TempCustLedgerEntry: Record "Cust. Ledger Entry" temporary; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnApplyCustLedgEntryOnBeforeCustUnrealizedVAT
[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnBeforeCustUnrealizedVAT(CustLedgerEntry: Record "Cust. Ledger Entry"; var IsHandled: Boolean)
Parameters
OnApplyCustLedgEntryOnBeforeUnrealizedVAT
[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnBeforeUnrealizedVAT(CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var IsHandled: Boolean)
Parameters
OnBeforeApplyCustLedgEntry
[IntegrationEvent(True,False)]
local procedure OnBeforeApplyCustLedgEntry(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line"; Cust: Record Customer; var IsAmountToApplyCheckHandled: Boolean; var IsHandled: Boolean)
Parameters
OnAfterOldVendLedgEntryModify
[IntegrationEvent(True,False)]
local procedure OnAfterOldVendLedgEntryModify(var VendLedgEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; var TempVendorLedgerEntry: Record "Vendor Ledger Entry" temporary; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; AppliedAmount: Decimal; var NextTaxEntryNo: Integer; var NextEntryNo: Integer; var NextCheckEntryNo: Integer; NextTransactionNo: Integer)
Parameters
OnBeforeApplyVendLedgEntry
[IntegrationEvent(True,False)]
local procedure OnBeforeApplyVendLedgEntry(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line"; Vend: Record Vendor; var IsAmountToApplyCheckHandled: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeCustLedgEntryInsert
[IntegrationEvent(True,False)]
local procedure OnBeforeCustLedgEntryInsert(var CustLedgerEntry: Record "Cust. Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; GLRegister: Record "G/L Register"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var NextEntryNo: Integer)
Parameters
OnBeforeVendLedgEntryInsert
[IntegrationEvent(False,False)]
local procedure OnBeforeVendLedgEntryInsert(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; GLRegister: Record "G/L Register")
Parameters
OnBeforeInsertDtldCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldCustLedgEntry(var DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; GenJournalLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; GLRegister: Record "G/L Register")
Parameters
OnBeforeInsertDtldCustLedgEntryProcedure
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldCustLedgEntryProcedure(GenJnlLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var IsHandled: Boolean)
Parameters
OnBeforeInsertDtldCustLedgEntryUnapply
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldCustLedgEntryUnapply(var NewDtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; GenJournalLine: Record "Gen. Journal Line"; OldDtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; GLRegister: Record "G/L Register")
Parameters
OnBeforeInsertDtldEmplLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldEmplLedgEntry(var DtldEmplLedgEntry: Record "Detailed Employee Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnBeforeInsertDtldEmplLedgEntryUnapply
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldEmplLedgEntryUnapply(var NewDtldEmplLedgEntry: Record "Detailed Employee Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; OldDtldEmplLedgEntry: Record "Detailed Employee Ledger Entry")
Parameters
OnBeforeInsertDtldVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldVendLedgEntry(var DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; GenJournalLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; GLRegister: Record "G/L Register")
Parameters
OnBeforeInsertDtldVendLedgEntryProcedure
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldVendLedgEntryProcedure(GenJnlLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; var IsHandled: Boolean)
Parameters
OnBeforeInsertDtldVendLedgEntryUnapply
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldVendLedgEntryUnapply(var NewDtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; GenJournalLine: Record "Gen. Journal Line"; OldDtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; GLRegister: Record "G/L Register")
Parameters
OnBeforeInsertGLEntryBuffer
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertGLEntryBuffer(var TempGLEntryBuf: Record "G/L Entry" temporary; var GenJournalLine: Record "Gen. Journal Line"; var BalanceCheckAmount: Decimal; var BalanceCheckAmount2: Decimal; var BalanceCheckAddCurrAmount: Decimal; var BalanceCheckAddCurrAmount2: Decimal; var NextEntryNo: Integer; var TotalAmount: Decimal; var TotalAddCurrAmount: Decimal; var GLEntry: Record "G/L Entry")
Parameters
OnBeforeInsertGlobalGLEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertGlobalGLEntry(var GlobalGLEntry: Record "G/L Entry"; GenJournalLine: Record "Gen. Journal Line"; GLRegister: Record "G/L Register"; FiscalYearStartDate: Date)
Parameters
OnBeforeInsertTempVATEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertTempVATEntry(var TempVATEntry: Record "VAT Entry" temporary; GenJournalLine: Record "Gen. Journal Line"; VATEntry: Record "VAT Entry"; VATAmount: Decimal; VATBase: Decimal)
Parameters
OnBeforeInitAmounts
[IntegrationEvent(False,False)]
local procedure OnBeforeInitAmounts(var GenJnlLine: Record "Gen. Journal Line"; var Currency: Record Currency; var IsHandled: Boolean)
Parameters
OnBeforeInitBankAccLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInitBankAccLedgEntry(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnBeforeInitCheckEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInitCheckEntry(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry"; var CheckLedgerEntry: Record "Check Ledger Entry")
Parameters
OnBeforeInitCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInitCustLedgEntry(var CustLedgerEntry: Record "Cust. Ledger Entry"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnBeforeInitEmployeeLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInitEmployeeLedgEntry(var EmployeeLedgerEntry: Record "Employee Ledger Entry"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnBeforeInitVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInitVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnBeforeInitGLEntry
[IntegrationEvent(True,False)]
local procedure OnBeforeInitGLEntry(var GenJournalLine: Record "Gen. Journal Line"; var GLAccNo: Code[20]; SystemCreatedEntry: Boolean; Amount: Decimal; AmountAddCurr: Decimal; FADimAlreadyChecked: Boolean; var IsHandled: Boolean; var GLEntry: Record "G/L Entry"; UseAmountAddCurr: Boolean; NextEntryNo: Integer; NextTransactionNo: Integer)
Parameters
OnBeforeInitVAT
[IntegrationEvent(False,False)]
local procedure OnBeforeInitVAT(var GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var VATPostingSetup: Record "VAT Posting Setup"; var IsHandled: Boolean; var LCYCurrency: Record Currency; var AddCurrencyCode: Code[10]; var AddCurrGLEntryVATAmt: Decimal)
Parameters
OnBeforeInsertGLEntryFromVATEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertGLEntryFromVATEntry(var GLEntry: Record "G/L Entry"; VATEntry: Record "VAT Entry")
Parameters
OnBeforeInsertVAT
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertVAT(var GenJournalLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry"; var UnrealizedVAT: Boolean; var AddCurrencyCode: Code[10]; var VATPostingSetup: Record "VAT Posting Setup"; var GLEntryAmount: Decimal; var GLEntryVATAmount: Decimal; var GLEntryBaseAmount: Decimal; var SrcCurrCode: Code[10]; var SrcCurrGLEntryAmt: Decimal; var SrcCurrGLEntryVATAmt: Decimal; var SrcCurrGLEntryBaseAmt: Decimal; var IsHandled: Boolean)
Parameters
OnBeforeInsertVATForGLEntryFromBuffer
[IntegrationEvent(True,False)]
local procedure OnBeforeInsertVATForGLEntryFromBuffer(var GenJnlLine: Record "Gen. Journal Line"; var VATPostingSetup: Record "VAT Posting Setup"; VATPostingParameters: Record "VAT Posting Parameters"; var IsHandled: Boolean; var VATEntry: Record "VAT Entry"; TaxJurisdiction: Record "Tax Jurisdiction"; AddCurrencyCode: Code[10])
Parameters
OnBeforeInsertVATEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertVATEntry(var VATEntry: Record "VAT Entry"; GenJournalLine: Record "Gen. Journal Line"; var NextVATEntryNo: Integer; var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary; var TempGLEntryBuf: Record "G/L Entry" temporary; GLRegister: Record "G/L Register")
Parameters
OnBeforeInsertPostUnrealVATEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertPostUnrealVATEntry(var VATEntry: Record "VAT Entry"; GenJournalLine: Record "Gen. Journal Line"; var VATEntry2: Record "VAT Entry")
Parameters
OnBeforeFinishPosting
[IntegrationEvent(True,False)]
local procedure OnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line"; var TempGLEntryBuf: Record "G/L Entry" temporary)
Parameters
OnAfterFinishPosting
[IntegrationEvent(False,False)]
local procedure OnAfterFinishPosting(var GlobalGLEntry: Record "G/L Entry"; var GLRegister: Record "G/L Register"; var IsTransactionConsistent: Boolean; var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnAfterGLFinishPosting
[IntegrationEvent(False,False)]
local procedure OnAfterGLFinishPosting(GLEntry: Record "G/L Entry"; var GenJnlLine: Record "Gen. Journal Line"; var IsTransactionConsistent: Boolean; FirstTransactionNo: Integer; var GLRegister: Record "G/L Register"; var TempGLEntryBuf: Record "G/L Entry" temporary; var NextEntryNo: Integer; var NextTransactionNo: Integer; var NextVATEntryNo: Integer)
Parameters
OnNextTransactionNoNeeded
[IntegrationEvent(False,False)]
local procedure OnNextTransactionNoNeeded(GenJnlLine: Record "Gen. Journal Line"; LastDocType: Option; LastDocNo: Code[20]; LastDate: Date; CurrentBalance: Decimal; CurrentBalanceACY: Decimal; var NewTransaction: Boolean)
Parameters
OnAfterPostGLAcc
[IntegrationEvent(True,False)]
local procedure OnAfterPostGLAcc(var GenJnlLine: Record "Gen. Journal Line"; var TempGLEntryBuf: Record "G/L Entry" temporary; var NextEntryNo: Integer; var NextTransactionNo: Integer; Balancing: Boolean; var GLEntry: Record "G/L Entry"; VATPostingSetup: Record "VAT Posting Setup"; var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary)
Parameters
OnCalcPmtDiscOnAfterAssignPmtDisc
[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscOnAfterAssignPmtDisc(var PmtDisc: Decimal; var PmtDiscLCY: Decimal; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer")
Parameters
OnCalcPmtDiscOnAfterCalcPmtDisc
[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscOnAfterCalcPmtDisc(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var PmtDisc: Decimal; var PmtDiscLCY: Decimal; var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnCalcPmtToleranceOnAfterAssignPmtDisc
[IntegrationEvent(False,False)]
local procedure OnCalcPmtToleranceOnAfterAssignPmtDisc(var PmtTol: Decimal; var PmtTolLCY: Decimal; var PmtTolAmtToBeApplied: Decimal; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var NextTransactionNo: Integer; var FirstNewVATEntryNo: Integer)
Parameters
OnCalcPmtDiscIfAdjVATCopyFields
[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscIfAdjVATCopyFields(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnAfterPostDeferral
[IntegrationEvent(False,False)]
local procedure OnAfterPostDeferral(var GenJournalLine: Record "Gen. Journal Line"; var TempGLEntryBuf: Record "G/L Entry" temporary; AccountNo: Code[20])
Parameters
OnAfterPostDeferralPostBuffer
[IntegrationEvent(False,False)]
local procedure OnAfterPostDeferralPostBuffer(var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnBeforePostDeferral
[IntegrationEvent(True,False)]
local procedure OnBeforePostDeferral(var GenJournalLine: Record "Gen. Journal Line"; var AccountNo: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforePostDeferralPostBuffer
[IntegrationEvent(True,False)]
local procedure OnBeforePostDeferralPostBuffer(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnBeforePostJob
[IntegrationEvent(False,False)]
local procedure OnBeforePostJob(var GenJournalLine: Record "Gen. Journal Line"; GLEntry: Record "G/L Entry"; var IsJobLine: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeCreateGLEntriesForTotalAmountsV19
[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntriesForTotalAmountsV19(var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary; GenJournalLine: Record "Gen. Journal Line"; var GLAccNo: Code[20]; var IsHandled: Boolean; AdjAmountBuf: array[4] of Decimal; SavedEntryNo: Integer; LedgEntryInserted: Boolean)
Parameters
OnBeforeCreateGLEntriesForTotalAmountsUnapplyProcedure
[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntriesForTotalAmountsUnapplyProcedure(GenJournalLine: Record "Gen. Journal Line"; var TempDimensionPostingBuffer: Record "Dimension Posting Buffer" temporary; GLAccountNo: Code[20]; var IsHandled: Boolean)
Parameters
OnAfterPostDtldCVLedgEntry
[IntegrationEvent(True,False)]
local procedure OnAfterPostDtldCVLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; Unapply: Boolean; AccNo: Code[20]; AdjAmount: array[4] of Decimal; var NextEntryNo: Integer; AddCurrencyCode: Code[10]; MultiplePostingGroups: Boolean)
Parameters
OnAfterPostDtldVendVATAdjustment
[IntegrationEvent(True,False)]
local procedure OnAfterPostDtldVendVATAdjustment(GenJournalLine: Record "Gen. Journal Line"; VATPostingSetup: Record "VAT Posting Setup"; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; VATEntry: Record "VAT Entry")
Parameters
OnBeforePostDtldCVLedgEntry
[IntegrationEvent(True,False)]
local procedure OnBeforePostDtldCVLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var AccNo: Code[20]; var Unapply: Boolean; var AdjAmount: array[4] of Decimal; var IsHandled: Boolean; AddCurrencyCode: Code[10]; MultiplePostingGroups: Boolean)
Parameters
OnBeforePostDtldCVLedgEntryCreateGLEntryPmtDiscTol
[IntegrationEvent(True,False)]
local procedure OnBeforePostDtldCVLedgEntryCreateGLEntryPmtDiscTol(var GenJournalLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var Unapply: Boolean; var AccNo: Code[20]; var IsHandled: Boolean)
Parameters
OnAfterPostGenJnlLine
[IntegrationEvent(True,False)]
local procedure OnAfterPostGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean)
Parameters
OnAfterPostCust
[IntegrationEvent(True,False)]
local procedure OnAfterPostCust(var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean; var TempGLEntryBuf: Record "G/L Entry" temporary; var NextEntryNo: Integer; var NextTransactionNo: Integer)
Parameters
OnAfterPostVend
[IntegrationEvent(True,False)]
local procedure OnAfterPostVend(var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean; var TempGLEntryBuf: Record "G/L Entry" temporary; var NextEntryNo: Integer; var NextTransactionNo: Integer)
Parameters
OnAfterPostVAT
[IntegrationEvent(True,False)]
local procedure OnAfterPostVAT(GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; VATPostingSetup: Record "VAT Posting Setup"; var TaxDetail: Record "Tax Detail"; var NextConnectionNo: Integer; var AddCurrGLEntryVATAmt: Decimal; AddCurrencyCode: Code[10]; UseCurrFactorOnly: Boolean)
Parameters
OnBeforeCalcAmtLCYAdjustment
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcAmtLCYAdjustment(var CVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnBeforeCalcAplication
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcAplication(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line"; var AppliedAmount: Decimal; var AppliedAmountLCY: Decimal; var OldAppliedAmount: Decimal; var PrevNewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var PrevOldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var AllApplied: Boolean; var IsHandled: Boolean)
Parameters
OnCalcApplicationOnBeforeCheckAppliedAmount
[IntegrationEvent(False,False)]
local procedure OnCalcApplicationOnBeforeCheckAppliedAmount(GenJournalLine: Record "Gen. Journal Line"; AppliedAmount: Decimal; var IsHandled: Boolean)
Parameters
OnBeforeCalcPmtTolerance
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtTolerance(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line"; var PmtTolAmtToBeApplied: Decimal; var IsHandled: Boolean)
Parameters
OnBeforeCalcPmtDisc
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtDisc(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line"; var PmtTolAmtToBeApplied: Decimal; var IsHandled: Boolean; ApplnRoundingPrecision: Decimal; NextTransactionNo: Integer; FirstNewVATEntryNo: Integer; AddCurrencyCode: Code[10])
Parameters
OnBeforeCalcPmtDiscTolerance
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtDiscTolerance(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnBeforeFindNextOldCustLedgEntryToApply
[IntegrationEvent(False,False)]
local procedure OnBeforeFindNextOldCustLedgEntryToApply(var GenJournalLine: Record "Gen. Journal Line"; var TempOldCustLedgerEntry: Record "Cust. Ledger Entry" temporary; var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var Completed: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeFindNextOldEmplLedgEntryToApply
[IntegrationEvent(False,False)]
local procedure OnBeforeFindNextOldEmplLedgEntryToApply(var GenJournalLine: Record "Gen. Journal Line"; var TempOldEmployeeLedgerEntry: Record "Employee Ledger Entry" temporary; var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var Completed: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeFindNextOldVendLedgEntryToApply
[IntegrationEvent(False,False)]
local procedure OnBeforeFindNextOldVendLedgEntryToApply(var GenJournalLine: Record "Gen. Journal Line"; var TempOldVendorLedgerEntry: Record "Vendor Ledger Entry" temporary; var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var Completed: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeGetCurrencyExchRate
[IntegrationEvent(False,False)]
local procedure OnBeforeGetCurrencyExchRate(var GenJournalLine: Record "Gen. Journal Line"; var AddCurrencyCode: Code[10]; var UseCurrFactorOnly: Boolean; var CurrencyDate: Date; var CurrencyFactor: Decimal; var IsHandled: Boolean)
Parameters
OnBeforeGetDtldCustLedgEntryAccNo
[IntegrationEvent(False,False)]
local procedure OnBeforeGetDtldCustLedgEntryAccNo(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var CustomerPostingGroup: Record "Customer Posting Group"; OriginalTransactionNo: Integer; Unapply: Boolean; var VATEntry: Record "VAT Entry"; var AccountNo: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforeGetDtldVendLedgEntryAccNo
[IntegrationEvent(True,False)]
local procedure OnBeforeGetDtldVendLedgEntryAccNo(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var VendorPostingGroup: Record "Vendor Posting Group"; OriginalTransactionNo: Integer; Unapply: Boolean; var VATEntry: Record "VAT Entry"; var AccountNo: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforeGetDtldEmplLedgEntryAccNo
[IntegrationEvent(False,False)]
local procedure OnBeforeGetDtldEmplLedgEntryAccNo(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var EmployeePostingGroup: Record "Employee Posting Group"; OriginalTransactionNo: Integer; Unapply: Boolean; var AccountNo: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforeGetCustomerReceivablesAccount
[IntegrationEvent(False,False)]
local procedure OnBeforeGetCustomerReceivablesAccount(GenJournalLine: Record "Gen. Journal Line"; CustomerPostingGroup: Record "Customer Posting Group"; var ReceivablesAccount: Code[20]; var IsHandled: Boolean)
Parameters
OnAfterCalcMinimalPossibleLiability
[IntegrationEvent(False,False)]
local procedure OnAfterCalcMinimalPossibleLiability(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var MinimalPossibleLiability: Decimal)
Parameters
OnAfterCalcPaymentExceedsLiability
[IntegrationEvent(False,False)]
local procedure OnAfterCalcPaymentExceedsLiability(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var MinimalPossibleLiability: Decimal; var PaymentExceedsLiability: Boolean)
Parameters
OnBeforeCalcPmtDiscVATAmounts
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtDiscVATAmounts(var VATEntry: Record "VAT Entry"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line")
Parameters
OnCalcPmtDiscIfAdjVATOnAfterCalcPmtDiscVATBases
[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscIfAdjVATOnAfterCalcPmtDiscVATBases(var VATEntry: Record "VAT Entry"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var VATBase: Decimal; var VATBaseAddCurr: Decimal; var PmtDiscLCY2: Decimal; var PmtDiscAddCurr2: Decimal)
Parameters
OnAfterCalcPmtDiscVATBases
[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscVATBases(VATEntry2: Record "VAT Entry"; var VATBase: Decimal; var VATBaseAddCurr: Decimal; var NonDeductibleVATBase: Decimal; var NonDeductibleVATBaseAddCurr: Decimal)
Parameters
OnCalcPmtDiscIfAdjVATOnAfterCalcPmtDiscVATAmounts
[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscIfAdjVATOnAfterCalcPmtDiscVATAmounts(var VATEntry: Record "VAT Entry"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var VATBase: Decimal; var VATBaseAddCurr: Decimal; var VATAmount: Decimal; var VATAmountAddCurr: Decimal; var PmtDiscLCY2: Decimal; var PmtDiscAddCurr2: Decimal)
Parameters
OnAfterCalcPmtDiscIfAdjVAT
[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscIfAdjVAT(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; var PmtDiscLCY2: Decimal; var PmtDiscAddCurr2: Decimal)
Parameters
OnAfterCalcToleratedPaymentExceedsLiability
[IntegrationEvent(False,False)]
local procedure OnAfterCalcToleratedPaymentExceedsLiability(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var MinimalPossibleLiability: Decimal; var ToleratedPaymentExceedsLiability: Boolean; var PmtTolAmtToBeApplied: Decimal)
Parameters
OnAfterCalcPmtDiscount
[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscount(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line"; var PmtTolAmtToBeApplied: Decimal; var PmtDisc: Decimal; var PmtDiscLCY: Decimal; var PmtDiscAddCurr: Decimal)
Parameters
OnAfterCalcPmtDiscPossible
[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscPossible(GenJnlLine: Record "Gen. Journal Line"; var CVLedgEntryBuf: Record "CV Ledger Entry Buffer")
Parameters
OnAfterCalcPmtDiscTolerance
[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscTolerance(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line"; var PmtDiscTol: Decimal; var PmtDiscTolLCY: Decimal; var PmtDiscTolAddCurr: Decimal)
Parameters
OnAfterCalcPmtDiscToleranceProc
[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscToleranceProc(DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var PmtDiscTol: Decimal; var PmtDiscTolLCY: Decimal; var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnAfterCalcPmtTolerance
[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtTolerance(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var PmtTol: Decimal; var PmtTolLCY: Decimal; var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnAfterInitOldDtldCVLedgEntryBuf
[IntegrationEvent(False,False)]
local procedure OnAfterInitOldDtldCVLedgEntryBuf(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var PrevNewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var PrevOldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line")
Parameters
OnAfterInitNewDtldCVLedgEntryBuf
[IntegrationEvent(False,False)]
local procedure OnAfterInitNewDtldCVLedgEntryBuf(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var PrevNewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var PrevOldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line")
Parameters
OnCalcApplicationOnAfterFillOldCVLedgEntryBufOpen
[IntegrationEvent(False,False)]
local procedure OnCalcApplicationOnAfterFillOldCVLedgEntryBufOpen(var GenJnlLine: Record "Gen. Journal Line"; var OldCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")
Parameters
OnCalcApplicationOnAfterCalcShouldSetClosedFields
[IntegrationEvent(False,False)]
local procedure OnCalcApplicationOnAfterCalcShouldSetClosedFields(CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var ShouldSetClosedFields: Boolean)
Parameters
OnAfterSettingIsTransactionConsistent
[IntegrationEvent(True,False)]
local procedure OnAfterSettingIsTransactionConsistent(GenJournalLine: Record "Gen. Journal Line"; var IsTransactionConsistent: Boolean)
Parameters
OnBeforeCalcCurrencyApplnRounding
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcCurrencyApplnRounding(GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf3: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var IsHandled: Boolean)
Parameters
OnBeforeCalcCurrencyRealizedGainLoss
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcCurrencyRealizedGainLoss(var CVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary; var GenJnlLine: Record "Gen. Journal Line"; var AppliedAmount: Decimal; var AppliedAmountLCY: Decimal; var IsHandled: Boolean)
Parameters
OnBeforeCalcCurrencyUnrealizedGainLoss
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcCurrencyUnrealizedGainLoss(var CVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary; var GenJnlLine: Record "Gen. Journal Line"; var AppliedAmount: Decimal; var RemainingAmountBeforeAppln: Decimal; var IsHandled: Boolean)
Parameters
OnBeforeCalcPmtDiscPossible
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtDiscPossible(var GenJnlLine: Record "Gen. Journal Line"; var CVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var IsHandled: Boolean; RoundingPrecision: Decimal)
Parameters
OnBeforeCustPostApplyCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeCustPostApplyCustLedgEntry(var GenJnlLinePostApply: Record "Gen. Journal Line"; var CustLedgEntryPostApply: Record "Cust. Ledger Entry"; var IsHandled: Boolean)
Parameters
OnCustPostApplyCustLedgEntryOnBeforeRunCheck
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeRunCheck(var GenJournalLine: Record "Gen. Journal Line"; var CustLedgerEntryPostApply: Record "Cust. Ledger Entry"; var CustLedgerEntry: Record "Cust. Ledger Entry"; var IsHandled: Boolean)
Parameters
OnBeforeVendPostApplyVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeVendPostApplyVendLedgEntry(var GenJnlLinePostApply: Record "Gen. Journal Line"; var VendLedgEntryPostApply: Record "Vendor Ledger Entry")
Parameters
OnVendPostApplyVendLedgEntryOnBeforeRunCheck
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeRunCheck(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnAfterPostApply
[IntegrationEvent(False,False)]
local procedure OnAfterPostApply(GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf2: Record "CV Ledger Entry Buffer")
Parameters
OnBeforePostApply
[IntegrationEvent(False,False)]
local procedure OnBeforePostApply(var GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf2: Record "CV Ledger Entry Buffer")
Parameters
OnBeforeUpdateGLReg
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateGLReg(IsTransactionConsistent: Boolean; var IsGLRegInserted: Boolean; var GLReg: Record "G/L Register"; var IsHandled: Boolean; var GenJnlLine: Record "Gen. Journal Line"; GlobalGLEntry: Record "G/L Entry"; FirstNewVATEntryNo: Integer; NextTaxEntryNo: Integer)
Parameters
OnBeforeUpdateTotalAmountsV19
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateTotalAmountsV19(var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary; var DimSetID: Integer; var AmountToCollect: Decimal; var AmountACYToCollect: Decimal; var IsHandled: Boolean; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnBeforeInsertPmtDiscVATForGLEntry
[IntegrationEvent(True,False)]
local procedure OnBeforeInsertPmtDiscVATForGLEntry(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var GenJournalLine: Record "Gen. Journal Line"; VATEntry: Record "VAT Entry"; var VATPostingSetup: Record "VAT Posting Setup"; VATAmount: Decimal; VATAmountAddCurr: Decimal; NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var TempGLEntryVAT: Record "G/L Entry" temporary; var IsHandled: Boolean; NonDedVATAmount: Decimal; NonDedVATAmountAddCurr: Decimal)
Parameters
OnBeforeCreateGLEntryGainLossInsertGLEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateGLEntryGainLossInsertGLEntry(var GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry")
Parameters
OnBeforeCreateGLEntriesForTotalAmountsUnapplyV19
[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntriesForTotalAmountsUnapplyV19(DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var CustomerPostingGroup: Record "Customer Posting Group"; GenJournalLine: Record "Gen. Journal Line"; var TempIDimPostingBuffer: Record "Dimension Posting Buffer" temporary; var IsHandled: Boolean)
Parameters
OnBeforeCreateGLEntriesForTotalAmountsUnapplyVendorV19
[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntriesForTotalAmountsUnapplyVendorV19(DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; var VendorPostingGroup: Record "Vendor Posting Group"; GenJournalLine: Record "Gen. Journal Line"; var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary; var IsHandled: Boolean)
Parameters
OnBeforeInitGLEntryVAT
[IntegrationEvent(False,False)]
local procedure OnBeforeInitGLEntryVAT(var GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry")
Parameters
OnAfterInitGLEntryVAT
[IntegrationEvent(False,False)]
local procedure OnAfterInitGLEntryVAT(GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry")
Parameters
OnBeforeInitGLEntryVATCopy
[IntegrationEvent(False,False)]
local procedure OnBeforeInitGLEntryVATCopy(var GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var VATEntry: Record "VAT Entry"; var NextEntryNo: Integer)
Parameters
OnAfterInitGLEntryVATCopy
[IntegrationEvent(False,False)]
local procedure OnAfterInitGLEntryVATCopy(GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry")
Parameters
OnBeforePostUnrealVATEntry
[IntegrationEvent(False,False)]
local procedure OnBeforePostUnrealVATEntry(GenJnlLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry")
Parameters
OnBeforePostUnapply
[IntegrationEvent(True,False)]
local procedure OnBeforePostUnapply(GenJnlLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry"; VATEntryType: Enum "General Posting Type"; BilltoPaytoNo: Code[20]; TransactionNo: Integer; UnapplyVATEntries: Boolean; var TempVATEntry: Record "VAT Entry" temporary; var IsHandled: Boolean; var NextVATEntryNo: Integer)
Parameters
OnAfterPostUnrealVATEntry
[IntegrationEvent(False,False)]
local procedure OnAfterPostUnrealVATEntry(GenJnlLine: Record "Gen. Journal Line"; var VATEntry2: Record "VAT Entry"; VATAmount: Decimal; VATBase: Decimal; GLEntryNo: Integer; var NextEntryNo: Integer; var NextVATEntryNo: Integer)
Parameters
OnAfterHandleAddCurrResidualGLEntry
[IntegrationEvent(False,False)]
local procedure OnAfterHandleAddCurrResidualGLEntry(GenJournalLine: Record "Gen. Journal Line"; GLEntry2: Record "G/L Entry")
Parameters
OnAfterCalcCurrencyRealizedGainLoss
[IntegrationEvent(False,False)]
local procedure OnAfterCalcCurrencyRealizedGainLoss(var CVLedgEntryBuf: Record "CV Ledger Entry Buffer"; AppliedAmount: Decimal; AppliedAmountLCY: Decimal; var RealizedGainLossLCY: Decimal)
Parameters
OnAfterUnapplyVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnAfterUnapplyVendLedgEntry(GenJournalLine2: Record "Gen. Journal Line"; DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")
Parameters
OnAfterUnapplyEmplLedgEntry
[IntegrationEvent(False,False)]
local procedure OnAfterUnapplyEmplLedgEntry(GenJournalLine2: Record "Gen. Journal Line"; DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")
Parameters
OnAfterUpdateTotalAmounts
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateTotalAmounts(var TempDimPostingBuffer: Record "Dimension Posting Buffer"; DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnAfterSalesTaxCalculateCalculateTax
[IntegrationEvent(False,False)]
local procedure OnAfterSalesTaxCalculateCalculateTax(var GenJournalLine: Record "Gen. Journal Line"; GLEntry: Record "G/L Entry"; Currency: Record Currency)
Parameters
OnAfterSalesTaxCalculateInitSalesTaxLines
[IntegrationEvent(False,False)]
local procedure OnAfterSalesTaxCalculateInitSalesTaxLines(var GenJournalLine: Record "Gen. Journal Line"; GLEntry: Record "G/L Entry"; SalesTaxBaseAmount: Decimal)
Parameters
OnAfterSalesTaxCalculateReverseCalculateTax
[IntegrationEvent(False,False)]
local procedure OnAfterSalesTaxCalculateReverseCalculateTax(var GenJournalLine: Record "Gen. Journal Line"; GLEntry: Record "G/L Entry"; Currency: Record Currency)
Parameters
OnAfterUpdateVATEntryTaxDetails
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateVATEntryTaxDetails(var VATEntry: Record "VAT Entry"; TaxDetail: Record "Tax Detail")
Parameters
OnApplyCustLedgEntryOnAfterRecalculateAmounts
[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnAfterRecalculateAmounts(var TempOldCustLedgerEntry: Record "Cust. Ledger Entry" temporary; OldCustLedgerEntry: Record "Cust. Ledger Entry"; CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnApplyCustLedgEntryOnAfterCalcShouldUpdateCalcInterestFromOldBuf
[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnAfterCalcShouldUpdateCalcInterestFromOldBuf(var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; Cust: Record Customer; var ShouldUpdateCalcInterest: Boolean)
Parameters
OnApplyCustLedgEntryOnBeforeCopyFromCVLedgEntryBuffer
[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnBeforeCopyFromCVLedgEntryBuffer(var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; AppliedAmount: Decimal; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnApplyCustLedgEntryOnBeforeCopyFromCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnBeforeCopyFromCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var OldCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var TempOldCustLedgEntry: Record "Cust. Ledger Entry"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer")
Parameters
OnApplyCustLedgEntryOnAfterCalcShouldUpdateCalcInterestFromNewBuf
[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnAfterCalcShouldUpdateCalcInterestFromNewBuf(var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; Cust: Record Customer; var ShouldUpdateCalcInterest: Boolean)
Parameters
OnApplyCustLedgEntryOnBeforePrepareTempCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnBeforePrepareTempCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var NextEntryNo: Integer)
Parameters
OnApplyCustLedgEntryOnAfterSetApplyingDate
[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnAfterSetApplyingDate(ApplyingDate: Date)
Parameters
| Name |
Type |
Description |
|
ApplyingDate
|
Date |
|
OnApplyCustLedgerEntryOnBeforeSetCompleted
[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgerEntryOnBeforeSetCompleted(var GenJournalLine: Record "Gen. Journal Line"; var OldCustLedgEntry: Record "Cust. Ledger Entry"; var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; AppliedAmount: Decimal)
Parameters
OnApplyVendLedgEntryOnAfterRecalculateAmounts
[IntegrationEvent(False,False)]
local procedure OnApplyVendLedgEntryOnAfterRecalculateAmounts(var TempOldVendorLedgerEntry: Record "Vendor Ledger Entry" temporary; OldVendorLedgerEntry: Record "Vendor Ledger Entry"; CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnApplyVendLedgEntryOnBeforeUnrealizedVAT
[IntegrationEvent(False,False)]
local procedure OnApplyVendLedgEntryOnBeforeUnrealizedVAT(var GenJournalLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)
Parameters
OnApplyVendLedgEntryOnBeforeTempOldVendLedgEntryDelete
[IntegrationEvent(True,False)]
local procedure OnApplyVendLedgEntryOnBeforeTempOldVendLedgEntryDelete(var GenJournalLine: Record "Gen. Journal Line"; var TempVendorLedgerEntry: Record "Vendor Ledger Entry" temporary; AppliedAmount: Decimal; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer")
Parameters
OnApplyVendLedgEntryOnBeforeCopyFromVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnApplyVendLedgEntryOnBeforeCopyFromVendLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var OldCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var TempOldVendLedgEntry: Record "Vendor Ledger Entry"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer")
Parameters
OnApplyVendLedgEntryOnBeforeOldVendLedgEntryModify
[IntegrationEvent(False,False)]
local procedure OnApplyVendLedgEntryOnBeforeOldVendLedgEntryModify(GenJnlLine: Record "Gen. Journal Line"; var OldVendLedgEntry: Record "Vendor Ledger Entry"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; AppliedAmount: Decimal)
Parameters
OnApplyVendLedgEntryOnBeforeVendUnrealizedVAT
[IntegrationEvent(False,False)]
local procedure OnApplyVendLedgEntryOnBeforeVendUnrealizedVAT(VendLedgerEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)
Parameters
OnApplyEmplLedgEntryOnBeforeOldEmplLedgEntryModify
[IntegrationEvent(False,False)]
local procedure OnApplyEmplLedgEntryOnBeforeOldEmplLedgEntryModify(GenJnlLine: Record "Gen. Journal Line"; var OldEmplLedgEntry: Record "Employee Ledger Entry"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; AppliedAmount: Decimal)
Parameters
OnBeforeCreateGLEntryForTotalAmountsForDimPostBuf
[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntryForTotalAmountsForDimPostBuf(var GenJnlLine: Record "Gen. Journal Line"; TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary; var GLAccNo: Code[20])
Parameters
OnBeforeCustLedgEntryModify
[IntegrationEvent(False,False)]
local procedure OnBeforeCustLedgEntryModify(var CustLedgerEntry: Record "Cust. Ledger Entry"; DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")
Parameters
OnBeforeVendLedgEntryModify
[IntegrationEvent(False,False)]
local procedure OnBeforeVendLedgEntryModify(var VendorLedgerEntry: Record "Vendor Ledger Entry"; DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")
Parameters
OnBeforeEmplLedgEntryModify
[IntegrationEvent(False,False)]
local procedure OnBeforeEmplLedgEntryModify(var EmployeeLedgerEntry: Record "Employee Ledger Entry"; DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")
Parameters
OnBeforePrepareTempCustledgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforePrepareTempCustledgEntry(var GenJnlLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; Customer: Record Customer; var ApplyingDate: Date; var Result: Boolean; var IsHandled: Boolean; var TempOldCustLedgEntry: Record "Cust. Ledger Entry" temporary)
Parameters
OnBeforePrepareTempVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforePrepareTempVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var TempOldVendLedgEntry: Record "Vendor Ledger Entry" temporary; Vend: Record Vendor; var ApplyingDate: Date; var Result: Boolean; var IsHandled: Boolean)
Parameters
OnBeforePrepareTempEmplLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforePrepareTempEmplLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var TempOldEmployeeLedgerEntry: Record "Employee Ledger Entry" temporary; Employee: Record Employee; var ApplyingDate: Date; var Result: Boolean; var IsHandled: Boolean)
Parameters
OnPrepareTempVendLedgEntryOnBeforeTestPositive
[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeTestPositive(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnBeforeSetDeferralDescription
[IntegrationEvent(False,False)]
local procedure OnBeforeSetDeferralDescription(GenJournalLine: Record "Gen. Journal Line"; DeferralLine: Record "Deferral Line"; var DeferralDescription: Text[100]; var IsHandled: Boolean; GLAccountNo: Code[20])
Parameters
OnBeforeSetDeferralDescriptionFromDeferralLine
[IntegrationEvent(False,False)]
local procedure OnBeforeSetDeferralDescriptionFromDeferralLine(DeferralLine: Record "Deferral Line"; var DeferralDescription: Text[100]; var IsHandled: Boolean; GLAccountNo: Code[20])
Parameters
OnBeforeSetDeferralDescriptionFromDeferralPostingBuffer
[IntegrationEvent(False,False)]
local procedure OnBeforeSetDeferralDescriptionFromDeferralPostingBuffer(DeferralPostingBuffer: Record "Deferral Posting Buffer"; var DeferralDescription: Text[100]; var IsHandled: Boolean; GLAccountNo: Code[20])
Parameters
OnBeforeSummarizeVATFromInitGLEntryVAT
[IntegrationEvent(False,False)]
local procedure OnBeforeSummarizeVATFromInitGLEntryVAT(var GLEntry: Record "G/L Entry"; Amount: Decimal; var IsHandled: Boolean)
Parameters
OnCalcPmtDiscIfAdjVATOnBeforeVATEntryFind
[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscIfAdjVATOnBeforeVATEntryFind(var GenJnlLine: Record "Gen. Journal Line"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var VATEntry: Record "VAT Entry"; var PmtDiscLCY2: Decimal; var PmtDiscAddCurr2: Decimal; var PmtDiscFactorLCY: Decimal; var PmtDiscFactorAddCurr: Decimal)
Parameters
OnCalcPmtDiscAdjVATAmountsOnBeforeProcessVATEntry
[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscAdjVATAmountsOnBeforeProcessVATEntry(var GenJnlLine: Record "Gen. Journal Line"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var VATEntry: Record "VAT Entry")
Parameters
OnCalcPmtDiscIfAdjVATOnBeforeInsertSummarizedVATAfterLoop
[IntegrationEvent(True,False)]
local procedure OnCalcPmtDiscIfAdjVATOnBeforeInsertSummarizedVATAfterLoop(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer")
Parameters
OnCalcPmtDiscIfAdjVATOnBeforeInsertSummarizedVATAdjForPaymentDiscount
[IntegrationEvent(True,False)]
local procedure OnCalcPmtDiscIfAdjVATOnBeforeInsertSummarizedVATAdjForPaymentDiscount(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer")
Parameters
OnCalcPmtDiscIfAdjVATOnBeforeInsertPmtDiscVATForGLEntry
[IntegrationEvent(True,False)]
local procedure OnCalcPmtDiscIfAdjVATOnBeforeInsertPmtDiscVATForGLEntry(var VATEntry: Record "VAT Entry"; VATEntry2: Record "VAT Entry"; DtldCVLedgEntryBuf2: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnCreateGLEntriesForTotalAmountsUnapplyOnBeforeCreateGLEntryV19
[IntegrationEvent(False,False)]
local procedure OnCreateGLEntriesForTotalAmountsUnapplyOnBeforeCreateGLEntryV19(var GenJnlLine: Record "Gen. Journal Line"; var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary; var GLAccNo: Code[20])
Parameters
OnCreateGLEntryForTotalAmountsOnBeforeInsertGLEntry
[IntegrationEvent(False,False)]
local procedure OnCreateGLEntryForTotalAmountsOnBeforeInsertGLEntry(var GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var IsHandled: Boolean; var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary)
Parameters
OnCodeOnAfterRunExhangeAccGLJournalLine
[IntegrationEvent(True,False)]
local procedure OnCodeOnAfterRunExhangeAccGLJournalLine(var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean; var NextEntryNo: Integer; var JobLine: Boolean)
Parameters
OnCodeOnBeforeFinishPosting
[IntegrationEvent(True,False)]
local procedure OnCodeOnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean; FirstEntryNo: Integer)
Parameters
OnContinuePostingOnBeforeCalculateCurrentBalance
[IntegrationEvent(False,False)]
local procedure OnContinuePostingOnBeforeCalculateCurrentBalance(var GenJournalLine: Record "Gen. Journal Line"; var NextTransactionNo: Integer)
Parameters
OnCustPostApplyCustLedgEntryOnAfterCustLedgEntryTransferFields
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnAfterCustLedgEntryTransferFields(var CustLedgerEntry: Record "Cust. Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnCustPostApplyCustLedgEntryOnBeforeCheckPostingGroup
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeCheckPostingGroup(var GenJournalLine: Record "Gen. Journal Line"; var Customer: Record Customer)
Parameters
OnCustPostApplyCustLedgEntryOnBeforeFinishPosting
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line"; CustLedgEntry: Record "Cust. Ledger Entry")
Parameters
OnCustPostApplyCustLedgEntryOnBeforePostDtldCustLedgEntries
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforePostDtldCustLedgEntries(var CustLedgerEntry: Record "Cust. Ledger Entry")
Parameters
OnFinishPostingOnBeforeResetFirstEntryNo
[IntegrationEvent(True,False)]
local procedure OnFinishPostingOnBeforeResetFirstEntryNo(var GLEntry: Record "G/L Entry"; NextEntryNo: Integer; FirstEntryNo: Integer; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnHandleAddCurrResidualGLEntryOnBeforeInsertGLEntry
[IntegrationEvent(True,False)]
local procedure OnHandleAddCurrResidualGLEntryOnBeforeInsertGLEntry(GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var TempGLEntryBuf: Record "G/L Entry"; NextEntryNo: Integer; var IsHandled: Boolean)
Parameters
OnHandleDtldAdjustmentOnBeforeInitGLEntry
[IntegrationEvent(False,False)]
local procedure OnHandleDtldAdjustmentOnBeforeInitGLEntry(GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; TotalAmountLCY: Decimal; TotalAmountAddCurr: Decimal; GLAccNo: Code[20]; var IsHandled: Boolean)
Parameters
OnInitVATOnAfterSetGLEntryVATAmountForNormalVAT
[IntegrationEvent(False,False)]
local procedure OnInitVATOnAfterSetGLEntryVATAmountForNormalVAT(GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry")
Parameters
OnInitVATOnBeforeVATPostingSetupCheck
[IntegrationEvent(False,False)]
local procedure OnInitVATOnBeforeVATPostingSetupCheck(var GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var VATPostingSetup: Record "VAT Posting Setup"; var IsHandled: Boolean)
Parameters
OnInitVATOnBeforeTestFullVATAccount
[IntegrationEvent(False,False)]
local procedure OnInitVATOnBeforeTestFullVATAccount(var GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var VATPostingSetup: Record "VAT Posting Setup"; var IsHandled: Boolean)
Parameters
OnInsertGLEntryOnBeforeCheckAmountRounding
[IntegrationEvent(False,False)]
local procedure OnInsertGLEntryOnBeforeCheckAmountRounding(var GLEntry: Record "G/L Entry"; var IsHandled: Boolean; var GenJnlLine: Record "Gen. Journal Line")
Parameters
OnInsertGLEntryOnBeforeAssignTempGLEntryBuf
[IntegrationEvent(False,False)]
local procedure OnInsertGLEntryOnBeforeAssignTempGLEntryBuf(var GLEntry: Record "G/L Entry"; GenJournalLine: Record "Gen. Journal Line"; GLRegister: Record "G/L Register")
Parameters
OnInsertPmtDiscVATForGLEntryOnAfterCopyFromGenJnlLine
[IntegrationEvent(False,False)]
local procedure OnInsertPmtDiscVATForGLEntryOnAfterCopyFromGenJnlLine(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnInsertTempVATEntryOnBeforeInsert
[IntegrationEvent(False,False)]
local procedure OnInsertTempVATEntryOnBeforeInsert(var VATEntry: Record "VAT Entry"; GenJournalLine: Record "Gen. Journal Line"; SourceVATEntry: Record "VAT Entry")
Parameters
OnInsertVATEntriesFromTempOnBeforeVATEntryInsert
[IntegrationEvent(False,False)]
local procedure OnInsertVATEntriesFromTempOnBeforeVATEntryInsert(var VATEntry: Record "VAT Entry"; TempVATEntry: Record "VAT Entry" temporary; GLRegister: Record "G/L Register"; GLEntry: Record "G/L Entry")
Parameters
OnInsertVATOnAfterAssignVATEntryFields
[IntegrationEvent(False,False)]
local procedure OnInsertVATOnAfterAssignVATEntryFields(GenJnlLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry"; CurrExchRate: Record "Currency Exchange Rate")
Parameters
OnInsertVATOnBeforeCreateGLEntryForReverseChargeVATToPurchAcc
[IntegrationEvent(False,False)]
local procedure OnInsertVATOnBeforeCreateGLEntryForReverseChargeVATToPurchAcc(var GenJournalLine: Record "Gen. Journal Line"; var VATPostingSetup: Record "VAT Posting Setup"; UnrealizedVAT: Boolean; VATAmount: Decimal; VATAmountAddCurr: Decimal; UseAmountAddCurr: Boolean)
Parameters
OnInsertVATOnBeforeCreateGLEntryForReverseChargeVATToRevChargeAcc
[IntegrationEvent(False,False)]
local procedure OnInsertVATOnBeforeCreateGLEntryForReverseChargeVATToRevChargeAcc(var GenJournalLine: Record "Gen. Journal Line"; VATPostingSetup: Record "VAT Posting Setup"; UnrealizedVAT: Boolean; var VATAmount: Decimal; var VATAmountAddCurr: Decimal; UseAmountAddCurr: Boolean)
Parameters
OnInsertVATOnBeforeVATForGLEntry
[IntegrationEvent(False,False)]
local procedure OnInsertVATOnBeforeVATForGLEntry(var GenJournalLine: Record "Gen. Journal Line"; var GLEntryVATAmountNotEmpty: Boolean)
Parameters
OnPostApplyOnAfterRecalculateAmounts
[IntegrationEvent(True,False)]
local procedure OnPostApplyOnAfterRecalculateAmounts(var OldCVLedgerEntryBuffer2: Record "CV Ledger Entry Buffer"; var OldCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; GenJournalLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; AddCurrencyCode: Code[10]; NextTransactionNo: Integer; var NextVATEntryNo: Integer)
Parameters
OnPostBankAccOnAfterBankAccLedgEntryInsert
[IntegrationEvent(True,False)]
local procedure OnPostBankAccOnAfterBankAccLedgEntryInsert(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; BankAccount: Record "Bank Account")
Parameters
OnPostBankAccOnBeforeBankAccLedgEntryInsert
[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeBankAccLedgEntryInsert(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; BankAccount: Record "Bank Account"; var TempGLEntryBuf: Record "G/L Entry" temporary; var NextTransactionNo: Integer; GLRegister: Record "G/L Register"; Balancing: Boolean)
Parameters
OnPostBankAccOnBeforeCheckLedgEntry2Modify
[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeCheckLedgEntry2Modify(var CheckLedgEntry: Record "Check Ledger Entry"; var BankAccLedgEntry: Record "Bank Account Ledger Entry"; var CheckLedgerEntry2: Record "Check Ledger Entry")
Parameters
OnPostBankAccOnAfterCheckLedgEntryInsert
[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnAfterCheckLedgEntryInsert(var CheckLedgerEntry: Record "Check Ledger Entry"; var BankAccountLedgerEntry: Record "Bank Account Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; BankAccount: Record "Bank Account")
Parameters
OnPostBankAccOnBeforeCheckLedgEntryInsert
[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeCheckLedgEntryInsert(var CheckLedgerEntry: Record "Check Ledger Entry"; var BankAccountLedgerEntry: Record "Bank Account Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; BankAccount: Record "Bank Account"; TaxAmount: Decimal; TaxAmountLCY: Decimal)
Parameters
OnPostBankAccOnBeforeInitBankAccLedgEntry
[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeInitBankAccLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; CurrencyFactor: Decimal; var NextEntryNo: Integer; var NextTransactionNo: Integer; var BankAccPostingGr: Record "Bank Account Posting Group"; var TaxAmount: Decimal; var TaxAmountLCY: Decimal)
Parameters
OnPostBankAccOnAfterCheckLedgEntrySetFilters
[IntegrationEvent(True,False)]
local procedure OnPostBankAccOnAfterCheckLedgEntrySetFilters(var CheckLedgEntry: Record "Check Ledger Entry"; GenJnlLine: Record "Gen. Journal Line")
Parameters
OnPostBankAccOnBeforeModifyCheckLedgerEntry
[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeModifyCheckLedgerEntry(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnPostCustOnAfterCopyCVLedgEntryBuf
[IntegrationEvent(False,False)]
local procedure OnPostCustOnAfterCopyCVLedgEntryBuf(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; GenJournalLine: Record "Gen. Journal Line"; Customer: Record Customer; CustLedgEntry: Record "Cust. Ledger Entry"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary)
Parameters
OnPostCustOnAfterInitCustLedgEntry
[IntegrationEvent(True,False)]
local procedure OnPostCustOnAfterInitCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var CustLedgEntry: Record "Cust. Ledger Entry"; Cust: Record Customer; CustPostingGr: Record "Customer Posting Group")
Parameters
OnPostCustOnAfterCalcShouldCheckDocNo
[IntegrationEvent(True,False)]
local procedure OnPostCustOnAfterCalcShouldCheckDocNo(var GenJournalLine: Record "Gen. Journal Line"; var ShouldCheckDocNo: Boolean)
Parameters
OnPostCustOnBeforeInitCustLedgEntry
[IntegrationEvent(True,False)]
local procedure OnPostCustOnBeforeInitCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var CustLedgEntry: Record "Cust. Ledger Entry"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var CustPostingGr: Record "Customer Posting Group")
Parameters
OnPostCustOnAfterTempDtldCVLedgEntryBufCopyFromGenJnlLine
[IntegrationEvent(True,False)]
local procedure OnPostCustOnAfterTempDtldCVLedgEntryBufCopyFromGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary)
Parameters
OnPostCustOnBeforeTempDtldCVLedgEntryBufCopyFromGenJnlLine
[IntegrationEvent(True,False)]
local procedure OnPostCustOnBeforeTempDtldCVLedgEntryBufCopyFromGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; var CustLedgEntry: Record "Cust. Ledger Entry"; var Cust: Record Customer; GLReg: Record "G/L Register"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")
Parameters
OnPostCustOnBeforeCopyFromCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnPostCustOnBeforeCopyFromCustLedgEntry(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; GenJournalLine: Record "Gen. Journal Line"; Customer: Record Customer)
Parameters
OnCustPostApplyCustLedgEntryOnBeforeCopyFromCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeCopyFromCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var CustLedgerEntry: Record "Cust. Ledger Entry")
Parameters
OnPostVendOnAfterCopyCVLedgEntryBuf
[IntegrationEvent(False,False)]
local procedure OnPostVendOnAfterCopyCVLedgEntryBuf(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnPostEmployeeOnAfterCopyCVLedgEntryBuf
[IntegrationEvent(False,False)]
local procedure OnPostEmployeeOnAfterCopyCVLedgEntryBuf(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnPostVendOnBeforeInitVendLedgEntry
[IntegrationEvent(True,False)]
local procedure OnPostVendOnBeforeInitVendLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var VendLedgEntry: Record "Vendor Ledger Entry"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var VendPostingGr: Record "Vendor Posting Group")
Parameters
OnPostVendAfterTempDtldCVLedgEntryBufInit
[IntegrationEvent(False,False)]
local procedure OnPostVendAfterTempDtldCVLedgEntryBufInit(var GenJnlLine: Record "Gen. Journal Line"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary; TaxAmount: Decimal; TaxAmountLCY: Decimal)
Parameters
OnPostVendOnBeforeCopyCVLedgEntryBuf
[IntegrationEvent(False,False)]
local procedure OnPostVendOnBeforeCopyCVLedgEntryBuf(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; GenJournalLine: Record "Gen. Journal Line"; Vendor: Record Vendor)
Parameters
OnPostVendOnBeforeGetVendorPayablesAccount
[IntegrationEvent(False,False)]
procedure OnPostVendOnBeforeGetVendorPayablesAccount(GenJournalLine: Record "Gen. Journal Line"; VendorPostingGroup: Record "Vendor Posting Group"; var PayablesAccount: Code[20]; var IsHandled: Boolean)
Parameters
OnPostDtldCVLedgEntryOnBeforeCreateGLEntryGainLoss
[IntegrationEvent(True,False)]
local procedure OnPostDtldCVLedgEntryOnBeforeCreateGLEntryGainLoss(var GenJournalLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var Unapply: Boolean; var AccNo: Code[20]; var IsHandled: Boolean; var AdjAmount: array[4] of Decimal; AddCurrencyCode: Code[10]; MultiplePostingGroups: Boolean)
Parameters
OnPostDtldCVLedgEntryOnAfterCreateGLEntryPmtDiscTol
[IntegrationEvent(False,False)]
local procedure OnPostDtldCVLedgEntryOnAfterCreateGLEntryPmtDiscTol(DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; TempGLEntryBuf: Record "G/L Entry" temporary)
Parameters
OnPostDtldCVLedgEntryOnAfterCreateGLEntryPmtDiscTolVATExcl
[IntegrationEvent(False,False)]
local procedure OnPostDtldCVLedgEntryOnAfterCreateGLEntryPmtDiscTolVATExcl(DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; TempGLEntryBuf: Record "G/L Entry" temporary)
Parameters
OnPostDtldCustLedgEntriesOnAfterCreateGLEntriesForTotalAmounts
[IntegrationEvent(False,False)]
local procedure OnPostDtldCustLedgEntriesOnAfterCreateGLEntriesForTotalAmounts(var TempGLEntryBuf: Record "G/L Entry" temporary; var GlobalGLEntry: Record "G/L Entry"; NextTransactionNo: Integer)
Parameters
OnPostDtldCustLedgEntriesOnBeforeCreateGLEntriesForTotalAmountsV19
[IntegrationEvent(True,False)]
local procedure OnPostDtldCustLedgEntriesOnBeforeCreateGLEntriesForTotalAmountsV19(var CustPostingGr: Record "Customer Posting Group"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line"; var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary; AdjAmount: array[4] of Decimal; SaveEntryNo: Integer; GLAccNo: Code[20]; LedgerEntryInserted: Boolean; AddCurrencyCode: Code[10]; var IsHandled: Boolean)
Parameters
OnPostDtldEmplLedgEntriesOnBeforeUpdateTotalAmounts
[IntegrationEvent(False,False)]
local procedure OnPostDtldEmplLedgEntriesOnBeforeUpdateTotalAmounts(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry"; var IsHandled: Boolean)
Parameters
OnPostDtldEmplLedgEntriesOnAfterUpdateTotalAmounts
[IntegrationEvent(False,False)]
local procedure OnPostDtldEmplLedgEntriesOnAfterUpdateTotalAmounts(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")
Parameters
OnPostDtldVendLedgEntriesOnAfterCreateGLEntriesForTotalAmounts
[IntegrationEvent(False,False)]
local procedure OnPostDtldVendLedgEntriesOnAfterCreateGLEntriesForTotalAmounts(var TempGLEntryBuf: Record "G/L Entry" temporary; var GlobalGLEntry: Record "G/L Entry"; NextTransactionNo: Integer)
Parameters
OnPostDtldEmplLedgEntriesOnAfterCreateGLEntriesForTotalAmounts
[IntegrationEvent(True,False)]
local procedure OnPostDtldEmplLedgEntriesOnAfterCreateGLEntriesForTotalAmounts(var TempGLEntryBuf: Record "G/L Entry" temporary; var GlobalGLEntry: Record "G/L Entry"; NextTransactionNo: Integer)
Parameters
OnPostDtldVendLedgEntriesOnBeforeCreateGLEntriesForTotalAmounts
[IntegrationEvent(True,False)]
local procedure OnPostDtldVendLedgEntriesOnBeforeCreateGLEntriesForTotalAmounts(var VendPostingGr: Record "Vendor Posting Group"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJournalLine: Record "Gen. Journal Line"; var TempDimensionPostingBuffer: Record "Dimension Posting Buffer" temporary; AdjAmountBuf: array[4] of Decimal; SavedEntryNo: Integer; LedgEntryInserted: Boolean; var IsHandled: Boolean)
Parameters
OnPostDtldEmplLedgEntriesOnBeforeCreateGLEntriesForTotalAmounts
[IntegrationEvent(False,False)]
local procedure OnPostDtldEmplLedgEntriesOnBeforeCreateGLEntriesForTotalAmounts(var EmplPostingGr: Record "Employee Posting Group"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJournalLine: Record "Gen. Journal Line"; var TempDimensionPostingBuffer: Record "Dimension Posting Buffer" temporary; AdjAmountBuf: array[4] of Decimal; SavedEntryNo: Integer; LedgEntryInserted: Boolean; var IsHandled: Boolean)
Parameters
OnPostDtldVendVATAdjustmentOnAfterFindVATEntry
[IntegrationEvent(False,False)]
local procedure OnPostDtldVendVATAdjustmentOnAfterFindVATEntry(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var VATEntry: Record "VAT Entry")
Parameters
OnPostGLAccOnBeforeInsertGLEntry
[IntegrationEvent(True,False)]
local procedure OnPostGLAccOnBeforeInsertGLEntry(var GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var IsHandled: Boolean; Balancing: Boolean)
Parameters
OnPostGLAccOnAfterInitGLEntry
[IntegrationEvent(True,False)]
local procedure OnPostGLAccOnAfterInitGLEntry(var GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry")
Parameters
OnPostGLAccOnBeforeDeferralPosting
[IntegrationEvent(True,False)]
local procedure OnPostGLAccOnBeforeDeferralPosting(var GenJournalLine: Record "Gen. Journal Line"; TaxAmount: Decimal; TaxAmountLCY: Decimal)
Parameters
OnPostFixedAssetOnAfterSaveGenJnlLineValues
[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetOnAfterSaveGenJnlLineValues(var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnPostFixedAssetOnBeforeAssignGLEntry
[IntegrationEvent(True,False)]
local procedure OnPostFixedAssetOnBeforeAssignGLEntry(var GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var GLEntry2: Record "G/L Entry")
Parameters
OnPostFixedAssetOnBeforeInsertGLEntry
[IntegrationEvent(True,False)]
local procedure OnPostFixedAssetOnBeforeInsertGLEntry(var GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var IsHandled: Boolean; var TempFAGLPostBuf: Record "FA G/L Posting Buffer" temporary; GLEntry2: Record "G/L Entry"; NextEntyNo: Integer; var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary)
Parameters
OnAfterPostFixedAsset
[IntegrationEvent(False,False)]
local procedure OnAfterPostFixedAsset(var GenJournalLine: Record "Gen. Journal Line"; var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary)
Parameters
OnPostFixedAssetOnBeforePostVAT
[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetOnBeforePostVAT(var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnPostFixedAssetOnBeforeInitGLEntryFromTempFAGLPostBuf
[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetOnBeforeInitGLEntryFromTempFAGLPostBuf(var GenJournalLine: Record "Gen. Journal Line"; var TempFAGLPostBuf: Record "FA G/L Posting Buffer" temporary)
Parameters
OnPostFixedAssetOnBeforeGenJnlPostLine
[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetOnBeforeGenJnlPostLine(GenJournalLine: Record "Gen. Journal Line"; GLEntry2: Record "G/L Entry"; NextTransactionNo: Integer; NextGLEntryNo: Integer; GLReg: Record "G/L Register"; var IsHandled: Boolean)
Parameters
OnPostDeferralOnBeforeInsertGLEntryForGLAccount
[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnBeforeInsertGLEntryForGLAccount(var GenJournalLine: Record "Gen. Journal Line"; DeferralLine: Record "Deferral Line"; var GLEntry: Record "G/L Entry"; GLRegisterNo: Integer)
Parameters
OnPostDeferralOnBeforeInsertGLEntryForDeferralAccount
[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnBeforeInsertGLEntryForDeferralAccount(var GenJournalLine: Record "Gen. Journal Line"; DeferralLine: Record "Deferral Line"; var GLEntry: Record "G/L Entry")
Parameters
OnPostDeferralOnBeforeInsertGLEntryDeferralLineForGLAccount
[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnBeforeInsertGLEntryDeferralLineForGLAccount(var GenJournalLine: Record "Gen. Journal Line"; DeferralLine: Record "Deferral Line"; var GLEntry: Record "G/L Entry")
Parameters
OnPostDeferralOnBeforeInsertGLEntryDeferralLineForDeferralAccount
[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnBeforeInsertGLEntryDeferralLineForDeferralAccount(var GenJournalLine: Record "Gen. Journal Line"; DeferralLine: Record "Deferral Line"; var GLEntry: Record "G/L Entry")
Parameters
OnPostDeferralOnAfterInsertGLEntry
[IntegrationEvent(True,False)]
local procedure OnPostDeferralOnAfterInsertGLEntry(var GenJournalLine: Record "Gen. Journal Line"; TempDeferralLine: Record "Deferral Line" temporary)
Parameters
OnPostDeferralOnAfterTempDeferralLineLoopCompleted
[IntegrationEvent(True,False)]
local procedure OnPostDeferralOnAfterTempDeferralLineLoopCompleted(var GenJournalLine: Record "Gen. Journal Line"; TempDeferralLine: Record "Deferral Line" temporary; DeferralTemplate: Record "Deferral Template"; DeferralHeader: Record "Deferral Header")
Parameters
OnPostDeferralPostBufferOnBeforeInsertGLEntryForGLAccount
[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnBeforeInsertGLEntryForGLAccount(var GenJournalLine: Record "Gen. Journal Line"; DeferralPostingBuffer: Record "Deferral Posting Buffer"; var GLEntry: Record "G/L Entry")
Parameters
OnPostDeferralPostBufferOnBeforeInsertGLEntryForDeferralAccount
[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnBeforeInsertGLEntryForDeferralAccount(var GenJournalLine: Record "Gen. Journal Line"; DeferralPostingBuffer: Record "Deferral Posting Buffer"; var GLEntry: Record "G/L Entry")
Parameters
OnPostDeferralPostBufferOnAfterSetFilters
[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnAfterSetFilters(var DeferralPostBuffer: Record "Deferral Posting Buffer"; GenJournalLine: Record "Gen. Journal Line"; GLRegisterNo: Integer; NextTransactionNo: Integer)
Parameters
OnPostDeferralPostBufferOnAfterInsertGLEntry
[IntegrationEvent(True,False)]
local procedure OnPostDeferralPostBufferOnAfterInsertGLEntry(var GenJournalLine: Record "Gen. Journal Line"; var DeferralPostBuffer: Record "Deferral Posting Buffer")
Parameters
OnPostDeferralPosBufferOnBeforeDeleteDeferralPostBuffer
[IntegrationEvent(True,False)]
local procedure OnPostDeferralPosBufferOnBeforeDeleteDeferralPostBuffer(var GenJournalLine: Record "Gen. Journal Line"; var DeferralPostBuffer: Record "Deferral Posting Buffer")
Parameters
OnPostEmployeeOnAfterPostDtldEmplLedgEntries
[IntegrationEvent(False,False)]
local procedure OnPostEmployeeOnAfterPostDtldEmplLedgEntries(GenJournalLine: Record "Gen. Journal Line"; var EmployeeLedgerEntry: Record "Employee Ledger Entry"; var DtldLedgEntryInserted: Boolean)
Parameters
OnPostUnapplyOnAfterVATEntrySetFilters
[IntegrationEvent(False,False)]
local procedure OnPostUnapplyOnAfterVATEntrySetFilters(var VATEntry: Record "VAT Entry"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnPostUnapplyOnBeforeUnapplyVATEntry
[IntegrationEvent(False,False)]
local procedure OnPostUnapplyOnBeforeUnapplyVATEntry(var VATEntry: Record "VAT Entry"; var UnapplyVATEntry: Boolean)
Parameters
OnPostUnapplyOnBeforeVATEntryInsert
[IntegrationEvent(True,False)]
local procedure OnPostUnapplyOnBeforeVATEntryInsert(var VATEntry: Record "VAT Entry"; GenJournalLine: Record "Gen. Journal Line"; OrigVATEntry: Record "VAT Entry")
Parameters
OnPrepareTempCustLedgEntryOnAfterSetFilters
[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnAfterSetFilters(var OldCustLedgerEntry: Record "Cust. Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var NextEntryNo: Integer)
Parameters
OnPrepareTempCustLedgEntryOnBeforeExit
[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeExit(var GenJournalLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var TempOldCustLedgEntry: Record "Cust. Ledger Entry" temporary)
Parameters
OnPrepareTempCustLedgEntryOnBeforeTestPositive
[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeTestPositive(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnPrepareTempCustLedgEntryOnBeforeTempOldCustLedgEntryInsert
[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeTempOldCustLedgEntryInsert(var CustLedgerEntry: Record "Cust. Ledger Entry"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnPrepareTempEmplLedgEntryOnAppToIDOnBeforeTempOldEmplLedgEntryInsert
[IntegrationEvent(False,False)]
local procedure OnPrepareTempEmplLedgEntryOnAppToIDOnBeforeTempOldEmplLedgEntryInsert(var EmplLedgEntry: Record "Employee Ledger Entry"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnPrepareTempEmplLedgEntryOnAppDocNoOnBeforeTempOldEmplLedgEntryInsert
[IntegrationEvent(False,False)]
local procedure OnPrepareTempEmplLedgEntryOnAppDocNoOnBeforeTempOldEmplLedgEntryInsert(var EmplLedgEntry: Record "Employee Ledger Entry"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnPrepareTempEmplLedgEntryOnAfterSetFiltersByAppliesToId
[IntegrationEvent(False,False)]
local procedure OnPrepareTempEmplLedgEntryOnAfterSetFiltersByAppliesToId(var OldEmplLedgEntry: Record "Employee Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; Employee: Record Employee)
Parameters
OnPrepareTempVendLedgEntryOnAfterSetFilters
[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnAfterSetFilters(var OldVendorLedgerEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")
Parameters
OnPrepareTempVendLedgEntryOnAfterSetFiltersBlankAppliesToDocNo
[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnAfterSetFiltersBlankAppliesToDocNo(var OldVendorLedgerEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; Vendor: Record Vendor)
Parameters
OnPrepareTempVendLedgEntryOnBeforeExit
[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeExit(var GenJournalLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var TempOldVendLedgEntry: Record "Vendor Ledger Entry" temporary)
Parameters
OnPrepareTempVendLedgEntryOnBeforeTempOldVendLedgEntryInsert
[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeTempOldVendLedgEntryInsert(var VendorLedgerEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnUnapplyCustLedgEntryOnAfterCreateGLEntriesForTotalAmounts
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnAfterCreateGLEntriesForTotalAmounts(var GenJournalLine: Record "Gen. Journal Line"; DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; GLReg: Record "G/L Register")
Parameters
OnUnapplyCustLedgEntryOnAfterDtldCustLedgEntrySetFilters
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnAfterDtldCustLedgEntrySetFilters(var DetailedCustLedgEntry2: Record "Detailed Cust. Ledg. Entry"; DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")
Parameters
OnUnapplyCustLedgEntryOnBeforeCheckPostingGroup
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforeCheckPostingGroup(var GenJournalLine: Record "Gen. Journal Line"; Customer: Record Customer)
Parameters
OnUnapplyCustLedgEntryOnAfterPostUnapply
[IntegrationEvent(True,False)]
local procedure OnUnapplyCustLedgEntryOnAfterPostUnapply(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var DetailedCustLedgEntry2: Record "Detailed Cust. Ledg. Entry")
Parameters
OnUnapplyCustLedgEntryOnBeforePostUnapply
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforePostUnapply(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var DetailedCustLedgEntry2: Record "Detailed Cust. Ledg. Entry")
Parameters
OnUnapplyCustLedgEntryOnAfterUpdateTotals
[IntegrationEvent(True,False)]
local procedure OnUnapplyCustLedgEntryOnAfterUpdateTotals(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnUnapplyCustLedgEntryOnBeforeUpdateCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforeUpdateCustLedgEntry(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var DetailedCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnUnapplyVendLedgEntryOnAfterCreateGLEntriesForTotalAmounts
[IntegrationEvent(True,False)]
local procedure OnUnapplyVendLedgEntryOnAfterCreateGLEntriesForTotalAmounts(var GenJournalLine: Record "Gen. Journal Line"; DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; GLReg: Record "G/L Register"; GenJournalLineToPost: Record "Gen. Journal Line"; var NextTaxEntryNo: Integer; var NextEntryNo: Integer; var NextCheckEntryNo: Integer; NextTransactionNo: Integer)
Parameters
OnUnapplyVendLedgEntryOnAfterFilterSourceEntries
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnAfterFilterSourceEntries(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; var DetailedVendorLedgEntry2: Record "Detailed Vendor Ledg. Entry")
Parameters
OnUnapplyVendLedgEntryOnBeforeCheckPostingGroup
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeCheckPostingGroup(var GenJournalLine: Record "Gen. Journal Line"; Vendor: Record Vendor)
Parameters
OnUnapplyVendLedgEntryOnAfterPostUnapply
[IntegrationEvent(True,False)]
local procedure OnUnapplyVendLedgEntryOnAfterPostUnapply(var GenJournalLine: Record "Gen. Journal Line"; var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; var DetailedVendorLedgEntry2: Record "Detailed Vendor Ledg. Entry")
Parameters
OnUnapplyVendLedgEntryOnBeforePostUnapply
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforePostUnapply(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; var DetailedVendorLedgEntry2: Record "Detailed Vendor Ledg. Entry")
Parameters
OnUnapplyVendLedgEntryOnBeforeUpdateVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeUpdateVendLedgEntry(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; var DetailedCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnUnapplyEmplLedgEntryOnBeforeUpdateTotalAmounts
[IntegrationEvent(False,False)]
local procedure OnUnapplyEmplLedgEntryOnBeforeUpdateTotalAmounts(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var IsHandled: Boolean)
Parameters
OnCustUnrealizedVATOnAfterVATPartCalculation
[IntegrationEvent(False,False)]
local procedure OnCustUnrealizedVATOnAfterVATPartCalculation(GenJournalLine: Record "Gen. Journal Line"; var CustLedgerEntry: Record "Cust. Ledger Entry"; PaidAmount: Decimal; TotalUnrealVATAmountFirst: Decimal; TotalUnrealVATAmountLast: Decimal; SettledAmount: Decimal; VATEntry2: Record "VAT Entry")
Parameters
OnCustUnrealizedVATOnAfterCalcPaidAmount
[IntegrationEvent(False,False)]
local procedure OnCustUnrealizedVATOnAfterCalcPaidAmount(GenJnlLine: Record "Gen. Journal Line"; var CustLedgEntry2: Record "Cust. Ledger Entry"; SettledAmount: Decimal; var PaidAmount: Decimal)
Parameters
OnCustUnrealizedVATOnBeforeInitGLEntryVAT
[IntegrationEvent(False,False)]
local procedure OnCustUnrealizedVATOnBeforeInitGLEntryVAT(var GenJournalLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry"; var VATAmount: Decimal; var VATBase: Decimal; var VATAmountAddCurr: Decimal; var VATBaseAddCurr: Decimal; var IsHandled: Boolean; var SalesVATUnrealAccount: Code[20]; CustLedgerEntry: Record "Cust. Ledger Entry"; SettledAmount: Decimal)
Parameters
OnCustUnrealizedVATOnAfterSetSalesVATAccounts
[IntegrationEvent(False,False)]
local procedure OnCustUnrealizedVATOnAfterSetSalesVATAccounts(var VATEntry: Record "VAT Entry"; var VATPostingSetup: Record "VAT Posting Setup"; var SalesVATAccount: Code[20]; var SalesVATUnrealAccount: Code[20])
Parameters
OnVendPostApplyVendLedgEntryOnAfterVendLedgEntryTransferFields
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnAfterVendLedgEntryTransferFields(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnVendPostApplyVendLedgEntryOnBeforeCheckPostingGroup
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeCheckPostingGroup(var GenJournalLine: Record "Gen. Journal Line"; Vendor: Record Vendor)
Parameters
OnBeforeGetVendorPayablesAccount
[IntegrationEvent(False,False)]
local procedure OnBeforeGetVendorPayablesAccount(GenJournalLine: Record "Gen. Journal Line"; VendorPostingGroup: Record "Vendor Posting Group"; var PayablesAccount: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforeGetEmployeePayablesAccount
[IntegrationEvent(False,False)]
local procedure OnBeforeGetEmployeePayablesAccount(GenJournalLine: Record "Gen. Journal Line"; EmployeePostingGroup: Record "Employee Posting Group"; var PayablesAccount: Code[20]; var IsHandled: Boolean)
Parameters
OnVendPostApplyVendLedgEntryOnBeforeFinishPosting
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line"; VendorLedgerEntry: Record "Vendor Ledger Entry")
Parameters
OnVendPostApplyVendLedgEntryOnBeforePostDtldVendLedgEntries
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforePostDtldVendLedgEntries(var VendorLedgEntry: Record "Vendor Ledger Entry")
Parameters
OnVendPostApplyVendLedgEntryOnBeforeCheckPostUnrealizedVAT
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeCheckPostUnrealizedVAT(var GenJournalLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var DtldLedgEntryInserted: Boolean)
Parameters
OnVendUnrealizedVATOnAfterVATPartCalculation
[IntegrationEvent(False,False)]
local procedure OnVendUnrealizedVATOnAfterVATPartCalculation(GenJournalLine: Record "Gen. Journal Line"; var VendorLedgerEntry: Record "Vendor Ledger Entry"; PaidAmount: Decimal; TotalUnrealVATAmountFirst: Decimal; TotalUnrealVATAmountLast: Decimal; SettledAmount: Decimal; VATEntry2: Record "VAT Entry")
Parameters
OnVendUnrealizedVATOnBeforeInitGLEntryVAT
[IntegrationEvent(False,False)]
local procedure OnVendUnrealizedVATOnBeforeInitGLEntryVAT(var GenJournalLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry"; var VATAmount: Decimal; var VATBase: Decimal; var VATAmountAddCurr: Decimal; var VATBaseAddCurr: Decimal; VendorLedgerEntry: Record "Vendor Ledger Entry"; SettledAmount: Decimal)
Parameters
OnMoveGenJournalLine
[IntegrationEvent(False,False)]
local procedure OnMoveGenJournalLine(var GenJournalLine: Record "Gen. Journal Line"; ToRecordID: RecordId)
Parameters
OnAfterInitLastDocDate
[IntegrationEvent(False,False)]
local procedure OnAfterInitLastDocDate(var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnAfterUpdateCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateCustLedgEntry(DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var TempGLEntryBuf: Record "G/L Entry" temporary; var GlobalGLEntry: Record "G/L Entry"; NextTransactionNo: Integer)
Parameters
OnAfterUpdateVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateVendLedgEntry(DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; var TempGLEntryBuf: Record "G/L Entry" temporary; var GlobalGLEntry: Record "G/L Entry"; NextTransactionNo: Integer)
Parameters
OnApplyCustLedgEntryOnBeforeTempOldCustLedgEntryDelete
[IntegrationEvent(True,False)]
local procedure OnApplyCustLedgEntryOnBeforeTempOldCustLedgEntryDelete(var TempOldCustLedgEntry: Record "Cust. Ledger Entry" temporary; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line"; var Cust: Record Customer; NextEntryNo: Integer; GLReg: Record "G/L Register"; AppliedAmount: Decimal; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer")
Parameters
OnBeforePostUnrealVATByUnapply
[IntegrationEvent(False,False)]
local procedure OnBeforePostUnrealVATByUnapply(GenJnlLine: Record "Gen. Journal Line"; VATPostingSetup: Record "VAT Posting Setup"; VATEntry: Record "VAT Entry"; NewVATEntry: Record "VAT Entry")
Parameters
OnAfterPostUnrealVATByUnapply
[IntegrationEvent(False,False)]
local procedure OnAfterPostUnrealVATByUnapply(GenJnlLine: Record "Gen. Journal Line"; VATPostingSetup: Record "VAT Posting Setup"; VATEntry: Record "VAT Entry"; NewVATEntry: Record "VAT Entry")
Parameters
OnCalcPmtDiscPossibleOnBeforeOriginalPmtDiscPossible
[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscPossibleOnBeforeOriginalPmtDiscPossible(GenJnlLine: Record "Gen. Journal Line"; var CVLedgEntryBuf: Record "CV Ledger Entry Buffer"; AmountRoundingPrecision: Decimal)
Parameters
OnPrepareTempCustLedgEntryOnAfterSetFiltersByAppliesToId
[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnAfterSetFiltersByAppliesToId(var OldCustLedgerEntry: Record "Cust. Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; Customer: Record Customer)
Parameters
OnAfterApplyCustLedgEntry
[IntegrationEvent(True,False)]
local procedure OnAfterApplyCustLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCustLedgEntry: Record "Cust. Ledger Entry"; NewRemainingAmtBeforeAppln: Decimal)
Parameters
OnAfterApplyVendLedgEntry
[IntegrationEvent(True,False)]
local procedure OnAfterApplyVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldVendLedgEntry: Record "Vendor Ledger Entry"; NewRemainingAmtBeforeAppln: Decimal)
Parameters
OnAfterApplyEmplLedgEntry
[IntegrationEvent(True,False)]
local procedure OnAfterApplyEmplLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldEmployeeLedgerEntry: Record "Employee Ledger Entry")
Parameters
OnAfterGetCustomerReceivablesAccount
[IntegrationEvent(False,False)]
local procedure OnAfterGetCustomerReceivablesAccount(GenJournalLine: Record "Gen. Journal Line"; CustomerPostingGroup: Record "Customer Posting Group"; var ReceivablesAccount: Code[20])
Parameters
OnAfterGetCustomerPostingGroup
[IntegrationEvent(False,False)]
local procedure OnAfterGetCustomerPostingGroup(GenJournalLine: Record "Gen. Journal Line"; var CustomerPostingGroup: Record "Customer Posting Group")
Parameters
OnAfterGetVendorPostingGroup
[IntegrationEvent(False,False)]
local procedure OnAfterGetVendorPostingGroup(GenJournalLine: Record "Gen. Journal Line"; var VendorPostingGroup: Record "Vendor Posting Group")
Parameters
OnAfterGetVendorPayablesAccount
[IntegrationEvent(False,False)]
local procedure OnAfterGetVendorPayablesAccount(GenJournalLine: Record "Gen. Journal Line"; VendorPostingGroup: Record "Vendor Posting Group"; var PayablesAccount: Code[20])
Parameters
OnAfterGetEmployeePayablesAccount
[IntegrationEvent(False,False)]
local procedure OnAfterGetEmployeePayablesAccount(GenJournalLine: Record "Gen. Journal Line"; EmployeePostingGroup: Record "Employee Posting Group"; var PayablesAccount: Code[20])
Parameters
OnAfterGetVendUnrealizedVATAccounts
[IntegrationEvent(False,False)]
local procedure OnAfterGetVendUnrealizedVATAccounts(VATEntry: Record "VAT Entry"; VATPostingSetup: Record "VAT Posting Setup"; var PurchVATAccount: Code[20]; var PurchVATUnrealAccount: Code[20]; var PurchReverseAccount: Code[20]; var PurchReverseUnrealAccount: Code[20])
Parameters
OnPostUnapplyOnAfterVATEntryInsert
[IntegrationEvent(False,False)]
local procedure OnPostUnapplyOnAfterVATEntryInsert(var VATEntry: Record "VAT Entry"; GenJournalLine: Record "Gen. Journal Line"; OrigVATEntry: Record "VAT Entry")
Parameters
OnUpdateCalcInterestOnAfterCustLedgEntrySetFilters
[IntegrationEvent(False,False)]
local procedure OnUpdateCalcInterestOnAfterCustLedgEntrySetFilters(var CustLedgEntry: Record "Cust. Ledger Entry"; CVLedgEntryBuf: Record "CV Ledger Entry Buffer")
Parameters
OnVendUnrealizedVATOnAfterCalcTotalUnrealVATAmount
[IntegrationEvent(False,False)]
local procedure OnVendUnrealizedVATOnAfterCalcTotalUnrealVATAmount(var VATEntry2: Record "VAT Entry"; var TotalUnrealVATAmountFirst: Decimal; var TotalUnrealVATAmountLast: Decimal)
Parameters
OnCustUnrealizedVATOnBeforePostUnrealVATEntry
[IntegrationEvent(True,False)]
local procedure OnCustUnrealizedVATOnBeforePostUnrealVATEntry(var GenJnlLine: Record "Gen. Journal Line"; var VATEntry2: Record "VAT Entry"; var VATAmount: Decimal; var VATBase: Decimal; var VATAmountAddCurr: Decimal; var VATBaseAddCurr: Decimal; var GLEntryNo: Integer; VATPart: Decimal)
Parameters
OnVendUnrealizedVATOnBeforePostUnrealVATEntry
[IntegrationEvent(True,False)]
local procedure OnVendUnrealizedVATOnBeforePostUnrealVATEntry(var GenJnlLine: Record "Gen. Journal Line"; var VATEntry2: Record "VAT Entry"; var VATAmount: Decimal; var VATBase: Decimal; var VATAmountAddCurr: Decimal; var VATBaseAddCurr: Decimal; var GLEntryNo: Integer; VATPart: Decimal)
Parameters
OnPostUnrealVATByUnapplyOnBeforeVATEntryModify
[IntegrationEvent(True,False)]
local procedure OnPostUnrealVATByUnapplyOnBeforeVATEntryModify(GenJnlLine: Record "Gen. Journal Line"; VATPostingSetup: Record "VAT Posting Setup"; VATEntry: Record "VAT Entry"; NewVATEntry: Record "VAT Entry"; var VATEntry2: Record "VAT Entry"; var GLEntryNoFromVAT: Integer)
Parameters
OnBeforeCalcPmtTolerancePossible
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtTolerancePossible(GenJnlLine: Record "Gen. Journal Line"; PmtDiscountDate: Date; var PmtDiscToleranceDate: Date; var MaxPaymentTolerance: Decimal; var IsHandled: Boolean)
Parameters
OnBeforeDeferralPosting
[IntegrationEvent(True,False)]
local procedure OnBeforeDeferralPosting(DeferralCode: Code[10]; SourceCode: Code[10]; var AccountNo: Code[20]; var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeCheckSalesExtDocNo
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckSalesExtDocNo(var GenJnlLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnBeforeCheckPurchExtDocNoProcedure
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckPurchExtDocNoProcedure(var GenJnlLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnBeforePostICPartner
[IntegrationEvent(False,False)]
local procedure OnBeforePostICPartner(var GenJnlLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnAfterStartPosting
[IntegrationEvent(True,False)]
local procedure OnAfterStartPosting(GenJnlLine: Record "Gen. Journal Line")
Parameters
OnPostCustOnAfterAssignCurrencyFactors
[IntegrationEvent(False,False)]
local procedure OnPostCustOnAfterAssignCurrencyFactors(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnPostVendOnAfterAssignCurrencyFactors
[IntegrationEvent(False,False)]
local procedure OnPostVendOnAfterAssignCurrencyFactors(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnPostEmployeeOnAfterAssignCurrencyFactors
[IntegrationEvent(False,False)]
local procedure OnPostEmployeeOnAfterAssignCurrencyFactors(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnInitAmountsOnAddCurrencyPostingNone
[IntegrationEvent(True,False)]
local procedure OnInitAmountsOnAddCurrencyPostingNone(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnPostVendOnAfterInitVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnPostVendOnAfterInitVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; var VendLedgEntry: Record "Vendor Ledger Entry"; Vendor: Record Vendor; var TaxAmount: Decimal; var TaxAmountLCY: Decimal)
Parameters
OnInsertSummarizedVATOnAfterInsertGLEntry
[IntegrationEvent(True,False)]
local procedure OnInsertSummarizedVATOnAfterInsertGLEntry(var GenJnlLine: Record "Gen. Journal Line"; var TempGLEntryVAT: Record "G/L Entry" temporary; NextEntryNo: Integer)
Parameters
OnPostBankAccOnBeforeCreateGLEntryBalAcc
[IntegrationEvent(True,False)]
local procedure OnPostBankAccOnBeforeCreateGLEntryBalAcc(var GenJnlLine: Record "Gen. Journal Line"; BankAccPostingGr: Record "Bank Account Posting Group"; BankAccount: Record "Bank Account"; NextEntryNo: Integer; var IsHandled: Boolean; TaxAmount: Decimal; TaxAmountLCY: Decimal)
Parameters
OnPostFixedAssetOnAfterSetGenJnlLineShortcutDimCodes
[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetOnAfterSetGenJnlLineShortcutDimCodes(var GenJnlLine: Record "Gen. Journal Line")
Parameters
OnPostICPartnerOnBeforeCreateGLEntryBalAcc
[IntegrationEvent(True,False)]
local procedure OnPostICPartnerOnBeforeCreateGLEntryBalAcc(var GenJnlLine: Record "Gen. Journal Line"; NextEntryNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeInsertGlEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertGlEntry(var GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var IsHandled: Boolean)
Parameters
OnAfterCreateGLEntry
[IntegrationEvent(True,False)]
local procedure OnAfterCreateGLEntry(var GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; NextEntryNo: Integer)
Parameters
OnAfterCalcApplication
[IntegrationEvent(False,False)]
local procedure OnAfterCalcApplication(var GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnCustPostApplyCustLedgEntryOnAfterApplyCustLedgEntry
[IntegrationEvent(True,False)]
local procedure OnCustPostApplyCustLedgEntryOnAfterApplyCustLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnAfterCustPostApplyCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnAfterCustPostApplyCustLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; var GLReg: Record "G/L Register"; CustLedgerEntry: Record "Cust. Ledger Entry")
Parameters
OnAfterSetDtldCustLedgEntryNoOffset
[IntegrationEvent(False,False)]
local procedure OnAfterSetDtldCustLedgEntryNoOffset(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var DtldCustLedgEntryNoOffset: Integer)
Parameters
OnPostDtldCustLedgEntriesOnBeforeUpdateTotalAmounts
[IntegrationEvent(False,False)]
local procedure OnPostDtldCustLedgEntriesOnBeforeUpdateTotalAmounts(var GenJnlLine: Record "Gen. Journal Line"; DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var IsHandled: Boolean; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnPostDtldCustLedgEntriesOnBeforePostDtldCustLedgEntry
[IntegrationEvent(True,False)]
local procedure OnPostDtldCustLedgEntriesOnBeforePostDtldCustLedgEntry(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; AddCurrencyCode: Code[10]; var GenJnlLine: Record "Gen. Journal Line"; CustPostingGr: Record "Customer Posting Group"; AdjAmount: array[4] of Decimal; var IsHandled: Boolean; var NextEntryNo: Integer; DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; LedgEntryInserted: Boolean)
Parameters
OnVendPostApplyVendLedgEntryOnAfterApplyVendLedgEntry
[IntegrationEvent(True,False)]
local procedure OnVendPostApplyVendLedgEntryOnAfterApplyVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnVendPostApplyVendLedgEntryOnBeforeCopyFromVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeCopyFromVendLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var VendLedgEntry: Record "Vendor Ledger Entry")
Parameters
OnAfterVendPostApplyVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnAfterVendPostApplyVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; GLReg: Record "G/L Register")
Parameters
OnPostDtldVendLedgEntriesOnBeforeUpdateTotalAmounts
[IntegrationEvent(False,False)]
local procedure OnPostDtldVendLedgEntriesOnBeforeUpdateTotalAmounts(var GenJnlLine: Record "Gen. Journal Line"; DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; var IsHandled: Boolean; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnPostDtldVendLedgEntriesOnBeforePostDtldVendLedgEntry
[IntegrationEvent(True,False)]
local procedure OnPostDtldVendLedgEntriesOnBeforePostDtldVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; VendPostingGr: Record "Vendor Posting Group"; AdjAmount: array[4] of Decimal; var IsHandled: Boolean; LedgEntryInserted: Boolean)
Parameters
OnPostDtldVendLedgEntriesOnAfterPostDtldVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnPostDtldVendLedgEntriesOnAfterPostDtldVendLedgEntry(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; LedgEntryInserted: Boolean)
Parameters
OnOnUnapplyCustLedgEntryOnBeforeSecondLook
[IntegrationEvent(False,False)]
local procedure OnOnUnapplyCustLedgEntryOnBeforeSecondLook(var DtldCustLedgEntry2: Record "Detailed Cust. Ledg. Entry"; NextDtldLedgEntryNo: Integer)
Parameters
OnUnapplyCustLedgEntryOnAfterFillDtldCVLedgEntryBuf
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnAfterFillDtldCVLedgEntryBuf(var GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnOnUnapplyCustLedgEntryOnBeforeUpdateTotalAmounts
[IntegrationEvent(False,False)]
local procedure OnOnUnapplyCustLedgEntryOnBeforeUpdateTotalAmounts(var IsHandled: Boolean; var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnAfterSetDtldVendLedgEntryNoOffset
[IntegrationEvent(False,False)]
local procedure OnAfterSetDtldVendLedgEntryNoOffset(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var DtldVendLedgEntryNoOffset: Integer)
Parameters
OnUnapplyVendLedgEntryOnBeforeSecondLook
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeSecondLook(var DtldVendLedgEntry2: Record "Detailed Vendor Ledg. Entry"; NextDtldLedgEntryNo: Integer)
Parameters
OnUnapplyVendLedgEntryOnAfterFillDtldCVLedgEntryBuf
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnAfterFillDtldCVLedgEntryBuf(var GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnUnapplyVendLedgEntryOnBeforeUpdateTotalAmounts
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeUpdateTotalAmounts(var IsHandled: Boolean; var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnProcessTempVATEntryCustOnAfterProcessTempVATEntry
[IntegrationEvent(False,False)]
local procedure OnProcessTempVATEntryCustOnAfterProcessTempVATEntry(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var TempVATEntry: Record "VAT Entry")
Parameters
OnGLCalcAddCurrencyPostingNone
[IntegrationEvent(False,False)]
local procedure OnGLCalcAddCurrencyPostingNone(var GenJnlLine: Record "Gen. Journal Line"; Amount: Decimal; AddCurrency: Record Currency; var Result: Decimal; var IsHandled: Boolean)
Parameters
OnGetCurrencyExchRateOnAfterSetNewCurrencyDate
[IntegrationEvent(False,False)]
local procedure OnGetCurrencyExchRateOnAfterSetNewCurrencyDate(var GenJnlLine: Record "Gen. Journal Line"; var NewCurrencyDate: Date)
Parameters
OnAfterGetCurrencyExchRate
[IntegrationEvent(False,False)]
local procedure OnAfterGetCurrencyExchRate(var GenJnlLine: Record "Gen. Journal Line"; NewCurrencyDate: Date; CurrencyDate: Date; UseCurrFactorOnly: Boolean; var CurrencyFactor: Decimal)
Parameters
OnPostDtldAdjustmentOnBeforeCreateGLEntryBalAcc
[IntegrationEvent(True,False)]
local procedure OnPostDtldAdjustmentOnBeforeCreateGLEntryBalAcc(var GenJnlLine: Record "Gen. Journal Line"; GLAcc: Code[20]; AdjAmount: array[4] of Decimal; ArrayIndex: Integer; var IsHandled: Boolean; NextEntryNo: Integer)
Parameters
OnInitVATOnVATCalculationTypeNormal
[IntegrationEvent(False,False)]
local procedure OnInitVATOnVATCalculationTypeNormal(var GenJnlLine: Record "Gen. Journal Line"; var IsHandled: Boolean; var GLEntry: Record "G/L Entry"; var VATPostingSetup: Record "VAT Posting Setup")
Parameters
OnPostVendOnBeforePostDtldVendLedgEntries
[IntegrationEvent(True,False)]
local procedure OnPostVendOnBeforePostDtldVendLedgEntries(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var NextEntryNo: Integer)
Parameters
OnContinuePostingOnIncreaseNextTransactionNo
[IntegrationEvent(False,False)]
local procedure OnContinuePostingOnIncreaseNextTransactionNo(var GenJnlLine: Record "Gen. Journal Line"; var NextTransactionNo: Integer; var IsHandled: Boolean)
Parameters
OnPostEmployeeOnBeforeEmployeeLedgerEntryInsert
[IntegrationEvent(False,False)]
local procedure OnPostEmployeeOnBeforeEmployeeLedgerEntryInsert(var GenJnlLine: Record "Gen. Journal Line"; var EmployeeLedgerEntry: Record "Employee Ledger Entry"; GLRegister: Record "G/L Register")
Parameters
OnPostCustOnBeforeResetCustLedgerEntryAppliesToFields
[IntegrationEvent(False,False)]
local procedure OnPostCustOnBeforeResetCustLedgerEntryAppliesToFields(var CustLedgEntry: Record "Cust. Ledger Entry"; var IsHandled: Boolean)
Parameters
OnPostVendOnAfterAssignPayablesAccount
[IntegrationEvent(False,False)]
local procedure OnPostVendOnAfterAssignPayablesAccount(GenJnlLine: Record "Gen. Journal Line"; VendorPostingGroup: Record "Vendor Posting Group"; var PayablesAccount: Code[20])
Parameters
OnPostCustOnAfterAssignReceivablesAccount
[IntegrationEvent(False,False)]
local procedure OnPostCustOnAfterAssignReceivablesAccount(GenJnlLine: Record "Gen. Journal Line"; CustomerPostingGroup: Record "Customer Posting Group"; var ReceivablesAccount: Code[20])
Parameters
OnBeforeCheckDimValueForDisposal
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDimValueForDisposal(var GenJnlLine: Record "Gen. Journal Line"; AccountNo: Code[20]; var IsHandled: Boolean)
Parameters
OnAfterSetUnrealizedVAT
[IntegrationEvent(False,False)]
local procedure OnAfterSetUnrealizedVAT(var GenJnlLine: Record "Gen. Journal Line"; var VATPostingSetup: Record "VAT Posting Setup"; var UnrealizedVAT: Boolean)
Parameters
OnAfterInsertPmtDiscVATForGLEntry
[IntegrationEvent(False,False)]
local procedure OnAfterInsertPmtDiscVATForGLEntry(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; GenJournalLine: Record "Gen. Journal Line")
Parameters
OnPostDtldCustVATAdjustmentOnAfterFindVATEntry
[IntegrationEvent(False,False)]
local procedure OnPostDtldCustVATAdjustmentOnAfterFindVATEntry(GenJnlLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnAfterPostDtldCustVATAdjustment
[IntegrationEvent(False,False)]
local procedure OnAfterPostDtldCustVATAdjustment(GenJnlLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnBeforeShowInconsistentEntries
[IntegrationEvent(False,False)]
local procedure OnBeforeShowInconsistentEntries(TempGLEntryPrevie: Record "G/L Entry" temporary; var IsHandled: Boolean)
Parameters
OnInitGLEntryOnBeforeCheckGLAccDimError
[IntegrationEvent(False,False)]
local procedure OnInitGLEntryOnBeforeCheckGLAccDimError(var GenJnlLine: Record "Gen. Journal Line"; var GLAcc: Record "G/L Account")
Parameters
OnPostDeferralPostBufferOnAfterSetPostDate
[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnAfterSetPostDate(var DeferralPostBuffer: Record "Deferral Posting Buffer"; var IsHandled: Boolean)
Parameters
OnBeforeEmplPostApplyEmplLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeEmplPostApplyEmplLedgEntry(var GenJnlLinePostApply: Record "Gen. Journal Line"; var EmplLedgEntryPostApply: Record "Employee Ledger Entry"; var IsHandled: Boolean)
Parameters
OnBeforeUnapplyVendLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeUnapplyVendLedgEntry(GenJnlLine2: Record "Gen. Journal Line"; DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; var IsHandled: Boolean)
Parameters
OnBeforeUnapplyCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeUnapplyCustLedgEntry(GenJnlLine2: Record "Gen. Journal Line"; DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var IsHandled: Boolean)
Parameters
OnBeforeCheckGenJnlLine
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGenJnlLine(GenJnlLine: Record "Gen. Journal Line"; CheckLine: Boolean; var OverrideDimErr: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeUnapplyEmplLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeUnapplyEmplLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry"; var IsHandled: Boolean)
Parameters
OnBeforeCheckCustMultiplePostingGroups
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckCustMultiplePostingGroups(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var IsMultiplePostingGroups: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeCheckVendMultiplePostingGroups
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckVendMultiplePostingGroups(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var IsMultiplePostingGroups: Boolean; var IsHandled: Boolean)
Parameters
OnPrepareTempEmplLedgEntryOnBeforeUpdateRemainingAmount
[IntegrationEvent(False,False)]
local procedure OnPrepareTempEmplLedgEntryOnBeforeUpdateRemainingAmount(var TempOldEmployeeLedgerEntry: Record "Employee Ledger Entry"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer")
Parameters
OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntryReverseChargeVATInPostDtldVendVATAdjustment
[IntegrationEvent(True,False)]
local procedure OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntryReverseChargeVATInPostDtldVendVATAdjustment(DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; VATEntry: Record "VAT Entry"; GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntrySalesTaxInPostDtldVendVATAdjustment
[IntegrationEvent(True,False)]
local procedure OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntrySalesTaxInPostDtldVendVATAdjustment(DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; VATEntry: Record "VAT Entry"; GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnPostUnrealVATEntryOnBeforeInsertLinkSelf
[IntegrationEvent(False,False)]
local procedure OnPostUnrealVATEntryOnBeforeInsertLinkSelf(var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary; var VATEntry: Record "VAT Entry"; var GLEntryNo: Integer; var NextVATEntryNo: Integer)
Parameters
OnBeforePostBankAcc
[IntegrationEvent(False,False)]
local procedure OnBeforePostBankAcc(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnBeforeCreateGLEntryVAT
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateGLEntryVAT(var GenJournalLine: Record "Gen. Journal Line"; DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnBeforeCreateGLEntryVATCollectAdj
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateGLEntryVATCollectAdj(var GenJournalLine: Record "Gen. Journal Line"; DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnPrepareTempCustLedgEntryOnBeforeCheckAgainstApplnCurrencyWithAppliesToDocNo
[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeCheckAgainstApplnCurrencyWithAppliesToDocNo(GenJournalLine: Record "Gen. Journal Line"; NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; OldCustLedgerEntry: Record "Cust. Ledger Entry")
Parameters
OnPrepareTempCustLedgEntryOnBeforeCheckAgainstApplnCurrency
[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeCheckAgainstApplnCurrency(GenJournalLine: Record "Gen. Journal Line"; NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; OldCustLedgerEntry: Record "Cust. Ledger Entry")
Parameters
OnPrepareTempVendLedgEntryOnBeforeCheckAgainstApplnCurrencyWithAppliesToDocNo
[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeCheckAgainstApplnCurrencyWithAppliesToDocNo(GenJournalLine: Record "Gen. Journal Line"; NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; OldVendorLedgerEntry: Record "Vendor Ledger Entry")
Parameters
OnPrepareTempVendLedgEntryOnBeforeCheckAgainstApplnCurrency
[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeCheckAgainstApplnCurrency(GenJournalLine: Record "Gen. Journal Line"; NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; OldVendorLedgerEntry: Record "Vendor Ledger Entry")
Parameters
OnBeforeInitGLEntryVATOnVendUnrealizedVAT
[IntegrationEvent(False,False)]
local procedure OnBeforeInitGLEntryVATOnVendUnrealizedVAT(var VATEntry: Record "VAT Entry"; var GenJournalLine: Record "Gen. Journal Line"; var NextEntryNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeInitGLEntryVATOnVendUnrealizedVATForRevChargeVAT
[IntegrationEvent(False,False)]
local procedure OnBeforeInitGLEntryVATOnVendUnrealizedVATForRevChargeVAT(var VATEntry: Record "VAT Entry"; var GenJournalLine: Record "Gen. Journal Line"; var NextEntryNo: Integer; var IsHandled: Boolean)
Parameters
OnInitGLEntryVATOnBeforeSummarizeVAT
[IntegrationEvent(False,False)]
local procedure OnInitGLEntryVATOnBeforeSummarizeVAT(GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; VATEntry: Record "VAT Entry")
Parameters
OnVendUnrealizedVATOnAfterSetFilterForVATEntry2
[IntegrationEvent(False,False)]
local procedure OnVendUnrealizedVATOnAfterSetFilterForVATEntry2(var VATEntry: Record "VAT Entry")
Parameters
OnCustUnrealizedVATOnAfterSetFilterForVATEntry2
[IntegrationEvent(False,False)]
local procedure OnCustUnrealizedVATOnAfterSetFilterForVATEntry2(var VATEntry: Record "VAT Entry")
Parameters
OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntryForNormalOrFullVAT
[IntegrationEvent(True,False)]
local procedure OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntryForNormalOrFullVAT(DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; VATEntry: Record "VAT Entry"; GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnBeforePostDtldVendLedgEntryUnapply
[IntegrationEvent(True,False)]
local procedure OnBeforePostDtldVendLedgEntryUnapply(GenJournalLine: Record "Gen. Journal Line"; DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; VendPostingGr: Record "Vendor Posting Group"; OriginalTransactionNo: Integer; var IsHandled: Boolean)
Parameters
OnUnapplyVendLedgEntryOnBeforeUpdateDetailedVendLedgEntry2
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeUpdateDetailedVendLedgEntry2(var DetailedVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; var DetailedCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnAfterInsertDtldVendLedgEntryUnapply
[IntegrationEvent(False,False)]
local procedure OnAfterInsertDtldVendLedgEntryUnapply(var OldDetailedVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; var GenJnlLine: Record "Gen. Journal Line"; var NewDetailedVendLedgEntry: Record "Detailed Vendor Ledg. Entry")
Parameters
OnBeforePostDtldCustLedgEntryUnapply
[IntegrationEvent(True,False)]
local procedure OnBeforePostDtldCustLedgEntryUnapply(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; CustPostingGroup: Record "Customer Posting Group"; OriginalTransactionNo: Integer; var IsHandled: Boolean)
Parameters
OnUnapplyCustLedgEntryOnBeforeUpdateDetailedCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforeUpdateDetailedCustLedgEntry(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var DetailedCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
Parameters
OnAfterCreateNormalVATGLEntries
[IntegrationEvent(True,False)]
local procedure OnAfterCreateNormalVATGLEntries(var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnCheckGenJnlLineOnBeforeRunCheck
[IntegrationEvent(True,False)]
local procedure OnCheckGenJnlLineOnBeforeRunCheck(var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnPostGLAccOnBeforePostJob
[IntegrationEvent(True,False)]
local procedure OnPostGLAccOnBeforePostJob(var GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; var IsHandled: Boolean; Balancing: Boolean)
Parameters
OnCreateGLEntriesForTotalAmountsUnapplyOnBeforeUpdateGenJnlLineDim
[IntegrationEvent(True,False)]
local procedure OnCreateGLEntriesForTotalAmountsUnapplyOnBeforeUpdateGenJnlLineDim(var IsHandled: Boolean)
Parameters
| Name |
Type |
Description |
|
IsHandled
|
Boolean |
|
OnAfterGetJournalsSourceCode
[IntegrationEvent(True,False)]
local procedure OnAfterGetJournalsSourceCode(var JournalsSourceCodesList: List of [Code[10]])
Parameters
| Name |
Type |
Description |
|
JournalsSourceCodesList
|
List of [Code[10]] |
|
OnCreateGLEntriesForTotalAmountsOnBeforeUpdateGenJnlLineDim
[IntegrationEvent(True,False)]
local procedure OnCreateGLEntriesForTotalAmountsOnBeforeUpdateGenJnlLineDim(var IsHandled: Boolean)
Parameters
| Name |
Type |
Description |
|
IsHandled
|
Boolean |
|
OnStartPostingOnBeforeSetNextVatEntryNo
[IntegrationEvent(True,False)]
local procedure OnStartPostingOnBeforeSetNextVatEntryNo(var VatEntry: Record "VAT Entry")
Parameters
OnStartPostingOnAfterSetNextVatEntryNo
[IntegrationEvent(True,False)]
local procedure OnStartPostingOnAfterSetNextVatEntryNo(var VatEntry: Record "VAT Entry"; var NextVATEntryNo: Integer)
Parameters
OnInsertGLEntryOnBeforeUpdateCheckAmounts
[IntegrationEvent(False,False)]
local procedure OnInsertGLEntryOnBeforeUpdateCheckAmounts(GeneralLedgerSetup: Record "General Ledger Setup"; var GLEntry: Record "G/L Entry"; var BalanceCheckAmount: Decimal; var BalanceCheckAmount2: Decimal; var BalanceCheckAddCurrAmount: Decimal; var BalanceCheckAddCurrAmount2: Decimal)
Parameters
OnPostDeferralPostBufferOnAfterFindDeferalPostingBuffer
[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnAfterFindDeferalPostingBuffer(var GenJournalLine: Record "Gen. Journal Line"; var DeferralPostingBuffer: Record "Deferral Posting Buffer"; var NonDeductibleVATPct: Decimal)
Parameters
OnBeforeInsertDeferralNonDeductibleVATGLEntries
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDeferralNonDeductibleVATGLEntries(var NonDeductibleVATPct: Decimal; DeferralPostingBuffer: Record "Deferral Posting Buffer"; VATPostingSetup: Record "VAT Posting Setup"; GenJournalLine: Record "Gen. Journal Line"; DeferralTemplate: Record "Deferral Template"; var VATAmountRounding: Decimal; var PositiveNDVATAmountRounding: Decimal; var NegativeNDVATAmountRounding: Decimal; var IsHandled: Boolean)
Parameters
OnUnapplyCustLedgEntryOnAfterUpdateCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnAfterUpdateCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var NewDetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; CustomerPostingGroup: Record "Customer Posting Group"; var GLEntry: Record "G/L Entry")
Parameters
OnPostCustOnBeforeGetCustomerPostingGroup
[IntegrationEvent(False,False)]
local procedure OnPostCustOnBeforeGetCustomerPostingGroup(var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnUnapplyCustLedgEntryOnBeforeFinishPosting
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line"; GLEntry: Record "G/L Entry"; CustomerPostingGroup: Record "Customer Posting Group")
Parameters
OnPostCustOnBeforeInsertDtldCVLedgEntry
[IntegrationEvent(False,False)]
local procedure OnPostCustOnBeforeInsertDtldCVLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var TempDetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var CustLedgerEntry: Record "Cust. Ledger Entry"; var IsHandled: Boolean)
Parameters
OnPostDtldCustLedgEntriesOnBeforeNextEntryNo
[IntegrationEvent(False,False)]
local procedure OnPostDtldCustLedgEntriesOnBeforeNextEntryNo(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; CustomerPostingGroup: Record "Customer Posting Group"; LedgEntryInserted: Boolean; var NextEntryNo: Integer; var SavedEntryNo: Integer; var IsHandled: Boolean)
Parameters
OnPostBankAccOnCheckingBankAccPostingGrGLAccountNo
[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnCheckingBankAccPostingGrGLAccountNo(var GenJournalLine: Record "Gen. Journal Line"; BankAccPostingGr: Record "Bank Account Posting Group"; var IsHandled: Boolean)
Parameters
OnBeforePostDtldCustLedgEntries
[IntegrationEvent(False,False)]
local procedure OnBeforePostDtldCustLedgEntries(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; CustomerPostingGroup: Record "Customer Posting Group"; LedgEntryInserted: Boolean)
Parameters
OnInitGLEntryOnBeforeCheckGLAccountBlocked
[IntegrationEvent(False,False)]
local procedure OnInitGLEntryOnBeforeCheckGLAccountBlocked(GenJournalLine: Record "Gen. Journal Line"; GLAccount: Record "G/L Account"; var IsHandled: Boolean)
Parameters
OnUnapplyCustLedgEntryOnAfterGetNextDtldLedgEntryNo
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnAfterGetNextDtldLedgEntryNo(var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnPostDtldCustLedgEntriesOnAfterSetDtldCustLedgEntryNoOffset
[IntegrationEvent(False,False)]
local procedure OnPostDtldCustLedgEntriesOnAfterSetDtldCustLedgEntryNoOffset(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; CustomerPostingGroup: Record "Customer Posting Group"; LedgEntryInserted: Boolean; var NextEntryNo: Integer)
Parameters
OnPostApplyOnAfterCalcCurrencyApplnRounding
[IntegrationEvent(False,False)]
local procedure OnPostApplyOnAfterCalcCurrencyApplnRounding(GenJournalLine: Record "Gen. Journal Line"; var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var NewCVLedgerEntryBuffer2: Record "CV Ledger Entry Buffer"; var OldCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var OldCVLedgerEntryBuffer2: Record "CV Ledger Entry Buffer"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var AppliedAmount: Decimal; var PmtTolAmtToBeApplied: Decimal; var IsHandled: Boolean)
Parameters
OnCustPostApplyCustLedgEntryOnBeforeApplyCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeApplyCustLedgEntry(var CustLedgerEntry: Record "Cust. Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")
Parameters
OnCustPostApplyCustLedgEntryOnBeforeModifyCustLedgEntry
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeModifyCustLedgEntry(var CustLedgerEntry: Record "Cust. Ledger Entry"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")
Parameters
OnCustPostApplyCustLedgEntryOnBeforeCheckPostUnrealizedVAT
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeCheckPostUnrealizedVAT(var GenJournalLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var DtldLedgEntryInserted: Boolean)
Parameters
OnOnUnapplyCustLedgEntryOnBeforeProcessDetailedCustLedgEntry2InLoop
[IntegrationEvent(False,False)]
local procedure OnOnUnapplyCustLedgEntryOnBeforeProcessDetailedCustLedgEntry2InLoop(DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var IsHandled: Boolean)
Parameters
OnPostDtldVendLedgEntriesOnBeforeSetDtldVendLedgEntryNoOffset
[IntegrationEvent(False,False)]
local procedure OnPostDtldVendLedgEntriesOnBeforeSetDtldVendLedgEntryNoOffset(var GenJournalLine: Record "Gen. Journal Line"; var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")
Parameters
OnPostDtldVendLedgEntriesOnAfterSetDtldVendLedgEntryNoOffset
[IntegrationEvent(False,False)]
local procedure OnPostDtldVendLedgEntriesOnAfterSetDtldVendLedgEntryNoOffset(var GenJournalLine: Record "Gen. Journal Line"; var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; var DtldVendLedgEntryNoOffset: Integer)
Parameters
OnVendUnrealizedVATOnBeforeGetUnrealizedVATPart
[IntegrationEvent(False,False)]
local procedure OnVendUnrealizedVATOnBeforeGetUnrealizedVATPart(var GenJournalLine: Record "Gen. Journal Line"; var VendorLedgerEntry: Record "Vendor Ledger Entry"; PaidAmount: Decimal; TotalUnrealVATAmountFirst: Decimal; TotalUnrealVATAmountLast: Decimal; SettledAmount: Decimal; VATEntry2: Record "VAT Entry"; var VATPart: Decimal; var IsHandled: Boolean)
Parameters
OnAfterSetAppliedAmountFromRemainingAmount
[IntegrationEvent(False,False)]
local procedure OnAfterSetAppliedAmountFromRemainingAmount(var CVLedgEntryBuffer: Record "CV Ledger Entry Buffer"; var AppliedAmount: Decimal; var GenJnlLine: Record "Gen. Journal Line")
Parameters
OnAfterSetAppliedAmountFromRemainingAmountOnEmptyFilter
[IntegrationEvent(False,False)]
local procedure OnAfterSetAppliedAmountFromRemainingAmountOnEmptyFilter(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var AppliedAmount: Decimal; var GenJnlLine: Record "Gen. Journal Line")
Parameters
OnCalcPmtDiscBeforeInitDetailedCVLedgEntryBuff
[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscBeforeInitDetailedCVLedgEntryBuff(var GenJnlLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnCalcPmtDiscToleranceBeforeInitDetailedCVLedgEntryBuff
[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscToleranceBeforeInitDetailedCVLedgEntryBuff(var GenJnlLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnBeforeCheckDetVendLedgEntryMultiplePostingGrOnBeforeUnapply
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDetVendLedgEntryMultiplePostingGrOnBeforeUnapply(var DetailedVendorLedgEntry2: Record "Detailed Vendor Ledg. Entry"; var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; var MultiplePostingGroupsDetected: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeCheckDetCustLedgEntryMultiplePostingGrOnBeforeUnapply
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDetCustLedgEntryMultiplePostingGrOnBeforeUnapply(var DetailedCustLedgEntry2: Record "Detailed Cust. Ledg. Entry"; var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var MultiplePostingGroupsDetected: Boolean; var IsHandled: Boolean)
Parameters
OnPostBankAccOnBeforeCheckCurrencyCode
[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeCheckCurrencyCode(var GenJournalLine: Record "Gen. Journal Line"; BankAccount: Record "Bank Account"; var IsHandled: Boolean)
Parameters
OnBeforeCreateNormalVATGLEntries
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateNormalVATGLEntries(GenJournalLine: Record "Gen. Journal Line"; var VATPostingSetup: Record "VAT Posting Setup")
Parameters
OnBeforePostCust
[IntegrationEvent(False,False)]
local procedure OnBeforePostCust(var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeInitNextEntryNo
[IntegrationEvent(False,False)]
local procedure OnBeforeInitNextEntryNo(var GLEntry: Record "G/L Entry"; var NextEntryNo: Integer; var NextTransactionNo: Integer; var IsHandled: Boolean)
Parameters
OnAfterInitNextEntryNo
[IntegrationEvent(False,False)]
local procedure OnAfterInitNextEntryNo(var GLEntry: Record "G/L Entry"; var NextEntryNo: Integer; var NextTransactionNo: Integer)
Parameters
OnPostDeferralOnAfterGetNonDeductibleVATPct
[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnAfterGetNonDeductibleVATPct(GenJournalLine: Record "Gen. Journal Line"; DeferralDocType: Enum "Deferral Document Type"; var NonDeductibleVATPct: Decimal)
Parameters
OnAfterGetGLSetup
[IntegrationEvent(False,False)]
local procedure OnAfterGetGLSetup(var GLSetup: Record "General Ledger Setup"; var GLSetupRead: Boolean; AddCurrencyCode: Code[10])
Parameters
OnAfterSetDtldEmplLedgEntryNoOffset
[IntegrationEvent(False,False)]
local procedure OnAfterSetDtldEmplLedgEntryNoOffset(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var DtldCustLedgEntryNoOffset: Integer)
Parameters
OnUnapplyEmplLedgEntryOnAfterFilterSourceEntries
[IntegrationEvent(False,False)]
local procedure OnUnapplyEmplLedgEntryOnAfterFilterSourceEntries(var DetailedEmployeeLedgEntry: Record "Detailed Employee Ledger Entry"; var DetailedEmployeeLedgEntry2: Record "Detailed Employee Ledger Entry")
Parameters
OnBeforeCheckBankAccPostingGroup
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckBankAccPostingGroup(GeneralLedgerSetup: Record "General Ledger Setup"; GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
Parameters
OnAfterCheckGLAccDimError
[IntegrationEvent(False,False)]
local procedure OnAfterCheckGLAccDimError(GenJournalLine: Record "Gen. Journal Line")
Parameters
OnBeforeInitDetailedCVLedgEntryBufCalcPmtTolerance
[IntegrationEvent(False,False)]
local procedure OnBeforeInitDetailedCVLedgEntryBufCalcPmtTolerance(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; var PmtTolAmtToBeApplied: Decimal; NextTransactionNo: Integer; FirstNewVATEntryNo: Integer; var PmtTol: Decimal; var PmtTolLCY: Decimal; var PmtTolAddCurr: Decimal)
Parameters
OnCodeOnAfterCheckGenJnlLine
[IntegrationEvent(True,False)]
local procedure OnCodeOnAfterCheckGenJnlLine(var GenJnlLine: Record "Gen. Journal Line"; CheckLine: Boolean)
Parameters
OnBeforeCreateGLEntriesForTotalAmountsUnapplyEmployee
[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntriesForTotalAmountsUnapplyEmployee(DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry"; var EmployeePostingGroup: Record "Employee Posting Group"; GenJournalLine: Record "Gen. Journal Line"; var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary; var IsHandled: Boolean)
Parameters
OnBeforeIncrNextVATEntryNo
[IntegrationEvent(False,False)]
local procedure OnBeforeIncrNextVATEntryNo(var NextVATEntryNo: Integer; var IsHandled: Boolean)
Parameters
| Name |
Type |
Description |
|
NextVATEntryNo
|
Integer |
|
|
IsHandled
|
Boolean |
|
OnBeforeIncrNextEntryNo
[IntegrationEvent(False,False)]
local procedure OnBeforeIncrNextEntryNo(var NextEntryNo: Integer; var IsHandled: Boolean)
Parameters
| Name |
Type |
Description |
|
NextEntryNo
|
Integer |
|
|
IsHandled
|
Boolean |
|
OnPostApplyOnAfterFindAmtForApplnOnBeforeCalcCurrencyUnrealizedGainLoss
[IntegrationEvent(False,False)]
local procedure OnPostApplyOnAfterFindAmtForApplnOnBeforeCalcCurrencyUnrealizedGainLoss(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; var AppliedAmount: Decimal; var AppliedAmountLCY: Decimal; var OldAppliedAmount: Decimal; var ApplnRoundingPrecision: Decimal; var VATEntry: Record "VAT Entry")
Parameters
OnBeforeInitGLEntryForGLAcc
[IntegrationEvent(True,False)]
local procedure OnBeforeInitGLEntryForGLAcc(GenJnlLine: Record "Gen. Journal Line"; GLAcc: Record "G/L Account"; var GLEntry: Record "G/L Entry"; var TaxAmount: Decimal; var TaxAmountLCY: Decimal; var IsHandled: Boolean)
Parameters
OnBeforePostingDeferral
[IntegrationEvent(True,False)]
local procedure OnBeforePostingDeferral(GenJnlLine: Record "Gen. Journal Line"; VendLedgEntry: Record "Vendor Ledger Entry"; TaxAmount: Decimal; TaxAmountLCY: Decimal; NextTransactionNo: Integer; var NextTaxEntryNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeBankAccLedgEntryUpdateAmounts
[IntegrationEvent(False,False)]
local procedure OnBeforeBankAccLedgEntryUpdateAmounts(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; BankAccount: Record "Bank Account"; TaxAmount: Decimal; TaxAmountLCY: Decimal)
Parameters
OnBeforeCopyFromCVLedgEntryBuffer
[IntegrationEvent(False,False)]
local procedure OnBeforeCopyFromCVLedgEntryBuffer(var GenJnlLine: Record "Gen. Journal Line"; OldVendLedgEntry: Record "Vendor Ledger Entry"; TempOldVendLedgEntry: Record "Vendor Ledger Entry" temporary; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; AppliedAmount: Decimal; var RemainingTaxAmount: Decimal; NextTransactionNo: Integer; var NextTaxEntryNo: Integer)
Parameters
OnBeforeUpdateOldVendLedgEntryAmountToApply
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateOldVendLedgEntryAmountToApply(GenJnlLine: Record "Gen. Journal Line"; var OldVendLedgEntry: Record "Vendor Ledger Entry"; OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; RemainingTaxAmount: Decimal; AppliedAmount: Decimal; var IsHandled: Boolean)
Parameters
OnStartPostingOnAfterSetNextTaxEntryNo
[IntegrationEvent(True,False)]
local procedure OnStartPostingOnAfterSetNextTaxEntryNo(var NextTaxEntryNo: Integer)
Parameters
| Name |
Type |
Description |
|
NextTaxEntryNo
|
Integer |
|
OnPostUnapplyOnBeforeInsertTempVATEntry
[IntegrationEvent(False,False)]
local procedure OnPostUnapplyOnBeforeInsertTempVATEntry(var VATEntry: Record "VAT Entry"; var UnapplyVATEntries: Boolean)
Parameters
OnPostEmployeeOnAfterInitEmployeeLedgerEntry
[IntegrationEvent(False,False)]
local procedure OnPostEmployeeOnAfterInitEmployeeLedgerEntry(var GenJnlLine: Record "Gen. Journal Line"; var EmployeeLedgerEntry: Record "Employee Ledger Entry"; Employee: Record Employee; var TaxAmount: Decimal; var TaxBaseAmount: Decimal)
Parameters
OnAfterPostEmployee
[IntegrationEvent(True,False)]
local procedure OnAfterPostEmployee(GenJnlLine: Record "Gen. Journal Line"; EmployeeLedgerEntry: Record "Employee Ledger Entry"; TaxAmount: Decimal; TaxBaseAmount: Decimal; NextTransactionNo: Integer; var NextTaxEntryNo: Integer)
Parameters
See also