Codeunit 1100 Cost Account Mgt

Base Application, Microsoft.CostAccounting.Setup

src/Layers/W1/BaseApp/CostAccounting/Setup/CostAccountMgt.Codeunit.al34 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

GetCostTypesFromChartOfAccount line 72

  1. 77raisesOnBeforeGetCostTypesFromChartOfAccountIsHandled
  2. 84callsGetCostTypesFromChartDirect
  3. 86callsIndentCostTypes

GetCostTypesFromChartDirect line 91

  1. 99raisesOnGetCostTypesFromChartDirectOnAfterSetFilters
  2. 102callsGetCostType
  3. 112callsGetCostCenterCodeFromDefDim
  4. 113callsCostCenterExists
  5. 115callsGetCostObjectCodeFromDefDim
  6. 116callsCostObjectExists
  7. 127raisesOnGetCostTypesFromChartDirectOnBeforeCostTypeInsert
  8. 129writesTable 1103 Cost Type Insert
  9. 133writesTable 15 G/L Account Modify
  10. 137callsIndentCostTypes
  11. 139raisesOnAfterGetCostTypesFromChartDirect

CanUpdate line 149, local

  1. 161callsConfirmUpdate

UpdateCostTypeFromGLAcc line 167

  1. 171callsShouldNotUpdateCostTypeFromGLAcc
  2. 178callsIsGLAccNoFirstFromRange
  3. 181writesTable 1103 Cost Type Insert
  4. 189callsGetCostCenterCodeFromDefDim
  5. 190callsCostCenterExists
  6. 192callsGetCostObjectCodeFromDefDim
  7. 193callsCostObjectExists
  8. 203raisesOnUpdateCostTypeFromGLAccOnInsertOrModifyCostTypeBeforeModify
  9. 204writesTable 1103 Cost Type Modify
  10. 213writesTable 1103 Cost Type Rename
  11. 215raisesOnUpdateCostTypeFromGLAccOnRenameCostTypeBeforeModify
  12. 216writesTable 1103 Cost Type Modify
  13. 223raisesOnAfterUpdateCostTypeFromGLAcc
  14. 225callsIndentCostTypes

ShouldNotUpdateCostTypeFromGLAcc line 229, local

  1. 234raisesOnBeforeShouldNotUpdateCostTypeFromGLAccIsHandled
  2. 250callsCheckAlignment
  3. 252raisesOnAfterShouldNotUpdateCostTypeFromGLAcc

UpdateCostCenterFromDim line 255

  1. 261callsCanUpdate
  2. 271callsCostCenterExists
  3. 273callsInsertCostCenterFromDimValue
  4. 276callsCostCenterExists
  5. 277callsInsertCostCenterFromDimValue
  6. 279callsModifyCostCenterFromDimValue
  7. 282callsCostCenterExists
  8. 284callsCostCenterExists
  9. 287writesTable 1112 Cost Center Rename
  10. 291callsIndentCostCenters
  11. 294raisesOnUpdateCostCenterFromDimOnBeforeMessageIsHandled

UpdateCostObjectFromDim line 299

  1. 305callsCanUpdate
  2. 314callsCostObjectExists
  3. 316callsInsertCostObjectFromDimValue
  4. 319callsCostObjectExists
  5. 320callsInsertCostObjectFromDimValue
  6. 322callsModifyCostObjectFromDimValue
  7. 325callsCostObjectExists
  8. 327callsCostObjectExists
  9. 330writesTable 1113 Cost Object Rename
  10. 334callsIndentCostCenters
  11. 336raisesOnUpdateCostObjectFromDimOnBeforeMessageIsHandled

UpdateCostTypeFromDefaultDimension line 341

  1. 348callsIsGLAccNoFirstFromRange
  2. 350callsCheckAlignment
  3. 354callsCostCenterExists
  4. 360callsCostObjectExists
  5. 365writesTable 1103 Cost Type Modify

ConfirmIndentCostTypes line 369

  1. 374callsIndentCostTypes

IndentCostTypes line 377

  1. 396writesTable 1103 Cost Type Modify

LinkCostTypesToGLAccountsYN line 409

  1. 415callsLinkCostTypesToGLAccounts

LinkCostTypesToGLAccounts line 419

  1. 425writesTable 15 G/L Account ModifyAll
  2. 428raisesOnLinkCostTypesToGLAccountsOnAfterCostTypeSetFilter
  3. 435raisesOnLinkCostTypesToGLAccountsOnAfterSetFilters
  4. 444writesTable 15 G/L Account Modify

CreateCostCenters line 451

  1. 469callsInsertCostCenterFromDimValue
  2. 475callsIndentCostCenters

IndentCostCentersYN line 480

  1. 487callsIndentCostCenters

IndentCostCenters line 490

  1. 520writesTable 1112 Cost Center Modify
  2. 549writesTable 1112 Cost Center Modify

CreateCostObjects line 561

  1. 579callsInsertCostObjectFromDimValue
  2. 585callsIndentCostObjects

IndentCostObjectsYN line 589

  1. 596callsIndentCostObjects

IndentCostObjects line 599

  1. 629writesTable 1113 Cost Object Modify
  2. 659writesTable 1113 Cost Object Modify

CheckValidCCAndCOInGLEntry line 672

  1. 684callsGetCostCenterCodeFromDimSet
  2. 685callsGetCostObjectCodeFromDimSet

GetCostCenterCodeFromDimSet line 706

  1. 712raisesOnBeforeGetCostCenterCodeFromDimSetIsHandled

LookupCostCenterFromDimValue line 746

  1. 751callsTable 349 Dimension Value LookupDimValue

GetCostObjectCodeFromDimSet line 754

  1. 760raisesOnBeforeGetCostObjectCodeFromDimSetIsHandled

LookupCostObjectFromDimValue line 794

  1. 799callsTable 349 Dimension Value LookupDimValue

InsertCostCenterFromDimValue line 802, local

  1. 806callsCopyDimValueToCostCenter
  2. 807writesTable 1112 Cost Center Insert

ModifyCostCenterFromDimValue line 810, local

  1. 815callsCopyDimValueToCostCenter
  2. 816writesTable 1112 Cost Center Modify

CopyDimValueToCostCenter line 819, local

  1. 824raisesOnBeforeCopyDimValueToCostCenterIsHandled

InsertCostObjectFromDimValue line 835, local

  1. 839callsCopyDimValueToCostObject
  2. 840writesTable 1113 Cost Object Insert

ModifyCostObjectFromDimValue line 843, local

  1. 848callsCopyDimValueToCostObject
  2. 849writesTable 1113 Cost Object Modify

CopyDimValueToCostObject line 852, local

  1. 857raisesOnBeforeCopyDimValueToCostObjectIsHandled
  2. 867raisesOnAfterCopyDimValueToCostObject

InsertCostBudgetRegister line 870

  1. 888writesTable 1111 Cost Budget Register Insert

UpdateCostBudgetRegister line 893

  1. 915writesTable 1111 Cost Budget Register Modify(true)

CheckAlignment line 918, local

  1. 926callsConfirmUpdate

IsGLAccNoFirstFromRange line 932

  1. 937raisesOnIsGLAccNoFirstFromRangeOnAfterGLAccSetFilter

GetCostType line 944

  1. 956raisesOnGetCostTypeOnAfterCostTypeSetFilter
  2. 962raisesOnGetCostTypeOnAfterSetFilters