Codeunit 1100 Cost Account Mgt

Base Application, Microsoft.CostAccounting.Setup

Source AL, 1,093 lines

src/Layers/W1/BaseApp/CostAccounting/Setup/CostAccountMgt.Codeunit.allines 14 to 29 of 1,093, Copyright (c) Microsoft Corporation. MIT

codeunit 1100 "Cost Account Mgt"{    Permissions = TableData "G/L Account" = rm,                  TableData "G/L Entry" = rm,                  TableData Dimension = r,                  TableData "Cost Entry" = rimd,                  TableData "Cost Center" = r,                  TableData "Cost Object" = r;    trigger OnRun()    begin    end;    var        CostAccSetup: Record "Cost Accounting Setup";        GLAcc: Record "G/L Account";

All 1,093 lines

Events 21 in 29

[IntegrationEvent] OnAfterGetCostTypesFromChartDirect()17-29
[IntegrationEvent] OnAfterUpdateCostTypeFromGLAcc(var CostType: Record "Cost Type"; var GLAcc: Record "G/L Account"; var xGLAcc: Record "G/L Account"; CallingTrigger: Option OnInsert,OnModify, ,OnRename)17-29
[IntegrationEvent] OnBeforeCopyDimValueToCostCenter(DimValue: Record "Dimension Value"; var CostCenter: Record "Cost Center"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeCopyDimValueToCostObject(DimValue: Record "Dimension Value"; var CostObject: Record "Cost Object"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnGetCostTypesFromChartDirectOnBeforeCostTypeInsert(var GLAccount: Record "G/L Account"; var CostType: Record "Cost Type"; var CostTypeExists: Boolean)17-29
[IntegrationEvent] OnBeforeGetCostCenterCodeFromDimSet(DimSetID: Integer; var Result: Code[20]; var IsHandled: Boolean)new in 18
[IntegrationEvent] OnBeforeGetCostObjectCodeFromDimSet(DimSetID: Integer; var Result: Code[20]; var IsHandled: Boolean)new in 18

All 23 events in 17-29

Public procedures 33 in 29

GetCostTypesFromChartOfAccount()17-29
GetCostTypesFromChartDirect()17-29
ConfirmUpdate(CallingTrigger: Option OnInsert,OnModify, ,OnRename; TableCaption2: Text[80]; Value: Code[20]): Boolean17-29changed in 21
UpdateCostTypeFromGLAcc(var GLAcc: Record "G/L Account"; var xGLAcc: Record "G/L Account"; CallingTrigger: Option OnInsert,OnModify, ,OnRename)17-29
UpdateCostCenterFromDim(var DimValue: Record "Dimension Value"; var xDimValue: Record "Dimension Value"; CallingTrigger: Option OnInsert,OnModify, ,OnRename)17-29
UpdateCostObjectFromDim(var DimValue: Record "Dimension Value"; var xDimValue: Record "Dimension Value"; CallingTrigger: Option OnInsert,OnModify, ,OnRename)17-29

All 33 procedures

Changes 1 in 25

List17181920212223242526272829
Procedures1
Events27101
[IntegrationEvent] OnBeforeShouldNotUpdateCostTypeFromGLAcc(var GLAccount: Record "G/L Account"; var xGLAccount: Record "G/L Account"; var CostAccSetup: Record "Cost Accounting Setup"; CallingTrigger: Option OnInsert,OnModify, ,OnRename; var ShouldNotUpdate: Boolean; var IsHandled: Boolean)new in 25
added

All 21 changes in 17-29