Codeunit "CA Jnl.-Post Line"

ID 1102
Namespace: Microsoft.CostAccounting.Posting

Properties

Name Value
Permissions TableData "Cost Entry" = rimd, TableData "Cost Register" = rimd, tabledata "G/L Entry" = r
TableNo Table Microsoft.CostAccounting.Journal."Cost Journal Line"

Methods

RunWithCheck

procedure RunWithCheck(var CostJnlLine2: Record "Cost Journal Line")

Parameters

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

Events

OnAfterCostEntryInsert

[IntegrationEvent(False,False)]
local procedure OnAfterCostEntryInsert(var CostEntry: Record "Cost Entry", CostJournalLine: Record "Cost Journal Line")

Parameters

Name Type Description
CostEntry Table Microsoft.CostAccounting.Ledger."Cost Entry"
CostJournalLine Table Microsoft.CostAccounting.Journal."Cost Journal Line"

OnAfterCostBudgetEntryInsert

[IntegrationEvent(False,False)]
local procedure OnAfterCostBudgetEntryInsert(var CostBudgetEntry: Record "Cost Budget Entry", CostJournalLine: Record "Cost Journal Line")

Parameters

Name Type Description
CostBudgetEntry Table Microsoft.CostAccounting.Budget."Cost Budget Entry"
CostJournalLine Table Microsoft.CostAccounting.Journal."Cost Journal Line"

OnAfterRunWithCheck

[IntegrationEvent(True,False)]
local procedure OnAfterRunWithCheck(var CostJournalLine: Record "Cost Journal Line")

Parameters

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

OnBeforeCode

[IntegrationEvent(False,False)]
local procedure OnBeforeCode(var CostJournalLine: Record "Cost Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
CostJournalLine Table Microsoft.CostAccounting.Journal."Cost Journal Line"
IsHandled Boolean

OnBeforeCostEntryInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeCostEntryInsert(var CostEntry: Record "Cost Entry", CostJournalLine: Record "Cost Journal Line")

Parameters

Name Type Description
CostEntry Table Microsoft.CostAccounting.Ledger."Cost Entry"
CostJournalLine Table Microsoft.CostAccounting.Journal."Cost Journal Line"

OnBeforeCostBudgetEntryInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeCostBudgetEntryInsert(var CostBudgetEntry: Record "Cost Budget Entry", CostJournalLine: Record "Cost Journal Line")

Parameters

Name Type Description
CostBudgetEntry Table Microsoft.CostAccounting.Budget."Cost Budget Entry"
CostJournalLine Table Microsoft.CostAccounting.Journal."Cost Journal Line"

OnCreateCostRegisterOnBeforeInsert

[IntegrationEvent(False,False)]
local procedure OnCreateCostRegisterOnBeforeInsert(var CostRegister: Record "Cost Register", CostJournalLine: Record "Cost Journal Line", SourceCodeSetup: Record "Source Code Setup")

Parameters

Name Type Description
CostRegister Table Microsoft.CostAccounting.Ledger."Cost Register"
CostJournalLine Table Microsoft.CostAccounting.Journal."Cost Journal Line"
SourceCodeSetup Table Microsoft.Foundation.AuditCodes."Source Code Setup"

OnCreateCostRegisterOnBeforeModify

[IntegrationEvent(False,False)]
local procedure OnCreateCostRegisterOnBeforeModify(var CostRegister: Record "Cost Register", CostJournalLine: Record "Cost Journal Line", SourceCodeSetup: Record "Source Code Setup")

Parameters

Name Type Description
CostRegister Table Microsoft.CostAccounting.Ledger."Cost Register"
CostJournalLine Table Microsoft.CostAccounting.Journal."Cost Journal Line"
SourceCodeSetup Table Microsoft.Foundation.AuditCodes."Source Code Setup"

See also