Codeunit "Transfer GL Entries to CA"

ID 1105
Namespace: Microsoft.CostAccounting.Journal

Properties

Name Value
Permissions TableData "G/L Entry" = rm

Methods

TransferGLtoCA

procedure TransferGLtoCA()

GetGLEntries

procedure GetGLEntries()

Events

OnAfterInsertCostJournalLine

[IntegrationEvent(False,False)]
local procedure OnAfterInsertCostJournalLine(var TempCostJnlLine: Record "Cost Journal Line" temporary)

Parameters

Name Type Description
TempCostJnlLine Table Microsoft.CostAccounting.Journal."Cost Journal Line"

OnAfterPrepareCostJournalLines

[IntegrationEvent(False,False)]
local procedure OnAfterPrepareCostJournalLines(var TempCostJnlLine: Record "Cost Journal Line" temporary, var TotalDebit: Decimal, var TotalCredit: Decimal, var NoOfJnlLines: Integer, var BatchRun: Boolean)

Parameters

Name Type Description
TempCostJnlLine Table Microsoft.CostAccounting.Journal."Cost Journal Line"
TotalDebit Decimal
TotalCredit Decimal
NoOfJnlLines Integer
BatchRun Boolean

OnBeforeGetGLEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeGetGLEntries(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

OnBeforeInsertCostJournalLine

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertCostJournalLine(var TempCostJnlLine: Record "Cost Journal Line" temporary, GLEntry: Record "G/L Entry")

Parameters

Name Type Description
TempCostJnlLine Table Microsoft.CostAccounting.Journal."Cost Journal Line"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnBeforeLinkCostTypesToGLAccounts

[IntegrationEvent(True,False)]
local procedure OnBeforeLinkCostTypesToGLAccounts(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

OnBeforeSkipGLEntry

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

Parameters

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

OnBeforePostCostJournalLinesOpenDialog

[IntegrationEvent(False,False)]
local procedure OnBeforePostCostJournalLinesOpenDialog(var TempCostJnlLine: Record "Cost Journal Line" temporary, var HideDialog: Boolean)

Parameters

Name Type Description
TempCostJnlLine Table Microsoft.CostAccounting.Journal."Cost Journal Line"
HideDialog Boolean

OnBeforeRun

[IntegrationEvent(False,False)]
local procedure OnBeforeRun(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

OnGetGLEntriesOnAfterSetGLEntryFilters

[IntegrationEvent(False,False)]
local procedure OnGetGLEntriesOnAfterSetGLEntryFilters(var GLEntry: Record "G/L Entry", FirstGLEntryNo: Integer, LastGLEntryNo: Integer, StartingDate: Date)

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
FirstGLEntryNo Integer
LastGLEntryNo Integer
StartingDate Date

OnGetGLEntriesOnBeforeCombineEntries

[IntegrationEvent(False,False)]
local procedure OnGetGLEntriesOnBeforeCombineEntries(var CostObjectCode: Code[20], GLEntry: Record "G/L Entry", CostType: Record "Cost Type", var CombineEntries: Boolean, var CostCenterCode: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
CostObjectCode Code[20]
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
CostType Table Microsoft.CostAccounting.Account."Cost Type"
CombineEntries Boolean
CostCenterCode Code[20]
IsHandled Boolean

OnBeforeProcessGLEntryInGetGLEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeProcessGLEntryInGetGLEntries(GLEntry: Record "G/L Entry", var CostCenterCode: Code[20], var CostObjectCode: Code[20], BatchRun: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
CostCenterCode Code[20]
CostObjectCode Code[20]
BatchRun Boolean
IsHandled Boolean

See also