Share via


Codeunit "Gen. Jnl.-Post Line"

ID 12
Namespace: Microsoft.Finance.GeneralLedger.Posting

Properties

Name Value
Permissions TableData "G/L Account" = r, TableData "G/L Entry" = rimd, TableData "Cust. Ledger Entry" = rimd, tabledata "Customer Posting Group" = R, TableData "Vendor Ledger Entry" = rimd, tabledata "Vendor Posting Group" = R, TableData "G/L Register" = Rimd, TableData "G/L Entry - VAT Entry Link" = rimd, TableData "VAT Entry" = Rimd, TableData "Bank Account Ledger Entry" = rimd, TableData "Check Ledger Entry" = rimd, TableData "Detailed Cust. Ledg. Entry" = Rimd, TableData "Detailed Vendor Ledg. Entry" = Rimd, TableData "Line Fee Note on Report Hist." = rim, TableData "Employee Ledger Entry" = Rimd, TableData "Detailed Employee Ledger Entry" = Rimd, tabledata "Source Code Setup" = R, tabledata "Sales & Receivables Setup" = R, tabledata "Purchases & Payables Setup" = R, TableData "FA Ledger Entry" = rimd, TableData "FA Register" = rimd, TableData "Maintenance Ledger Entry" = rimd
TableNo Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Methods

GetGLReg

Returns the G/L Register that has been created during the posting process.

procedure GetGLReg(var NewGLReg: Record "G/L Register")

Parameters

Name Type Description
NewGLReg Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

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

Parameters

Name Type Description
GenJnlLine2 Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

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

Parameters

Name Type Description
GenJnlLine2 Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

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.

IsGLEntryInconsistent

Specifies if the General Ledger Entries that have been created during the posting process are inconsistent.

procedure IsGLEntryInconsistent(): Boolean

Returns

Type Description
Boolean

True if the G/L Entry is inconsistent, false otherwise.

ShowInconsistentEntries

Shows a list of all inconsistent G/L Entries that has been produced during the posting.

procedure ShowInconsistentEntries()

InitLastDocDate

Assignes information (Document Type, Document No., Posting Date) fron Gen. Journal Line to the global variables.

procedure InitLastDocDate(GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

General Journal Line from which information is taken.

InitVAT

Initializes the G/L Entry for posting VAT depending on the VAT Posting of the Gen. Journal Line.

procedure InitVAT(var GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var VATPostingSetup: Record "VAT Posting Setup")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. Journal Line that is being posted.

GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

Return value: G/L Entry initialized with information for VAT.

VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"

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")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. Journal Line that is being posted.

GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

G/L Entry for which VAT Entry should be created.

VATPostingSetup Table Microsoft.Finance.VAT.Setup."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.

procedure InsertVAT(GenJnlLine: Record "Gen. Journal Line", VATPostingSetup: Record "VAT Posting Setup", GLEntryAmount: Decimal, GLEntryVATAmount: Decimal, GLEntryBaseAmount: Decimal, SrcCurrCode: Code[10], SrcCurrGLEntryAmt: Decimal, SrcCurrGLEntryVATAmt: Decimal, SrcCurrGLEntryBaseAmt: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. Journal Line that is being posted.

VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"

VAT Posting Setup applicable to Gen. Journal Line that is being posted.

GLEntryAmount Decimal

Amount that is used for the new VAT Entry Amount if Gen. Posting Type is Settlement.

GLEntryVATAmount Decimal

Amount that is used for the new VAT Entry Amount if Gen. Posting Type is not Settlement.

GLEntryBaseAmount Decimal

Amount that is used for the new VAT Entry Base.

SrcCurrCode Code[10]

Currency Code that has been used for the posting transaction (empty if local currency).

SrcCurrGLEntryAmt Decimal

Determines new VAT Entry amount after exhange to foreign currency.

SrcCurrGLEntryVATAmt Decimal

The VAT Amount to be used for additional currency.

SrcCurrGLEntryBaseAmt Decimal

The VAT base to be used for additional currency.

SummarizeVAT

Creates G/L Entries for VAT. If summarization is needed, before creating new entry existing ones in TempGLEntryVAT. buffer are checked. If entry in the buffer for the same G/L Account and Bal. Account already exists, just the amount is increased.

procedure SummarizeVAT(SummarizeGLEntries: Boolean, GLEntry: Record "G/L Entry")

Parameters

Name Type Description
SummarizeGLEntries Boolean

Flag if entries should be summarized.

GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

G/L Entry for which VAT G/L Entry should be created or adjusted.

InsertSummarizedVAT

Inserts summarized VAT G/L Entries for the Gen. Journal Line that is being posted. Summarized entries are taken from TempGLEntryVAT buffer.

procedure InsertSummarizedVAT(GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. Journal Line that is being posted.

Remarks

Global G/L Entry buffer for VAT is cleared at the end of procedure.

RunPostFixedAsset

Wrapper procedure for external call of PostFixedAssetPostFixedAsset, which is used for posting a Gen. Journal Line with Account Type Fixed Asset. G/L Entries, VAT Entries and FA Ledger Entries are created.

procedure RunPostFixedAsset(GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

General Journal Line that is being posted.

Remarks

In the procedure there is no check if Account Type is Fixed Asset.

PostJob

Wrapper procedure for external call of PostJob, which is used for posting a gen. journal line with account type job. G/l entries, job entries, usage related ledger entries (resourse or item and value), possibly warehouse entries are created.

procedure PostJob(GenJnlLine: Record "Gen. Journal Line", GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line that is being posted.

GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

G/l entry created for the gen. journal line.

Remarks

Procedure should not be called externally. Global variable determining if the gen. journal line is related to the job is set in the procedure.

StartPosting

Initialize global variables and G/L Register for new posting batch, locks needed tables.

procedure StartPosting(GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. Journal Line that is being posted.

ContinuePosting

If new transaction needs to be started, Unrealized VAT is check and posted, global values initialized for the new transaction. Currency is updated for the new Gen. Journal Line that is being posted, current Balance of the posting is updated.

procedure ContinuePosting(GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. Journal Line that is being posted.

FinishPosting

Checks if transaction is balanced for both local and additional currencies, inserts all G/L Entries that were created for the Gen. Journal Line. If posting is performed for application purpose, original Customer and Vendor Ledger Entries are updated to reflect that. Cost journal line is posted if cost accounting setup is setup for this purpose.

procedure FinishPosting(GenJournalLine: Record "Gen. Journal Line"): Boolean

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. Journal Line that is being posted.

Returns

Type Description
Boolean

True if balance of the transaction is balanced for both local and additional currencies.

InitGLEntry

Initializes g/l entry from gen. journal line.

procedure InitGLEntry(GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", GLAccNo: Code[20], Amount: Decimal, AmountAddCurr: Decimal, UseAmountAddCurr: Boolean, SystemCreatedEntry: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

general journal line that is being posted.

GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

Return value: g/l entry that is being created.

GLAccNo Code[20]

G/l account that will be used to create e/l entry.

Amount Decimal

Amount that will be used for g/l entry (in local currency).

AmountAddCurr Decimal

Amount that will be used for g/l entry (in additional currency).

UseAmountAddCurr Boolean

Determines if amount in the field "Additional-Currency Amount" should be used for the new g/l entry or should it be caculated.

SystemCreatedEntry Boolean

Determines if g/l entry is created by the system.

Remarks

If g/l account used for posting has restricted dimensions, error is raised. If g/l account selected for the gen. journal line is blocked or have different posting type.

InitGLEntry

procedure InitGLEntry(GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", GLAccNo: Code[20], Amount: Decimal, AmountAddCurr: Decimal, UseAmountAddCurr: Boolean, SystemCreatedEntry: Boolean, AmountSrcCurr: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GLAccNo Code[20]
Amount Decimal
AmountAddCurr Decimal
UseAmountAddCurr Boolean
SystemCreatedEntry Boolean
AmountSrcCurr Decimal

InitGLEntryVAT

Initializes g/l entry from gen. journal line and summarizes VAT g/l entries.

procedure InitGLEntryVAT(GenJnlLine: Record "Gen. Journal Line", AccNo: Code[20], BalAccNo: Code[20], Amount: Decimal, AmountAddCurr: Decimal, UseAmtAddCurr: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

General journal line that is being posted.

AccNo Code[20]

G/l account that will be used for new g/l entry.

BalAccNo Code[20]

Account that will be used for new g/l entry as the balancing account.

Amount Decimal

Amount that will be used for g/l entry (in local currency).

AmountAddCurr Decimal

Amount that will be used for g/l entry (in additional currency).

UseAmtAddCurr Boolean

Determines if amount in the field "Additional-Currency Amount" should be used for the new g/l entry or should it be caculated.

InitGLEntryVATCopy

procedure InitGLEntryVATCopy(GenJnlLine: Record "Gen. Journal Line", AccNo: Code[20], BalAccNo: Code[20], Amount: Decimal, AmountAddCurr: Decimal, VATEntry: Record "VAT Entry"): Integer

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
AccNo Code[20]
BalAccNo Code[20]
Amount Decimal
AmountAddCurr Decimal
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

Returns

Type Description
Integer

InsertGLEntry

Updates the amounts of the g/l entry and adds it to the TempGLEntryBuffer to be inserted.

procedure InsertGLEntry(GenJnlLine: Record "Gen. Journal Line", GLEntry: Record "G/L Entry", CalcAddCurrResiduals: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

General journal line that is being posted.

GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

G/l entry that needs to be inserted.

CalcAddCurrResiduals Boolean

Determined if residual rounding amount should be posted as a separate g/l entry.

Remarks

If g/l entry amount is not properly rounded, error is raised.

CreateGLEntry

Initializes the g/l entry from the general journal line and adds it to the TempGLEntryBuffer to be inserted.

procedure CreateGLEntry(GenJnlLine: Record "Gen. Journal Line", AccNo: Code[20], Amount: Decimal, AmountAddCurr: Decimal, UseAmountAddCurr: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

General journal line that is being posted.

AccNo Code[20]

G/l account that will be used for new g/l entry.

Amount Decimal

Amount that will be used for g/l entry (in local currency).

AmountAddCurr Decimal

Amount that will be used for g/l entry (in additional currency).

UseAmountAddCurr Boolean

General journal line that is being posted.

CreateGLEntry

procedure CreateGLEntry(GenJnlLine: Record "Gen. Journal Line", AccNo: Code[20], Amount: Decimal, AmountAddCurr: Decimal, UseAmountAddCurr: Boolean, AmountSrcCurr: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
AccNo Code[20]
Amount Decimal
AmountAddCurr Decimal
UseAmountAddCurr Boolean
AmountSrcCurr Decimal

CreateGLEntryBalAcc

Initializes the g/l entry from the general journal line. Fills balance account information and adds it to the TempGLEntryBuffer to be inserted.

procedure CreateGLEntryBalAcc(GenJnlLine: Record "Gen. Journal Line", AccNo: Code[20], Amount: Decimal, AmountAddCurr: Decimal, BalAccType: Enum "Gen. Journal Account Type", BalAccNo: Code[20])

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

General journal line that is being posted.

AccNo Code[20]

G/l account that will be used for new g/l entry.

Amount Decimal

Amount that will be used for g/l entry (in local currency).

AmountAddCurr Decimal

Amount that will be used for g/l entry (in additional currency).

BalAccType Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Account Type"

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.

procedure CreateGLEntryVAT(GenJnlLine: Record "Gen. Journal Line", AccNo: Code[20], Amount: Decimal, AmountAddCurr: Decimal, VATAmount: Decimal, DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

General journal line that is being posted.

AccNo Code[20]

G/l account that will be used for new g/l entry.

Amount Decimal

Amount that will be used for g/l entry (in local currency).

AmountAddCurr Decimal

Amount that will be used for g/l entry (in additional currency).

VATAmount Decimal

Vat amount that will be used for g/l entry.

DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

DtldCVLedgerEntry Buffer that holds the information about posting groups and tax information that will be used for g/l entry creation.

CreateGLEntryVATCollectAdj

Initializes the g/l entry from the general journal line and detailed cv. ledger entry buffer, adds the g/l entry to the TempGLEntryBuffer to be inserted. Collects needed adjustments, inserts vat entries.

procedure CreateGLEntryVATCollectAdj(GenJnlLine: Record "Gen. Journal Line", AccNo: Code[20], Amount: Decimal, AmountAddCurr: Decimal, VATAmount: Decimal, DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var AdjAmount: array[4] of Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

General journal line that is being posted.

AccNo Code[20]

G/l account that will be used for new g/l entry.

Amount Decimal

Amount that will be used for g/l entry (in local currency).

AmountAddCurr Decimal

Amount that will be used for g/l entry (in additional currency).

VATAmount Decimal

Vat amount that will be used for g/l entry.

DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

DtldCVLedgerEntry Buffer that holds the information about posting groups and tax information that will be used for g/l entry creation.

AdjAmount array[4] of Decimal

Return value: the adjustment amount for the g/l entry.

CalcCurrencyUnrealizedGainLoss

Calculates unrealized gains and losses, if there are any then detailed CV ledger entries are created.

procedure CalcCurrencyUnrealizedGainLoss(var CVLedgEntryBuf: Record "CV Ledger Entry Buffer", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary, GenJnlLine: Record "Gen. Journal Line", AppliedAmount: Decimal, RemainingAmountBeforeAppln: Decimal)

Parameters

Name Type Description
CVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

Return value: CV ledger entry buffer that detailed entries are created for. In the procedure amounts are modified to reflect the application.

TempDtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Return value: Buffer where created CV ledger entries should be inserted to.

GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line that is being posted.

AppliedAmount Decimal

Amount that is being applied.

RemainingAmountBeforeAppln 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")

Parameters

Name Type Description
CVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

Cv ledger entry that the adjustment should be calculated for.

DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Buffer table for detailed vendor ledger entries to be posted.

GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line that is being posted.

ApplyCustLedgEntry

Prepares and posts customer ledger entries needed for the application. Detailed customer ledger entries are created and posted for both the old and the new customer ledger entry.

procedure ApplyCustLedgEntry(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", GenJnlLine: Record "Gen. Journal Line", Cust: Record Customer)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

Return value: Buffer to collect customer ledger entries that has been created for the application.

DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Return value: Buffer to collect detailed customer ledger entries that has been created for the application.

GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line that is being posted.

Cust Table Microsoft.Sales.Customer.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")

Parameters

Name Type Description
GenJnlLinePostApply Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line that should be posted for application purpose.

CustLedgEntryPostApply Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

Customer ledger entry that the new application should be applied to.

PostDtldCustLedgEntries

Posts all detailed customer ledger entries that are stored in DtldCVLedgEntryBuf. Creates g/l entry for the total amounts.

procedure PostDtldCustLedgEntries(GenJnlLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", CustPostingGr: Record "Customer Posting Group", LedgEntryInserted: Boolean): Boolean

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line that is being posted.

DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Detailed customer ledger entries to be inserted and posted.

CustPostingGr Table Microsoft.Sales.Customer."Customer Posting Group"

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)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

Return value: Buffer to collect vendor ledger entries that has been created for the application.

DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Return value: Buffer to collect detailed vendor ledger entries that has been created for the application.

GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line that is being posted.

Vend Table Microsoft.Purchases.Vendor.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)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

Return value: Buffer to collect employee ledger entries that has been created for the application.

DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Return value: Buffer to collect detailed employee ledger entries that has been created for the application.

GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line that is being posted.

Employee Table Microsoft.HumanResources.Employee.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")

Parameters

Name Type Description
GenJnlLinePostApply Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line that should be posted for application purpose.

VendLedgEntryPostApply Table Microsoft.Purchases.Payables."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")

Parameters

Name Type Description
GenJnlLinePostApply Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line that should be posted for application purpose.

EmplLedgEntryPostApply Table Microsoft.HumanResources.Payables."Employee Ledger Entry"

Employee ledger entry that the new application should be applied to.

PostDtldVendLedgEntries

Posts all detailed vendor ledger entries that are stored in DtldCVLedgEntryBuf. Creates g/l entry for the total amounts.

procedure PostDtldVendLedgEntries(GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", VendPostingGr: Record "Vendor Posting Group", LedgEntryInserted: Boolean): Boolean

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line that is being posted.

DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Detailed vendor ledger entries to be inserted and posted.

VendPostingGr Table Microsoft.Purchases.Vendor."Vendor Posting Group"

Vendor posting group to be used for detailed vendor ledger entries.

LedgEntryInserted Boolean

Flag if vendor ledger entries have already been created in the same transaction.

Returns

Type Description
Boolean

True if any detailed vendor ledger entries has been created.

Remarks

DtldCVLedgEntryBuf is cleared after the procedure is finished.

PostDtldEmplLedgEntries

Posts all detailed employee ledger entries that are stored in DtldCVLedgEntryBuf. Creates g/l entry for the total amounts.

procedure PostDtldEmplLedgEntries(GenJnlLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", EmplPostingGr: Record "Employee Posting Group", LedgEntryInserted: Boolean): Boolean

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
EmplPostingGr Table Microsoft.HumanResources.Employee."Employee Posting Group"

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)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line that is being posted.

DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Detailed customer/vendor ledger entry to post.

AccNo Code[20]

G/l account to be used for g/l entry.

AdjAmount array[4] of Decimal

Return value: array for adjustments.

Unapply Boolean

Flag if the posting is for unapplication.

PostUnrealVATEntry

procedure PostUnrealVATEntry(GenJnlLine: Record "Gen. Journal Line", var VATEntry2: Record "VAT Entry", VATAmount: Decimal, VATBase: Decimal, VATAmountAddCurr: Decimal, VATBaseAddCurr: Decimal, GLEntryNo: Integer)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry2 Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATAmount Decimal
VATBase Decimal
VATAmountAddCurr Decimal
VATBaseAddCurr Decimal
GLEntryNo Integer

PostApply

Posts application entry to and applies it to the already existing customer/vendor/employee ledger entry. In the process g/l entries and detailed entries are created, existing customer/vendor/employee ledger entries are updated.

procedure PostApply(var GenJnlLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var NewCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", BlockPaymentTolerance: Boolean, AllApplied: Boolean, var AppliedAmount: Decimal, var PmtTolAmtToBeApplied: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line that is being posted.

DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Detailed ledger entries that has to be created to perform the application.

OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

Customer/vendor/employee ledger entrie that the application is made to.

NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

New customer/vendor/employee ledger entry that might have been adjusted through events.

NewCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

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")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line being posted.

DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"

Detailed ledger entry that is currently applied

Remarks

Customer, detailed customer ledger and vat entries are being locked

UnapplyVendLedgEntry

Creates and posts un-applying entry for currently applied detailed vendor ledger entry. G/l entry with unapplied amount is created as part of the process Related vendor ledger entry is being updated as part of the process Unrealized vat is posted

procedure UnapplyVendLedgEntry(GenJournalLine: Record "Gen. Journal Line", DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line being posted.

DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"

Detailed ledger entry that is currently applied

Remarks

Vendor, detailed vendor ledger and vat entries are being locked

UnapplyEmplLedgEntry

Creates and posts un-applying entry for currently applied detailed employee ledger entry. G/l entry with unapplied amount is created as part of the process Related employee ledger entry is being updated as part of the process

procedure UnapplyEmplLedgEntry(GenJournalLine: Record "Gen. Journal Line", DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Gen. journal line being posted.

DetailedEmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Detailed Employee Ledger Entry"

Detailed Employee Ledger Entry that is currently applied

Remarks

Employee and detailed employee ledger entries are being locked

GLCalcAddCurrency

procedure GLCalcAddCurrency(Amount: Decimal, AddCurrAmount: Decimal, OldAddCurrAmount: Decimal, UseAddCurrAmount: Boolean, GenJnlLine: Record "Gen. Journal Line"): Decimal

Parameters

Name Type Description
Amount Decimal
AddCurrAmount Decimal
OldAddCurrAmount Decimal
UseAddCurrAmount Boolean
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Returns

Type Description
Decimal

CalcLCYToAddCurr

Converts amount to additional reporting currency

procedure CalcLCYToAddCurr(AmountLCY: Decimal): Decimal

Parameters

Name Type Description
AmountLCY Decimal

Amount in local currency

Returns

Type Description
Decimal

Amount in additional reporting currency

Remarks

If additional reporting currency is not set, conversion is not performed.

ExchangeAmtLCYToFCY2

Converts amount from local to foreign currency.

procedure ExchangeAmtLCYToFCY2(Amount: Decimal): Decimal

Parameters

Name Type Description
Amount Decimal

Amount to be converted

Returns

Type Description
Decimal

Amount in foreign currency

CheckNonAddCurrCodeOccurred

Checks and returns if the currency code is different than additional reporting currency

procedure CheckNonAddCurrCodeOccurred(CurrencyCode: Code[10]): Boolean

Parameters

Name Type Description
CurrencyCode Code[10]

Currency Code to be checked

Returns

Type Description
Boolean

True if Currency Code passed as a parameter is different than additional reporting currency

SetGLRegReverse

Sets parameter ReverseGLReg to the same value as global variable GLReg with reversed set to true.

procedure SetGLRegReverse(var ReverseGLReg: Record "G/L Register")

Parameters

Name Type Description
ReverseGLReg Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

Return Value: General ledger register to be reversed

Remarks

Global variable GLReg stores information of the g/l register that being created

ABSMin

Returns smaller value of the two parameters passed to the procedure.

procedure ABSMin(Decimal1: Decimal, Decimal2: Decimal): Decimal

Parameters

Name Type Description
Decimal1 Decimal

Value to compare

Decimal2 Decimal

Value to compare

Returns

Type Description
Decimal

Smaller of the two passed parameters

GetGLSetup

Retrieves general ledger setup if it wasn't retrieved before. Global variable to store additional reporting currency is set from general ledger setup.

procedure GetGLSetup()

GetSourceCodeSetup

procedure GetSourceCodeSetup()

CheckDimValueForDisposal

Check dimension restrictions on gen. journal line that relates to g/l account.

procedure CheckDimValueForDisposal(GenJnlLine: Record "Gen. Journal Line", AccountNo: Code[20])

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

gen. journal line being posted

AccountNo Code[20]

gen. journal line being posted

Remarks

Only gen. journal lines that have amount are checked FA Posting Type must be equal to disposal on gen. journal line

SetOverDimErr

Sets the global variable OverrideDimErr for the current instance of the codeunit. If OverrideDimErr is not set dimension check is performed before posting gen. journal line

procedure SetOverDimErr()

SetPreviewMode

Sets the Preview Mode for the current instance of the codeunit. Preview Mode ensures no transactions are committed to the database.

procedure SetPreviewMode(NewPreviewMode: Boolean)

Parameters

Name Type Description
NewPreviewMode Boolean

The new value for the Preview Mode.

CheckGLAccDimError

Check dimension restrictions on gen. journal line that relates to g/l account.

procedure CheckGLAccDimError(GenJnlLine: Record "Gen. Journal Line", GLAccNo: Code[20])

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

gen. journal line being posted

GLAccNo Code[20]

g/l account no. to be checked

Remarks

Only gen. journal lines that have amount and currency are checked g/l account must be same as specified on currency realized/unrealized gain/loss

SetIgnoreJournalTemplNameMandatoryCheck

Sets the global variable IgnoreJournalTemplNameMandatoryCheck for the current instance of the codeunit. If IgnoreJournalTemplNameMandatoryCheck is not set "Journal Templ. Name Mandatory" check is performed before gen. journal line

procedure SetIgnoreJournalTemplNameMandatoryCheck()

GetCurrency

Retrieves currency record based on the currency code.

procedure GetCurrency(var Currency: Record Currency, CurrencyCode: Code[10])

Parameters

Name Type Description
Currency Table Microsoft.Finance.Currency.Currency

Return Value: Currency record

CurrencyCode Code[10]

Currency code for record to be retrieved

CollectAdjustment

Populates the array AdjAmount with gen. journal lines value amount and additional currency amount.

procedure CollectAdjustment(var AdjAmount: array[4] of Decimal, Amount: Decimal, AmountAddCurr: Decimal)

Parameters

Name Type Description
AdjAmount array[4] of Decimal

Return Value: array of adjustment amounts

Amount Decimal

Gen. journal line amount

AmountAddCurr Decimal

Gen. journal line amount in additional currency

Remarks

If amount and additional currency amount values are positive array elements 1 (one) and 2 (two) are populated. For negative values array elements 3 (three) and 4 (four) are populated

HandleDtldAdjustment

procedure HandleDtldAdjustment(GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", AdjAmount: array[4] of Decimal, TotalAmountLCY: Decimal, TotalAmountAddCurr: Decimal, GLAccNo: Code[20])

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
AdjAmount array[4] of Decimal
TotalAmountLCY Decimal
TotalAmountAddCurr Decimal
GLAccNo Code[20]

GetAdjAmountOffset

Returns offset of adjustment amount. If amount positive and amount in additional currency is greater than 0 (zero) return value will be 1. If not - return value will be 3.

procedure GetAdjAmountOffset(Amount: Decimal, AmountACY: Decimal): Integer

Parameters

Name Type Description
Amount Decimal

gen. journal line amount

AmountACY Decimal

gen. journal amount (in additional currency)

Returns

Type Description
Integer

Adjustment amount offset

GetNextEntryNo

Returns next entry no. that should be used when creating ledger (i.e. general, customer, vendor, etc.) entries.

procedure GetNextEntryNo(): Integer

Returns

Type Description
Integer

Returns next entry no. to be used for posting

GetNextTransactionNo

Returns next transaction no. that should be used when creating ledger (i.e. general, customer, vendor, etc.) entries.

procedure GetNextTransactionNo(): Integer

Returns

Type Description
Integer

Returns next transaction no. to be used for posting

GetNextVATEntryNo

Return next vat entry no. that should be used when creating next vat entry.

procedure GetNextVATEntryNo(): Integer

Returns

Type Description
Integer

Next vat entry no. to be used for posting

IncrNextVATEntryNo

Increases global variable NextVATEntryNo by 1 (one).

procedure IncrNextVATEntryNo()

Remarks

Variable NextVATEntryNo is used as entry no. when creating vat entries

IncrNextEntryNo

Increases global variable NextEntryNo by 1 (one).

procedure IncrNextEntryNo()

Remarks

Variable NextEntryNo is used as entry no. when creating ledger entries

IsTempGLEntryBufEmpty

Procedure to check if global temporary/buffer table TempGLEntryBuf is empty.

procedure IsTempGLEntryBufEmpty(): Boolean

Returns

Type Description
Boolean

True if global temporary/buffer table TempGLEntryBuf is empty

UpdateGLEntryNo

Parameter GLEntryNo is updated with value of parameter SavedEntryNo. Global variable NextEntryNo is decreased by 1 (one).

procedure UpdateGLEntryNo(var 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")

Parameters

Name Type Description
TempDimPostingBuffer Table Microsoft.Finance.Dimension."Dimension Posting Buffer"

Return Value: temporary buffer table to store amounts based on dimension set id.

DimSetID Integer

Dimension set id of the transaction

DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Buffer table for detailed customer/vendor ledger entries to be posted.

SetAddCurrForUnapplication

Updates additional-currency amount on buffer table DtldCVLedgEntryBuf when un-application of customer/vendor ledger entries is posted.

procedure SetAddCurrForUnapplication(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Buffer table for detailed customer/vendor ledger entries to be posted.

Remarks

Amount is only updated for buffer table entry with type other than application, unrealized/realized gain/loss or correction of remaining amount

CheckCustMultiplePostingGroups

Checks if multiple customer posting groups exists on customer ledger entries that relate to detailed entries being created.

procedure CheckCustMultiplePostingGroups(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"): Boolean

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Buffer table for detailed customer ledger entries to be posted.

Returns

Type Description
Boolean

Returns true if multiple customer posting groups exists for customer ledger entries being applied

Remarks

The check is only performed when customer ledger entries are being applied.

CheckVendMultiplePostingGroups

Checks if multiple vendor posting groups exists on vendor ledger entries that relate to detailed entries being created.

procedure CheckVendMultiplePostingGroups(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"): Boolean

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Buffer table for detailed vendor ledger entries to be posted.

Returns

Type Description
Boolean

Returns true if multiple vendor posting groups exists for vendor ledger entries being applied

Remarks

The check is only performed when vendor ledger entries are being applied.

CheckEmplMultiplePostingGroups

Checks if multiple employee posting groups exists on employee ledger entries that relate to detailed entries being created.

procedure CheckEmplMultiplePostingGroups(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"): Boolean

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

Buffer table for detailed employee ledger entries to be posted.

Returns

Type Description
Boolean

Returns true if multiple employee posting groups exists for employee ledger entries being applied

Remarks

The check is only performed when employee ledger entries are being applied.

RemoveDeferralSchedule

Removes deferral header and line associated with gen. journal line.

procedure RemoveDeferralSchedule(GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

General journal line that is being be posted.

Remarks

Deferrals are only removed if line no. on gen. journal line is specified (not 0).

DeferralPosting

procedure DeferralPosting(DeferralCode: Code[10], SourceCode: Code[10], AccountNo: Code[20], var GenJournalLine: Record "Gen. Journal Line", Balancing: Boolean)

Parameters

Name Type Description
DeferralCode Code[10]
SourceCode Code[10]
AccountNo Code[20]
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Balancing Boolean

SetFADimAlreadyChecked

Sets the new value for global variable FADimAlreadyChecked.

procedure SetFADimAlreadyChecked(NewFADimAlreadyChecked: Boolean)

Parameters

Name Type Description
NewFADimAlreadyChecked Boolean

New value for global variable FADimAlreadyChecked

Remarks

If this value is not set (false) the dimensions are checked for restrictions when initializing new g/l entry

SetTempGLEntryBufEntryNo

Sets entry no. of the global temporary/buffer table TempGLEntryBuf.

procedure SetTempGLEntryBufEntryNo(NewTempGLEntryBufEntryNo: Integer)

Parameters

Name Type Description
NewTempGLEntryBufEntryNo Integer

New entry no.

Remarks

TempGLEntryBuf is a global temporary/buffer table used to accumulate all the g/l entries that will be posted

Events

OnBeforeRunWithCheck

[IntegrationEvent(True,False)]
local procedure OnBeforeRunWithCheck(var GenJournalLine: Record "Gen. Journal Line", var GenJournalLine2: Record "Gen. Journal Line", var GLEntryNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GenJournalLine2 Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntryNo Integer
IsHandled Boolean

OnBeforeRunWithoutCheck

[IntegrationEvent(True,False)]
local procedure OnBeforeRunWithoutCheck(var GenJournalLine: Record "Gen. Journal Line", var GenJournalLine2: Record "Gen. Journal Line", var GLEntryNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GenJournalLine2 Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntryNo Integer
IsHandled Boolean

OnBeforeCode

[IntegrationEvent(True,False)]
local procedure OnBeforeCode(var GenJnlLine: Record "Gen. Journal Line", CheckLine: Boolean, var IsPosted: Boolean, var GLReg: Record "G/L Register", var GLEntryNo: Integer)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CheckLine Boolean
IsPosted Boolean
GLReg Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
GLEntryNo Integer

OnBeforeCheckGLAccDimError

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGLAccDimError(var GenJournalLine: Record "Gen. Journal Line", GLAccNo: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLAccNo Code[20]
IsHandled Boolean

OnBeforeCheckGLAccDirectPosting

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGLAccDirectPosting(var GenJournalLine: Record "Gen. Journal Line", GLAcc: Record "G/L Account", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLAcc Table Microsoft.Finance.GeneralLedger.Account."G/L Account"
IsHandled Boolean

OnBeforeCheckDeferralPostDate

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDeferralPostDate(PostingDate: Date, var IsHandled: Boolean)

Parameters

Name Type Description
PostingDate Date
IsHandled Boolean

OnBeforeCheckPurchExtDocNo

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckPurchExtDocNo(GenJournalLine: Record "Gen. Journal Line", VendorLedgerEntry: Record "Vendor Ledger Entry", CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var Handled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
Handled Boolean

OnBeforeStartPosting

[IntegrationEvent(False,False)]
local procedure OnBeforeStartPosting(var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnBeforeCreateGLEntryBalAcc

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateGLEntryBalAcc(var GenJnlLine: Record "Gen. Journal Line", var AccNo: Code[20], Amount: Decimal, AmountAddCurr: Decimal, var BalAccType: Enum "Gen. Journal Account Type", var BalAccNo: Code[20])

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
AccNo Code[20]
Amount Decimal
AmountAddCurr Decimal
BalAccType Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Account Type"
BalAccNo Code[20]

OnAfterCreateGLEntryBalAcc

[IntegrationEvent(True,False)]
local procedure OnAfterCreateGLEntryBalAcc(GenJnlLine: Record "Gen. Journal Line", GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnVendPostApplyVendLedgEntryOnBeforeApplyVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeApplyVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnCreateGLEntryVATOnBeforeInsertGLEntry

[IntegrationEvent(False,False)]
local procedure OnCreateGLEntryVATOnBeforeInsertGLEntry(GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnBeforeStartOrContinuePosting

[IntegrationEvent(True,False)]
local procedure OnBeforeStartOrContinuePosting(var GenJnlLine: Record "Gen. Journal Line", LastDocType: Option, LastDocNo: Code[20], LastDate: Date, var NextEntryNo: Integer)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
LastDocType Option
LastDocNo Code[20]
LastDate Date
NextEntryNo Integer

OnCodeOnAfterStartOrContinuePosting

[IntegrationEvent(False,False)]
local procedure OnCodeOnAfterStartOrContinuePosting(var GenJournalLine: Record "Gen. Journal Line", LastDocType: Enum "Gen. Journal Document Type", LastDocNo: Code[20], LastDate: Date, var NextEntryNo: Integer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
LastDocType Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type"
LastDocNo Code[20]
LastDate Date
NextEntryNo Integer

OnInitGLEntryVATCopyOnBeforeSummarizeVAT

[IntegrationEvent(False,False)]
local procedure OnInitGLEntryVATCopyOnBeforeSummarizeVAT(GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", VATEntry: Record "VAT Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnCreateGLEntryOnBeforeInsertGLEntry

[IntegrationEvent(False,False)]
local procedure OnCreateGLEntryOnBeforeInsertGLEntry(GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", VATEntry: Record "VAT Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnBeforeContinuePosting

[IntegrationEvent(False,False)]
local procedure OnBeforeContinuePosting(var GenJournalLine: Record "Gen. Journal Line", var GLRegister: Record "G/L Register", var NextEntryNo: Integer, var NextTransactionNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
NextEntryNo Integer
NextTransactionNo Integer
IsHandled Boolean

OnBeforeCustUnrealizedVAT

[IntegrationEvent(False,False)]
local procedure OnBeforeCustUnrealizedVAT(var GenJnlLine: Record "Gen. Journal Line", var CustLedgEntry: Record "Cust. Ledger Entry", SettledAmount: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
SettledAmount Decimal
IsHandled Boolean

OnBeforePostFixedAsset

[IntegrationEvent(True,False)]
local procedure OnBeforePostFixedAsset(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnBeforePostGenJnlLine

[IntegrationEvent(True,False)]
local procedure OnBeforePostGenJnlLine(var GenJournalLine: Record "Gen. Journal Line", Balancing: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Balancing Boolean

OnBeforePostGLAcc

[IntegrationEvent(True,False)]
local procedure OnBeforePostGLAcc(GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var GLEntryNo: Integer, var IsHandled: Boolean, var TempGLEntryBuf: Record "G/L Entry" temporary)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GLEntryNo Integer
IsHandled Boolean
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnBeforePostVAT

[IntegrationEvent(True,False)]
local procedure OnBeforePostVAT(var GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", VATPostingSetup: Record "VAT Posting Setup", var IsHandled: Boolean, var AddCurrGLEntryVATAmt: Decimal, var NextConnectionNo: Integer, var TaxDetail: Record "Tax Detail")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
IsHandled Boolean
AddCurrGLEntryVATAmt Decimal
NextConnectionNo Integer
TaxDetail Table Microsoft.Finance.SalesTax."Tax Detail"

OnBeforePostPmtDiscountVATByUnapply

[IntegrationEvent(False,False)]
local procedure OnBeforePostPmtDiscountVATByUnapply(var GenJournalLine: Record "Gen. Journal Line", var VATEntry: Record "VAT Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnBeforePostVend

[IntegrationEvent(False,False)]
local procedure OnBeforePostVend(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnBeforeFindAmtForAppln

[IntegrationEvent(False,False)]
local procedure OnBeforeFindAmtForAppln(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var AppliedAmount: Decimal, var AppliedAmountLCY: Decimal, var OldAppliedAmount: Decimal, var Handled: Boolean, var ApplnRoundingPrecision: Decimal, var VATEntry: Record "VAT Entry")

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
AppliedAmount Decimal
AppliedAmountLCY Decimal
OldAppliedAmount Decimal
Handled Boolean
ApplnRoundingPrecision Decimal
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnBeforeVendUnrealizedVAT

[IntegrationEvent(False,False)]
local procedure OnBeforeVendUnrealizedVAT(var GenJnlLine: Record "Gen. Journal Line", var VendorLedgerEntry: Record "Vendor Ledger Entry", SettledAmount: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
SettledAmount Decimal
IsHandled Boolean

OnAfterCustLedgEntryInsert

[IntegrationEvent(True,False)]
local procedure OnAfterCustLedgEntryInsert(var CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var DtldLedgEntryInserted: Boolean, PreviewMode: Boolean)

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldLedgEntryInserted Boolean
PreviewMode Boolean

OnAfterCustLedgEntryInsertInclPreviewMode

Obsolete

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)

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldLedgEntryInserted Boolean
PreviewMode Boolean

OnInsertVATOnAfterCalcVATDifferenceLCY

[IntegrationEvent(False,False)]
local procedure OnInsertVATOnAfterCalcVATDifferenceLCY(GenJournalLine: Record "Gen. Journal Line", VATEntry: Record "VAT Entry", var VATDifferenceLCY: Decimal, var CurrExchRate: Record "Currency Exchange Rate")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATDifferenceLCY Decimal
CurrExchRate Table Microsoft.Finance.Currency."Currency Exchange Rate"

OnInsertVATOnAfterSetVATAmounts

[IntegrationEvent(False,False)]
local procedure OnInsertVATOnAfterSetVATAmounts(var GenJournalLine: Record "Gen. Journal Line", var VATEntry: Record "VAT Entry", var GLEntryAmount: Decimal, var GLEntryVATAmount: Decimal, var VATAmount: Decimal, var GLEntryBaseAmount: Decimal, var VATBase: Decimal, var SrcCurrGLEntryAmt: Decimal, var SrcCurrGLEntryVATAmt: Decimal, var SrcCurrVATAmount: Decimal, var SrcCurrGLEntryBaseAmt: Decimal, var SrcCurrVATBase: Decimal)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GLEntryAmount Decimal
GLEntryVATAmount Decimal
VATAmount Decimal
GLEntryBaseAmount Decimal
VATBase Decimal
SrcCurrGLEntryAmt Decimal
SrcCurrGLEntryVATAmt Decimal
SrcCurrVATAmount Decimal
SrcCurrGLEntryBaseAmt Decimal
SrcCurrVATBase Decimal

OnAfterVendLedgEntryInsert

[IntegrationEvent(True,False)]
local procedure OnAfterVendLedgEntryInsert(var VendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var DtldLedgEntryInserted: Boolean, PreviewMode: Boolean)

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldLedgEntryInserted Boolean
PreviewMode Boolean

OnAfterVendLedgEntryInsertInclPreviewMode

Obsolete

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)

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldLedgEntryInserted Boolean
PreviewMode Boolean

OnAfterFindAmtForAppln

[IntegrationEvent(False,False)]
local procedure OnAfterFindAmtForAppln(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var AppliedAmount: Decimal, var AppliedAmountLCY: Decimal, var OldAppliedAmount: Decimal, var ApplnRoundingPrecision: Decimal, var VATEntry: Record "VAT Entry")

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
AppliedAmount Decimal
AppliedAmountLCY Decimal
OldAppliedAmount Decimal
ApplnRoundingPrecision Decimal
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnAfterFindJobLineSign

[IntegrationEvent(False,False)]
local procedure OnAfterFindJobLineSign(var GenJnlLine: Record "Gen. Journal Line", var IsJobLine: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsJobLine Boolean

OnAfterInitGLEntry

[IntegrationEvent(True,False)]
local procedure OnAfterInitGLEntry(var GLEntry: Record "G/L Entry", GenJournalLine: Record "Gen. Journal Line", Amount: Decimal, AddCurrAmount: Decimal, UseAddCurrAmount: Boolean, var CurrencyFactor: Decimal, var GLRegister: Record "G/L Register")

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Amount Decimal
AddCurrAmount Decimal
UseAddCurrAmount Boolean
CurrencyFactor Decimal
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnAfterInitGLRegister

[IntegrationEvent(False,False)]
local procedure OnAfterInitGLRegister(var GLRegister: Record "G/L Register", var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterInitBankAccLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterInitBankAccLedgEntry(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
BankAccountLedgerEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterInitCheckLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterInitCheckLedgEntry(var CheckLedgerEntry: Record "Check Ledger Entry", BankAccountLedgerEntry: Record "Bank Account Ledger Entry")

Parameters

Name Type Description
CheckLedgerEntry Table Microsoft.Bank.Check."Check Ledger Entry"
BankAccountLedgerEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"

OnAfterInitCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterInitCustLedgEntry(var CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var GLRegister: Record "G/L Register")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnAfterInitVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterInitVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var GLRegister: Record "G/L Register")

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnAfterInitEmployeeLedgerEntry

[IntegrationEvent(False,False)]
local procedure OnAfterInitEmployeeLedgerEntry(var EmployeeLedgerEntry: Record "Employee Ledger Entry", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
EmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterInsertDtldCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterInsertDtldCustLedgEntry(var DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry", GenJournalLine: Record "Gen. Journal Line", DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", Offset: Integer)

Parameters

Name Type Description
DtldCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
Offset Integer

OnAfterInsertDtldVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterInsertDtldVendLedgEntry(var DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry", GenJournalLine: Record "Gen. Journal Line", DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", Offset: Integer)

Parameters

Name Type Description
DtldVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
Offset Integer

OnAfterInsertDtldCustLedgEntryUnapply

[IntegrationEvent(False,False)]
local procedure OnAfterInsertDtldCustLedgEntryUnapply(var CustomerPostingGroup: Record "Customer Posting Group", var OldDetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var GenJnlLine: Record "Gen. Journal Line", var NewDetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")

Parameters

Name Type Description
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"
OldDetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NewDetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"

OnAfterInsertGlobalGLEntry

[IntegrationEvent(True,False)]
local procedure OnAfterInsertGlobalGLEntry(var GLEntry: Record "G/L Entry", var TempGLEntryBuf: Record "G/L Entry", var NextEntryNo: Integer, GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextEntryNo Integer
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterInsertGLEntry

[IntegrationEvent(True,False)]
local procedure OnAfterInsertGLEntry(GLEntry: Record "G/L Entry", GenJnlLine: Record "Gen. Journal Line", TempGLEntryBuf: Record "G/L Entry" temporary, CalcAddCurrResiduals: Boolean)

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
CalcAddCurrResiduals Boolean

OnAfterInitVAT

[IntegrationEvent(False,False)]
local procedure OnAfterInitVAT(var GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var VATPostingSetup: Record "VAT Posting Setup", var AddCurrGLEntryVATAmt: Decimal)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
AddCurrGLEntryVATAmt Decimal

OnAfterInsertVAT

[IntegrationEvent(True,False)]
local procedure OnAfterInsertVAT(var GenJournalLine: Record "Gen. Journal Line", var VATEntry: Record "VAT Entry", var UnrealizedVAT: Boolean, var AddCurrencyCode: Code[10], var VATPostingSetup: Record "VAT Posting Setup", var GLEntryAmount: Decimal, var GLEntryVATAmount: Decimal, var GLEntryBaseAmount: Decimal, var SrcCurrCode: Code[10], var SrcCurrGLEntryAmt: Decimal, var SrcCurrGLEntryVATAmt: Decimal, var SrcCurrGLEntryBaseAmt: Decimal, AddCurrGLEntryVATAmt: Decimal, var NextConnectionNo: Integer, var NextVATEntryNo: Integer, var NextTransactionNo: Integer, TempGLEntryBufEntryNo: Integer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
UnrealizedVAT Boolean
AddCurrencyCode Code[10]
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
GLEntryAmount Decimal
GLEntryVATAmount Decimal
GLEntryBaseAmount Decimal
SrcCurrCode Code[10]
SrcCurrGLEntryAmt Decimal
SrcCurrGLEntryVATAmt Decimal
SrcCurrGLEntryBaseAmt Decimal
AddCurrGLEntryVATAmt Decimal
NextConnectionNo Integer
NextVATEntryNo Integer
NextTransactionNo Integer
TempGLEntryBufEntryNo Integer

OnAfterInsertVATEntry

[IntegrationEvent(True,False)]
local procedure OnAfterInsertVATEntry(GenJnlLine: Record "Gen. Journal Line", VATEntry: Record "VAT Entry", GLEntryNo: Integer, var NextEntryNo: Integer, var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GLEntryNo Integer
NextEntryNo Integer
TempGLEntryVATEntryLink Table Microsoft.Finance.VAT.Ledger."G/L Entry - VAT Entry Link"

OnAfterIsNotPayment

[IntegrationEvent(True,False)]
local procedure OnAfterIsNotPayment(DocumentType: Enum "Gen. Journal Document Type", var Result: Boolean)

Parameters

Name Type Description
DocumentType Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type"
Result Boolean

OnAfterPostBankAcc

[IntegrationEvent(True,False)]
local procedure OnAfterPostBankAcc(var GenJnlLine: Record "Gen. Journal Line", Balancing: Boolean, var TempGLEntryBuf: Record "G/L Entry" temporary, var NextEntryNo: Integer, var NextTransactionNo: Integer)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Balancing Boolean
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextEntryNo Integer
NextTransactionNo Integer

OnAfterRunWithCheck

[IntegrationEvent(True,False)]
local procedure OnAfterRunWithCheck(var GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterRunWithoutCheck

[IntegrationEvent(True,False)]
local procedure OnAfterRunWithoutCheck(var GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterPostPmtDiscountVATByUnapply

[IntegrationEvent(True,False)]
local procedure OnAfterPostPmtDiscountVATByUnapply(var GenJournalLine: Record "Gen. Journal Line", var VATEntry: Record "VAT Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnAfterOldCustLedgEntryModify

[IntegrationEvent(False,False)]
local procedure OnAfterOldCustLedgEntryModify(var CustLedgEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var TempCustLedgerEntry: Record "Cust. Ledger Entry" temporary, var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnApplyCustLedgEntryOnBeforeCustUnrealizedVAT

[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnBeforeCustUnrealizedVAT(CustLedgerEntry: Record "Cust. Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
IsHandled Boolean

OnApplyCustLedgEntryOnBeforeUnrealizedVAT

[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnBeforeUnrealizedVAT(CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var IsHandled: Boolean)

Parameters

Name Type Description
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
IsHandled Boolean

OnBeforeApplyCustLedgEntry

[IntegrationEvent(True,False)]
local procedure OnBeforeApplyCustLedgEntry(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var GenJnlLine: Record "Gen. Journal Line", Cust: Record Customer, var IsAmountToApplyCheckHandled: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Cust Table Microsoft.Sales.Customer.Customer
IsAmountToApplyCheckHandled Boolean
IsHandled Boolean

OnAfterOldVendLedgEntryModify

[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")

Parameters

Name Type Description
VendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnBeforeApplyVendLedgEntry

[IntegrationEvent(True,False)]
local procedure OnBeforeApplyVendLedgEntry(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var GenJnlLine: Record "Gen. Journal Line", Vend: Record Vendor, var IsAmountToApplyCheckHandled: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Vend Table Microsoft.Purchases.Vendor.Vendor
IsAmountToApplyCheckHandled Boolean
IsHandled Boolean

OnBeforeCustLedgEntryInsert

[IntegrationEvent(True,False)]
local procedure OnBeforeCustLedgEntryInsert(var CustLedgerEntry: Record "Cust. Ledger Entry", var GenJournalLine: Record "Gen. Journal Line", GLRegister: Record "G/L Register", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var NextEntryNo: Integer)

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
TempDtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
NextEntryNo Integer

OnBeforeVendLedgEntryInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeVendLedgEntryInsert(var VendorLedgerEntry: Record "Vendor Ledger Entry", var GenJournalLine: Record "Gen. Journal Line", GLRegister: Record "G/L Register")

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnBeforeInsertDtldCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldCustLedgEntry(var DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry", GenJournalLine: Record "Gen. Journal Line", DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", GLRegister: Record "G/L Register")

Parameters

Name Type Description
DtldCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnBeforeInsertDtldCustLedgEntryProcedure

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldCustLedgEntryProcedure(GenJnlLine: Record "Gen. Journal Line", DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
DtldCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
IsHandled Boolean

OnBeforeInsertDtldCustLedgEntryUnapply

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldCustLedgEntryUnapply(var NewDtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry", GenJournalLine: Record "Gen. Journal Line", OldDtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry", GLRegister: Record "G/L Register")

Parameters

Name Type Description
NewDtldCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
OldDtldCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnBeforeInsertDtldEmplLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldEmplLedgEntry(var DtldEmplLedgEntry: Record "Detailed Employee Ledger Entry", GenJournalLine: Record "Gen. Journal Line", DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
DtldEmplLedgEntry Table Microsoft.HumanResources.Payables."Detailed Employee Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnBeforeInsertDtldEmplLedgEntryUnapply

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldEmplLedgEntryUnapply(var NewDtldEmplLedgEntry: Record "Detailed Employee Ledger Entry", GenJournalLine: Record "Gen. Journal Line", OldDtldEmplLedgEntry: Record "Detailed Employee Ledger Entry")

Parameters

Name Type Description
NewDtldEmplLedgEntry Table Microsoft.HumanResources.Payables."Detailed Employee Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
OldDtldEmplLedgEntry Table Microsoft.HumanResources.Payables."Detailed Employee Ledger Entry"

OnBeforeInsertDtldVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldVendLedgEntry(var DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry", GenJournalLine: Record "Gen. Journal Line", DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", GLRegister: Record "G/L Register")

Parameters

Name Type Description
DtldVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnBeforeInsertDtldVendLedgEntryProcedure

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldVendLedgEntryProcedure(GenJnlLine: Record "Gen. Journal Line", DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
DtldVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
IsHandled Boolean

OnBeforeInsertDtldVendLedgEntryUnapply

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDtldVendLedgEntryUnapply(var NewDtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry", GenJournalLine: Record "Gen. Journal Line", OldDtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry", GLRegister: Record "G/L Register")

Parameters

Name Type Description
NewDtldVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
OldDtldVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnBeforeInsertGLEntryBuffer

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertGLEntryBuffer(var TempGLEntryBuf: Record "G/L Entry" temporary, var GenJournalLine: Record "Gen. Journal Line", var BalanceCheckAmount: Decimal, var BalanceCheckAmount2: Decimal, var BalanceCheckAddCurrAmount: Decimal, var BalanceCheckAddCurrAmount2: Decimal, var NextEntryNo: Integer, var TotalAmount: Decimal, var TotalAddCurrAmount: Decimal, var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
BalanceCheckAmount Decimal
BalanceCheckAmount2 Decimal
BalanceCheckAddCurrAmount Decimal
BalanceCheckAddCurrAmount2 Decimal
NextEntryNo Integer
TotalAmount Decimal
TotalAddCurrAmount Decimal
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnBeforeInsertGlobalGLEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertGlobalGLEntry(var GlobalGLEntry: Record "G/L Entry", GenJournalLine: Record "Gen. Journal Line", GLRegister: Record "G/L Register", FiscalYearStartDate: Date)

Parameters

Name Type Description
GlobalGLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
FiscalYearStartDate Date

OnBeforeInsertTempVATEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertTempVATEntry(var TempVATEntry: Record "VAT Entry" temporary, GenJournalLine: Record "Gen. Journal Line", VATEntry: Record "VAT Entry", VATAmount: Decimal, VATBase: Decimal)

Parameters

Name Type Description
TempVATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATAmount Decimal
VATBase Decimal

OnBeforeInitAmounts

[IntegrationEvent(False,False)]
local procedure OnBeforeInitAmounts(var GenJnlLine: Record "Gen. Journal Line", var Currency: Record Currency, var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Currency Table Microsoft.Finance.Currency.Currency
IsHandled Boolean

OnBeforeInitBankAccLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInitBankAccLedgEntry(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
BankAccountLedgerEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnBeforeInitCheckEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInitCheckEntry(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", var CheckLedgerEntry: Record "Check Ledger Entry")

Parameters

Name Type Description
BankAccountLedgerEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
CheckLedgerEntry Table Microsoft.Bank.Check."Check Ledger Entry"

OnBeforeInitCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInitCustLedgEntry(var CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnBeforeInitEmployeeLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInitEmployeeLedgEntry(var EmployeeLedgerEntry: Record "Employee Ledger Entry", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
EmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnBeforeInitVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInitVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnBeforeInitGLEntry

[IntegrationEvent(True,False)]
local procedure OnBeforeInitGLEntry(var GenJournalLine: Record "Gen. Journal Line", var GLAccNo: Code[20], SystemCreatedEntry: Boolean, Amount: Decimal, AmountAddCurr: Decimal, FADimAlreadyChecked: Boolean, var IsHandled: Boolean, var GLEntry: Record "G/L Entry", UseAmountAddCurr: Boolean, NextEntryNo: Integer, NextTransactionNo: Integer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLAccNo Code[20]
SystemCreatedEntry Boolean
Amount Decimal
AmountAddCurr Decimal
FADimAlreadyChecked Boolean
IsHandled Boolean
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
UseAmountAddCurr Boolean
NextEntryNo Integer
NextTransactionNo Integer

OnBeforeInitVAT

[IntegrationEvent(False,False)]
local procedure OnBeforeInitVAT(var GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var VATPostingSetup: Record "VAT Posting Setup", var IsHandled: Boolean, var LCYCurrency: Record Currency, var AddCurrencyCode: Code[10], var AddCurrGLEntryVATAmt: Decimal)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
IsHandled Boolean
LCYCurrency Table Microsoft.Finance.Currency.Currency
AddCurrencyCode Code[10]
AddCurrGLEntryVATAmt Decimal

OnBeforeInsertGLEntryFromVATEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertGLEntryFromVATEntry(var GLEntry: Record "G/L Entry", VATEntry: Record "VAT Entry")

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnBeforeInsertVAT

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertVAT(var GenJournalLine: Record "Gen. Journal Line", var VATEntry: Record "VAT Entry", var UnrealizedVAT: Boolean, var AddCurrencyCode: Code[10], var VATPostingSetup: Record "VAT Posting Setup", var GLEntryAmount: Decimal, var GLEntryVATAmount: Decimal, var GLEntryBaseAmount: Decimal, var SrcCurrCode: Code[10], var SrcCurrGLEntryAmt: Decimal, var SrcCurrGLEntryVATAmt: Decimal, var SrcCurrGLEntryBaseAmt: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
UnrealizedVAT Boolean
AddCurrencyCode Code[10]
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
GLEntryAmount Decimal
GLEntryVATAmount Decimal
GLEntryBaseAmount Decimal
SrcCurrCode Code[10]
SrcCurrGLEntryAmt Decimal
SrcCurrGLEntryVATAmt Decimal
SrcCurrGLEntryBaseAmt Decimal
IsHandled Boolean

OnBeforeInsertVATForGLEntryFromBuffer

[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])

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
VATPostingParameters Table Microsoft.Finance.VAT.Calculation."VAT Posting Parameters"
IsHandled Boolean
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
TaxJurisdiction Table Microsoft.Finance.SalesTax."Tax Jurisdiction"
AddCurrencyCode Code[10]

OnBeforeInsertVATEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertVATEntry(var VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line", var NextVATEntryNo: Integer, var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary, var TempGLEntryBuf: Record "G/L Entry" temporary, GLRegister: Record "G/L Register")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NextVATEntryNo Integer
TempGLEntryVATEntryLink Table Microsoft.Finance.VAT.Ledger."G/L Entry - VAT Entry Link"
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnBeforeInsertPostUnrealVATEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertPostUnrealVATEntry(var VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line", var VATEntry2: Record "VAT Entry")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry2 Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnBeforeFinishPosting

[IntegrationEvent(True,False)]
local procedure OnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line", var TempGLEntryBuf: Record "G/L Entry" temporary)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnAfterFinishPosting

[IntegrationEvent(False,False)]
local procedure OnAfterFinishPosting(var GlobalGLEntry: Record "G/L Entry", var GLRegister: Record "G/L Register", var IsTransactionConsistent: Boolean, var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GlobalGLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
IsTransactionConsistent Boolean
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterGLFinishPosting

[IntegrationEvent(False,False)]
local procedure OnAfterGLFinishPosting(GLEntry: Record "G/L Entry", var GenJnlLine: Record "Gen. Journal Line", var IsTransactionConsistent: Boolean, FirstTransactionNo: Integer, var GLRegister: Record "G/L Register", var TempGLEntryBuf: Record "G/L Entry" temporary, var NextEntryNo: Integer, var NextTransactionNo: Integer)

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsTransactionConsistent Boolean
FirstTransactionNo Integer
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextEntryNo Integer
NextTransactionNo Integer

OnNextTransactionNoNeeded

[IntegrationEvent(False,False)]
local procedure OnNextTransactionNoNeeded(GenJnlLine: Record "Gen. Journal Line", LastDocType: Option, LastDocNo: Code[20], LastDate: Date, CurrentBalance: Decimal, CurrentBalanceACY: Decimal, var NewTransaction: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
LastDocType Option
LastDocNo Code[20]
LastDate Date
CurrentBalance Decimal
CurrentBalanceACY Decimal
NewTransaction Boolean

OnAfterPostGLAcc

[IntegrationEvent(True,False)]
local procedure OnAfterPostGLAcc(var GenJnlLine: Record "Gen. Journal Line", var TempGLEntryBuf: Record "G/L Entry" temporary, var NextEntryNo: Integer, var NextTransactionNo: Integer, Balancing: Boolean, var GLEntry: Record "G/L Entry", VATPostingSetup: Record "VAT Posting Setup", var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextEntryNo Integer
NextTransactionNo Integer
Balancing Boolean
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
TempGLEntryVATEntryLink Table Microsoft.Finance.VAT.Ledger."G/L Entry - VAT Entry Link"

OnCalcPmtDiscOnAfterAssignPmtDisc

[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscOnAfterAssignPmtDisc(var PmtDisc: Decimal, var PmtDiscLCY: Decimal, var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
PmtDisc Decimal
PmtDiscLCY Decimal
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnCalcPmtDiscOnAfterCalcPmtDisc

[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscOnAfterCalcPmtDisc(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var PmtDisc: Decimal, var PmtDiscLCY: Decimal, var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
PmtDisc Decimal
PmtDiscLCY Decimal
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnCalcPmtToleranceOnAfterAssignPmtDisc

[IntegrationEvent(False,False)]
local procedure OnCalcPmtToleranceOnAfterAssignPmtDisc(var PmtTol: Decimal, var PmtTolLCY: Decimal, var PmtTolAmtToBeApplied: Decimal, var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var NextTransactionNo: Integer, var FirstNewVATEntryNo: Integer)

Parameters

Name Type Description
PmtTol Decimal
PmtTolLCY Decimal
PmtTolAmtToBeApplied Decimal
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
NextTransactionNo Integer
FirstNewVATEntryNo Integer

OnCalcPmtDiscIfAdjVATCopyFields

[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscIfAdjVATCopyFields(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterPostDeferral

[IntegrationEvent(False,False)]
local procedure OnAfterPostDeferral(var GenJournalLine: Record "Gen. Journal Line", var TempGLEntryBuf: Record "G/L Entry" temporary, AccountNo: Code[20])

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
AccountNo Code[20]

OnAfterPostDeferralPostBuffer

[IntegrationEvent(False,False)]
local procedure OnAfterPostDeferralPostBuffer(var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnBeforePostDeferral

[IntegrationEvent(True,False)]
local procedure OnBeforePostDeferral(var GenJournalLine: Record "Gen. Journal Line", var AccountNo: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
AccountNo Code[20]
IsHandled Boolean

OnBeforePostDeferralPostBuffer

[IntegrationEvent(True,False)]
local procedure OnBeforePostDeferralPostBuffer(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnBeforePostJob

[IntegrationEvent(False,False)]
local procedure OnBeforePostJob(var GenJournalLine: Record "Gen. Journal Line", GLEntry: Record "G/L Entry", var IsJobLine: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
IsJobLine Boolean
IsHandled Boolean

OnBeforeCreateGLEntriesForTotalAmountsV19

[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntriesForTotalAmountsV19(var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary, GenJournalLine: Record "Gen. Journal Line", var GLAccNo: Code[20], var IsHandled: Boolean, AdjAmountBuf: array[4] of Decimal, SavedEntryNo: Integer, LedgEntryInserted: Boolean)

Parameters

Name Type Description
TempDimPostingBuffer Table Microsoft.Finance.Dimension."Dimension Posting Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLAccNo Code[20]
IsHandled Boolean
AdjAmountBuf array[4] of Decimal
SavedEntryNo Integer
LedgEntryInserted Boolean

OnBeforeCreateGLEntriesForTotalAmountsUnapplyProcedure

[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntriesForTotalAmountsUnapplyProcedure(GenJournalLine: Record "Gen. Journal Line", var TempDimensionPostingBuffer: Record "Dimension Posting Buffer" temporary, GLAccountNo: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDimensionPostingBuffer Table Microsoft.Finance.Dimension."Dimension Posting Buffer"
GLAccountNo Code[20]
IsHandled Boolean

OnAfterPostDtldCVLedgEntry

[IntegrationEvent(True,False)]
local procedure OnAfterPostDtldCVLedgEntry(var GenJournalLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", Unapply: Boolean, AccNo: Code[20], AdjAmount: array[4] of Decimal, var NextEntryNo: Integer, AddCurrencyCode: Code[10], MultiplePostingGroups: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
Unapply Boolean
AccNo Code[20]
AdjAmount array[4] of Decimal
NextEntryNo Integer
AddCurrencyCode Code[10]
MultiplePostingGroups Boolean

OnAfterPostDtldVendVATAdjustment

[IntegrationEvent(True,False)]
local procedure OnAfterPostDtldVendVATAdjustment(GenJournalLine: Record "Gen. Journal Line", VATPostingSetup: Record "VAT Posting Setup", DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", VATEntry: Record "VAT Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnBeforePostDtldCVLedgEntry

[IntegrationEvent(True,False)]
local procedure OnBeforePostDtldCVLedgEntry(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var AccNo: Code[20], var Unapply: Boolean, var AdjAmount: array[4] of Decimal, var IsHandled: Boolean, AddCurrencyCode: Code[10], MultiplePostingGroups: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
AccNo Code[20]
Unapply Boolean
AdjAmount array[4] of Decimal
IsHandled Boolean
AddCurrencyCode Code[10]
MultiplePostingGroups Boolean

OnBeforePostDtldCVLedgEntryCreateGLEntryPmtDiscTol

[IntegrationEvent(True,False)]
local procedure OnBeforePostDtldCVLedgEntryCreateGLEntryPmtDiscTol(var GenJournalLine: Record "Gen. Journal Line", DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var Unapply: Boolean, var AccNo: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
Unapply Boolean
AccNo Code[20]
IsHandled Boolean

OnAfterPostGenJnlLine

[IntegrationEvent(True,False)]
local procedure OnAfterPostGenJnlLine(var GenJournalLine: Record "Gen. Journal Line", Balancing: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Balancing Boolean

OnAfterPostCust

[IntegrationEvent(True,False)]
local procedure OnAfterPostCust(var GenJournalLine: Record "Gen. Journal Line", Balancing: Boolean, var TempGLEntryBuf: Record "G/L Entry" temporary, var NextEntryNo: Integer, var NextTransactionNo: Integer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Balancing Boolean
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextEntryNo Integer
NextTransactionNo Integer

OnAfterPostVend

[IntegrationEvent(True,False)]
local procedure OnAfterPostVend(var GenJournalLine: Record "Gen. Journal Line", Balancing: Boolean, var TempGLEntryBuf: Record "G/L Entry" temporary, var NextEntryNo: Integer, var NextTransactionNo: Integer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Balancing Boolean
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextEntryNo Integer
NextTransactionNo Integer

OnAfterPostVAT

[IntegrationEvent(True,False)]
local procedure OnAfterPostVAT(GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", VATPostingSetup: Record "VAT Posting Setup", var TaxDetail: Record "Tax Detail", var NextConnectionNo: Integer, var AddCurrGLEntryVATAmt: Decimal, AddCurrencyCode: Code[10], UseCurrFactorOnly: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
TaxDetail Table Microsoft.Finance.SalesTax."Tax Detail"
NextConnectionNo Integer
AddCurrGLEntryVATAmt Decimal
AddCurrencyCode Code[10]
UseCurrFactorOnly Boolean

OnBeforeCalcAmtLCYAdjustment

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcAmtLCYAdjustment(var CVLedgEntryBuf: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var GenJnlLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
CVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnBeforeCalcAplication

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcAplication(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var GenJnlLine: Record "Gen. Journal Line", var AppliedAmount: Decimal, var AppliedAmountLCY: Decimal, var OldAppliedAmount: Decimal, var PrevNewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var PrevOldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var AllApplied: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
AppliedAmount Decimal
AppliedAmountLCY Decimal
OldAppliedAmount Decimal
PrevNewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
PrevOldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
AllApplied Boolean
IsHandled Boolean

OnCalcApplicationOnBeforeCheckAppliedAmount

[IntegrationEvent(False,False)]
local procedure OnCalcApplicationOnBeforeCheckAppliedAmount(GenJournalLine: Record "Gen. Journal Line", AppliedAmount: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
AppliedAmount Decimal
IsHandled Boolean

OnBeforeCalcPmtTolerance

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtTolerance(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var GenJnlLine: Record "Gen. Journal Line", var PmtTolAmtToBeApplied: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
PmtTolAmtToBeApplied Decimal
IsHandled Boolean

OnBeforeCalcPmtDisc

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtDisc(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var GenJnlLine: Record "Gen. Journal Line", var PmtTolAmtToBeApplied: Decimal, var IsHandled: Boolean, ApplnRoundingPrecision: Decimal, NextTransactionNo: Integer, FirstNewVATEntryNo: Integer, AddCurrencyCode: Code[10])

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
PmtTolAmtToBeApplied Decimal
IsHandled Boolean
ApplnRoundingPrecision Decimal
NextTransactionNo Integer
FirstNewVATEntryNo Integer
AddCurrencyCode Code[10]

OnBeforeCalcPmtDiscTolerance

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtDiscTolerance(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var GenJnlLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnBeforeFindNextOldCustLedgEntryToApply

[IntegrationEvent(False,False)]
local procedure OnBeforeFindNextOldCustLedgEntryToApply(var GenJournalLine: Record "Gen. Journal Line", var TempOldCustLedgerEntry: Record "Cust. Ledger Entry" temporary, var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var Completed: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempOldCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
NewCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
Completed Boolean
IsHandled Boolean

OnBeforeFindNextOldEmplLedgEntryToApply

[IntegrationEvent(False,False)]
local procedure OnBeforeFindNextOldEmplLedgEntryToApply(var GenJournalLine: Record "Gen. Journal Line", var TempOldEmployeeLedgerEntry: Record "Employee Ledger Entry" temporary, var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var Completed: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempOldEmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
NewCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
Completed Boolean
IsHandled Boolean

OnBeforeFindNextOldVendLedgEntryToApply

[IntegrationEvent(False,False)]
local procedure OnBeforeFindNextOldVendLedgEntryToApply(var GenJournalLine: Record "Gen. Journal Line", var TempOldVendorLedgerEntry: Record "Vendor Ledger Entry" temporary, var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var Completed: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempOldVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
NewCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
Completed Boolean
IsHandled Boolean

OnBeforeGetCurrencyExchRate

[IntegrationEvent(False,False)]
local procedure OnBeforeGetCurrencyExchRate(var GenJournalLine: Record "Gen. Journal Line", var AddCurrencyCode: Code[10], var UseCurrFactorOnly: Boolean, var CurrencyDate: Date, var CurrencyFactor: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
AddCurrencyCode Code[10]
UseCurrFactorOnly Boolean
CurrencyDate Date
CurrencyFactor Decimal
IsHandled Boolean

OnBeforeGetDtldCustLedgEntryAccNo

[IntegrationEvent(False,False)]
local procedure OnBeforeGetDtldCustLedgEntryAccNo(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var CustomerPostingGroup: Record "Customer Posting Group", OriginalTransactionNo: Integer, Unapply: Boolean, var VATEntry: Record "VAT Entry", var AccountNo: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"
OriginalTransactionNo Integer
Unapply Boolean
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
AccountNo Code[20]
IsHandled Boolean

OnBeforeGetDtldVendLedgEntryAccNo

[IntegrationEvent(True,False)]
local procedure OnBeforeGetDtldVendLedgEntryAccNo(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var VendorPostingGroup: Record "Vendor Posting Group", OriginalTransactionNo: Integer, Unapply: Boolean, var VATEntry: Record "VAT Entry", var AccountNo: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
VendorPostingGroup Table Microsoft.Purchases.Vendor."Vendor Posting Group"
OriginalTransactionNo Integer
Unapply Boolean
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
AccountNo Code[20]
IsHandled Boolean

OnBeforeGetDtldEmplLedgEntryAccNo

[IntegrationEvent(False,False)]
local procedure OnBeforeGetDtldEmplLedgEntryAccNo(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var EmployeePostingGroup: Record "Employee Posting Group", OriginalTransactionNo: Integer, Unapply: Boolean, var AccountNo: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
EmployeePostingGroup Table Microsoft.HumanResources.Employee."Employee Posting Group"
OriginalTransactionNo Integer
Unapply Boolean
AccountNo Code[20]
IsHandled Boolean

OnBeforeGetCustomerReceivablesAccount

[IntegrationEvent(False,False)]
local procedure OnBeforeGetCustomerReceivablesAccount(GenJournalLine: Record "Gen. Journal Line", CustomerPostingGroup: Record "Customer Posting Group", var ReceivablesAccount: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"
ReceivablesAccount Code[20]
IsHandled Boolean

OnAfterCalcMinimalPossibleLiability

[IntegrationEvent(False,False)]
local procedure OnAfterCalcMinimalPossibleLiability(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var MinimalPossibleLiability: Decimal)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
MinimalPossibleLiability Decimal

OnAfterCalcPaymentExceedsLiability

[IntegrationEvent(False,False)]
local procedure OnAfterCalcPaymentExceedsLiability(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var MinimalPossibleLiability: Decimal, var PaymentExceedsLiability: Boolean)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
MinimalPossibleLiability Decimal
PaymentExceedsLiability Boolean

OnBeforeCalcPmtDiscVATAmounts

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtDiscVATAmounts(var VATEntry: Record "VAT Entry", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnCalcPmtDiscIfAdjVATOnAfterCalcPmtDiscVATBases

[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscIfAdjVATOnAfterCalcPmtDiscVATBases(var VATEntry: Record "VAT Entry", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var VATBase: Decimal, var VATBaseAddCurr: Decimal, var PmtDiscLCY2: Decimal, var PmtDiscAddCurr2: Decimal)

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
VATBase Decimal
VATBaseAddCurr Decimal
PmtDiscLCY2 Decimal
PmtDiscAddCurr2 Decimal

OnAfterCalcPmtDiscVATBases

[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscVATBases(VATEntry2: Record "VAT Entry", var VATBase: Decimal, var VATBaseAddCurr: Decimal, var NonDeductibleVATBase: Decimal, var NonDeductibleVATBaseAddCurr: Decimal)

Parameters

Name Type Description
VATEntry2 Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATBase Decimal
VATBaseAddCurr Decimal
NonDeductibleVATBase Decimal
NonDeductibleVATBaseAddCurr Decimal

OnCalcPmtDiscIfAdjVATOnAfterCalcPmtDiscVATAmounts

[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscIfAdjVATOnAfterCalcPmtDiscVATAmounts(var VATEntry: Record "VAT Entry", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var VATBase: Decimal, var VATBaseAddCurr: Decimal, var VATAmount: Decimal, var VATAmountAddCurr: Decimal, var PmtDiscLCY2: Decimal, var PmtDiscAddCurr2: Decimal)

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
VATBase Decimal
VATBaseAddCurr Decimal
VATAmount Decimal
VATAmountAddCurr Decimal
PmtDiscLCY2 Decimal
PmtDiscAddCurr2 Decimal

OnAfterCalcPmtDiscIfAdjVAT

[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscIfAdjVAT(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", GenJnlLine: Record "Gen. Journal Line", var PmtDiscLCY2: Decimal, var PmtDiscAddCurr2: Decimal)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
PmtDiscLCY2 Decimal
PmtDiscAddCurr2 Decimal

OnAfterCalcToleratedPaymentExceedsLiability

[IntegrationEvent(False,False)]
local procedure OnAfterCalcToleratedPaymentExceedsLiability(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var MinimalPossibleLiability: Decimal, var ToleratedPaymentExceedsLiability: Boolean, var PmtTolAmtToBeApplied: Decimal)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
MinimalPossibleLiability Decimal
ToleratedPaymentExceedsLiability Boolean
PmtTolAmtToBeApplied Decimal

OnAfterCalcPmtDiscount

[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscount(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var GenJnlLine: Record "Gen. Journal Line", var PmtTolAmtToBeApplied: Decimal, var PmtDisc: Decimal, var PmtDiscLCY: Decimal, var PmtDiscAddCurr: Decimal)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
PmtTolAmtToBeApplied Decimal
PmtDisc Decimal
PmtDiscLCY Decimal
PmtDiscAddCurr Decimal

OnAfterCalcPmtDiscPossible

[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscPossible(GenJnlLine: Record "Gen. Journal Line", var CVLedgEntryBuf: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnAfterCalcPmtDiscTolerance

[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscTolerance(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var GenJnlLine: Record "Gen. Journal Line", var PmtDiscTol: Decimal, var PmtDiscTolLCY: Decimal, var PmtDiscTolAddCurr: Decimal)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
PmtDiscTol Decimal
PmtDiscTolLCY Decimal
PmtDiscTolAddCurr Decimal

OnAfterCalcPmtDiscToleranceProc

[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtDiscToleranceProc(DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var PmtDiscTol: Decimal, var PmtDiscTolLCY: Decimal, var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
PmtDiscTol Decimal
PmtDiscTolLCY Decimal
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterCalcPmtTolerance

[IntegrationEvent(False,False)]
local procedure OnAfterCalcPmtTolerance(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var PmtTol: Decimal, var PmtTolLCY: Decimal, var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
PmtTol Decimal
PmtTolLCY Decimal
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterInitOldDtldCVLedgEntryBuf

[IntegrationEvent(False,False)]
local procedure OnAfterInitOldDtldCVLedgEntryBuf(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var PrevNewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var PrevOldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
PrevNewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
PrevOldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterInitNewDtldCVLedgEntryBuf

[IntegrationEvent(False,False)]
local procedure OnAfterInitNewDtldCVLedgEntryBuf(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var PrevNewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var PrevOldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
PrevNewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
PrevOldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnCalcApplicationOnAfterFillOldCVLedgEntryBufOpen

[IntegrationEvent(False,False)]
local procedure OnCalcApplicationOnAfterFillOldCVLedgEntryBufOpen(var GenJnlLine: Record "Gen. Journal Line", var OldCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
OldCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnCalcApplicationOnAfterCalcShouldSetClosedFields

[IntegrationEvent(False,False)]
local procedure OnCalcApplicationOnAfterCalcShouldSetClosedFields(CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var ShouldSetClosedFields: Boolean)

Parameters

Name Type Description
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
ShouldSetClosedFields Boolean

OnAfterSettingIsTransactionConsistent

[IntegrationEvent(True,False)]
local procedure OnAfterSettingIsTransactionConsistent(GenJournalLine: Record "Gen. Journal Line", var IsTransactionConsistent: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsTransactionConsistent Boolean

OnBeforeCalcCurrencyApplnRounding

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcCurrencyApplnRounding(GenJnlLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf3: Record "CV Ledger Entry Buffer", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var NewCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf3 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NewCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
IsHandled Boolean

OnBeforeCalcCurrencyRealizedGainLoss

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcCurrencyRealizedGainLoss(var CVLedgEntryBuf: Record "CV Ledger Entry Buffer", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary, var GenJnlLine: Record "Gen. Journal Line", var AppliedAmount: Decimal, var AppliedAmountLCY: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
CVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
TempDtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
AppliedAmount Decimal
AppliedAmountLCY Decimal
IsHandled Boolean

OnBeforeCalcCurrencyUnrealizedGainLoss

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcCurrencyUnrealizedGainLoss(var CVLedgEntryBuf: Record "CV Ledger Entry Buffer", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary, var GenJnlLine: Record "Gen. Journal Line", var AppliedAmount: Decimal, var RemainingAmountBeforeAppln: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
CVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
TempDtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
AppliedAmount Decimal
RemainingAmountBeforeAppln Decimal
IsHandled Boolean

OnBeforeCalcPmtDiscPossible

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtDiscPossible(var GenJnlLine: Record "Gen. Journal Line", var CVLedgEntryBuf: Record "CV Ledger Entry Buffer", var IsHandled: Boolean, RoundingPrecision: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
IsHandled Boolean
RoundingPrecision Decimal

OnBeforeCustPostApplyCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeCustPostApplyCustLedgEntry(var GenJnlLinePostApply: Record "Gen. Journal Line", var CustLedgEntryPostApply: Record "Cust. Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLinePostApply Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustLedgEntryPostApply Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
IsHandled Boolean

OnCustPostApplyCustLedgEntryOnBeforeRunCheck

[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeRunCheck(var GenJournalLine: Record "Gen. Journal Line", var CustLedgerEntryPostApply: Record "Cust. Ledger Entry", var CustLedgerEntry: Record "Cust. Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustLedgerEntryPostApply Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
IsHandled Boolean

OnBeforeVendPostApplyVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeVendPostApplyVendLedgEntry(var GenJnlLinePostApply: Record "Gen. Journal Line", var VendLedgEntryPostApply: Record "Vendor Ledger Entry")

Parameters

Name Type Description
GenJnlLinePostApply Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendLedgEntryPostApply Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnVendPostApplyVendLedgEntryOnBeforeRunCheck

[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeRunCheck(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnAfterPostApply

[IntegrationEvent(False,False)]
local procedure OnAfterPostApply(GenJnlLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var NewCVLedgEntryBuf2: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NewCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnBeforePostApply

[IntegrationEvent(False,False)]
local procedure OnBeforePostApply(var GenJnlLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var NewCVLedgEntryBuf2: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NewCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnBeforeUpdateGLReg

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateGLReg(IsTransactionConsistent: Boolean, var IsGLRegInserted: Boolean, var GLReg: Record "G/L Register", var IsHandled: Boolean, var GenJnlLine: Record "Gen. Journal Line", GlobalGLEntry: Record "G/L Entry", FirstNewVATEntryNo: Integer)

Parameters

Name Type Description
IsTransactionConsistent Boolean
IsGLRegInserted Boolean
GLReg Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
IsHandled Boolean
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GlobalGLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
FirstNewVATEntryNo Integer

OnBeforeUpdateTotalAmountsV19

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateTotalAmountsV19(var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary, var DimSetID: Integer, var AmountToCollect: Decimal, var AmountACYToCollect: Decimal, var IsHandled: Boolean, var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
TempDimPostingBuffer Table Microsoft.Finance.Dimension."Dimension Posting Buffer"
DimSetID Integer
AmountToCollect Decimal
AmountACYToCollect Decimal
IsHandled Boolean
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnBeforeInsertPmtDiscVATForGLEntry

[IntegrationEvent(True,False)]
local procedure OnBeforeInsertPmtDiscVATForGLEntry(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var GenJournalLine: Record "Gen. Journal Line", VATEntry: Record "VAT Entry", var VATPostingSetup: Record "VAT Posting Setup", VATAmount: Decimal, VATAmountAddCurr: Decimal, NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var TempGLEntryVAT: Record "G/L Entry" temporary, var IsHandled: Boolean, NonDedVATAmount: Decimal, NonDedVATAmountAddCurr: Decimal)

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
VATAmount Decimal
VATAmountAddCurr Decimal
NewCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
TempGLEntryVAT Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
IsHandled Boolean
NonDedVATAmount Decimal
NonDedVATAmountAddCurr Decimal

OnBeforeCreateGLEntryGainLossInsertGLEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateGLEntryGainLossInsertGLEntry(var GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnBeforeCreateGLEntriesForTotalAmountsUnapplyV19

[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntriesForTotalAmountsUnapplyV19(DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var CustomerPostingGroup: Record "Customer Posting Group", GenJournalLine: Record "Gen. Journal Line", var TempIDimPostingBuffer: Record "Dimension Posting Buffer" temporary, var IsHandled: Boolean)

Parameters

Name Type Description
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempIDimPostingBuffer Table Microsoft.Finance.Dimension."Dimension Posting Buffer"
IsHandled Boolean

OnBeforeCreateGLEntriesForTotalAmountsUnapplyVendorV19

[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntriesForTotalAmountsUnapplyVendorV19(DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", var VendorPostingGroup: Record "Vendor Posting Group", GenJournalLine: Record "Gen. Journal Line", var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary, var IsHandled: Boolean)

Parameters

Name Type Description
DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
VendorPostingGroup Table Microsoft.Purchases.Vendor."Vendor Posting Group"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDimPostingBuffer Table Microsoft.Finance.Dimension."Dimension Posting Buffer"
IsHandled Boolean

OnBeforeInitGLEntryVAT

[IntegrationEvent(False,False)]
local procedure OnBeforeInitGLEntryVAT(var GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnAfterInitGLEntryVAT

[IntegrationEvent(False,False)]
local procedure OnAfterInitGLEntryVAT(GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnBeforeInitGLEntryVATCopy

[IntegrationEvent(False,False)]
local procedure OnBeforeInitGLEntryVATCopy(var GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var VATEntry: Record "VAT Entry", var NextEntryNo: Integer)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
NextEntryNo Integer

OnAfterInitGLEntryVATCopy

[IntegrationEvent(False,False)]
local procedure OnAfterInitGLEntryVATCopy(GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnBeforePostUnrealVATEntry

[IntegrationEvent(False,False)]
local procedure OnBeforePostUnrealVATEntry(GenJnlLine: Record "Gen. Journal Line", var VATEntry: Record "VAT Entry")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnBeforePostUnapply

[IntegrationEvent(True,False)]
local procedure OnBeforePostUnapply(GenJnlLine: Record "Gen. Journal Line", var VATEntry: Record "VAT Entry", VATEntryType: Enum "General Posting Type", BilltoPaytoNo: Code[20], TransactionNo: Integer, UnapplyVATEntries: Boolean, var TempVATEntry: Record "VAT Entry" temporary, var IsHandled: Boolean, var NextVATEntryNo: Integer)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATEntryType Enum Microsoft.Foundation.Enums."General Posting Type"
BilltoPaytoNo Code[20]
TransactionNo Integer
UnapplyVATEntries Boolean
TempVATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
IsHandled Boolean
NextVATEntryNo Integer

OnAfterPostUnrealVATEntry

[IntegrationEvent(False,False)]
local procedure OnAfterPostUnrealVATEntry(GenJnlLine: Record "Gen. Journal Line", var VATEntry2: Record "VAT Entry", VATAmount: Decimal, VATBase: Decimal, GLEntryNo: Integer, var NextEntryNo: Integer, var NextVATEntryNo: Integer)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry2 Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATAmount Decimal
VATBase Decimal
GLEntryNo Integer
NextEntryNo Integer
NextVATEntryNo Integer

OnAfterHandleAddCurrResidualGLEntry

[IntegrationEvent(False,False)]
local procedure OnAfterHandleAddCurrResidualGLEntry(GenJournalLine: Record "Gen. Journal Line", GLEntry2: Record "G/L Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnAfterCalcCurrencyRealizedGainLoss

[IntegrationEvent(False,False)]
local procedure OnAfterCalcCurrencyRealizedGainLoss(var CVLedgEntryBuf: Record "CV Ledger Entry Buffer", AppliedAmount: Decimal, AppliedAmountLCY: Decimal, var RealizedGainLossLCY: Decimal)

Parameters

Name Type Description
CVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
AppliedAmount Decimal
AppliedAmountLCY Decimal
RealizedGainLossLCY Decimal

OnAfterUnapplyVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterUnapplyVendLedgEntry(GenJournalLine2: Record "Gen. Journal Line", DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")

Parameters

Name Type Description
GenJournalLine2 Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"

OnAfterUnapplyEmplLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterUnapplyEmplLedgEntry(GenJournalLine2: Record "Gen. Journal Line", DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")

Parameters

Name Type Description
GenJournalLine2 Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedEmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Detailed Employee Ledger Entry"

OnAfterUpdateTotalAmounts

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateTotalAmounts(var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary, DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
TempDimPostingBuffer Table Microsoft.Finance.Dimension."Dimension Posting Buffer"
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnAfterSalesTaxCalculateCalculateTax

[IntegrationEvent(False,False)]
local procedure OnAfterSalesTaxCalculateCalculateTax(var GenJournalLine: Record "Gen. Journal Line", GLEntry: Record "G/L Entry", Currency: Record Currency)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
Currency Table Microsoft.Finance.Currency.Currency

OnAfterSalesTaxCalculateInitSalesTaxLines

[IntegrationEvent(False,False)]
local procedure OnAfterSalesTaxCalculateInitSalesTaxLines(var GenJournalLine: Record "Gen. Journal Line", GLEntry: Record "G/L Entry", SalesTaxBaseAmount: Decimal)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
SalesTaxBaseAmount Decimal

OnAfterSalesTaxCalculateReverseCalculateTax

[IntegrationEvent(False,False)]
local procedure OnAfterSalesTaxCalculateReverseCalculateTax(var GenJournalLine: Record "Gen. Journal Line", GLEntry: Record "G/L Entry", Currency: Record Currency)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
Currency Table Microsoft.Finance.Currency.Currency

OnAfterUpdateVATEntryTaxDetails

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateVATEntryTaxDetails(var VATEntry: Record "VAT Entry", TaxDetail: Record "Tax Detail")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
TaxDetail Table Microsoft.Finance.SalesTax."Tax Detail"

OnApplyCustLedgEntryOnAfterRecalculateAmounts

[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnAfterRecalculateAmounts(var TempOldCustLedgerEntry: Record "Cust. Ledger Entry" temporary, OldCustLedgerEntry: Record "Cust. Ledger Entry", CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
TempOldCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
OldCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnApplyCustLedgEntryOnAfterCalcShouldUpdateCalcInterestFromOldBuf

[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnAfterCalcShouldUpdateCalcInterestFromOldBuf(var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", Cust: Record Customer, var ShouldUpdateCalcInterest: Boolean)

Parameters

Name Type Description
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
Cust Table Microsoft.Sales.Customer.Customer
ShouldUpdateCalcInterest Boolean

OnApplyCustLedgEntryOnBeforeCopyFromCVLedgEntryBuffer

[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnBeforeCopyFromCVLedgEntryBuffer(var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", AppliedAmount: Decimal, GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
AppliedAmount Decimal
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnApplyCustLedgEntryOnBeforeCopyFromCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnBeforeCopyFromCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line", var OldCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var TempOldCustLedgEntry: Record "Cust. Ledger Entry", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
OldCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
TempOldCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnApplyCustLedgEntryOnAfterCalcShouldUpdateCalcInterestFromNewBuf

[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnAfterCalcShouldUpdateCalcInterestFromNewBuf(var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", Cust: Record Customer, var ShouldUpdateCalcInterest: Boolean)

Parameters

Name Type Description
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
Cust Table Microsoft.Sales.Customer.Customer
ShouldUpdateCalcInterest Boolean

OnApplyCustLedgEntryOnBeforePrepareTempCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnBeforePrepareTempCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line", var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var NextEntryNo: Integer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NewCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
NextEntryNo Integer

OnApplyCustLedgEntryOnAfterSetApplyingDate

[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryOnAfterSetApplyingDate(ApplyingDate: Date)

Parameters

Name Type Description
ApplyingDate Date

OnApplyCustLedgerEntryOnBeforeSetCompleted

[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgerEntryOnBeforeSetCompleted(var GenJournalLine: Record "Gen. Journal Line", var OldCustLedgEntry: Record "Cust. Ledger Entry", var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", AppliedAmount: Decimal)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
OldCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
NewCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
AppliedAmount Decimal

OnApplyVendLedgEntryOnAfterRecalculateAmounts

[IntegrationEvent(False,False)]
local procedure OnApplyVendLedgEntryOnAfterRecalculateAmounts(var TempOldVendorLedgerEntry: Record "Vendor Ledger Entry" temporary, OldVendorLedgerEntry: Record "Vendor Ledger Entry", CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
TempOldVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
OldVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnApplyVendLedgEntryOnBeforeUnrealizedVAT

[IntegrationEvent(False,False)]
local procedure OnApplyVendLedgEntryOnBeforeUnrealizedVAT(var GenJournalLine: Record "Gen. Journal Line", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var VendorLedgerEntry: Record "Vendor Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
IsHandled Boolean

OnApplyVendLedgEntryOnBeforeTempOldVendLedgEntryDelete

[IntegrationEvent(True,False)]
local procedure OnApplyVendLedgEntryOnBeforeTempOldVendLedgEntryDelete(var GenJournalLine: Record "Gen. Journal Line", var TempVendorLedgerEntry: Record "Vendor Ledger Entry" temporary, AppliedAmount: Decimal, var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
AppliedAmount Decimal
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnApplyVendLedgEntryOnBeforeCopyFromVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnApplyVendLedgEntryOnBeforeCopyFromVendLedgEntry(var GenJournalLine: Record "Gen. Journal Line", var OldCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var TempOldVendLedgEntry: Record "Vendor Ledger Entry", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
OldCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
TempOldVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnApplyVendLedgEntryOnBeforeOldVendLedgEntryModify

[IntegrationEvent(False,False)]
local procedure OnApplyVendLedgEntryOnBeforeOldVendLedgEntryModify(GenJnlLine: Record "Gen. Journal Line", var OldVendLedgEntry: Record "Vendor Ledger Entry", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", AppliedAmount: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
OldVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
AppliedAmount Decimal

OnApplyVendLedgEntryOnBeforeVendUnrealizedVAT

[IntegrationEvent(False,False)]
local procedure OnApplyVendLedgEntryOnBeforeVendUnrealizedVAT(VendLedgerEntry: Record "Vendor Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
VendLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
IsHandled Boolean

OnApplyEmplLedgEntryOnBeforeOldEmplLedgEntryModify

[IntegrationEvent(False,False)]
local procedure OnApplyEmplLedgEntryOnBeforeOldEmplLedgEntryModify(GenJnlLine: Record "Gen. Journal Line", var OldEmplLedgEntry: Record "Employee Ledger Entry", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", AppliedAmount: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
OldEmplLedgEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
AppliedAmount Decimal

OnBeforeCreateGLEntryForTotalAmountsForDimPostBuf

[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntryForTotalAmountsForDimPostBuf(var GenJnlLine: Record "Gen. Journal Line", TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary, var GLAccNo: Code[20])

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDimPostingBuffer Table Microsoft.Finance.Dimension."Dimension Posting Buffer"
GLAccNo Code[20]

OnBeforeCustLedgEntryModify

[IntegrationEvent(False,False)]
local procedure OnBeforeCustLedgEntryModify(var CustLedgerEntry: Record "Cust. Ledger Entry", DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"

OnBeforeVendLedgEntryModify

[IntegrationEvent(False,False)]
local procedure OnBeforeVendLedgEntryModify(var VendorLedgerEntry: Record "Vendor Ledger Entry", DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"

OnBeforeEmplLedgEntryModify

[IntegrationEvent(False,False)]
local procedure OnBeforeEmplLedgEntryModify(var EmployeeLedgerEntry: Record "Employee Ledger Entry", DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")

Parameters

Name Type Description
EmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
DetailedEmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Detailed Employee Ledger Entry"

OnBeforePrepareTempCustledgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforePrepareTempCustledgEntry(var GenJnlLine: Record "Gen. Journal Line", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", Customer: Record Customer, var ApplyingDate: Date, var Result: Boolean, var IsHandled: Boolean, var TempOldCustLedgEntry: Record "Cust. Ledger Entry" temporary)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
Customer Table Microsoft.Sales.Customer.Customer
ApplyingDate Date
Result Boolean
IsHandled Boolean
TempOldCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnBeforePrepareTempVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforePrepareTempVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var TempOldVendLedgEntry: Record "Vendor Ledger Entry" temporary, Vend: Record Vendor, var ApplyingDate: Date, var Result: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
TempOldVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
Vend Table Microsoft.Purchases.Vendor.Vendor
ApplyingDate Date
Result Boolean
IsHandled Boolean

OnBeforePrepareTempEmplLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforePrepareTempEmplLedgEntry(var GenJnlLine: Record "Gen. Journal Line", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var TempOldEmployeeLedgerEntry: Record "Employee Ledger Entry" temporary, Employee: Record Employee, var ApplyingDate: Date, var Result: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
TempOldEmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
Employee Table Microsoft.HumanResources.Employee.Employee
ApplyingDate Date
Result Boolean
IsHandled Boolean

OnPrepareTempVendLedgEntryOnBeforeTestPositive

[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeTestPositive(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnBeforeSetDeferralDescription

[IntegrationEvent(False,False)]
local procedure OnBeforeSetDeferralDescription(GenJournalLine: Record "Gen. Journal Line", DeferralLine: Record "Deferral Line", var DeferralDescription: Text[100], var IsHandled: Boolean, GLAccountNo: Code[20])

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DeferralLine Table Microsoft.Finance.Deferral."Deferral Line"
DeferralDescription Text[100]
IsHandled Boolean
GLAccountNo Code[20]

OnBeforeSetDeferralDescriptionFromDeferralLine

[IntegrationEvent(False,False)]
local procedure OnBeforeSetDeferralDescriptionFromDeferralLine(DeferralLine: Record "Deferral Line", var DeferralDescription: Text[100], var IsHandled: Boolean, GLAccountNo: Code[20])

Parameters

Name Type Description
DeferralLine Table Microsoft.Finance.Deferral."Deferral Line"
DeferralDescription Text[100]
IsHandled Boolean
GLAccountNo Code[20]

OnBeforeSetDeferralDescriptionFromDeferralPostingBuffer

[IntegrationEvent(False,False)]
local procedure OnBeforeSetDeferralDescriptionFromDeferralPostingBuffer(DeferralPostingBuffer: Record "Deferral Posting Buffer", var DeferralDescription: Text[100], var IsHandled: Boolean, GLAccountNo: Code[20])

Parameters

Name Type Description
DeferralPostingBuffer Table Microsoft.Finance.Deferral."Deferral Posting Buffer"
DeferralDescription Text[100]
IsHandled Boolean
GLAccountNo Code[20]

OnBeforeSummarizeVATFromInitGLEntryVAT

[IntegrationEvent(False,False)]
local procedure OnBeforeSummarizeVATFromInitGLEntryVAT(var GLEntry: Record "G/L Entry", Amount: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
Amount Decimal
IsHandled Boolean

OnCalcPmtDiscIfAdjVATOnBeforeVATEntryFind

[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscIfAdjVATOnBeforeVATEntryFind(var GenJnlLine: Record "Gen. Journal Line", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var VATEntry: Record "VAT Entry", var PmtDiscLCY2: Decimal, var PmtDiscAddCurr2: Decimal, var PmtDiscFactorLCY: Decimal, var PmtDiscFactorAddCurr: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
PmtDiscLCY2 Decimal
PmtDiscAddCurr2 Decimal
PmtDiscFactorLCY Decimal
PmtDiscFactorAddCurr Decimal

OnCalcPmtDiscAdjVATAmountsOnBeforeProcessVATEntry

[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscAdjVATAmountsOnBeforeProcessVATEntry(var GenJnlLine: Record "Gen. Journal Line", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var VATEntry: Record "VAT Entry")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnCalcPmtDiscIfAdjVATOnBeforeInsertSummarizedVATAfterLoop

[IntegrationEvent(True,False)]
local procedure OnCalcPmtDiscIfAdjVATOnBeforeInsertSummarizedVATAfterLoop(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnCalcPmtDiscIfAdjVATOnBeforeInsertSummarizedVATAdjForPaymentDiscount

[IntegrationEvent(True,False)]
local procedure OnCalcPmtDiscIfAdjVATOnBeforeInsertSummarizedVATAdjForPaymentDiscount(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnCalcPmtDiscIfAdjVATOnBeforeInsertPmtDiscVATForGLEntry

[IntegrationEvent(True,False)]
local procedure OnCalcPmtDiscIfAdjVATOnBeforeInsertPmtDiscVATForGLEntry(var VATEntry: Record "VAT Entry", VATEntry2: Record "VAT Entry", DtldCVLedgEntryBuf2: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATEntry2 Table Microsoft.Finance.VAT.Ledger."VAT Entry"
DtldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnCreateGLEntriesForTotalAmountsUnapplyOnBeforeCreateGLEntryV19

[IntegrationEvent(False,False)]
local procedure OnCreateGLEntriesForTotalAmountsUnapplyOnBeforeCreateGLEntryV19(var GenJnlLine: Record "Gen. Journal Line", var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary, var GLAccNo: Code[20])

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDimPostingBuffer Table Microsoft.Finance.Dimension."Dimension Posting Buffer"
GLAccNo Code[20]

OnCreateGLEntryForTotalAmountsOnBeforeInsertGLEntry

[IntegrationEvent(False,False)]
local procedure OnCreateGLEntryForTotalAmountsOnBeforeInsertGLEntry(var GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var IsHandled: Boolean, var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
IsHandled Boolean
TempGLEntryVATEntryLink Table Microsoft.Finance.VAT.Ledger."G/L Entry - VAT Entry Link"

OnCodeOnAfterRunExhangeAccGLJournalLine

[IntegrationEvent(True,False)]
local procedure OnCodeOnAfterRunExhangeAccGLJournalLine(var GenJournalLine: Record "Gen. Journal Line", Balancing: Boolean, var NextEntryNo: Integer, var JobLine: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Balancing Boolean
NextEntryNo Integer
JobLine Boolean

OnCodeOnBeforeFinishPosting

[IntegrationEvent(True,False)]
local procedure OnCodeOnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line", Balancing: Boolean, FirstEntryNo: Integer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Balancing Boolean
FirstEntryNo Integer

OnContinuePostingOnBeforeCalculateCurrentBalance

[IntegrationEvent(False,False)]
local procedure OnContinuePostingOnBeforeCalculateCurrentBalance(var GenJournalLine: Record "Gen. Journal Line", var NextTransactionNo: Integer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NextTransactionNo Integer

OnCustPostApplyCustLedgEntryOnAfterCustLedgEntryTransferFields

[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnAfterCustLedgEntryTransferFields(var CustLedgerEntry: Record "Cust. Ledger Entry", var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnCustPostApplyCustLedgEntryOnBeforeCheckPostingGroup

[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeCheckPostingGroup(var GenJournalLine: Record "Gen. Journal Line", var Customer: Record Customer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Customer Table Microsoft.Sales.Customer.Customer

OnCustPostApplyCustLedgEntryOnBeforeFinishPosting

[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line", CustLedgEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnCustPostApplyCustLedgEntryOnBeforePostDtldCustLedgEntries

[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforePostDtldCustLedgEntries(var CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnFinishPostingOnBeforeResetFirstEntryNo

[IntegrationEvent(True,False)]
local procedure OnFinishPostingOnBeforeResetFirstEntryNo(var GLEntry: Record "G/L Entry", NextEntryNo: Integer, FirstEntryNo: Integer, GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextEntryNo Integer
FirstEntryNo Integer
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnHandleAddCurrResidualGLEntryOnBeforeInsertGLEntry

[IntegrationEvent(True,False)]
local procedure OnHandleAddCurrResidualGLEntryOnBeforeInsertGLEntry(GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var TempGLEntryBuf: Record "G/L Entry", NextEntryNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextEntryNo Integer
IsHandled Boolean

OnHandleDtldAdjustmentOnBeforeInitGLEntry

[IntegrationEvent(False,False)]
local procedure OnHandleDtldAdjustmentOnBeforeInitGLEntry(GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", TotalAmountLCY: Decimal, TotalAmountAddCurr: Decimal, GLAccNo: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
TotalAmountLCY Decimal
TotalAmountAddCurr Decimal
GLAccNo Code[20]
IsHandled Boolean

OnInitVATOnAfterSetGLEntryVATAmountForNormalVAT

[IntegrationEvent(False,False)]
local procedure OnInitVATOnAfterSetGLEntryVATAmountForNormalVAT(GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnInitVATOnBeforeVATPostingSetupCheck

[IntegrationEvent(False,False)]
local procedure OnInitVATOnBeforeVATPostingSetupCheck(var GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var VATPostingSetup: Record "VAT Posting Setup", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
IsHandled Boolean

OnInitVATOnBeforeTestFullVATAccount

[IntegrationEvent(False,False)]
local procedure OnInitVATOnBeforeTestFullVATAccount(var GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var VATPostingSetup: Record "VAT Posting Setup", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
IsHandled Boolean

OnInsertGLEntryOnBeforeCheckAmountRounding

[IntegrationEvent(False,False)]
local procedure OnInsertGLEntryOnBeforeCheckAmountRounding(var GLEntry: Record "G/L Entry", var IsHandled: Boolean, var GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
IsHandled Boolean
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnInsertGLEntryOnBeforeAssignTempGLEntryBuf

[IntegrationEvent(False,False)]
local procedure OnInsertGLEntryOnBeforeAssignTempGLEntryBuf(var GLEntry: Record "G/L Entry", GenJournalLine: Record "Gen. Journal Line", GLRegister: Record "G/L Register")

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnInsertPmtDiscVATForGLEntryOnAfterCopyFromGenJnlLine

[IntegrationEvent(False,False)]
local procedure OnInsertPmtDiscVATForGLEntryOnAfterCopyFromGenJnlLine(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnInsertTempVATEntryOnBeforeInsert

[IntegrationEvent(False,False)]
local procedure OnInsertTempVATEntryOnBeforeInsert(var VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line", SourceVATEntry: Record "VAT Entry")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
SourceVATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnInsertVATEntriesFromTempOnBeforeVATEntryInsert

[IntegrationEvent(False,False)]
local procedure OnInsertVATEntriesFromTempOnBeforeVATEntryInsert(var VATEntry: Record "VAT Entry", TempVATEntry: Record "VAT Entry" temporary, GLRegister: Record "G/L Register", GLEntry: Record "G/L Entry")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
TempVATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnInsertVATOnAfterAssignVATEntryFields

[IntegrationEvent(False,False)]
local procedure OnInsertVATOnAfterAssignVATEntryFields(GenJnlLine: Record "Gen. Journal Line", var VATEntry: Record "VAT Entry", CurrExchRate: Record "Currency Exchange Rate")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
CurrExchRate Table Microsoft.Finance.Currency."Currency Exchange Rate"

OnInsertVATOnBeforeCreateGLEntryForReverseChargeVATToPurchAcc

[IntegrationEvent(False,False)]
local procedure OnInsertVATOnBeforeCreateGLEntryForReverseChargeVATToPurchAcc(var GenJournalLine: Record "Gen. Journal Line", var VATPostingSetup: Record "VAT Posting Setup", UnrealizedVAT: Boolean, VATAmount: Decimal, VATAmountAddCurr: Decimal, UseAmountAddCurr: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
UnrealizedVAT Boolean
VATAmount Decimal
VATAmountAddCurr Decimal
UseAmountAddCurr Boolean

OnInsertVATOnBeforeCreateGLEntryForReverseChargeVATToRevChargeAcc

[IntegrationEvent(False,False)]
local procedure OnInsertVATOnBeforeCreateGLEntryForReverseChargeVATToRevChargeAcc(var GenJournalLine: Record "Gen. Journal Line", VATPostingSetup: Record "VAT Posting Setup", UnrealizedVAT: Boolean, var VATAmount: Decimal, var VATAmountAddCurr: Decimal, UseAmountAddCurr: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
UnrealizedVAT Boolean
VATAmount Decimal
VATAmountAddCurr Decimal
UseAmountAddCurr Boolean

OnInsertVATOnBeforeVATForGLEntry

[IntegrationEvent(False,False)]
local procedure OnInsertVATOnBeforeVATForGLEntry(var GenJournalLine: Record "Gen. Journal Line", var GLEntryVATAmountNotEmpty: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntryVATAmountNotEmpty Boolean

OnPostApplyOnAfterRecalculateAmounts

[IntegrationEvent(True,False)]
local procedure OnPostApplyOnAfterRecalculateAmounts(var OldCVLedgerEntryBuffer2: Record "CV Ledger Entry Buffer", var OldCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", AddCurrencyCode: Code[10], NextTransactionNo: Integer, var NextVATEntryNo: Integer)

Parameters

Name Type Description
OldCVLedgerEntryBuffer2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NewCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
AddCurrencyCode Code[10]
NextTransactionNo Integer
NextVATEntryNo Integer

OnPostBankAccOnAfterBankAccLedgEntryInsert

[IntegrationEvent(True,False)]
local procedure OnPostBankAccOnAfterBankAccLedgEntryInsert(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", var GenJournalLine: Record "Gen. Journal Line", BankAccount: Record "Bank Account")

Parameters

Name Type Description
BankAccountLedgerEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

OnPostBankAccOnBeforeBankAccLedgEntryInsert

[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeBankAccLedgEntryInsert(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", var GenJournalLine: Record "Gen. Journal Line", BankAccount: Record "Bank Account", var TempGLEntryBuf: Record "G/L Entry" temporary, var NextTransactionNo: Integer, GLRegister: Record "G/L Register", Balancing: Boolean)

Parameters

Name Type Description
BankAccountLedgerEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextTransactionNo Integer
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
Balancing Boolean

OnPostBankAccOnBeforeCheckLedgEntry2Modify

[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeCheckLedgEntry2Modify(var CheckLedgEntry: Record "Check Ledger Entry", var BankAccLedgEntry: Record "Bank Account Ledger Entry", var CheckLedgerEntry2: Record "Check Ledger Entry")

Parameters

Name Type Description
CheckLedgEntry Table Microsoft.Bank.Check."Check Ledger Entry"
BankAccLedgEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
CheckLedgerEntry2 Table Microsoft.Bank.Check."Check Ledger Entry"

OnPostBankAccOnAfterCheckLedgEntryInsert

[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnAfterCheckLedgEntryInsert(var CheckLedgerEntry: Record "Check Ledger Entry", var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", var GenJournalLine: Record "Gen. Journal Line", BankAccount: Record "Bank Account")

Parameters

Name Type Description
CheckLedgerEntry Table Microsoft.Bank.Check."Check Ledger Entry"
BankAccountLedgerEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

OnPostBankAccOnBeforeCheckLedgEntryInsert

[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeCheckLedgEntryInsert(var CheckLedgerEntry: Record "Check Ledger Entry", var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", var GenJournalLine: Record "Gen. Journal Line", BankAccount: Record "Bank Account")

Parameters

Name Type Description
CheckLedgerEntry Table Microsoft.Bank.Check."Check Ledger Entry"
BankAccountLedgerEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

OnPostBankAccOnBeforeInitBankAccLedgEntry

[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeInitBankAccLedgEntry(var GenJournalLine: Record "Gen. Journal Line", CurrencyFactor: Decimal, var NextEntryNo: Integer, var NextTransactionNo: Integer, var BankAccPostingGr: Record "Bank Account Posting Group")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CurrencyFactor Decimal
NextEntryNo Integer
NextTransactionNo Integer
BankAccPostingGr Table Microsoft.Bank.BankAccount."Bank Account Posting Group"

OnPostBankAccOnAfterCheckLedgEntrySetFilters

[IntegrationEvent(True,False)]
local procedure OnPostBankAccOnAfterCheckLedgEntrySetFilters(var CheckLedgEntry: Record "Check Ledger Entry", GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
CheckLedgEntry Table Microsoft.Bank.Check."Check Ledger Entry"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostBankAccOnBeforeModifyCheckLedgerEntry

[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeModifyCheckLedgerEntry(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnPostCustOnAfterCopyCVLedgEntryBuf

[IntegrationEvent(False,False)]
local procedure OnPostCustOnAfterCopyCVLedgEntryBuf(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line", Customer: Record Customer, CustLedgEntry: Record "Cust. Ledger Entry", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary)

Parameters

Name Type Description
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Customer Table Microsoft.Sales.Customer.Customer
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
TempDtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnPostCustOnAfterInitCustLedgEntry

[IntegrationEvent(True,False)]
local procedure OnPostCustOnAfterInitCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line", var CustLedgEntry: Record "Cust. Ledger Entry", Cust: Record Customer, CustPostingGr: Record "Customer Posting Group")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
Cust Table Microsoft.Sales.Customer.Customer
CustPostingGr Table Microsoft.Sales.Customer."Customer Posting Group"

OnPostCustOnAfterCalcShouldCheckDocNo

[IntegrationEvent(True,False)]
local procedure OnPostCustOnAfterCalcShouldCheckDocNo(var GenJournalLine: Record "Gen. Journal Line", var ShouldCheckDocNo: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
ShouldCheckDocNo Boolean

OnPostCustOnBeforeInitCustLedgEntry

[IntegrationEvent(True,False)]
local procedure OnPostCustOnBeforeInitCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line", var CustLedgEntry: Record "Cust. Ledger Entry", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var CustPostingGr: Record "Customer Posting Group")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
CustPostingGr Table Microsoft.Sales.Customer."Customer Posting Group"

OnPostCustOnAfterTempDtldCVLedgEntryBufCopyFromGenJnlLine

[IntegrationEvent(True,False)]
local procedure OnPostCustOnAfterTempDtldCVLedgEntryBufCopyFromGenJnlLine(var GenJournalLine: Record "Gen. Journal Line", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnPostCustOnBeforeTempDtldCVLedgEntryBufCopyFromGenJnlLine

[IntegrationEvent(True,False)]
local procedure OnPostCustOnBeforeTempDtldCVLedgEntryBufCopyFromGenJnlLine(var GenJournalLine: Record "Gen. Journal Line", var CustLedgEntry: Record "Cust. Ledger Entry", var Cust: Record Customer, GLReg: Record "G/L Register", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
Cust Table Microsoft.Sales.Customer.Customer
GLReg Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnPostCustOnBeforeCopyFromCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnPostCustOnBeforeCopyFromCustLedgEntry(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line", Customer: Record Customer)

Parameters

Name Type Description
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Customer Table Microsoft.Sales.Customer.Customer

OnCustPostApplyCustLedgEntryOnBeforeCopyFromCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeCopyFromCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnPostVendOnAfterCopyCVLedgEntryBuf

[IntegrationEvent(False,False)]
local procedure OnPostVendOnAfterCopyCVLedgEntryBuf(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostEmployeeOnAfterCopyCVLedgEntryBuf

[IntegrationEvent(False,False)]
local procedure OnPostEmployeeOnAfterCopyCVLedgEntryBuf(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostVendOnBeforeInitVendLedgEntry

[IntegrationEvent(True,False)]
local procedure OnPostVendOnBeforeInitVendLedgEntry(var GenJournalLine: Record "Gen. Journal Line", var VendLedgEntry: Record "Vendor Ledger Entry", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var VendPostingGr: Record "Vendor Posting Group")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
VendPostingGr Table Microsoft.Purchases.Vendor."Vendor Posting Group"

OnPostVendAfterTempDtldCVLedgEntryBufInit

[IntegrationEvent(False,False)]
local procedure OnPostVendAfterTempDtldCVLedgEntryBufInit(var GenJnlLine: Record "Gen. Journal Line", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnPostVendOnBeforeCopyCVLedgEntryBuf

[IntegrationEvent(False,False)]
local procedure OnPostVendOnBeforeCopyCVLedgEntryBuf(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line", Vendor: Record Vendor)

Parameters

Name Type Description
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Vendor Table Microsoft.Purchases.Vendor.Vendor

OnPostVendOnBeforeGetVendorPayablesAccount

[IntegrationEvent(False,False)]
procedure OnPostVendOnBeforeGetVendorPayablesAccount(GenJournalLine: Record "Gen. Journal Line", VendorPostingGroup: Record "Vendor Posting Group", var PayablesAccount: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendorPostingGroup Table Microsoft.Purchases.Vendor."Vendor Posting Group"
PayablesAccount Code[20]
IsHandled Boolean

OnPostDtldCVLedgEntryOnBeforeCreateGLEntryGainLoss

[IntegrationEvent(True,False)]
local procedure OnPostDtldCVLedgEntryOnBeforeCreateGLEntryGainLoss(var GenJournalLine: Record "Gen. Journal Line", DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var Unapply: Boolean, var AccNo: Code[20], var IsHandled: Boolean, var AdjAmount: array[4] of Decimal, AddCurrencyCode: Code[10], MultiplePostingGroups: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
Unapply Boolean
AccNo Code[20]
IsHandled Boolean
AdjAmount array[4] of Decimal
AddCurrencyCode Code[10]
MultiplePostingGroups Boolean

OnPostDtldCVLedgEntryOnAfterCreateGLEntryPmtDiscTol

[IntegrationEvent(False,False)]
local procedure OnPostDtldCVLedgEntryOnAfterCreateGLEntryPmtDiscTol(DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", TempGLEntryBuf: Record "G/L Entry" temporary)

Parameters

Name Type Description
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnPostDtldCVLedgEntryOnAfterCreateGLEntryPmtDiscTolVATExcl

[IntegrationEvent(False,False)]
local procedure OnPostDtldCVLedgEntryOnAfterCreateGLEntryPmtDiscTolVATExcl(DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", TempGLEntryBuf: Record "G/L Entry" temporary)

Parameters

Name Type Description
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnPostDtldCustLedgEntriesOnAfterCreateGLEntriesForTotalAmounts

[IntegrationEvent(False,False)]
local procedure OnPostDtldCustLedgEntriesOnAfterCreateGLEntriesForTotalAmounts(var TempGLEntryBuf: Record "G/L Entry" temporary, var GlobalGLEntry: Record "G/L Entry", NextTransactionNo: Integer)

Parameters

Name Type Description
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GlobalGLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextTransactionNo Integer

OnPostDtldCustLedgEntriesOnBeforeCreateGLEntriesForTotalAmountsV19

[IntegrationEvent(True,False)]
local procedure OnPostDtldCustLedgEntriesOnBeforeCreateGLEntriesForTotalAmountsV19(var CustPostingGr: Record "Customer Posting Group", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var GenJnlLine: Record "Gen. Journal Line", var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary, AdjAmount: array[4] of Decimal, SaveEntryNo: Integer, GLAccNo: Code[20], LedgerEntryInserted: Boolean, AddCurrencyCode: Code[10], var IsHandled: Boolean)

Parameters

Name Type Description
CustPostingGr Table Microsoft.Sales.Customer."Customer Posting Group"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDimPostingBuffer Table Microsoft.Finance.Dimension."Dimension Posting Buffer"
AdjAmount array[4] of Decimal
SaveEntryNo Integer
GLAccNo Code[20]
LedgerEntryInserted Boolean
AddCurrencyCode Code[10]
IsHandled Boolean

OnPostDtldEmplLedgEntriesOnBeforeUpdateTotalAmounts

[IntegrationEvent(False,False)]
local procedure OnPostDtldEmplLedgEntriesOnBeforeUpdateTotalAmounts(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
DetailedEmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Detailed Employee Ledger Entry"
IsHandled Boolean

OnPostDtldEmplLedgEntriesOnAfterUpdateTotalAmounts

[IntegrationEvent(False,False)]
local procedure OnPostDtldEmplLedgEntriesOnAfterUpdateTotalAmounts(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
DetailedEmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Detailed Employee Ledger Entry"

OnPostDtldVendLedgEntriesOnAfterCreateGLEntriesForTotalAmounts

[IntegrationEvent(False,False)]
local procedure OnPostDtldVendLedgEntriesOnAfterCreateGLEntriesForTotalAmounts(var TempGLEntryBuf: Record "G/L Entry" temporary, var GlobalGLEntry: Record "G/L Entry", NextTransactionNo: Integer)

Parameters

Name Type Description
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GlobalGLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextTransactionNo Integer

OnPostDtldEmplLedgEntriesOnAfterCreateGLEntriesForTotalAmounts

[IntegrationEvent(True,False)]
local procedure OnPostDtldEmplLedgEntriesOnAfterCreateGLEntriesForTotalAmounts(var TempGLEntryBuf: Record "G/L Entry" temporary, var GlobalGLEntry: Record "G/L Entry", NextTransactionNo: Integer)

Parameters

Name Type Description
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GlobalGLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextTransactionNo Integer

OnPostDtldVendLedgEntriesOnBeforeCreateGLEntriesForTotalAmounts

[IntegrationEvent(True,False)]
local procedure OnPostDtldVendLedgEntriesOnBeforeCreateGLEntriesForTotalAmounts(var VendPostingGr: Record "Vendor Posting Group", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", GenJournalLine: Record "Gen. Journal Line", var TempDimensionPostingBuffer: Record "Dimension Posting Buffer" temporary, AdjAmountBuf: array[4] of Decimal, SavedEntryNo: Integer, LedgEntryInserted: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
VendPostingGr Table Microsoft.Purchases.Vendor."Vendor Posting Group"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDimensionPostingBuffer Table Microsoft.Finance.Dimension."Dimension Posting Buffer"
AdjAmountBuf array[4] of Decimal
SavedEntryNo Integer
LedgEntryInserted Boolean
IsHandled Boolean

OnPostDtldEmplLedgEntriesOnBeforeCreateGLEntriesForTotalAmounts

[IntegrationEvent(False,False)]
local procedure OnPostDtldEmplLedgEntriesOnBeforeCreateGLEntriesForTotalAmounts(var EmplPostingGr: Record "Employee Posting Group", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", GenJournalLine: Record "Gen. Journal Line", var TempDimensionPostingBuffer: Record "Dimension Posting Buffer" temporary, AdjAmountBuf: array[4] of Decimal, SavedEntryNo: Integer, LedgEntryInserted: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
EmplPostingGr Table Microsoft.HumanResources.Employee."Employee Posting Group"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDimensionPostingBuffer Table Microsoft.Finance.Dimension."Dimension Posting Buffer"
AdjAmountBuf array[4] of Decimal
SavedEntryNo Integer
LedgEntryInserted Boolean
IsHandled Boolean

OnPostDtldVendVATAdjustmentOnAfterFindVATEntry

[IntegrationEvent(False,False)]
local procedure OnPostDtldVendVATAdjustmentOnAfterFindVATEntry(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var VATEntry: Record "VAT Entry")

Parameters

Name Type Description
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnPostGLAccOnBeforeInsertGLEntry

[IntegrationEvent(True,False)]
local procedure OnPostGLAccOnBeforeInsertGLEntry(var GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var IsHandled: Boolean, Balancing: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
IsHandled Boolean
Balancing Boolean

OnPostGLAccOnAfterInitGLEntry

[IntegrationEvent(True,False)]
local procedure OnPostGLAccOnAfterInitGLEntry(var GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnPostGLAccOnBeforeDeferralPosting

[IntegrationEvent(True,False)]
local procedure OnPostGLAccOnBeforeDeferralPosting(var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostFixedAssetOnAfterSaveGenJnlLineValues

[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetOnAfterSaveGenJnlLineValues(var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostFixedAssetOnBeforeAssignGLEntry

[IntegrationEvent(True,False)]
local procedure OnPostFixedAssetOnBeforeAssignGLEntry(var GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var GLEntry2: Record "G/L Entry")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GLEntry2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnPostFixedAssetOnBeforeInsertGLEntry

[IntegrationEvent(True,False)]
local procedure OnPostFixedAssetOnBeforeInsertGLEntry(var GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var IsHandled: Boolean, var TempFAGLPostBuf: Record "FA G/L Posting Buffer" temporary, GLEntry2: Record "G/L Entry", NextEntyNo: Integer, var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
IsHandled Boolean
TempFAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
GLEntry2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextEntyNo Integer
TempGLEntryVATEntryLink Table Microsoft.Finance.VAT.Ledger."G/L Entry - VAT Entry Link"

OnAfterPostFixedAsset

[IntegrationEvent(False,False)]
local procedure OnAfterPostFixedAsset(var GenJournalLine: Record "Gen. Journal Line", var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempGLEntryVATEntryLink Table Microsoft.Finance.VAT.Ledger."G/L Entry - VAT Entry Link"

OnPostFixedAssetOnBeforePostVAT

[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetOnBeforePostVAT(var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostFixedAssetOnBeforeInitGLEntryFromTempFAGLPostBuf

[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetOnBeforeInitGLEntryFromTempFAGLPostBuf(var GenJournalLine: Record "Gen. Journal Line", var TempFAGLPostBuf: Record "FA G/L Posting Buffer" temporary)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempFAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"

OnPostFixedAssetOnBeforeGenJnlPostLine

[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetOnBeforeGenJnlPostLine(GenJournalLine: Record "Gen. Journal Line", GLEntry2: Record "G/L Entry", NextTransactionNo: Integer, NextGLEntryNo: Integer, GLReg: Record "G/L Register", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextTransactionNo Integer
NextGLEntryNo Integer
GLReg Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
IsHandled Boolean

OnPostDeferralOnBeforeInsertGLEntryForGLAccount

[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnBeforeInsertGLEntryForGLAccount(var GenJournalLine: Record "Gen. Journal Line", DeferralLine: Record "Deferral Line", var GLEntry: Record "G/L Entry", GLRegisterNo: Integer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DeferralLine Table Microsoft.Finance.Deferral."Deferral Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GLRegisterNo Integer

OnPostDeferralOnBeforeInsertGLEntryForDeferralAccount

[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnBeforeInsertGLEntryForDeferralAccount(var GenJournalLine: Record "Gen. Journal Line", DeferralLine: Record "Deferral Line", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DeferralLine Table Microsoft.Finance.Deferral."Deferral Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnPostDeferralOnBeforeInsertGLEntryDeferralLineForGLAccount

[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnBeforeInsertGLEntryDeferralLineForGLAccount(var GenJournalLine: Record "Gen. Journal Line", DeferralLine: Record "Deferral Line", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DeferralLine Table Microsoft.Finance.Deferral."Deferral Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnPostDeferralOnBeforeInsertGLEntryDeferralLineForDeferralAccount

[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnBeforeInsertGLEntryDeferralLineForDeferralAccount(var GenJournalLine: Record "Gen. Journal Line", DeferralLine: Record "Deferral Line", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DeferralLine Table Microsoft.Finance.Deferral."Deferral Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnPostDeferralOnAfterInsertGLEntry

[IntegrationEvent(True,False)]
local procedure OnPostDeferralOnAfterInsertGLEntry(var GenJournalLine: Record "Gen. Journal Line", TempDeferralLine: Record "Deferral Line" temporary)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDeferralLine Table Microsoft.Finance.Deferral."Deferral Line"

OnPostDeferralOnAfterTempDeferralLineLoopCompleted

[IntegrationEvent(True,False)]
local procedure OnPostDeferralOnAfterTempDeferralLineLoopCompleted(var GenJournalLine: Record "Gen. Journal Line", TempDeferralLine: Record "Deferral Line" temporary, DeferralTemplate: Record "Deferral Template", DeferralHeader: Record "Deferral Header")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDeferralLine Table Microsoft.Finance.Deferral."Deferral Line"
DeferralTemplate Table Microsoft.Finance.Deferral."Deferral Template"
DeferralHeader Table Microsoft.Finance.Deferral."Deferral Header"

OnPostDeferralPostBufferOnBeforeInsertGLEntryForGLAccount

[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnBeforeInsertGLEntryForGLAccount(var GenJournalLine: Record "Gen. Journal Line", DeferralPostingBuffer: Record "Deferral Posting Buffer", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DeferralPostingBuffer Table Microsoft.Finance.Deferral."Deferral Posting Buffer"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnPostDeferralPostBufferOnBeforeInsertGLEntryForDeferralAccount

[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnBeforeInsertGLEntryForDeferralAccount(var GenJournalLine: Record "Gen. Journal Line", DeferralPostingBuffer: Record "Deferral Posting Buffer", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DeferralPostingBuffer Table Microsoft.Finance.Deferral."Deferral Posting Buffer"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnPostDeferralPostBufferOnAfterSetFilters

[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnAfterSetFilters(var DeferralPostBuffer: Record "Deferral Posting Buffer", GenJournalLine: Record "Gen. Journal Line", GLRegisterNo: Integer, NextTransactionNo: Integer)

Parameters

Name Type Description
DeferralPostBuffer Table Microsoft.Finance.Deferral."Deferral Posting Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLRegisterNo Integer
NextTransactionNo Integer

OnPostDeferralPostBufferOnAfterInsertGLEntry

[IntegrationEvent(True,False)]
local procedure OnPostDeferralPostBufferOnAfterInsertGLEntry(var GenJournalLine: Record "Gen. Journal Line", var DeferralPostBuffer: Record "Deferral Posting Buffer")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DeferralPostBuffer Table Microsoft.Finance.Deferral."Deferral Posting Buffer"

OnPostDeferralPosBufferOnBeforeDeleteDeferralPostBuffer

[IntegrationEvent(True,False)]
local procedure OnPostDeferralPosBufferOnBeforeDeleteDeferralPostBuffer(var GenJournalLine: Record "Gen. Journal Line", var DeferralPostBuffer: Record "Deferral Posting Buffer")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DeferralPostBuffer Table Microsoft.Finance.Deferral."Deferral Posting Buffer"

OnPostEmployeeOnAfterPostDtldEmplLedgEntries

[IntegrationEvent(False,False)]
local procedure OnPostEmployeeOnAfterPostDtldEmplLedgEntries(GenJournalLine: Record "Gen. Journal Line", var EmployeeLedgerEntry: Record "Employee Ledger Entry", var DtldLedgEntryInserted: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
EmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
DtldLedgEntryInserted Boolean

OnPostUnapplyOnAfterVATEntrySetFilters

[IntegrationEvent(False,False)]
local procedure OnPostUnapplyOnAfterVATEntrySetFilters(var VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostUnapplyOnBeforeUnapplyVATEntry

[IntegrationEvent(False,False)]
local procedure OnPostUnapplyOnBeforeUnapplyVATEntry(var VATEntry: Record "VAT Entry", var UnapplyVATEntry: Boolean)

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
UnapplyVATEntry Boolean

OnPostUnapplyOnBeforeVATEntryInsert

[IntegrationEvent(True,False)]
local procedure OnPostUnapplyOnBeforeVATEntryInsert(var VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line", OrigVATEntry: Record "VAT Entry")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
OrigVATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnPrepareTempCustLedgEntryOnAfterSetFilters

[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnAfterSetFilters(var OldCustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var NextEntryNo: Integer)

Parameters

Name Type Description
OldCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NextEntryNo Integer

OnPrepareTempCustLedgEntryOnBeforeExit

[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeExit(var GenJournalLine: Record "Gen. Journal Line", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var TempOldCustLedgEntry: Record "Cust. Ledger Entry" temporary)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
TempOldCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnPrepareTempCustLedgEntryOnBeforeTestPositive

[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeTestPositive(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnPrepareTempCustLedgEntryOnBeforeTempOldCustLedgEntryInsert

[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeTempOldCustLedgEntryInsert(var CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPrepareTempEmplLedgEntryOnAppToIDOnBeforeTempOldEmplLedgEntryInsert

[IntegrationEvent(False,False)]
local procedure OnPrepareTempEmplLedgEntryOnAppToIDOnBeforeTempOldEmplLedgEntryInsert(var EmplLedgEntry: Record "Employee Ledger Entry", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
EmplLedgEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPrepareTempEmplLedgEntryOnAppDocNoOnBeforeTempOldEmplLedgEntryInsert

[IntegrationEvent(False,False)]
local procedure OnPrepareTempEmplLedgEntryOnAppDocNoOnBeforeTempOldEmplLedgEntryInsert(var EmplLedgEntry: Record "Employee Ledger Entry", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
EmplLedgEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPrepareTempEmplLedgEntryOnAfterSetFiltersByAppliesToId

[IntegrationEvent(False,False)]
local procedure OnPrepareTempEmplLedgEntryOnAfterSetFiltersByAppliesToId(var OldEmplLedgEntry: Record "Employee Ledger Entry", GenJournalLine: Record "Gen. Journal Line", CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", Employee: Record Employee)

Parameters

Name Type Description
OldEmplLedgEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
Employee Table Microsoft.HumanResources.Employee.Employee

OnPrepareTempVendLedgEntryOnAfterSetFilters

[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnAfterSetFilters(var OldVendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line", CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
OldVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnPrepareTempVendLedgEntryOnAfterSetFiltersBlankAppliesToDocNo

[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnAfterSetFiltersBlankAppliesToDocNo(var OldVendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line", CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", Vendor: Record Vendor)

Parameters

Name Type Description
OldVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
Vendor Table Microsoft.Purchases.Vendor.Vendor

OnPrepareTempVendLedgEntryOnBeforeExit

[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeExit(var GenJournalLine: Record "Gen. Journal Line", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var TempOldVendLedgEntry: Record "Vendor Ledger Entry" temporary)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
TempOldVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnPrepareTempVendLedgEntryOnBeforeTempOldVendLedgEntryInsert

[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeTempOldVendLedgEntryInsert(var VendorLedgerEntry: Record "Vendor Ledger Entry", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnUnapplyCustLedgEntryOnAfterCreateGLEntriesForTotalAmounts

[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnAfterCreateGLEntriesForTotalAmounts(var GenJournalLine: Record "Gen. Journal Line", DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", GLReg: Record "G/L Register")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
GLReg Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnUnapplyCustLedgEntryOnAfterDtldCustLedgEntrySetFilters

[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnAfterDtldCustLedgEntrySetFilters(var DetailedCustLedgEntry2: Record "Detailed Cust. Ledg. Entry", DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")

Parameters

Name Type Description
DetailedCustLedgEntry2 Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"

OnUnapplyCustLedgEntryOnBeforeCheckPostingGroup

[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforeCheckPostingGroup(var GenJournalLine: Record "Gen. Journal Line", Customer: Record Customer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Customer Table Microsoft.Sales.Customer.Customer

OnUnapplyCustLedgEntryOnAfterPostUnapply

[IntegrationEvent(True,False)]
local procedure OnUnapplyCustLedgEntryOnAfterPostUnapply(var GenJournalLine: Record "Gen. Journal Line", var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var DetailedCustLedgEntry2: Record "Detailed Cust. Ledg. Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
DetailedCustLedgEntry2 Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"

OnUnapplyCustLedgEntryOnBeforePostUnapply

[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforePostUnapply(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var DetailedCustLedgEntry2: Record "Detailed Cust. Ledg. Entry")

Parameters

Name Type Description
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
DetailedCustLedgEntry2 Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"

OnUnapplyCustLedgEntryOnAfterUpdateTotals

[IntegrationEvent(True,False)]
local procedure OnUnapplyCustLedgEntryOnAfterUpdateTotals(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnUnapplyCustLedgEntryOnBeforeUpdateCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforeUpdateCustLedgEntry(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var DetailedCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
DetailedCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnUnapplyVendLedgEntryOnAfterCreateGLEntriesForTotalAmounts

[IntegrationEvent(True,False)]
local procedure OnUnapplyVendLedgEntryOnAfterCreateGLEntriesForTotalAmounts(var GenJournalLine: Record "Gen. Journal Line", DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", GLReg: Record "G/L Register")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
GLReg Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnUnapplyVendLedgEntryOnAfterFilterSourceEntries

[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnAfterFilterSourceEntries(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", var DetailedVendorLedgEntry2: Record "Detailed Vendor Ledg. Entry")

Parameters

Name Type Description
DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
DetailedVendorLedgEntry2 Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"

OnUnapplyVendLedgEntryOnBeforeCheckPostingGroup

[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeCheckPostingGroup(var GenJournalLine: Record "Gen. Journal Line", Vendor: Record Vendor)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Vendor Table Microsoft.Purchases.Vendor.Vendor

OnUnapplyVendLedgEntryOnAfterPostUnapply

[IntegrationEvent(True,False)]
local procedure OnUnapplyVendLedgEntryOnAfterPostUnapply(var GenJournalLine: Record "Gen. Journal Line", var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", var DetailedVendorLedgEntry2: Record "Detailed Vendor Ledg. Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
DetailedVendorLedgEntry2 Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"

OnUnapplyVendLedgEntryOnBeforePostUnapply

[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforePostUnapply(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", var DetailedVendorLedgEntry2: Record "Detailed Vendor Ledg. Entry")

Parameters

Name Type Description
DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
DetailedVendorLedgEntry2 Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"

OnUnapplyVendLedgEntryOnBeforeUpdateVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeUpdateVendLedgEntry(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", var DetailedCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
DetailedCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnUnapplyEmplLedgEntryOnBeforeUpdateTotalAmounts

[IntegrationEvent(False,False)]
local procedure OnUnapplyEmplLedgEntryOnBeforeUpdateTotalAmounts(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
IsHandled Boolean

OnCustUnrealizedVATOnAfterVATPartCalculation

[IntegrationEvent(False,False)]
local procedure OnCustUnrealizedVATOnAfterVATPartCalculation(GenJournalLine: Record "Gen. Journal Line", var CustLedgerEntry: Record "Cust. Ledger Entry", PaidAmount: Decimal, TotalUnrealVATAmountFirst: Decimal, TotalUnrealVATAmountLast: Decimal, SettledAmount: Decimal, VATEntry2: Record "VAT Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
PaidAmount Decimal
TotalUnrealVATAmountFirst Decimal
TotalUnrealVATAmountLast Decimal
SettledAmount Decimal
VATEntry2 Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnCustUnrealizedVATOnAfterCalcPaidAmount

[IntegrationEvent(False,False)]
local procedure OnCustUnrealizedVATOnAfterCalcPaidAmount(GenJnlLine: Record "Gen. Journal Line", var CustLedgEntry2: Record "Cust. Ledger Entry", SettledAmount: Decimal, var PaidAmount: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustLedgEntry2 Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
SettledAmount Decimal
PaidAmount Decimal

OnCustUnrealizedVATOnBeforeInitGLEntryVAT

[IntegrationEvent(False,False)]
local procedure OnCustUnrealizedVATOnBeforeInitGLEntryVAT(var GenJournalLine: Record "Gen. Journal Line", var VATEntry: Record "VAT Entry", var VATAmount: Decimal, var VATBase: Decimal, var VATAmountAddCurr: Decimal, var VATBaseAddCurr: Decimal, var IsHandled: Boolean, var SalesVATUnrealAccount: Code[20], CustLedgerEntry: Record "Cust. Ledger Entry", SettledAmount: Decimal)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATAmount Decimal
VATBase Decimal
VATAmountAddCurr Decimal
VATBaseAddCurr Decimal
IsHandled Boolean
SalesVATUnrealAccount Code[20]
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
SettledAmount Decimal

OnCustUnrealizedVATOnAfterSetSalesVATAccounts

[IntegrationEvent(False,False)]
local procedure OnCustUnrealizedVATOnAfterSetSalesVATAccounts(var VATEntry: Record "VAT Entry", var VATPostingSetup: Record "VAT Posting Setup", var SalesVATAccount: Code[20], var SalesVATUnrealAccount: Code[20])

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
SalesVATAccount Code[20]
SalesVATUnrealAccount Code[20]

OnVendPostApplyVendLedgEntryOnAfterVendLedgEntryTransferFields

[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnAfterVendLedgEntryTransferFields(var VendorLedgerEntry: Record "Vendor Ledger Entry", var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnVendPostApplyVendLedgEntryOnBeforeCheckPostingGroup

[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeCheckPostingGroup(var GenJournalLine: Record "Gen. Journal Line", Vendor: Record Vendor)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Vendor Table Microsoft.Purchases.Vendor.Vendor

OnBeforeGetVendorPayablesAccount

[IntegrationEvent(False,False)]
local procedure OnBeforeGetVendorPayablesAccount(GenJournalLine: Record "Gen. Journal Line", VendorPostingGroup: Record "Vendor Posting Group", var PayablesAccount: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendorPostingGroup Table Microsoft.Purchases.Vendor."Vendor Posting Group"
PayablesAccount Code[20]
IsHandled Boolean

OnVendPostApplyVendLedgEntryOnBeforeFinishPosting

[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line", VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnVendPostApplyVendLedgEntryOnBeforePostDtldVendLedgEntries

[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforePostDtldVendLedgEntries(var VendorLedgEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
VendorLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnVendPostApplyVendLedgEntryOnBeforeCheckPostUnrealizedVAT

[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeCheckPostUnrealizedVAT(var GenJournalLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var DtldLedgEntryInserted: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
DtldLedgEntryInserted Boolean

OnVendUnrealizedVATOnAfterVATPartCalculation

[IntegrationEvent(False,False)]
local procedure OnVendUnrealizedVATOnAfterVATPartCalculation(GenJournalLine: Record "Gen. Journal Line", var VendorLedgerEntry: Record "Vendor Ledger Entry", PaidAmount: Decimal, TotalUnrealVATAmountFirst: Decimal, TotalUnrealVATAmountLast: Decimal, SettledAmount: Decimal, VATEntry2: Record "VAT Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
PaidAmount Decimal
TotalUnrealVATAmountFirst Decimal
TotalUnrealVATAmountLast Decimal
SettledAmount Decimal
VATEntry2 Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnVendUnrealizedVATOnBeforeInitGLEntryVAT

[IntegrationEvent(False,False)]
local procedure OnVendUnrealizedVATOnBeforeInitGLEntryVAT(var GenJournalLine: Record "Gen. Journal Line", var VATEntry: Record "VAT Entry", var VATAmount: Decimal, var VATBase: Decimal, var VATAmountAddCurr: Decimal, var VATBaseAddCurr: Decimal, VendorLedgerEntry: Record "Vendor Ledger Entry", SettledAmount: Decimal)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATAmount Decimal
VATBase Decimal
VATAmountAddCurr Decimal
VATBaseAddCurr Decimal
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
SettledAmount Decimal

OnMoveGenJournalLine

[IntegrationEvent(False,False)]
local procedure OnMoveGenJournalLine(var GenJournalLine: Record "Gen. Journal Line", ToRecordID: RecordId)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
ToRecordID RecordId

OnAfterInitLastDocDate

[IntegrationEvent(False,False)]
local procedure OnAfterInitLastDocDate(var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterUpdateCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateCustLedgEntry(DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var TempGLEntryBuf: Record "G/L Entry" temporary, var GlobalGLEntry: Record "G/L Entry", NextTransactionNo: Integer)

Parameters

Name Type Description
DtldCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GlobalGLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextTransactionNo Integer

OnAfterUpdateVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateVendLedgEntry(DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry", var TempGLEntryBuf: Record "G/L Entry" temporary, var GlobalGLEntry: Record "G/L Entry", NextTransactionNo: Integer)

Parameters

Name Type Description
DtldVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
TempGLEntryBuf Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GlobalGLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextTransactionNo Integer

OnApplyCustLedgEntryOnBeforeTempOldCustLedgEntryDelete

[IntegrationEvent(True,False)]
local procedure OnApplyCustLedgEntryOnBeforeTempOldCustLedgEntryDelete(var TempOldCustLedgEntry: Record "Cust. Ledger Entry" temporary, var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var GenJnlLine: Record "Gen. Journal Line", var Cust: Record Customer, NextEntryNo: Integer, GLReg: Record "G/L Register", AppliedAmount: Decimal, var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
TempOldCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Cust Table Microsoft.Sales.Customer.Customer
NextEntryNo Integer
GLReg Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
AppliedAmount Decimal
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnBeforePostUnrealVATByUnapply

[IntegrationEvent(False,False)]
local procedure OnBeforePostUnrealVATByUnapply(GenJnlLine: Record "Gen. Journal Line", VATPostingSetup: Record "VAT Posting Setup", VATEntry: Record "VAT Entry", NewVATEntry: Record "VAT Entry")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
NewVATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnAfterPostUnrealVATByUnapply

[IntegrationEvent(False,False)]
local procedure OnAfterPostUnrealVATByUnapply(GenJnlLine: Record "Gen. Journal Line", VATPostingSetup: Record "VAT Posting Setup", VATEntry: Record "VAT Entry", NewVATEntry: Record "VAT Entry")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
NewVATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnCalcPmtDiscPossibleOnBeforeOriginalPmtDiscPossible

[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscPossibleOnBeforeOriginalPmtDiscPossible(GenJnlLine: Record "Gen. Journal Line", var CVLedgEntryBuf: Record "CV Ledger Entry Buffer", AmountRoundingPrecision: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
AmountRoundingPrecision Decimal

OnPrepareTempCustLedgEntryOnAfterSetFiltersByAppliesToId

[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnAfterSetFiltersByAppliesToId(var OldCustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", Customer: Record Customer)

Parameters

Name Type Description
OldCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
Customer Table Microsoft.Sales.Customer.Customer

OnAfterApplyCustLedgEntry

[IntegrationEvent(True,False)]
local procedure OnAfterApplyCustLedgEntry(var GenJnlLine: Record "Gen. Journal Line", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCustLedgEntry: Record "Cust. Ledger Entry", NewRemainingAmtBeforeAppln: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
NewRemainingAmtBeforeAppln Decimal

OnAfterApplyVendLedgEntry

[IntegrationEvent(True,False)]
local procedure OnAfterApplyVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldVendLedgEntry: Record "Vendor Ledger Entry", NewRemainingAmtBeforeAppln: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
NewRemainingAmtBeforeAppln Decimal

OnAfterApplyEmplLedgEntry

[IntegrationEvent(True,False)]
local procedure OnAfterApplyEmplLedgEntry(var GenJnlLine: Record "Gen. Journal Line", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldEmployeeLedgerEntry: Record "Employee Ledger Entry")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldEmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"

OnAfterGetCustomerReceivablesAccount

[IntegrationEvent(False,False)]
local procedure OnAfterGetCustomerReceivablesAccount(GenJournalLine: Record "Gen. Journal Line", CustomerPostingGroup: Record "Customer Posting Group", var ReceivablesAccount: Code[20])

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"
ReceivablesAccount Code[20]

OnAfterGetCustomerPostingGroup

[IntegrationEvent(False,False)]
local procedure OnAfterGetCustomerPostingGroup(GenJournalLine: Record "Gen. Journal Line", var CustomerPostingGroup: Record "Customer Posting Group")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"

OnAfterGetVendorPostingGroup

[IntegrationEvent(False,False)]
local procedure OnAfterGetVendorPostingGroup(GenJournalLine: Record "Gen. Journal Line", var VendorPostingGroup: Record "Vendor Posting Group")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendorPostingGroup Table Microsoft.Purchases.Vendor."Vendor Posting Group"

OnAfterGetVendorPayablesAccount

[IntegrationEvent(False,False)]
local procedure OnAfterGetVendorPayablesAccount(GenJournalLine: Record "Gen. Journal Line", VendorPostingGroup: Record "Vendor Posting Group", var PayablesAccount: Code[20])

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendorPostingGroup Table Microsoft.Purchases.Vendor."Vendor Posting Group"
PayablesAccount Code[20]

OnAfterGetVendUnrealizedVATAccounts

[IntegrationEvent(False,False)]
local procedure OnAfterGetVendUnrealizedVATAccounts(VATEntry: Record "VAT Entry", VATPostingSetup: Record "VAT Posting Setup", var PurchVATAccount: Code[20], var PurchVATUnrealAccount: Code[20], var PurchReverseAccount: Code[20], var PurchReverseUnrealAccount: Code[20])

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
PurchVATAccount Code[20]
PurchVATUnrealAccount Code[20]
PurchReverseAccount Code[20]
PurchReverseUnrealAccount Code[20]

OnPostUnapplyOnAfterVATEntryInsert

[IntegrationEvent(False,False)]
local procedure OnPostUnapplyOnAfterVATEntryInsert(var VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line", OrigVATEntry: Record "VAT Entry")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
OrigVATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnUpdateCalcInterestOnAfterCustLedgEntrySetFilters

[IntegrationEvent(False,False)]
local procedure OnUpdateCalcInterestOnAfterCustLedgEntrySetFilters(var CustLedgEntry: Record "Cust. Ledger Entry", CVLedgEntryBuf: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnVendUnrealizedVATOnAfterCalcTotalUnrealVATAmount

[IntegrationEvent(False,False)]
local procedure OnVendUnrealizedVATOnAfterCalcTotalUnrealVATAmount(var VATEntry2: Record "VAT Entry", var TotalUnrealVATAmountFirst: Decimal, var TotalUnrealVATAmountLast: Decimal)

Parameters

Name Type Description
VATEntry2 Table Microsoft.Finance.VAT.Ledger."VAT Entry"
TotalUnrealVATAmountFirst Decimal
TotalUnrealVATAmountLast Decimal

OnCustUnrealizedVATOnBeforePostUnrealVATEntry

[IntegrationEvent(True,False)]
local procedure OnCustUnrealizedVATOnBeforePostUnrealVATEntry(var GenJnlLine: Record "Gen. Journal Line", var VATEntry2: Record "VAT Entry", var VATAmount: Decimal, var VATBase: Decimal, var VATAmountAddCurr: Decimal, var VATBaseAddCurr: Decimal, var GLEntryNo: Integer, VATPart: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry2 Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATAmount Decimal
VATBase Decimal
VATAmountAddCurr Decimal
VATBaseAddCurr Decimal
GLEntryNo Integer
VATPart Decimal

OnVendUnrealizedVATOnBeforePostUnrealVATEntry

[IntegrationEvent(True,False)]
local procedure OnVendUnrealizedVATOnBeforePostUnrealVATEntry(var GenJnlLine: Record "Gen. Journal Line", var VATEntry2: Record "VAT Entry", var VATAmount: Decimal, var VATBase: Decimal, var VATAmountAddCurr: Decimal, var VATBaseAddCurr: Decimal, var GLEntryNo: Integer, VATPart: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATEntry2 Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATAmount Decimal
VATBase Decimal
VATAmountAddCurr Decimal
VATBaseAddCurr Decimal
GLEntryNo Integer
VATPart Decimal

OnPostUnrealVATByUnapplyOnBeforeVATEntryModify

[IntegrationEvent(True,False)]
local procedure OnPostUnrealVATByUnapplyOnBeforeVATEntryModify(GenJnlLine: Record "Gen. Journal Line", VATPostingSetup: Record "VAT Posting Setup", VATEntry: Record "VAT Entry", NewVATEntry: Record "VAT Entry", var VATEntry2: Record "VAT Entry", var GLEntryNoFromVAT: Integer)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
NewVATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATEntry2 Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GLEntryNoFromVAT Integer

OnBeforeCalcPmtTolerancePossible

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcPmtTolerancePossible(GenJnlLine: Record "Gen. Journal Line", PmtDiscountDate: Date, var PmtDiscToleranceDate: Date, var MaxPaymentTolerance: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
PmtDiscountDate Date
PmtDiscToleranceDate Date
MaxPaymentTolerance Decimal
IsHandled Boolean

OnBeforeDeferralPosting

[IntegrationEvent(True,False)]
local procedure OnBeforeDeferralPosting(DeferralCode: Code[10], SourceCode: Code[10], var AccountNo: Code[20], var GenJournalLine: Record "Gen. Journal Line", Balancing: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
DeferralCode Code[10]
SourceCode Code[10]
AccountNo Code[20]
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Balancing Boolean
IsHandled Boolean

OnBeforeCheckSalesExtDocNo

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckSalesExtDocNo(var GenJnlLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnBeforeCheckPurchExtDocNoProcedure

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckPurchExtDocNoProcedure(var GenJnlLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnBeforePostICPartner

[IntegrationEvent(False,False)]
local procedure OnBeforePostICPartner(var GenJnlLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnAfterStartPosting

[IntegrationEvent(True,False)]
local procedure OnAfterStartPosting(GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostCustOnAfterAssignCurrencyFactors

[IntegrationEvent(False,False)]
local procedure OnPostCustOnAfterAssignCurrencyFactors(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostVendOnAfterAssignCurrencyFactors

[IntegrationEvent(False,False)]
local procedure OnPostVendOnAfterAssignCurrencyFactors(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostEmployeeOnAfterAssignCurrencyFactors

[IntegrationEvent(False,False)]
local procedure OnPostEmployeeOnAfterAssignCurrencyFactors(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnInitAmountsOnAddCurrencyPostingNone

[IntegrationEvent(True,False)]
local procedure OnInitAmountsOnAddCurrencyPostingNone(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnPostVendOnAfterInitVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnPostVendOnAfterInitVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line", var VendLedgEntry: Record "Vendor Ledger Entry", Vendor: Record Vendor)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
Vendor Table Microsoft.Purchases.Vendor.Vendor

OnInsertSummarizedVATOnAfterInsertGLEntry

[IntegrationEvent(True,False)]
local procedure OnInsertSummarizedVATOnAfterInsertGLEntry(var GenJnlLine: Record "Gen. Journal Line", var TempGLEntryVAT: Record "G/L Entry" temporary, NextEntryNo: Integer)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempGLEntryVAT Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextEntryNo Integer

OnPostBankAccOnBeforeCreateGLEntryBalAcc

[IntegrationEvent(True,False)]
local procedure OnPostBankAccOnBeforeCreateGLEntryBalAcc(var GenJnlLine: Record "Gen. Journal Line", BankAccPostingGr: Record "Bank Account Posting Group", BankAccount: Record "Bank Account", NextEntryNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
BankAccPostingGr Table Microsoft.Bank.BankAccount."Bank Account Posting Group"
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"
NextEntryNo Integer
IsHandled Boolean

OnPostFixedAssetOnAfterSetGenJnlLineShortcutDimCodes

[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetOnAfterSetGenJnlLineShortcutDimCodes(var GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostICPartnerOnBeforeCreateGLEntryBalAcc

[IntegrationEvent(True,False)]
local procedure OnPostICPartnerOnBeforeCreateGLEntryBalAcc(var GenJnlLine: Record "Gen. Journal Line", NextEntryNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NextEntryNo Integer
IsHandled Boolean

OnBeforeInsertGlEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertGlEntry(var GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
IsHandled Boolean

OnAfterCreateGLEntry

[IntegrationEvent(True,False)]
local procedure OnAfterCreateGLEntry(var GenJnlLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", NextEntryNo: Integer)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextEntryNo Integer

OnAfterCalcApplication

[IntegrationEvent(False,False)]
local procedure OnAfterCalcApplication(var GenJnlLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnCustPostApplyCustLedgEntryOnAfterApplyCustLedgEntry

[IntegrationEvent(True,False)]
local procedure OnCustPostApplyCustLedgEntryOnAfterApplyCustLedgEntry(var GenJnlLine: Record "Gen. Journal Line", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnAfterCustPostApplyCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCustPostApplyCustLedgEntry(var GenJnlLine: Record "Gen. Journal Line", var GLReg: Record "G/L Register", CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLReg Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnAfterSetDtldCustLedgEntryNoOffset

[IntegrationEvent(False,False)]
local procedure OnAfterSetDtldCustLedgEntryNoOffset(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var DtldCustLedgEntryNoOffset: Integer)

Parameters

Name Type Description
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
DtldCustLedgEntryNoOffset Integer

OnPostDtldCustLedgEntriesOnBeforeUpdateTotalAmounts

[IntegrationEvent(False,False)]
local procedure OnPostDtldCustLedgEntriesOnBeforeUpdateTotalAmounts(var GenJnlLine: Record "Gen. Journal Line", DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var IsHandled: Boolean, var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
IsHandled Boolean
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnPostDtldCustLedgEntriesOnBeforePostDtldCustLedgEntry

[IntegrationEvent(True,False)]
local procedure OnPostDtldCustLedgEntriesOnBeforePostDtldCustLedgEntry(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", AddCurrencyCode: Code[10], var GenJnlLine: Record "Gen. Journal Line", CustPostingGr: Record "Customer Posting Group", AdjAmount: array[4] of Decimal, var IsHandled: Boolean, var NextEntryNo: Integer, DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", LedgEntryInserted: Boolean)

Parameters

Name Type Description
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
AddCurrencyCode Code[10]
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustPostingGr Table Microsoft.Sales.Customer."Customer Posting Group"
AdjAmount array[4] of Decimal
IsHandled Boolean
NextEntryNo Integer
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
LedgEntryInserted Boolean

OnVendPostApplyVendLedgEntryOnAfterApplyVendLedgEntry

[IntegrationEvent(True,False)]
local procedure OnVendPostApplyVendLedgEntryOnAfterApplyVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnVendPostApplyVendLedgEntryOnBeforeCopyFromVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnVendPostApplyVendLedgEntryOnBeforeCopyFromVendLedgEntry(var GenJournalLine: Record "Gen. Journal Line", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var VendLedgEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
VendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnAfterVendPostApplyVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterVendPostApplyVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line", GLReg: Record "G/L Register")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLReg Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnPostDtldVendLedgEntriesOnBeforeUpdateTotalAmounts

[IntegrationEvent(False,False)]
local procedure OnPostDtldVendLedgEntriesOnBeforeUpdateTotalAmounts(var GenJnlLine: Record "Gen. Journal Line", DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry", var IsHandled: Boolean, var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
IsHandled Boolean
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnPostDtldVendLedgEntriesOnBeforePostDtldVendLedgEntry

[IntegrationEvent(True,False)]
local procedure OnPostDtldVendLedgEntriesOnBeforePostDtldVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line", DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", VendPostingGr: Record "Vendor Posting Group", AdjAmount: array[4] of Decimal, var IsHandled: Boolean, LedgEntryInserted: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
VendPostingGr Table Microsoft.Purchases.Vendor."Vendor Posting Group"
AdjAmount array[4] of Decimal
IsHandled Boolean
LedgEntryInserted Boolean

OnPostDtldVendLedgEntriesOnAfterPostDtldVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnPostDtldVendLedgEntriesOnAfterPostDtldVendLedgEntry(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", LedgEntryInserted: Boolean)

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
LedgEntryInserted Boolean

OnOnUnapplyCustLedgEntryOnBeforeSecondLook

[IntegrationEvent(False,False)]
local procedure OnOnUnapplyCustLedgEntryOnBeforeSecondLook(var DtldCustLedgEntry2: Record "Detailed Cust. Ledg. Entry", NextDtldLedgEntryNo: Integer)

Parameters

Name Type Description
DtldCustLedgEntry2 Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
NextDtldLedgEntryNo Integer

OnUnapplyCustLedgEntryOnAfterFillDtldCVLedgEntryBuf

[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnAfterFillDtldCVLedgEntryBuf(var GenJnlLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnOnUnapplyCustLedgEntryOnBeforeUpdateTotalAmounts

[IntegrationEvent(False,False)]
local procedure OnOnUnapplyCustLedgEntryOnBeforeUpdateTotalAmounts(var IsHandled: Boolean, var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
IsHandled Boolean
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnAfterSetDtldVendLedgEntryNoOffset

[IntegrationEvent(False,False)]
local procedure OnAfterSetDtldVendLedgEntryNoOffset(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var DtldVendLedgEntryNoOffset: Integer)

Parameters

Name Type Description
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
DtldVendLedgEntryNoOffset Integer

OnUnapplyVendLedgEntryOnBeforeSecondLook

[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeSecondLook(var DtldVendLedgEntry2: Record "Detailed Vendor Ledg. Entry", NextDtldLedgEntryNo: Integer)

Parameters

Name Type Description
DtldVendLedgEntry2 Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
NextDtldLedgEntryNo Integer

OnUnapplyVendLedgEntryOnAfterFillDtldCVLedgEntryBuf

[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnAfterFillDtldCVLedgEntryBuf(var GenJnlLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnUnapplyVendLedgEntryOnBeforeUpdateTotalAmounts

[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeUpdateTotalAmounts(var IsHandled: Boolean, var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
IsHandled Boolean
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnProcessTempVATEntryCustOnAfterProcessTempVATEntry

[IntegrationEvent(False,False)]
local procedure OnProcessTempVATEntryCustOnAfterProcessTempVATEntry(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var TempVATEntry: Record "VAT Entry")

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
TempVATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnGLCalcAddCurrencyPostingNone

[IntegrationEvent(False,False)]
local procedure OnGLCalcAddCurrencyPostingNone(var GenJnlLine: Record "Gen. Journal Line", Amount: Decimal, AddCurrency: Record Currency, var Result: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Amount Decimal
AddCurrency Table Microsoft.Finance.Currency.Currency
Result Decimal
IsHandled Boolean

OnGetCurrencyExchRateOnAfterSetNewCurrencyDate

[IntegrationEvent(False,False)]
local procedure OnGetCurrencyExchRateOnAfterSetNewCurrencyDate(var GenJnlLine: Record "Gen. Journal Line", var NewCurrencyDate: Date)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NewCurrencyDate Date

OnAfterGetCurrencyExchRate

[IntegrationEvent(False,False)]
local procedure OnAfterGetCurrencyExchRate(var GenJnlLine: Record "Gen. Journal Line", NewCurrencyDate: Date, CurrencyDate: Date, UseCurrFactorOnly: Boolean, var CurrencyFactor: Decimal)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NewCurrencyDate Date
CurrencyDate Date
UseCurrFactorOnly Boolean
CurrencyFactor Decimal

OnPostDtldAdjustmentOnBeforeCreateGLEntryBalAcc

[IntegrationEvent(True,False)]
local procedure OnPostDtldAdjustmentOnBeforeCreateGLEntryBalAcc(var GenJnlLine: Record "Gen. Journal Line", GLAcc: Code[20], AdjAmount: array[4] of Decimal, ArrayIndex: Integer, var IsHandled: Boolean, NextEntryNo: Integer)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLAcc Code[20]
AdjAmount array[4] of Decimal
ArrayIndex Integer
IsHandled Boolean
NextEntryNo Integer

OnInitVATOnVATCalculationTypeNormal

[IntegrationEvent(False,False)]
local procedure OnInitVATOnVATCalculationTypeNormal(var GenJnlLine: Record "Gen. Journal Line", var IsHandled: Boolean, var GLEntry: Record "G/L Entry", var VATPostingSetup: Record "VAT Posting Setup")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"

OnPostVendOnBeforePostDtldVendLedgEntries

[IntegrationEvent(True,False)]
local procedure OnPostVendOnBeforePostDtldVendLedgEntries(var VendorLedgerEntry: Record "Vendor Ledger Entry", var GenJournalLine: Record "Gen. Journal Line", var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var NextEntryNo: Integer)

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
NextEntryNo Integer

OnContinuePostingOnIncreaseNextTransactionNo

[IntegrationEvent(False,False)]
local procedure OnContinuePostingOnIncreaseNextTransactionNo(var GenJnlLine: Record "Gen. Journal Line", var NextTransactionNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NextTransactionNo Integer
IsHandled Boolean

OnPostEmployeeOnBeforeEmployeeLedgerEntryInsert

[IntegrationEvent(False,False)]
local procedure OnPostEmployeeOnBeforeEmployeeLedgerEntryInsert(var GenJnlLine: Record "Gen. Journal Line", var EmployeeLedgerEntry: Record "Employee Ledger Entry", GLRegister: Record "G/L Register")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
EmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnPostCustOnBeforeResetCustLedgerEntryAppliesToFields

[IntegrationEvent(False,False)]
local procedure OnPostCustOnBeforeResetCustLedgerEntryAppliesToFields(var CustLedgEntry: Record "Cust. Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
IsHandled Boolean

OnPostVendOnAfterAssignPayablesAccount

[IntegrationEvent(False,False)]
local procedure OnPostVendOnAfterAssignPayablesAccount(GenJnlLine: Record "Gen. Journal Line", VendorPostingGroup: Record "Vendor Posting Group", var PayablesAccount: Code[20])

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendorPostingGroup Table Microsoft.Purchases.Vendor."Vendor Posting Group"
PayablesAccount Code[20]

OnPostCustOnAfterAssignReceivablesAccount

[IntegrationEvent(False,False)]
local procedure OnPostCustOnAfterAssignReceivablesAccount(GenJnlLine: Record "Gen. Journal Line", CustomerPostingGroup: Record "Customer Posting Group", var ReceivablesAccount: Code[20])

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"
ReceivablesAccount Code[20]

OnBeforeCheckDimValueForDisposal

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDimValueForDisposal(var GenJnlLine: Record "Gen. Journal Line", AccountNo: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
AccountNo Code[20]
IsHandled Boolean

OnAfterSetUnrealizedVAT

[IntegrationEvent(False,False)]
local procedure OnAfterSetUnrealizedVAT(var GenJnlLine: Record "Gen. Journal Line", var VATPostingSetup: Record "VAT Posting Setup", var UnrealizedVAT: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
UnrealizedVAT Boolean

OnAfterInsertPmtDiscVATForGLEntry

[IntegrationEvent(False,False)]
local procedure OnAfterInsertPmtDiscVATForGLEntry(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostDtldCustVATAdjustmentOnAfterFindVATEntry

[IntegrationEvent(False,False)]
local procedure OnPostDtldCustVATAdjustmentOnAfterFindVATEntry(GenJnlLine: Record "Gen. Journal Line", DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnAfterPostDtldCustVATAdjustment

[IntegrationEvent(False,False)]
local procedure OnAfterPostDtldCustVATAdjustment(GenJnlLine: Record "Gen. Journal Line", DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnBeforeShowInconsistentEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeShowInconsistentEntries(TempGLEntryPrevie: Record "G/L Entry" temporary, var IsHandled: Boolean)

Parameters

Name Type Description
TempGLEntryPrevie Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
IsHandled Boolean

OnInitGLEntryOnBeforeCheckGLAccDimError

[IntegrationEvent(False,False)]
local procedure OnInitGLEntryOnBeforeCheckGLAccDimError(var GenJnlLine: Record "Gen. Journal Line", var GLAcc: Record "G/L Account")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLAcc Table Microsoft.Finance.GeneralLedger.Account."G/L Account"

OnPostDeferralPostBufferOnAfterSetPostDate

[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnAfterSetPostDate(var DeferralPostBuffer: Record "Deferral Posting Buffer", var IsHandled: Boolean)

Parameters

Name Type Description
DeferralPostBuffer Table Microsoft.Finance.Deferral."Deferral Posting Buffer"
IsHandled Boolean

OnBeforeEmplPostApplyEmplLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeEmplPostApplyEmplLedgEntry(var GenJnlLinePostApply: Record "Gen. Journal Line", var EmplLedgEntryPostApply: Record "Employee Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLinePostApply Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
EmplLedgEntryPostApply Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
IsHandled Boolean

OnBeforeUnapplyVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeUnapplyVendLedgEntry(GenJnlLine2: Record "Gen. Journal Line", DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine2 Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
IsHandled Boolean

OnBeforeUnapplyCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeUnapplyCustLedgEntry(GenJnlLine2: Record "Gen. Journal Line", DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine2 Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
IsHandled Boolean

OnBeforeCheckGenJnlLine

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGenJnlLine(GenJnlLine: Record "Gen. Journal Line", CheckLine: Boolean, var OverrideDimErr: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CheckLine Boolean
OverrideDimErr Boolean
IsHandled Boolean

OnBeforeUnapplyEmplLedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeUnapplyEmplLedgEntry(var GenJournalLine: Record "Gen. Journal Line", DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedEmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Detailed Employee Ledger Entry"
IsHandled Boolean

OnBeforeCheckCustMultiplePostingGroups

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckCustMultiplePostingGroups(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var IsMultiplePostingGroups: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
IsMultiplePostingGroups Boolean
IsHandled Boolean

OnBeforeCheckVendMultiplePostingGroups

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckVendMultiplePostingGroups(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var IsMultiplePostingGroups: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
IsMultiplePostingGroups Boolean
IsHandled Boolean

OnPrepareTempEmplLedgEntryOnBeforeUpdateRemainingAmount

[IntegrationEvent(False,False)]
local procedure OnPrepareTempEmplLedgEntryOnBeforeUpdateRemainingAmount(var TempOldEmployeeLedgerEntry: Record "Employee Ledger Entry", var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
TempOldEmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntryReverseChargeVATInPostDtldVendVATAdjustment

[IntegrationEvent(True,False)]
local procedure OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntryReverseChargeVATInPostDtldVendVATAdjustment(DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntrySalesTaxInPostDtldVendVATAdjustment

[IntegrationEvent(True,False)]
local procedure OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntrySalesTaxInPostDtldVendVATAdjustment(DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnPostUnrealVATEntryOnBeforeInsertLinkSelf

[IntegrationEvent(False,False)]
local procedure OnPostUnrealVATEntryOnBeforeInsertLinkSelf(var TempGLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link" temporary, var VATEntry: Record "VAT Entry", var GLEntryNo: Integer, var NextVATEntryNo: Integer)

Parameters

Name Type Description
TempGLEntryVATEntryLink Table Microsoft.Finance.VAT.Ledger."G/L Entry - VAT Entry Link"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GLEntryNo Integer
NextVATEntryNo Integer

OnBeforePostBankAcc

[IntegrationEvent(False,False)]
local procedure OnBeforePostBankAcc(var GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnBeforeCreateGLEntryVAT

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateGLEntryVAT(var GenJournalLine: Record "Gen. Journal Line", DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnBeforeCreateGLEntryVATCollectAdj

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateGLEntryVATCollectAdj(var GenJournalLine: Record "Gen. Journal Line", DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnPrepareTempCustLedgEntryOnBeforeCheckAgainstApplnCurrencyWithAppliesToDocNo

[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeCheckAgainstApplnCurrencyWithAppliesToDocNo(GenJournalLine: Record "Gen. Journal Line", NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", OldCustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NewCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnPrepareTempCustLedgEntryOnBeforeCheckAgainstApplnCurrency

[IntegrationEvent(False,False)]
local procedure OnPrepareTempCustLedgEntryOnBeforeCheckAgainstApplnCurrency(GenJournalLine: Record "Gen. Journal Line", NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", OldCustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NewCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnPrepareTempVendLedgEntryOnBeforeCheckAgainstApplnCurrencyWithAppliesToDocNo

[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeCheckAgainstApplnCurrencyWithAppliesToDocNo(GenJournalLine: Record "Gen. Journal Line", NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", OldVendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NewCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnPrepareTempVendLedgEntryOnBeforeCheckAgainstApplnCurrency

[IntegrationEvent(False,False)]
local procedure OnPrepareTempVendLedgEntryOnBeforeCheckAgainstApplnCurrency(GenJournalLine: Record "Gen. Journal Line", NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", OldVendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NewCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnBeforeInitGLEntryVATOnVendUnrealizedVAT

[IntegrationEvent(False,False)]
local procedure OnBeforeInitGLEntryVATOnVendUnrealizedVAT(var VATEntry: Record "VAT Entry", var GenJournalLine: Record "Gen. Journal Line", var NextEntryNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NextEntryNo Integer
IsHandled Boolean

OnBeforeInitGLEntryVATOnVendUnrealizedVATForRevChargeVAT

[IntegrationEvent(False,False)]
local procedure OnBeforeInitGLEntryVATOnVendUnrealizedVATForRevChargeVAT(var VATEntry: Record "VAT Entry", var GenJournalLine: Record "Gen. Journal Line", var NextEntryNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NextEntryNo Integer
IsHandled Boolean

OnInitGLEntryVATOnBeforeSummarizeVAT

[IntegrationEvent(False,False)]
local procedure OnInitGLEntryVATOnBeforeSummarizeVAT(GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", VATEntry: Record "VAT Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnVendUnrealizedVATOnAfterSetFilterForVATEntry2

[IntegrationEvent(False,False)]
local procedure OnVendUnrealizedVATOnAfterSetFilterForVATEntry2(var VATEntry: Record "VAT Entry")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnCustUnrealizedVATOnAfterSetFilterForVATEntry2

[IntegrationEvent(False,False)]
local procedure OnCustUnrealizedVATOnAfterSetFilterForVATEntry2(var VATEntry: Record "VAT Entry")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntryForNormalOrFullVAT

[IntegrationEvent(True,False)]
local procedure OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntryForNormalOrFullVAT(DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", VATEntry: Record "VAT Entry", GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnBeforePostDtldVendLedgEntryUnapply

[IntegrationEvent(True,False)]
local procedure OnBeforePostDtldVendLedgEntryUnapply(GenJournalLine: Record "Gen. Journal Line", DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", VendPostingGr: Record "Vendor Posting Group", OriginalTransactionNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
VendPostingGr Table Microsoft.Purchases.Vendor."Vendor Posting Group"
OriginalTransactionNo Integer
IsHandled Boolean

OnUnapplyVendLedgEntryOnBeforeUpdateDetailedVendLedgEntry2

[IntegrationEvent(False,False)]
local procedure OnUnapplyVendLedgEntryOnBeforeUpdateDetailedVendLedgEntry2(var DetailedVendLedgEntry: Record "Detailed Vendor Ledg. Entry", var DetailedCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
DetailedVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
DetailedCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnAfterInsertDtldVendLedgEntryUnapply

[IntegrationEvent(False,False)]
local procedure OnAfterInsertDtldVendLedgEntryUnapply(var OldDetailedVendLedgEntry: Record "Detailed Vendor Ledg. Entry", var GenJnlLine: Record "Gen. Journal Line", var NewDetailedVendLedgEntry: Record "Detailed Vendor Ledg. Entry")

Parameters

Name Type Description
OldDetailedVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NewDetailedVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"

OnBeforePostDtldCustLedgEntryUnapply

[IntegrationEvent(True,False)]
local procedure OnBeforePostDtldCustLedgEntryUnapply(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", CustPostingGroup: Record "Customer Posting Group", OriginalTransactionNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
CustPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"
OriginalTransactionNo Integer
IsHandled Boolean

OnUnapplyCustLedgEntryOnBeforeUpdateDetailedCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforeUpdateDetailedCustLedgEntry(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var DetailedCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")

Parameters

Name Type Description
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
DetailedCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"

OnAfterCreateNormalVATGLEntries

[IntegrationEvent(True,False)]
local procedure OnAfterCreateNormalVATGLEntries(var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnCheckGenJnlLineOnBeforeRunCheck

[IntegrationEvent(True,False)]
local procedure OnCheckGenJnlLineOnBeforeRunCheck(var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostGLAccOnBeforePostJob

[IntegrationEvent(True,False)]
local procedure OnPostGLAccOnBeforePostJob(var GenJournalLine: Record "Gen. Journal Line", var GLEntry: Record "G/L Entry", var IsHandled: Boolean, Balancing: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
IsHandled Boolean
Balancing Boolean

OnCreateGLEntriesForTotalAmountsUnapplyOnBeforeUpdateGenJnlLineDim

[IntegrationEvent(True,False)]
local procedure OnCreateGLEntriesForTotalAmountsUnapplyOnBeforeUpdateGenJnlLineDim(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

OnAfterGetJournalsSourceCode

[IntegrationEvent(True,False)]
local procedure OnAfterGetJournalsSourceCode(var JournalsSourceCodesList: List of [Code[10]])

Parameters

Name Type Description
JournalsSourceCodesList List of [Code[10]]

OnCreateGLEntriesForTotalAmountsOnBeforeUpdateGenJnlLineDim

[IntegrationEvent(True,False)]
local procedure OnCreateGLEntriesForTotalAmountsOnBeforeUpdateGenJnlLineDim(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

OnStartPostingOnBeforeSetNextVatEntryNo

[IntegrationEvent(True,False)]
local procedure OnStartPostingOnBeforeSetNextVatEntryNo(var VatEntry: Record "VAT Entry")

Parameters

Name Type Description
VatEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnStartPostingOnAfterSetNextVatEntryNo

[IntegrationEvent(True,False)]
local procedure OnStartPostingOnAfterSetNextVatEntryNo(var VatEntry: Record "VAT Entry", var NextVATEntryNo: Integer)

Parameters

Name Type Description
VatEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
NextVATEntryNo Integer

OnInsertGLEntryOnBeforeUpdateCheckAmounts

[IntegrationEvent(False,False)]
local procedure OnInsertGLEntryOnBeforeUpdateCheckAmounts(GeneralLedgerSetup: Record "General Ledger Setup", var GLEntry: Record "G/L Entry", var BalanceCheckAmount: Decimal, var BalanceCheckAmount2: Decimal, var BalanceCheckAddCurrAmount: Decimal, var BalanceCheckAddCurrAmount2: Decimal)

Parameters

Name Type Description
GeneralLedgerSetup Table Microsoft.Finance.GeneralLedger.Setup."General Ledger Setup"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
BalanceCheckAmount Decimal
BalanceCheckAmount2 Decimal
BalanceCheckAddCurrAmount Decimal
BalanceCheckAddCurrAmount2 Decimal

OnPostDeferralPostBufferOnAfterFindDeferalPostingBuffer

[IntegrationEvent(False,False)]
local procedure OnPostDeferralPostBufferOnAfterFindDeferalPostingBuffer(var GenJournalLine: Record "Gen. Journal Line", var DeferralPostingBuffer: Record "Deferral Posting Buffer", var NonDeductibleVATPct: Decimal)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DeferralPostingBuffer Table Microsoft.Finance.Deferral."Deferral Posting Buffer"
NonDeductibleVATPct Decimal

OnBeforeInsertDeferralNonDeductibleVATGLEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertDeferralNonDeductibleVATGLEntries(var NonDeductibleVATPct: Decimal, DeferralPostingBuffer: Record "Deferral Posting Buffer", VATPostingSetup: Record "VAT Posting Setup", GenJournalLine: Record "Gen. Journal Line", DeferralTemplate: Record "Deferral Template", var VATAmountRounding: Decimal, var PositiveNDVATAmountRounding: Decimal, var NegativeNDVATAmountRounding: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
NonDeductibleVATPct Decimal
DeferralPostingBuffer Table Microsoft.Finance.Deferral."Deferral Posting Buffer"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DeferralTemplate Table Microsoft.Finance.Deferral."Deferral Template"
VATAmountRounding Decimal
PositiveNDVATAmountRounding Decimal
NegativeNDVATAmountRounding Decimal
IsHandled Boolean

OnUnapplyCustLedgEntryOnAfterUpdateCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnAfterUpdateCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line", DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var NewDetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", CustomerPostingGroup: Record "Customer Posting Group", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
NewDetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnPostCustOnBeforeGetCustomerPostingGroup

[IntegrationEvent(False,False)]
local procedure OnPostCustOnBeforeGetCustomerPostingGroup(var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnUnapplyCustLedgEntryOnBeforeFinishPosting

[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line", GLEntry: Record "G/L Entry", CustomerPostingGroup: Record "Customer Posting Group")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"

OnPostCustOnBeforeInsertDtldCVLedgEntry

[IntegrationEvent(False,False)]
local procedure OnPostCustOnBeforeInsertDtldCVLedgEntry(var GenJournalLine: Record "Gen. Journal Line", var TempDetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var CustLedgerEntry: Record "Cust. Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
IsHandled Boolean

OnPostDtldCustLedgEntriesOnBeforeNextEntryNo

[IntegrationEvent(False,False)]
local procedure OnPostDtldCustLedgEntriesOnBeforeNextEntryNo(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", CustomerPostingGroup: Record "Customer Posting Group", LedgEntryInserted: Boolean, var NextEntryNo: Integer, var SavedEntryNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"
LedgEntryInserted Boolean
NextEntryNo Integer
SavedEntryNo Integer
IsHandled Boolean

OnPostBankAccOnCheckingBankAccPostingGrGLAccountNo

[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnCheckingBankAccPostingGrGLAccountNo(var GenJournalLine: Record "Gen. Journal Line", BankAccPostingGr: Record "Bank Account Posting Group", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
BankAccPostingGr Table Microsoft.Bank.BankAccount."Bank Account Posting Group"
IsHandled Boolean

OnBeforePostDtldCustLedgEntries

[IntegrationEvent(False,False)]
local procedure OnBeforePostDtldCustLedgEntries(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", CustomerPostingGroup: Record "Customer Posting Group", LedgEntryInserted: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"
LedgEntryInserted Boolean

OnInitGLEntryOnBeforeCheckGLAccountBlocked

[IntegrationEvent(False,False)]
local procedure OnInitGLEntryOnBeforeCheckGLAccountBlocked(GenJournalLine: Record "Gen. Journal Line", GLAccount: Record "G/L Account", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLAccount Table Microsoft.Finance.GeneralLedger.Account."G/L Account"
IsHandled Boolean

OnUnapplyCustLedgEntryOnAfterGetNextDtldLedgEntryNo

[IntegrationEvent(False,False)]
local procedure OnUnapplyCustLedgEntryOnAfterGetNextDtldLedgEntryNo(var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostDtldCustLedgEntriesOnAfterSetDtldCustLedgEntryNoOffset

[IntegrationEvent(False,False)]
local procedure OnPostDtldCustLedgEntriesOnAfterSetDtldCustLedgEntryNoOffset(var GenJournalLine: Record "Gen. Journal Line", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", CustomerPostingGroup: Record "Customer Posting Group", LedgEntryInserted: Boolean, var NextEntryNo: Integer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
CustomerPostingGroup Table Microsoft.Sales.Customer."Customer Posting Group"
LedgEntryInserted Boolean
NextEntryNo Integer

OnPostApplyOnAfterCalcCurrencyApplnRounding

[IntegrationEvent(False,False)]
local procedure OnPostApplyOnAfterCalcCurrencyApplnRounding(GenJournalLine: Record "Gen. Journal Line", var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var NewCVLedgerEntryBuffer2: Record "CV Ledger Entry Buffer", var OldCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var OldCVLedgerEntryBuffer2: Record "CV Ledger Entry Buffer", var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var AppliedAmount: Decimal, var PmtTolAmtToBeApplied: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NewCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
NewCVLedgerEntryBuffer2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgerEntryBuffer2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DetailedCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
AppliedAmount Decimal
PmtTolAmtToBeApplied Decimal
IsHandled Boolean

OnCustPostApplyCustLedgEntryOnBeforeApplyCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeApplyCustLedgEntry(var CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnCustPostApplyCustLedgEntryOnBeforeModifyCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeModifyCustLedgEntry(var CustLedgerEntry: Record "Cust. Ledger Entry", var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"

OnCustPostApplyCustLedgEntryOnBeforeCheckPostUnrealizedVAT

[IntegrationEvent(False,False)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeCheckPostUnrealizedVAT(var GenJournalLine: Record "Gen. Journal Line", var DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer", var DtldLedgEntryInserted: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DtldCVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
DtldLedgEntryInserted Boolean

OnOnUnapplyCustLedgEntryOnBeforeProcessDetailedCustLedgEntry2InLoop

[IntegrationEvent(False,False)]
local procedure OnOnUnapplyCustLedgEntryOnBeforeProcessDetailedCustLedgEntry2InLoop(DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var IsHandled: Boolean)

Parameters

Name Type Description
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
IsHandled Boolean

OnPostDtldVendLedgEntriesOnBeforeSetDtldVendLedgEntryNoOffset

[IntegrationEvent(False,False)]
local procedure OnPostDtldVendLedgEntriesOnBeforeSetDtldVendLedgEntryNoOffset(var GenJournalLine: Record "Gen. Journal Line", var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"

OnPostDtldVendLedgEntriesOnAfterSetDtldVendLedgEntryNoOffset

[IntegrationEvent(False,False)]
local procedure OnPostDtldVendLedgEntriesOnAfterSetDtldVendLedgEntryNoOffset(var GenJournalLine: Record "Gen. Journal Line", var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", var DtldVendLedgEntryNoOffset: Integer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
DtldVendLedgEntryNoOffset Integer

OnVendUnrealizedVATOnBeforeGetUnrealizedVATPart

[IntegrationEvent(False,False)]
local procedure OnVendUnrealizedVATOnBeforeGetUnrealizedVATPart(var GenJournalLine: Record "Gen. Journal Line", var VendorLedgerEntry: Record "Vendor Ledger Entry", PaidAmount: Decimal, TotalUnrealVATAmountFirst: Decimal, TotalUnrealVATAmountLast: Decimal, SettledAmount: Decimal, VATEntry2: Record "VAT Entry", var VATPart: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
PaidAmount Decimal
TotalUnrealVATAmountFirst Decimal
TotalUnrealVATAmountLast Decimal
SettledAmount Decimal
VATEntry2 Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATPart Decimal
IsHandled Boolean

OnAfterSetAppliedAmountFromRemainingAmount

[IntegrationEvent(False,False)]
local procedure OnAfterSetAppliedAmountFromRemainingAmount(var CVLedgEntryBuffer: Record "CV Ledger Entry Buffer", var AppliedAmount: Decimal, var GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
CVLedgEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
AppliedAmount Decimal
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterSetAppliedAmountFromRemainingAmountOnEmptyFilter

[IntegrationEvent(False,False)]
local procedure OnAfterSetAppliedAmountFromRemainingAmountOnEmptyFilter(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer", var AppliedAmount: Decimal, var GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
CVLedgerEntryBuffer Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
AppliedAmount Decimal
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnCalcPmtDiscBeforeInitDetailedCVLedgEntryBuff

[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscBeforeInitDetailedCVLedgEntryBuff(var GenJnlLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnCalcPmtDiscToleranceBeforeInitDetailedCVLedgEntryBuff

[IntegrationEvent(False,False)]
local procedure OnCalcPmtDiscToleranceBeforeInitDetailedCVLedgEntryBuff(var GenJnlLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnBeforeCheckDetVendLedgEntryMultiplePostingGrOnBeforeUnapply

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDetVendLedgEntryMultiplePostingGrOnBeforeUnapply(var DetailedVendorLedgEntry2: Record "Detailed Vendor Ledg. Entry", var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", var MultiplePostingGroupsDetected: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
DetailedVendorLedgEntry2 Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
MultiplePostingGroupsDetected Boolean
IsHandled Boolean

OnBeforeCheckDetCustLedgEntryMultiplePostingGrOnBeforeUnapply

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDetCustLedgEntryMultiplePostingGrOnBeforeUnapply(var DetailedCustLedgEntry2: Record "Detailed Cust. Ledg. Entry", var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var MultiplePostingGroupsDetected: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
DetailedCustLedgEntry2 Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
MultiplePostingGroupsDetected Boolean
IsHandled Boolean

OnPostBankAccOnBeforeCheckCurrencyCode

[IntegrationEvent(False,False)]
local procedure OnPostBankAccOnBeforeCheckCurrencyCode(var GenJournalLine: Record "Gen. Journal Line", BankAccount: Record "Bank Account", var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"
IsHandled Boolean

OnBeforeCreateNormalVATGLEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateNormalVATGLEntries(GenJournalLine: Record "Gen. Journal Line", var VATPostingSetup: Record "VAT Posting Setup")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"

OnBeforePostCust

[IntegrationEvent(False,False)]
local procedure OnBeforePostCust(var GenJournalLine: Record "Gen. Journal Line", Balancing: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Balancing Boolean
IsHandled Boolean

OnBeforeInitNextEntryNo

[IntegrationEvent(False,False)]
local procedure OnBeforeInitNextEntryNo(var GLEntry: Record "G/L Entry", var NextEntryNo: Integer, var NextTransactionNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextEntryNo Integer
NextTransactionNo Integer
IsHandled Boolean

OnAfterInitNextEntryNo

[IntegrationEvent(False,False)]
local procedure OnAfterInitNextEntryNo(var GLEntry: Record "G/L Entry", var NextEntryNo: Integer, var NextTransactionNo: Integer)

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
NextEntryNo Integer
NextTransactionNo Integer

OnPostDeferralOnAfterGetNonDeductibleVATPct

[IntegrationEvent(False,False)]
local procedure OnPostDeferralOnAfterGetNonDeductibleVATPct(GenJournalLine: Record "Gen. Journal Line", DeferralDocType: Enum "Deferral Document Type", var NonDeductibleVATPct: Decimal)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
DeferralDocType Enum Microsoft.Finance.Deferral."Deferral Document Type"
NonDeductibleVATPct Decimal

OnAfterGetGLSetup

[IntegrationEvent(False,False)]
local procedure OnAfterGetGLSetup(var GLSetup: Record "General Ledger Setup", var GLSetupRead: Boolean, AddCurrencyCode: Code[10])

Parameters

Name Type Description
GLSetup Table Microsoft.Finance.GeneralLedger.Setup."General Ledger Setup"
GLSetupRead Boolean
AddCurrencyCode Code[10]

OnAfterSetDtldEmplLedgEntryNoOffset

[IntegrationEvent(False,False)]
local procedure OnAfterSetDtldEmplLedgEntryNoOffset(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", var DtldCustLedgEntryNoOffset: Integer)

Parameters

Name Type Description
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
DtldCustLedgEntryNoOffset Integer

OnUnapplyEmplLedgEntryOnAfterFilterSourceEntries

[IntegrationEvent(False,False)]
local procedure OnUnapplyEmplLedgEntryOnAfterFilterSourceEntries(var DetailedEmployeeLedgEntry: Record "Detailed Employee Ledger Entry", var DetailedEmployeeLedgEntry2: Record "Detailed Employee Ledger Entry")

Parameters

Name Type Description
DetailedEmployeeLedgEntry Table Microsoft.HumanResources.Payables."Detailed Employee Ledger Entry"
DetailedEmployeeLedgEntry2 Table Microsoft.HumanResources.Payables."Detailed Employee Ledger Entry"

OnBeforeCheckBankAccPostingGroup

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckBankAccPostingGroup(GeneralLedgerSetup: Record "General Ledger Setup", GenJournalLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GeneralLedgerSetup Table Microsoft.Finance.GeneralLedger.Setup."General Ledger Setup"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnAfterCheckGLAccDimError

[IntegrationEvent(False,False)]
local procedure OnAfterCheckGLAccDimError(GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnBeforeInitDetailedCVLedgEntryBufCalcPmtTolerance

[IntegrationEvent(False,False)]
local procedure OnBeforeInitDetailedCVLedgEntryBufCalcPmtTolerance(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer", GenJnlLine: Record "Gen. Journal Line", var PmtTolAmtToBeApplied: Decimal, NextTransactionNo: Integer, FirstNewVATEntryNo: Integer, var PmtTol: Decimal, var PmtTolLCY: Decimal, var PmtTolAddCurr: Decimal)

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
DtldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."Detailed CV Ledg. Entry Buffer"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
PmtTolAmtToBeApplied Decimal
NextTransactionNo Integer
FirstNewVATEntryNo Integer
PmtTol Decimal
PmtTolLCY Decimal
PmtTolAddCurr Decimal

OnCodeOnAfterCheckGenJnlLine

[IntegrationEvent(True,False)]
local procedure OnCodeOnAfterCheckGenJnlLine(var GenJnlLine: Record "Gen. Journal Line", CheckLine: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CheckLine Boolean

OnBeforeCreateGLEntriesForTotalAmountsUnapplyEmployee

[IntegrationEvent(True,False)]
local procedure OnBeforeCreateGLEntriesForTotalAmountsUnapplyEmployee(DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry", var EmployeePostingGroup: Record "Employee Posting Group", GenJournalLine: Record "Gen. Journal Line", var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary, var IsHandled: Boolean)

Parameters

Name Type Description
DetailedEmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Detailed Employee Ledger Entry"
EmployeePostingGroup Table Microsoft.HumanResources.Employee."Employee Posting Group"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempDimPostingBuffer Table Microsoft.Finance.Dimension."Dimension Posting Buffer"
IsHandled Boolean

OnBeforeIncrNextVATEntryNo

[IntegrationEvent(False,False)]
local procedure OnBeforeIncrNextVATEntryNo(var NextVATEntryNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
NextVATEntryNo Integer
IsHandled Boolean

OnBeforeIncrNextEntryNo

[IntegrationEvent(False,False)]
local procedure OnBeforeIncrNextEntryNo(var NextEntryNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
NextEntryNo Integer
IsHandled Boolean

OnPostApplyOnAfterFindAmtForApplnOnBeforeCalcCurrencyUnrealizedGainLoss

[IntegrationEvent(False,False)]
local procedure OnPostApplyOnAfterFindAmtForApplnOnBeforeCalcCurrencyUnrealizedGainLoss(var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer", var OldCVLedgEntryBuf2: Record "CV Ledger Entry Buffer", var AppliedAmount: Decimal, var AppliedAmountLCY: Decimal, var OldAppliedAmount: Decimal, var ApplnRoundingPrecision: Decimal, var VATEntry: Record "VAT Entry")

Parameters

Name Type Description
NewCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
OldCVLedgEntryBuf2 Table Microsoft.Finance.ReceivablesPayables."CV Ledger Entry Buffer"
AppliedAmount Decimal
AppliedAmountLCY Decimal
OldAppliedAmount Decimal
ApplnRoundingPrecision Decimal
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

See also