Codeunit 131340 Library - Cost Accounting

Application Test Library

79 procedures

ProcedureVersions
AllocateCostsFromTo(var CostAllocation: TestRequestPage "Cost Allocation"; FromLevel: Integer; ToLevel: Integer; AllocDate: Date; AllocGroup: Code[10]; CostBudgetName: Code[10])new in 28
CheckAllocTargetSharePercent(CostAllocationSource: Record "Cost Allocation Source")new in 28
CheckBlockedDimCombination()new in 28
CheckBlockedDimensionValues(AccountNo: Code[20])new in 28
CheckCostJnlLineConsistency(var CostJournalLine: Record "Cost Journal Line")new in 28
ClearCostJournalLines(CostJournalBatch: Record "Cost Journal Batch")new in 28
CopyCABudgetToCABudget(var CopyCAToCARP: TestRequestPage "Copy Cost Budget"; SourceCostBudget: Code[10]; TargetCostBudget: Code[10]; AmtMultiplicationRatio: Decimal; DateFormula: Text[30]; NoOfCopies: Integer)new in 28
CopyCABudgetToGLBudget(var CopyCAToGLRP: TestRequestPage "Copy Cost Acctg. Budget to G/L"; SourceCostBudget: Code[10]; TargetCostBudget: Code[10]; AmtMultiplicationRatio: Decimal; DateFormula: Text[30]; NoOfCopies: Integer)new in 28
CopyGLBudgetToCABudget(var CopyGLToCARP: TestRequestPage "Copy G/L Budget to Cost Acctg."; SourceGLBudget: Code[10]; TargetCostBudget: Code[10])new in 28
CostCenterDimension(): Code[20]new in 28
CostObjectDimension(): Code[20]new in 28
CreateAllocSource(var CostAllocationSource: Record "Cost Allocation Source"; TypeOfID: Option "Auto Generated",Custom)new in 28
CreateAllocSourceWithCCenter(var CostAllocationSource: Record "Cost Allocation Source"; TypeOfID: Option)new in 28
CreateAllocSourceWithCObject(var CostAllocationSource: Record "Cost Allocation Source"; TypeOfID: Option)new in 28
CreateAllocTarget(var CostAllocationTarget: Record "Cost Allocation Target"; CostAllocationSource: Record "Cost Allocation Source"; Share: Decimal; Base: Enum "Cost Allocation Target Base"; AllocationType: Enum "Cost Allocation Target Type")new in 28
CreateAllocTargetWithCCenter(var CostAllocationTarget: Record "Cost Allocation Target"; CostAllocationSource: Record "Cost Allocation Source"; Share: Decimal; Base: Enum "Cost Allocation Target Base"; AllocationType: Enum "Cost Allocation Target Type")new in 28
CreateAllocTargetWithCObject(var CostAllocationTarget: Record "Cost Allocation Target"; CostAllocationSource: Record "Cost Allocation Source"; Share: Decimal; Base: Enum "Cost Allocation Target Base"; AllocationType: Enum "Cost Allocation Target Type")new in 28
CreateBalanceSheetGLAccount(var GLAccount: Record "G/L Account")new in 28
CreateCostBudgetEntry(var CostBudgetEntry: Record "Cost Budget Entry"; CostBudgetName: Code[10])new in 28
CreateCostBudgetName(var CostBudgetName: Record "Cost Budget Name")new in 28
CreateCostCenter(var CostCenter: Record "Cost Center")new in 28
CreateCostCenterFromDimension(var CostCenter: Record "Cost Center")new in 28
CreateCostJournalBatch(var CostJournalBatch: Record "Cost Journal Batch"; CostJournalTemplateName: Code[10])new in 28
CreateCostJournalTemplate(var CostJournalTemplate: Record "Cost Journal Template")new in 28
CreateCostJnlBatchWithDelOpt(var CostJournalBatch: Record "Cost Journal Batch"; CostJournalTemplateName: Code[10]; DeleteAfterPosting: Boolean)new in 28
CreateCostJournalLine(var CostJournalLine: Record "Cost Journal Line"; CostJournalTemplateName: Code[10]; CostJournalBatchName: Code[10])new in 28
CreateCostJournalLineBasic(var CostJournalLine: Record "Cost Journal Line"; CostJournalTemplateName: Code[10]; CostJournalBatchName: Code[10]; PostingDate: Date; CostTypeNo: Code[20]; BalCostTypeNo: Code[20])new in 28
CreateCostObject(var CostObject: Record "Cost Object")new in 28
CreateCostObjectFromDimension(var CostObject: Record "Cost Object")new in 28
CreateCostType(var CostType: Record "Cost Type")new in 28
CreateCostTypeNoGLRange(var CostType: Record "Cost Type")new in 28
CreateCostTypeWithCombine(var CostType: Record "Cost Type"; CombineEntries: Option)new in 28
CreateCostTypeWithGLRange(var CostType: Record "Cost Type"; MultipleGLAccounts: Boolean)new in 28
CreateIncomeStmtGLAccount(var GLAccount: Record "G/L Account")new in 28
CreateJnlLine(var GenJournalLine: Record "Gen. Journal Line"; AccountNo: Code[20])new in 28
DeleteAllCostTypeEntries()new in 28
DeleteCostBudgetRegEntries()new in 28
DeleteCostBudgetRegEntriesFrom(StartEntry: Integer)new in 28
DeleteCostRegisterEntries()new in 28
DeleteCostRegisterEntriesFrom(StartEntry: Integer)new in 28
DeleteBlockedDimCombinations(var DimensionCombination: Record "Dimension Combination")new in 28
FindAllocSource(var CostAllocationSource: Record "Cost Allocation Source")new in 28
FindCostType(var CostType: Record "Cost Type")new in 28
FindCostTypeLinkedToGLAcc(var CostType: Record "Cost Type")new in 28
FindCostTypeWithCostCenter(var CostType: Record "Cost Type")new in 28
FindCostCenter(var CostCenter: Record "Cost Center")new in 28
FindCostJournalBatch(var CostJournalBatch: Record "Cost Journal Batch"; CostJournalTemplateName: Code[10])new in 28
FindCostJnlBatchWithDelOption(var CostJournalBatch: Record "Cost Journal Batch"; CostJournalTemplateName: Code[10]; DeleteAfterPosting: Boolean)new in 28
FindCostJournalTemplate(var CostJournalTemplate: Record "Cost Journal Template")new in 28
FindCostObject(var CostObject: Record "Cost Object")new in 28
FindGLAccLinkedToCostType(var GLAccount: Record "G/L Account")new in 28
FindGLAccountsByCostType(var GLAccount: Record "G/L Account"; GLAccountRange: Text[50])new in 28
FindIncomeStmtGLAccount(var GLAccount: Record "G/L Account")new in 28
GetAllCostTypes(var CostType: Record "Cost Type")new in 28
GetAllIncomeStmtGLAccounts(var GLAccount: Record "G/L Account")new in 28
GetAllocTargetEntryAmount(var CostAllocationTarget: Record "Cost Allocation Target"; TotalAmount: Decimal; TableNumber: Integer; KeyFieldNumber: Integer; AmountFieldNumber: Integer; FromValue: Integer; ToValue: Integer): Decimalnew in 28
InitializeCASetup()new in 28
InitializeCASourceCodes()new in 28
LastAllocSourceID(): Code[10]new in 28
LastAllocTargetID(CostAllocationSource: Record "Cost Allocation Source"): Integernew in 28
PostCostJournalLine(CostJournalLine: Record "Cost Journal Line")new in 28
PostGenJournalLine(AccountNo: Code[20])new in 28
SetAlignment(FieldNo: Integer; FieldOptionValue: Option)new in 28
SetAutotransferFromGL(Autotransfer: Boolean)new in 28
SetDefaultDimension(GLAccountNo: Code[20])new in 28
SetupGeneralJnlBatch(var GenJournalBatch: Record "Gen. Journal Batch")new in 28
SetupGLAccount(var GLAccount: Record "G/L Account")new in 28
TransferBudgetToActual(var TransferToActual: TestRequestPage "Transfer Budget to Actual"; BudgetName: Code[10]; DateRange: Text[30])new in 28
TransferGLEntries()new in 28
UpdateAllocSourceWithCCenter(var CostAllocationSource: Record "Cost Allocation Source")new in 28
UpdateAllocSourceWithCObject(var CostAllocationSource: Record "Cost Allocation Source")new in 28
UpdateAllocTargetWithCCenter(var CostAllocationTarget: Record "Cost Allocation Target")new in 28
UpdateAllocTargetWithCObject(var CostAllocationTarget: Record "Cost Allocation Target")new in 28
UpdateCostTypeWithCostCenter(var CostType: Record "Cost Type")new in 28
UpdateCostTypeWithCostObject(var CostType: Record "Cost Type")new in 28
ValidateEntriesTransfered()new in 28
ValidateGLAccountCostTypeRef(CostTypeNo: Code[20])new in 28
ValidateGLAccountIsIncomeStmt(var CostType: Record "Cost Type")new in 28
VerifyCostTypeIntegrity()new in 28