Codeunit 18004115 EOS001 SimGL Test Library

Codeunit 18004115 EOS001 SimGL Test Library

Methods

CreateGLAccrualTemplate

procedure CreateGLAccrualTemplate(var pGlAccrTemplate: Record "EOS G/L Accrual Template")

Parameters / Return Value

  • pGlAccrTemplate Record "EOS G/L Accrual Template"

InitSetup

procedure InitSetup(var CompDatesSetup: Record "EOS Competence Dates Setup")

Parameters / Return Value

  • CompDatesSetup Record "EOS Competence Dates Setup"

CheckAccrualConsistency

procedure CheckAccrualConsistency(GlAccrEntry: Record "EOS G/L Accrual Entry")

Parameters / Return Value

  • GlAccrEntry Record "EOS G/L Accrual Entry"

CheckAccrualConsistency

procedure CheckAccrualConsistency(ExpectedCount: Integer;ExpectedLinkCount: Integer;TmpCheckGenJnlLine: Record "Gen. Journal Line" temporary)

Parameters / Return Value

  • ExpectedCount Integer

  • ExpectedLinkCount Integer

  • TmpCheckGenJnlLine Record "Gen. Journal Line"


CreateAndPostGenJnlAccrual

procedure CreateAndPostGenJnlAccrual(GenJnlBatch: Record "Gen. Journal Batch";GlAccountNo: Code[20];BalGlAccountNo: Code[20];GlAccrTemplateCode: Code[20];FromDate: Date;ToDate: Date;var TmpGenJnlLine: Record "Gen. Journal Line")

Parameters / Return Value

  • GenJnlBatch Record "Gen. Journal Batch"

  • GlAccountNo Code[20]

  • BalGlAccountNo Code[20]

  • GlAccrTemplateCode Code[20]

  • FromDate Date

  • ToDate Date

  • TmpGenJnlLine Record "Gen. Journal Line"


CreateAndPostGenJnlAccrual

procedure CreateAndPostGenJnlAccrual(GenJnlBatch: Record "Gen. Journal Batch";GlAccountNo: Code[20];BalGlAccountNo: Code[20];GlAccrTemplateCode: Code[20];PostingDate: Date;FromDate: Date;ToDate: Date;var TmpGenJnlLine: Record "Gen. Journal Line")

Parameters / Return Value

  • GenJnlBatch Record "Gen. Journal Batch"

  • GlAccountNo Code[20]

  • BalGlAccountNo Code[20]

  • GlAccrTemplateCode Code[20]

  • PostingDate Date

  • FromDate Date

  • ToDate Date

  • TmpGenJnlLine Record "Gen. Journal Line"


CreateJournal

procedure CreateJournal(var GenJnlBatch: Record "Gen. Journal Batch"; Sim: Boolean; Recurring: Boolean; CopyVatSetup: Boolean)

Parameters / Return Value

  • GenJnlBatch Record "Gen. Journal Batch"

  • Sim Boolean

  • Recurring Boolean

  • CopyVatSetup Boolean


InitAccountingPeriods

procedure InitAccountingPeriods()

CreateFiscalYear

procedure CreateFiscalYear(var StartingPeriod: Record "Accounting Period"; StartingDate: Date)

Parameters / Return Value

  • StartingPeriod Record "Accounting Period"

  • StartingDate Date


PostGlEntryAccrual

procedure PostGlEntryAccrual(GlEntry: Record "G/L Entry"; TemplateCode: Code[10]; PeriodType: Enum "EOS Accrual Period Type"; FromDate: Date; ToDate: Date)

Parameters / Return Value

  • GlEntry Record "G/L Entry"

  • TemplateCode Code[10]

  • PeriodType Enum "EOS Accrual Period Type"

  • FromDate Date

  • ToDate Date



EOS Labs -