Codeunit 1101 CA Jnl.-Check Line

Base Application, Microsoft.CostAccounting.Posting

Source AL, 134 lines

src/Layers/W1/BaseApp/CostAccounting/Posting/CAJnlCheckLine.Codeunit.allines 12 to 27 of 134, Copyright (c) Microsoft Corporation. MIT

codeunit 1101 "CA Jnl.-Check Line"{    TableNo = "Cost Journal Line";    trigger OnRun()    begin        SourceCodeSetup.Get();        RunCheck(Rec);    end;    var        SourceCodeSetup: Record "Source Code Setup";#pragma warning disable AA0074#pragma warning disable AA0470        Text000: Label 'Cost type or balance cost type must be defined.\Line %1, document %2, amount %3.';        Text001: Label 'You cannot define both cost center and cost object.\Line %1, document %2, amount %3.';

All 134 lines

Events 7 in 29

[IntegrationEvent] OnAfterCheckCostJnlLine(var CostJnlLine: Record "Cost Journal Line")17-29
[IntegrationEvent] OnBeforeRunCheck(var CostJnlLine: Record "Cost Journal Line"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnRunCheckOnBeforeDateNotAllowed(var CostJnlLine: Record "Cost Journal Line"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnRunCheckOnBeforeVerifyCostCenterAndObjectFilled(var CostJournalLine: Record "Cost Journal Line"; var IsHandled: Boolean)new in 22
[IntegrationEvent] OnRunCheckOnBeforeVerifyBalCostCenterAndObjectFilled(var CostJournalLine: Record "Cost Journal Line"; var IsHandled: Boolean)new in 22
[IntegrationEvent] OnRunCheckOnBeforeCheckSourceCode(var CostJournalLine: Record "Cost Journal Line"; var IsHandled: Boolean)new in 22
[IntegrationEvent] OnRunCheckOnBeforeCheckBalCostCenterCode(var CostJournalLine: Record "Cost Journal Line"; var IsHandled: Boolean)new in 22

Public procedures 1 in 29

RunCheck(var CostJnlLine: Record "Cost Journal Line")17-29

Changes 4 in 22

List17181920212223242526272829
Events4
[IntegrationEvent] OnRunCheckOnBeforeVerifyCostCenterAndObjectFilled(var CostJournalLine: Record "Cost Journal Line"; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnRunCheckOnBeforeVerifyBalCostCenterAndObjectFilled(var CostJournalLine: Record "Cost Journal Line"; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnRunCheckOnBeforeCheckSourceCode(var CostJournalLine: Record "Cost Journal Line"; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnRunCheckOnBeforeCheckBalCostCenterCode(var CostJournalLine: Record "Cost Journal Line"; var IsHandled: Boolean)new in 22
added

All 4 changes in 17-29