Retun value: G/L Register that has been created during the posting process.
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
Return value: General Journal Line that is being be posted.
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
Return value: VAT Posting Setup applicable to Gen. Journal Line that is being posted. Record is retrieved in this procedure and returned.
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")
VAT Posting Setup applicable to Gen. Journal Line that is being posted.
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.
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")
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")
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")
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")
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
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)
Balance account type to be used for the g/l entry.
BalAccNo
Code[20]
Balance account no. to be used for the g/l entry.
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.
DtldCVLedgerEntry Buffer that holds the information about posting groups and tax information that will be used for g/l entry creation.
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)
Remaining amount on the ledger entry that the application is performed to.
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")
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)
Customer that the customer ledger entries are created for.
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")
Customer posting group to be used for detailed cust. ledger entries.
LedgEntryInserted
Boolean
Flag if customer ledger entries have already been created in the same transaction.
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)
Vendor that the vendor ledger entries are created for.
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)
Employee that the employee ledger entries are created for.
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")
Vendor ledger entry that the new application should be applied to.
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")
Employee posting group to be used for detailed employee ledger entries.
LedgEntryInserted
Boolean
Flag if employee ledger entries have already been created in the same transaction.
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)
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)
Original new customer/vendor/employee ledger entry.
BlockPaymentTolerance
Boolean
Flag is payment tolerance should be checked.
AllApplied
Boolean
Flag that determines if more applications can be made.
AppliedAmount
Decimal
Amount that should be used for the application.
PmtTolAmtToBeApplied
Decimal
Payment tolerance amount to be applied.
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")
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")
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")
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])
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
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
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])
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.
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 GLEntryNo: Integer, var SavedEntryNo: Integer)
Parameters
Name
Type
Description
GLEntryNo
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")
TempGLEntryBuf is a global temporary/buffer table used to accumulate all the g/l entries that will be posted
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)
[IntegrationEvent(True,False)]
local procedure OnBeforeRunWithoutCheck(var GenJournalLine: Record "Gen. Journal Line", var GenJournalLine2: Record "Gen. Journal Line", var GLEntryNo: Integer, var IsHandled: Boolean)
[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)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGLAccDimError(var GenJournalLine: Record "Gen. Journal Line", GLAccNo: Code[20], var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGLAccDirectPosting(var GenJournalLine: Record "Gen. Journal Line", GLAcc: Record "G/L Account", var IsHandled: Boolean)
[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)
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeApplyVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnCreateGLEntryVATOnBeforeInsertGLEntry(GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry")
[IntegrationEvent(False,False)]
local procedure OnInitGLEntryVATCopyOnBeforeSummarizeVAT(GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", VATEntry: Record "VAT Entry")
[IntegrationEvent(False,False)]
local procedure OnCreateGLEntryOnBeforeInsertGLEntry(GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", VATEntry: Record "VAT Entry")
[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)
[IntegrationEvent(False,False)]
local procedure OnBeforeCustUnrealizedVAT(var GenJnlLine: Record "Gen. Journal Line", var CustLedgEntry: Record "Cust. Ledger Entry", SettledAmount: Decimal, var IsHandled: Boolean)
[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)
[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")
[IntegrationEvent(False,False)]
local procedure OnBeforePostPmtDiscountVATByUnapply(var GenJournalLine: Record "Gen. Journal Line", var VATEntry: Record "VAT Entry")
[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")
[IntegrationEvent(False,False)]
local procedure OnBeforeVendUnrealizedVAT(var GenJnlLine: Record "Gen. Journal Line", var VendorLedgerEntry: Record "Vendor Ledger Entry", SettledAmount: Decimal, var IsHandled: Boolean)
[IntegrationEvent(True,False)]
local procedure OnAfterCustLedgEntryInsert(var CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var DtldLedgEntryInserted: Boolean, PreviewMode: Boolean)
This element will become obsolete from version 25.0. This event is obsolete. Use OnAfterCustLedgEntryInsert instead.
[Obsolete(This event is obsolete. Use OnAfterCustLedgEntryInsert instead.,25.0)]
[IntegrationEvent(True,False)]
local procedure OnAfterCustLedgEntryInsertInclPreviewMode(var CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", DtldLedgEntryInserted: Boolean, PreviewMode: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertVATOnAfterCalcVATDifferenceLCY(GenJournalLine: Record "Gen. Journal Line", VATEntry: Record "VAT Entry", var VATDifferenceLCY: Decimal, var CurrExchRate: Record "Currency Exchange Rate")
[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)
[IntegrationEvent(True,False)]
local procedure OnAfterVendLedgEntryInsert(var VendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var DtldLedgEntryInserted: Boolean, PreviewMode: Boolean)
This element will become obsolete from version 25.0. This event is obsolete. Use OnAfterVendLedgEntryInsert instead.
[Obsolete(This event is obsolete. Use OnAfterVendLedgEntryInsert instead.,25.0)]
[IntegrationEvent(True,False)]
local procedure OnAfterVendLedgEntryInsertInclPreviewMode(var VendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var DtldLedgEntryInserted: Boolean, PreviewMode: Boolean)
[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")
[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")
[IntegrationEvent(False,False)]
local procedure OnAfterInitGLRegister(var GLRegister: Record "G/L Register", var GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnAfterInitBankAccLedgEntry(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnAfterInitCheckLedgEntry(var CheckLedgerEntry: Record "Check Ledger Entry", BankAccountLedgerEntry: Record "Bank Account Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnAfterInitCustLedgEntry(var CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var GLRegister: Record "G/L Register")
[IntegrationEvent(False,False)]
local procedure OnAfterInitVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var GLRegister: Record "G/L Register")
[IntegrationEvent(False,False)]
local procedure OnAfterInitEmployeeLedgerEntry(var EmployeeLedgerEntry: Record "Employee Ledger Entry", GenJournalLine: Record "Gen. Journal Line")
[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")
[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")
[IntegrationEvent(True,False)]
local procedure OnAfterInsertGLEntry(GLEntry: Record "G/L Entry", GenJnlLine: Record "Gen. Journal Line", TempGLEntryBuf: Record "G/L Entry" temporary, CalcAddCurrResiduals: Boolean)
[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)
[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)
[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)
[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)
[IntegrationEvent(True,False)]
local procedure OnAfterPostPmtDiscountVATByUnapply(var GenJournalLine: Record "Gen. Journal Line", var VATEntry: Record "VAT Entry")
[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")
[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnBeforeCustUnrealizedVAT(CustLedgerEntry: Record "Cust. Ledger Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnBeforeUnrealizedVAT(CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var IsHandled: Boolean)
[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)
[IntegrationEvent(False,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")
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnBeforeVendLedgEntryInsert(var VendorLedgerEntry: Record "Vendor Ledger Entry", var GenJournalLine: Record "Gen. Journal Line", GLRegister: Record "G/L Register")
[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)
[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")
[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)
[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")
[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")
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertGlobalGLEntry(var GlobalGLEntry: Record "G/L Entry", GenJournalLine: Record "Gen. Journal Line", GLRegister: Record "G/L Register", FiscalYearStartDate: Date)
[IntegrationEvent(False,False)]
local procedure OnBeforeInitAmounts(var GenJnlLine: Record "Gen. Journal Line", var Currency: Record Currency, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeInitBankAccLedgEntry(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeInitCheckEntry(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", var CheckLedgerEntry: Record "Check Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeInitCustLedgEntry(var CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeInitEmployeeLedgEntry(var EmployeeLedgerEntry: Record "Employee Ledger Entry", GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeInitVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line")
[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)
[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)
[IntegrationEvent(True,False)]
local procedure OnBeforeInsertVATForGLEntryFromBuffer(var GenJnlLine: Record "Gen. Journal Line", var VATPostingSetup: Record "VAT Posting Setup", VATPostingParameters: Record "VAT Posting Parameters" temporary, var IsHandled: Boolean, var VATEntry: Record "VAT Entry", TaxJurisdiction: Record "Tax Jurisdiction", AddCurrencyCode: Code[10])
[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")
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertPostUnrealVATEntry(var VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line", var VATEntry2: Record "VAT Entry")
[IntegrationEvent(True,False)]
local procedure OnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line", var TempGLEntryBuf: Record "G/L Entry" temporary)
[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")
[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)
[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)
[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")
[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")
[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)
[IntegrationEvent(False,False)]
local procedure OnAfterPostDeferral(var GenJournalLine: Record "Gen. Journal Line", var TempGLEntryBuf: Record "G/L Entry" temporary, AccountNo: Code[20])
[IntegrationEvent(True,False)]
local procedure OnBeforePostDeferral(var GenJournalLine: Record "Gen. Journal Line", var AccountNo: Code[20], var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforePostJob(var GenJournalLine: Record "Gen. Journal Line", GLEntry: Record "G/L Entry", var IsJobLine: Boolean, var IsHandled: Boolean)
[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)
[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntriesForTotalAmountsUnapplyProcedure(GenJournalLine: Record "Gen. Journal Line", var TempDimensionPostingBuffer: Record "Dimension Posting Buffer" temporary, GLAccountNo: Code[20], var IsHandled: Boolean)
[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")
[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)
[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)
[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)
[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)
[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)
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnCalcApplicationOnBeforeCheckAppliedAmount(GenJournalLine: Record "Gen. Journal Line", AppliedAmount: Decimal, var IsHandled: Boolean)
[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)
[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])
[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)
[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)
[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)
[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)
[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)
[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)
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnBeforeGetCustomerReceivablesAccount(GenJournalLine: Record "Gen. Journal Line", CustomerPostingGroup: Record "Customer Posting Group", var ReceivablesAccount: Code[20], var IsHandled: Boolean)
[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)
[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)
[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")
[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)
[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscVATBases(VATEntry2: Record "VAT Entry", var VATBase: Decimal, var VATBaseAddCurr: Decimal, var NonDeductibleVATBase: Decimal, var NonDeductibleVATBaseAddCurr: Decimal)
[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)
[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)
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscPossible(GenJnlLine: Record "Gen. Journal Line", var CVLedgEntryBuf: Record "CV Ledger Entry Buffer")
[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)
[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")
[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")
[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")
[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")
[IntegrationEvent(False,False)]
local procedure OnCalcApplicationOnAfterFillOldCVLedgEntryBufOpen(var GenJnlLine: Record "Gen. Journal Line", var OldCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnCalcApplicationOnAfterCalcShouldSetClosedFields(CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var ShouldSetClosedFields: Boolean)
[IntegrationEvent(True,False)]
local procedure OnAfterSettingIsTransactionConsistent(GenJournalLine: Record "Gen. Journal Line", var IsTransactionConsistent: Boolean)
[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)
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtDiscPossible(var GenJnlLine: Record "Gen. Journal Line", var CVLedgEntryBuf: Record "CV Ledger Entry Buffer", var IsHandled: Boolean, RoundingPrecision: Decimal)
[IntegrationEvent(False,False)]
local procedure OnBeforeCustPostApplyCustLedgEntry(var GenJnlLinePostApply: Record "Gen. Journal Line", var CustLedgEntryPostApply: Record "Cust. Ledger Entry", var IsHandled: Boolean)
[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)
[IntegrationEvent(False,False)]
local procedure OnBeforeVendPostApplyVendLedgEntry(var GenJnlLinePostApply: Record "Gen. Journal Line", var VendLedgEntryPostApply: Record "Vendor Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeRunCheck(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)
[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")
[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")
[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)
[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")
[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)
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateGLEntryGainLossInsertGLEntry(var GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry")
[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)
[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)
[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)
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnAfterHandleAddCurrResidualGLEntry(GenJournalLine: Record "Gen. Journal Line", GLEntry2: Record "G/L Entry")
[IntegrationEvent(False,False)]
local procedure OnAfterUnapplyVendLedgEntry(GenJournalLine2: Record "Gen. Journal Line", DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")
[IntegrationEvent(False,False)]
local procedure OnAfterUnapplyEmplLedgEntry(GenJournalLine2: Record "Gen. Journal Line", DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnAfterSalesTaxCalculateCalculateTax(var GenJournalLine: Record "Gen. Journal Line", GLEntry: Record "G/L Entry", Currency: Record Currency)
[IntegrationEvent(False,False)]
local procedure OnAfterSalesTaxCalculateInitSalesTaxLines(var GenJournalLine: Record "Gen. Journal Line", GLEntry: Record "G/L Entry", SalesTaxBaseAmount: Decimal)
[IntegrationEvent(False,False)]
local procedure OnAfterSalesTaxCalculateReverseCalculateTax(var GenJournalLine: Record "Gen. Journal Line", GLEntry: Record "G/L Entry", Currency: Record Currency)
[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")
[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)
[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")
[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)
[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)
[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)
[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")
[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)
[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")
[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")
[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)
[IntegrationEvent(False,False)]
local procedure OnApplyVendLedgEntryOnBeforeVendUnrealizedVAT(VendLedgerEntry: Record "Vendor Ledger Entry", var IsHandled: Boolean)
[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)
[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntryForTotalAmountsForDimPostBuf(var GenJnlLine: Record "Gen. Journal Line", TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary, var GLAccNo: Code[20])
[IntegrationEvent(False,False)]
local procedure OnBeforeCustLedgEntryModify(var CustLedgerEntry: Record "Cust. Ledger Entry", DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeVendLedgEntryModify(var VendorLedgerEntry: Record "Vendor Ledger Entry", DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeEmplLedgEntryModify(var EmployeeLedgerEntry: Record "Employee Ledger Entry", DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")
[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)
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeTestPositive(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)
[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])
[IntegrationEvent(False,False)]
local procedure OnBeforeSetDeferralDescriptionFromDeferralLine(DeferralLine: Record "Deferral Line", var DeferralDescription: Text[100], var IsHandled: Boolean, GLAccountNo: Code[20])
[IntegrationEvent(False,False)]
local procedure OnBeforeSetDeferralDescriptionFromDeferralPostingBuffer(DeferralPostingBuffer: Record "Deferral Posting Buffer", var DeferralDescription: Text[100], var IsHandled: Boolean, GLAccountNo: Code[20])
[IntegrationEvent(False,False)]
local procedure OnBeforeSummarizeVATFromInitGLEntryVAT(var GLEntry: Record "G/L Entry", Amount: Decimal, var IsHandled: Boolean)
[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)
[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")
[IntegrationEvent(True,False)]
local procedure OnCalcPmtDiscIfAdjVATOnBeforeInsertSummarizedVATAfterLoop(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer")
[IntegrationEvent(True,False)]
local procedure OnCalcPmtDiscIfAdjVATOnBeforeInsertSummarizedVATAdjForPaymentDiscount(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer")
[IntegrationEvent(True,False)]
local procedure OnCalcPmtDiscIfAdjVATOnBeforeInsertPmtDiscVATForGLEntry(var VATEntry: Record "VAT Entry", VATEntry2: Record "VAT Entry", DtldCVLedgEntryBuf2: Record "Detailed CV Ledg. Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnCreateGLEntriesForTotalAmountsUnapplyOnBeforeCreateGLEntryV19(var GenJnlLine: Record "Gen. Journal Line", var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary, var GLAccNo: Code[20])
[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)
[IntegrationEvent(True,False)]
local procedure OnCodeOnAfterRunExhangeAccGLJournalLine(var GenJournalLine: Record "Gen. Journal Line", Balancing: Boolean, var NextEntryNo: Integer, var JobLine: Boolean)
[IntegrationEvent(False,False)]
local procedure OnContinuePostingOnBeforeCalculateCurrentBalance(var GenJournalLine: Record "Gen. Journal Line", var NextTransactionNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnAfterCustLedgEntryTransferFields(var CustLedgerEntry: Record "Cust. Ledger Entry", var GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeCheckPostingGroup(var GenJournalLine: Record "Gen. Journal Line", var Customer: Record Customer)
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line", CustLedgEntry: Record "Cust. Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforePostDtldCustLedgEntries(var CustLedgerEntry: Record "Cust. Ledger Entry")
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnInitVATOnAfterSetGLEntryVATAmountForNormalVAT(GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry")
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnInsertGLEntryOnBeforeCheckAmountRounding(var GLEntry: Record "G/L Entry", var IsHandled: Boolean, var GenJnlLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnInsertGLEntryOnBeforeAssignTempGLEntryBuf(var GLEntry: Record "G/L Entry", GenJournalLine: Record "Gen. Journal Line", GLRegister: Record "G/L Register")
[IntegrationEvent(False,False)]
local procedure OnInsertTempVATEntryOnBeforeInsert(var VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line", SourceVATEntry: Record "VAT Entry")
[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")
[IntegrationEvent(False,False)]
local procedure OnInsertVATOnAfterAssignVATEntryFields(GenJnlLine: Record "Gen. Journal Line", var VATEntry: Record "VAT Entry", CurrExchRate: Record "Currency Exchange Rate")
[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)
[IntegrationEvent(False,False)]
local procedure OnInsertVATOnBeforeVATForGLEntry(var GenJournalLine: Record "Gen. Journal Line", var GLEntryVATAmountNotEmpty: Boolean)
[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)
[IntegrationEvent(True,False)]
local procedure OnPostBankAccOnAfterBankAccLedgEntryInsert(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", var GenJournalLine: Record "Gen. Journal Line", BankAccount: Record "Bank Account")
[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)
[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")
[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")
[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")
[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")
[IntegrationEvent(True,False)]
local procedure OnPostBankAccOnAfterCheckLedgEntrySetFilters(var CheckLedgEntry: Record "Check Ledger Entry", GenJnlLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeModifyCheckLedgerEntry(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)
[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)
[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")
[IntegrationEvent(True,False)]
local procedure OnPostCustOnAfterCalcShouldCheckDocNo(var GenJournalLine: Record "Gen. Journal Line", var ShouldCheckDocNo: Boolean)
[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")
[IntegrationEvent(True,False)]
local procedure OnPostCustOnAfterTempDtldCVLedgEntryBufCopyFromGenJnlLine(var GenJournalLine: Record "Gen. Journal Line", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary)
[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")
[IntegrationEvent(False,False)]
local procedure OnPostCustOnBeforeCopyFromCustLedgEntry(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line", Customer: Record Customer)
[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")
[IntegrationEvent(False,False)]
local procedure OnPostVendOnAfterCopyCVLedgEntryBuf(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnPostEmployeeOnAfterCopyCVLedgEntryBuf(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line")
[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")
[IntegrationEvent(False,False)]
local procedure OnPostVendAfterTempDtldCVLedgEntryBufInit(var GenJnlLine: Record "Gen. Journal Line", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary)
[IntegrationEvent(False,False)]
local procedure OnPostVendOnBeforeCopyCVLedgEntryBuf(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line", Vendor: Record Vendor)
[IntegrationEvent(False,False)]
procedure OnPostVendOnBeforeGetVendorPayablesAccount(GenJournalLine: Record "Gen. Journal Line", VendorPostingGroup: Record "Vendor Posting Group", var PayablesAccount: Code[20], var IsHandled: Boolean)
[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)
[IntegrationEvent(False,False)]
local procedure OnPostDtldCVLedgEntryOnAfterCreateGLEntryPmtDiscTol(DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", TempGLEntryBuf: Record "G/L Entry" temporary)
[IntegrationEvent(False,False)]
local procedure OnPostDtldCVLedgEntryOnAfterCreateGLEntryPmtDiscTolVATExcl(DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", TempGLEntryBuf: Record "G/L Entry" temporary)
[IntegrationEvent(False,False)]
local procedure OnPostDtldCustLedgEntriesOnAfterCreateGLEntriesForTotalAmounts(var TempGLEntryBuf: Record "G/L Entry" temporary, var GlobalGLEntry: Record "G/L Entry", NextTransactionNo: Integer)
[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)
[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)
[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")
[IntegrationEvent(False,False)]
local procedure OnPostDtldVendLedgEntriesOnAfterCreateGLEntriesForTotalAmounts(var TempGLEntryBuf: Record "G/L Entry" temporary, var GlobalGLEntry: Record "G/L Entry", NextTransactionNo: Integer)
[IntegrationEvent(True,False)]
local procedure OnPostDtldEmplLedgEntriesOnAfterCreateGLEntriesForTotalAmounts(var TempGLEntryBuf: Record "G/L Entry" temporary, var GlobalGLEntry: Record "G/L Entry", NextTransactionNo: Integer)
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnPostDtldVendVATAdjustmentOnAfterFindVATEntry(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var VATEntry: Record "VAT Entry")
[IntegrationEvent(True,False)]
local procedure OnPostGLAccOnBeforeInsertGLEntry(var GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var IsHandled: Boolean, Balancing: Boolean)
[IntegrationEvent(True,False)]
local procedure OnPostGLAccOnAfterInitGLEntry(var GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry")
[IntegrationEvent(True,False)]
local procedure OnPostFixedAssetOnBeforeAssignGLEntry(var GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var GLEntry2: Record "G/L Entry")
[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)
[IntegrationEvent(False,False)]
local procedure OnAfterPostFixedAsset(var GenJournalLine: Record "Gen. Journal Line", var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary)
[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetOnBeforeInitGLEntryFromTempFAGLPostBuf(var GenJournalLine: Record "Gen. Journal Line", var TempFAGLPostBuf: Record "FA G/L Posting Buffer" temporary)
[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)
[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnBeforeInsertGLEntryForGLAccount(var GenJournalLine: Record "Gen. Journal Line", DeferralLine: Record "Deferral Line", var GLEntry: Record "G/L Entry", GLRegisterNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnBeforeInsertGLEntryForDeferralAccount(var GenJournalLine: Record "Gen. Journal Line", DeferralLine: Record "Deferral Line", var GLEntry: Record "G/L Entry")
[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnBeforeInsertGLEntryDeferralLineForGLAccount(var GenJournalLine: Record "Gen. Journal Line", DeferralLine: Record "Deferral Line", var GLEntry: Record "G/L Entry")
[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnBeforeInsertGLEntryDeferralLineForDeferralAccount(var GenJournalLine: Record "Gen. Journal Line", DeferralLine: Record "Deferral Line", var GLEntry: Record "G/L Entry")
[IntegrationEvent(True,False)]
local procedure OnPostDeferralOnAfterInsertGLEntry(var GenJournalLine: Record "Gen. Journal Line", TempDeferralLine: Record "Deferral Line" temporary)
[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")
[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnBeforeInsertGLEntryForGLAccount(var GenJournalLine: Record "Gen. Journal Line", DeferralPostingBuffer: Record "Deferral Posting Buffer", var GLEntry: Record "G/L Entry")
[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnBeforeInsertGLEntryForDeferralAccount(var GenJournalLine: Record "Gen. Journal Line", DeferralPostingBuffer: Record "Deferral Posting Buffer", var GLEntry: Record "G/L Entry")
[IntegrationEvent(True,False)]
local procedure OnPostDeferralPostBufferOnAfterInsertGLEntry(var GenJournalLine: Record "Gen. Journal Line", var DeferralPostBuffer: Record "Deferral Posting Buffer")
[IntegrationEvent(True,False)]
local procedure OnPostDeferralPosBufferOnBeforeDeleteDeferralPostBuffer(var GenJournalLine: Record "Gen. Journal Line", var DeferralPostBuffer: Record "Deferral Posting Buffer")
[IntegrationEvent(False,False)]
local procedure OnPostEmployeeOnAfterPostDtldEmplLedgEntries(GenJournalLine: Record "Gen. Journal Line", var EmployeeLedgerEntry: Record "Employee Ledger Entry", var DtldLedgEntryInserted: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostUnapplyOnAfterVATEntrySetFilters(var VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(True,False)]
local procedure OnPostUnapplyOnBeforeVATEntryInsert(var VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line", OrigVATEntry: Record "VAT Entry")
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeTestPositive(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeTempOldCustLedgEntryInsert(var CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnPrepareTempEmplLedgEntryOnAppToIDOnBeforeTempOldEmplLedgEntryInsert(var EmplLedgEntry: Record "Employee Ledger Entry", GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnPrepareTempEmplLedgEntryOnAppDocNoOnBeforeTempOldEmplLedgEntryInsert(var EmplLedgEntry: Record "Employee Ledger Entry", GenJournalLine: Record "Gen. Journal Line")
[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)
[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnAfterSetFilters(var OldVendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line", CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeTempOldVendLedgEntryInsert(var VendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnAfterCreateGLEntriesForTotalAmounts(var GenJournalLine: Record "Gen. Journal Line", DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", GLReg: Record "G/L Register")
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforeCheckPostingGroup(var GenJournalLine: Record "Gen. Journal Line", Customer: Record Customer)
[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")
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforePostUnapply(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var DetailedCustLedgEntry2: Record "Detailed Cust. Ledg. Entry")
[IntegrationEvent(True,False)]
local procedure OnUnapplyCustLedgEntryOnAfterUpdateTotals(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforeUpdateCustLedgEntry(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var DetailedCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
[IntegrationEvent(True,False)]
local procedure OnUnapplyVendLedgEntryOnAfterCreateGLEntriesForTotalAmounts(var GenJournalLine: Record "Gen. Journal Line", DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", GLReg: Record "G/L Register")
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnAfterFilterSourceEntries(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", var DetailedVendorLedgEntry2: Record "Detailed Vendor Ledg. Entry")
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeCheckPostingGroup(var GenJournalLine: Record "Gen. Journal Line", Vendor: Record Vendor)
[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")
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforePostUnapply(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", var DetailedVendorLedgEntry2: Record "Detailed Vendor Ledg. Entry")
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeUpdateVendLedgEntry(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", var DetailedCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnUnapplyEmplLedgEntryOnBeforeUpdateTotalAmounts(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCustUnrealizedVATOnAfterCalcPaidAmount(GenJnlLine: Record "Gen. Journal Line", var CustLedgEntry2: Record "Cust. Ledger Entry", SettledAmount: Decimal, var PaidAmount: Decimal)
[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)
[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])
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnAfterVendLedgEntryTransferFields(var VendorLedgerEntry: Record "Vendor Ledger Entry", var GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeCheckPostingGroup(var GenJournalLine: Record "Gen. Journal Line", Vendor: Record Vendor)
[IntegrationEvent(False,False)]
local procedure OnBeforeGetVendorPayablesAccount(GenJournalLine: Record "Gen. Journal Line", VendorPostingGroup: Record "Vendor Posting Group", var PayablesAccount: Code[20], var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line", VendorLedgerEntry: Record "Vendor Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforePostDtldVendLedgEntries(var VendorLedgEntry: Record "Vendor Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeCheckPostUnrealizedVAT(var GenJournalLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var DtldLedgEntryInserted: Boolean)
[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)
[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)
[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)
[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")
[IntegrationEvent(False,False)]
local procedure OnBeforePostUnrealVATByUnapply(GenJnlLine: Record "Gen. Journal Line", VATPostingSetup: Record "VAT Posting Setup", VATEntry: Record "VAT Entry", NewVATEntry: Record "VAT Entry")
[IntegrationEvent(False,False)]
local procedure OnAfterPostUnrealVATByUnapply(GenJnlLine: Record "Gen. Journal Line", VATPostingSetup: Record "VAT Posting Setup", VATEntry: Record "VAT Entry", NewVATEntry: Record "VAT Entry")
[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscPossibleOnBeforeOriginalPmtDiscPossible(GenJnlLine: Record "Gen. Journal Line", var CVLedgEntryBuf: Record "CV Ledger Entry Buffer", AmountRoundingPrecision: Decimal)
[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)
[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)
[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)
[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")
[IntegrationEvent(False,False)]
local procedure OnAfterGetCustomerReceivablesAccount(GenJournalLine: Record "Gen. Journal Line", CustomerPostingGroup: Record "Customer Posting Group", var ReceivablesAccount: Code[20])
[IntegrationEvent(False,False)]
local procedure OnAfterGetCustomerPostingGroup(GenJournalLine: Record "Gen. Journal Line", var CustomerPostingGroup: Record "Customer Posting Group")
[IntegrationEvent(False,False)]
local procedure OnAfterGetVendorPostingGroup(GenJournalLine: Record "Gen. Journal Line", var VendorPostingGroup: Record "Vendor Posting Group")
[IntegrationEvent(False,False)]
local procedure OnAfterGetVendorPayablesAccount(GenJournalLine: Record "Gen. Journal Line", VendorPostingGroup: Record "Vendor Posting Group", var PayablesAccount: Code[20])
[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])
[IntegrationEvent(False,False)]
local procedure OnPostUnapplyOnAfterVATEntryInsert(var VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line", OrigVATEntry: Record "VAT Entry")
[IntegrationEvent(False,False)]
local procedure OnUpdateCalcInterestOnAfterCustLedgEntrySetFilters(var CustLedgEntry: Record "Cust. Ledger Entry", CVLedgEntryBuf: Record "CV Ledger Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnVendUnrealizedVATOnAfterCalcTotalUnrealVATAmount(var VATEntry2: Record "VAT Entry", var TotalUnrealVATAmountFirst: Decimal, var TotalUnrealVATAmountLast: Decimal)
[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)
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtTolerancePossible(GenJnlLine: Record "Gen. Journal Line", PmtDiscountDate: Date, var PmtDiscToleranceDate: Date, var MaxPaymentTolerance: Decimal, var IsHandled: Boolean)
[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)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckPurchExtDocNoProcedure(var GenJnlLine: Record "Gen. Journal Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostCustOnAfterAssignCurrencyFactors(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnPostVendOnAfterAssignCurrencyFactors(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnPostEmployeeOnAfterAssignCurrencyFactors(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(True,False)]
local procedure OnInitAmountsOnAddCurrencyPostingNone(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostVendOnAfterInitVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line", var VendLedgEntry: Record "Vendor Ledger Entry", Vendor: Record Vendor)
[IntegrationEvent(True,False)]
local procedure OnInsertSummarizedVATOnAfterInsertGLEntry(var GenJnlLine: Record "Gen. Journal Line", var TempGLEntryVAT: Record "G/L Entry" temporary, NextEntryNo: Integer)
[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)
[IntegrationEvent(True,False)]
local procedure OnPostICPartnerOnBeforeCreateGLEntryBalAcc(var GenJnlLine: Record "Gen. Journal Line", NextEntryNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertGlEntry(var GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var IsHandled: Boolean)
[IntegrationEvent(True,False)]
local procedure OnAfterCreateGLEntry(var GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", NextEntryNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnAfterCalcApplication(var GenJnlLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
[IntegrationEvent(True,False)]
local procedure OnCustPostApplyCustLedgEntryOnAfterApplyCustLedgEntry(var GenJnlLine: Record "Gen. Journal Line", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnAfterCustPostApplyCustLedgEntry(var GenJnlLine: Record "Gen. Journal Line", var GLReg: Record "G/L Register", CustLedgerEntry: Record "Cust. Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnAfterSetDtldCustLedgEntryNoOffset(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var DtldCustLedgEntryNoOffset: Integer)
[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")
[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)
[IntegrationEvent(True,False)]
local procedure OnVendPostApplyVendLedgEntryOnAfterApplyVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
[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")
[IntegrationEvent(False,False)]
local procedure OnAfterVendPostApplyVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line", GLReg: Record "G/L Register")
[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")
[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)
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnAfterFillDtldCVLedgEntryBuf(var GenJnlLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnOnUnapplyCustLedgEntryOnBeforeUpdateTotalAmounts(var IsHandled: Boolean, var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnAfterSetDtldVendLedgEntryNoOffset(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var DtldVendLedgEntryNoOffset: Integer)
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnAfterFillDtldCVLedgEntryBuf(var GenJnlLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeUpdateTotalAmounts(var IsHandled: Boolean, var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnProcessTempVATEntryCustOnAfterProcessTempVATEntry(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var TempVATEntry: Record "VAT Entry")
[IntegrationEvent(False,False)]
local procedure OnGLCalcAddCurrencyPostingNone(var GenJnlLine: Record "Gen. Journal Line", Amount: Decimal, AddCurrency: Record Currency, var Result: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnGetCurrencyExchRateOnAfterSetNewCurrencyDate(var GenJnlLine: Record "Gen. Journal Line", var NewCurrencyDate: Date)
[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")
[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)
[IntegrationEvent(False,False)]
local procedure OnContinuePostingOnIncreaseNextTransactionNo(var GenJnlLine: Record "Gen. Journal Line", var NextTransactionNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostEmployeeOnBeforeEmployeeLedgerEntryInsert(var GenJnlLine: Record "Gen. Journal Line", var EmployeeLedgerEntry: Record "Employee Ledger Entry", GLRegister: Record "G/L Register")
[IntegrationEvent(False,False)]
local procedure OnPostCustOnBeforeResetCustLedgerEntryAppliesToFields(var CustLedgEntry: Record "Cust. Ledger Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostVendOnAfterAssignPayablesAccount(GenJnlLine: Record "Gen. Journal Line", VendorPostingGroup: Record "Vendor Posting Group", var PayablesAccount: Code[20])
[IntegrationEvent(False,False)]
local procedure OnPostCustOnAfterAssignReceivablesAccount(GenJnlLine: Record "Gen. Journal Line", CustomerPostingGroup: Record "Customer Posting Group", var ReceivablesAccount: Code[20])
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDimValueForDisposal(var GenJnlLine: Record "Gen. Journal Line", AccountNo: Code[20], var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterSetUnrealizedVAT(var GenJnlLine: Record "Gen. Journal Line", var VATPostingSetup: Record "VAT Posting Setup", var UnrealizedVAT: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostDtldCustVATAdjustmentOnAfterFindVATEntry(GenJnlLine: Record "Gen. Journal Line", DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnAfterPostDtldCustVATAdjustment(GenJnlLine: Record "Gen. Journal Line", DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnBeforeShowInconsistentEntries(TempGLEntryPrevie: Record "G/L Entry" temporary, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInitGLEntryOnBeforeCheckGLAccDimError(var GenJnlLine: Record "Gen. Journal Line", var GLAcc: Record "G/L Account")
[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnAfterSetPostDate(var DeferralPostBuffer: Record "Deferral Posting Buffer", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeEmplPostApplyEmplLedgEntry(var GenJnlLinePostApply: Record "Gen. Journal Line", var EmplLedgEntryPostApply: Record "Employee Ledger Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUnapplyVendLedgEntry(GenJnlLine2: Record "Gen. Journal Line", DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUnapplyCustLedgEntry(GenJnlLine2: Record "Gen. Journal Line", DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGenJnlLine(GenJnlLine: Record "Gen. Journal Line", CheckLine: Boolean, var OverrideDimErr: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUnapplyEmplLedgEntry(var GenJournalLine: Record "Gen. Journal Line", DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckCustMultiplePostingGroups(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var IsMultiplePostingGroups: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckVendMultiplePostingGroups(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var IsMultiplePostingGroups: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPrepareTempEmplLedgEntryOnBeforeUpdateRemainingAmount(var TempOldEmployeeLedgerEntry: Record "Employee Ledger Entry", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer")
[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)
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeCheckAgainstApplnCurrencyWithAppliesToDocNo(GenJournalLine: Record "Gen. Journal Line", NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", OldCustLedgerEntry: Record "Cust. Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeCheckAgainstApplnCurrency(GenJournalLine: Record "Gen. Journal Line", NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", OldCustLedgerEntry: Record "Cust. Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeCheckAgainstApplnCurrencyWithAppliesToDocNo(GenJournalLine: Record "Gen. Journal Line", NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", OldVendorLedgerEntry: Record "Vendor Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeCheckAgainstApplnCurrency(GenJournalLine: Record "Gen. Journal Line", NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", OldVendorLedgerEntry: Record "Vendor Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeInitGLEntryVATOnVendUnrealizedVAT(var VATEntry: Record "VAT Entry", var GenJournalLine: Record "Gen. Journal Line", var NextEntryNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeInitGLEntryVATOnVendUnrealizedVATForRevChargeVAT(var VATEntry: Record "VAT Entry", var GenJournalLine: Record "Gen. Journal Line", var NextEntryNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInitGLEntryVATOnBeforeSummarizeVAT(GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", VATEntry: Record "VAT Entry")
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeUpdateDetailedVendLedgEntry2(var DetailedVendLedgEntry: Record "Detailed Vendor Ledg. Entry", var DetailedCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
[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")
[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)
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforeUpdateDetailedCustLedgEntry(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var DetailedCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
[IntegrationEvent(True,False)]
local procedure OnPostGLAccOnBeforePostJob(var GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var IsHandled: Boolean, Balancing: Boolean)
[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)
[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnAfterFindDeferalPostingBuffer(var GenJournalLine: Record "Gen. Journal Line", var DeferralPostingBuffer: Record "Deferral Posting Buffer", var NonDeductibleVATPct: Decimal)
[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)
[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")
[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line", GLEntry: Record "G/L Entry", CustomerPostingGroup: Record "Customer Posting Group")
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnCheckingBankAccPostingGrGLAccountNo(var GenJournalLine: Record "Gen. Journal Line", BankAccPostingGr: Record "Bank Account Posting Group", var IsHandled: Boolean)
[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)
[IntegrationEvent(False,False)]
local procedure OnInitGLEntryOnBeforeCheckGLAccountBlocked(GenJournalLine: Record "Gen. Journal Line", GLAccount: Record "G/L Account", var IsHandled: Boolean)
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeApplyCustLedgEntry(var CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeModifyCustLedgEntry(var CustLedgerEntry: Record "Cust. Ledger Entry", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")
[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeCheckPostUnrealizedVAT(var GenJournalLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var DtldLedgEntryInserted: Boolean)
[IntegrationEvent(False,False)]
local procedure OnOnUnapplyCustLedgEntryOnBeforeProcessDetailedCustLedgEntry2InLoop(DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostDtldVendLedgEntriesOnBeforeSetDtldVendLedgEntryNoOffset(var GenJournalLine: Record "Gen. Journal Line", var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")
[IntegrationEvent(False,False)]
local procedure OnPostDtldVendLedgEntriesOnAfterSetDtldVendLedgEntryNoOffset(var GenJournalLine: Record "Gen. Journal Line", var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", var DtldVendLedgEntryNoOffset: Integer)
[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)
[IntegrationEvent(False,False)]
local procedure OnAfterSetAppliedAmountFromRemainingAmount(var CVLedgEntryBuffer: Record "CV Ledger Entry Buffer", var AppliedAmount: Decimal, var GenJnlLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnAfterSetAppliedAmountFromRemainingAmountOnEmptyFilter(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var AppliedAmount: Decimal, var GenJnlLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscBeforeInitDetailedCVLedgEntryBuff(var GenJnlLine: Record "Gen. Journal Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscToleranceBeforeInitDetailedCVLedgEntryBuff(var GenJnlLine: Record "Gen. Journal Line", var IsHandled: Boolean)
[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)
[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)
[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeCheckCurrencyCode(var GenJournalLine: Record "Gen. Journal Line", BankAccount: Record "Bank Account", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateNormalVATGLEntries(GenJournalLine: Record "Gen. Journal Line", var VATPostingSetup: Record "VAT Posting Setup")
[IntegrationEvent(False,False)]
local procedure OnBeforePostCust(var GenJournalLine: Record "Gen. Journal Line", Balancing: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeInitNextEntryNo(var GLEntry: Record "G/L Entry", var NextEntryNo: Integer, var NextTransactionNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterInitNextEntryNo(var GLEntry: Record "G/L Entry", var NextEntryNo: Integer, var NextTransactionNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnAfterGetGLSetup(var GLSetup: Record "General Ledger Setup", var GLSetupRead: Boolean, AddCurrencyCode: Code[10])
[IntegrationEvent(False,False)]
local procedure OnAfterSetDtldEmplLedgEntryNoOffset(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var DtldCustLedgEntryNoOffset: Integer)
[IntegrationEvent(False,False)]
local procedure OnUnapplyEmplLedgEntryOnAfterFilterSourceEntries(var DetailedEmployeeLedgEntry: Record "Detailed Employee Ledger Entry", var DetailedEmployeeLedgEntry2: Record "Detailed Employee Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckBankAccPostingGroup(GeneralLedgerSetup: Record "General Ledger Setup", GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)
[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)
[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)
[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")