Codeunit 18122693 EOS052 Consolidate

Codeunit 18122693 EOS052 Consolidate

Methods

SetDocNo

procedure SetDocNo(NewDocNo: Code[20])

Parameters / Return Value

  • NewDocNo Code[20]

SetSelectedDim

procedure SetSelectedDim(var SelectedDim: Record "Selected Dimension")

Parameters / Return Value

  • SelectedDim Record "Selected Dimension"

SetGlobals

procedure SetGlobals(NewProductVersion: Code[10]; NewFormatVersion: Code[10]; NewCompanyName: Text[30]; NewCurrencyLCY: Code[10]; NewCurrencyACY: Code[10]; NewCurrencyPCY: Code[10]; NewCheckSum: Decimal; NewStartingDate: Date; NewEndingDate: Date)

Parameters / Return Value

  • NewProductVersion Code[10]

  • NewFormatVersion Code[10]

  • NewCompanyName Text[30]

  • NewCurrencyLCY Code[10]

  • NewCurrencyACY Code[10]

  • NewCurrencyPCY Code[10]

  • NewCheckSum Decimal

  • NewStartingDate Date

  • NewEndingDate Date


InsertGLAccount

procedure InsertGLAccount(NewGLAccount: Record "G/L Account")

Parameters / Return Value

  • NewGLAccount Record "G/L Account"

InsertGLEntry

procedure InsertGLEntry(NewGLEntry: Record "G/L Entry"): Integer

Parameters / Return Value

  • NewGLEntry Record "G/L Entry"

  • Returns Integer


InsertEntryDim

procedure InsertEntryDim(NewDimBuf: Record "Dimension Buffer"; GLEntryNo: Integer)

Parameters / Return Value

  • NewDimBuf Record "Dimension Buffer"

  • GLEntryNo Integer


InsertExchRate

procedure InsertExchRate(NewCurrExchRate: Record "Currency Exchange Rate")

Parameters / Return Value

  • NewCurrExchRate Record "Currency Exchange Rate"

UpdateGLEntryDimSetID

procedure UpdateGLEntryDimSetID()

CalcCheckSum

procedure CalcCheckSum() CheckSum: Decimal

Parameters / Return Value

  • Returns Decimal

ExportToXML

procedure ExportToXML(var TempBlob: Codeunit "Temp Blob"): Boolean

Parameters / Return Value

  • TempBlob Codeunit "Temp Blob"

  • Returns Boolean


ImportFromXML

procedure ImportFromXML(var InputStream: InStream)

Parameters / Return Value

  • InputStream InStream

GetGlobals

procedure GetGlobals(var ImpProductVersion: Code[10]; var ImpFormatVersion: Code[10]; var ImpCompanyName: Text[30]; var ImpCurrencyLCY: Code[10]; var ImpCurrencyACY: Code[10]; var ImpCurrencyPCY: Code[10]; var ImpCheckSum: Decimal; var ImpStartingDate: Date; var ImpEndingDate: Date)

Parameters / Return Value

  • ImpProductVersion Code[10]

  • ImpFormatVersion Code[10]

  • ImpCompanyName Text[30]

  • ImpCurrencyLCY Code[10]

  • ImpCurrencyACY Code[10]

  • ImpCurrencyPCY Code[10]

  • ImpCheckSum Decimal

  • ImpStartingDate Date

  • ImpEndingDate Date


SetTestMode

procedure SetTestMode(NewTestMode: Boolean)

Parameters / Return Value

  • NewTestMode Boolean

GetAccumulatedErrors

procedure GetAccumulatedErrors(var NumErrors: Integer; var Errors: array[100] of Text)

Parameters / Return Value

  • NumErrors Integer

  • Errors Text


SelectAllImportedDimensions

procedure SelectAllImportedDimensions()

GetNumSubsidGLAcc

procedure GetNumSubsidGLAcc(): Integer

Parameters / Return Value

  • Returns Integer

Get1stSubsidGLAcc

procedure Get1stSubsidGLAcc(var GlAccount: Record "G/L Account"): Boolean

Parameters / Return Value

  • GlAccount Record "G/L Account"

  • Returns Boolean


GetNxtSubsidGLAcc

procedure GetNxtSubsidGLAcc(var GLAccount: Record "G/L Account"): Boolean

Parameters / Return Value

  • GLAccount Record "G/L Account"

  • Returns Boolean


GetNumSubsidGLEntry

procedure GetNumSubsidGLEntry(): Integer

Parameters / Return Value

  • Returns Integer

Get1stSubsidGLEntry

procedure Get1stSubsidGLEntry(var GLEntry: Record "G/L Entry"): Boolean

Parameters / Return Value

  • GLEntry Record "G/L Entry"

  • Returns Boolean


GetNxtSubsidGLEntry

procedure GetNxtSubsidGLEntry(var GLEntry: Record "G/L Entry"): Boolean

Parameters / Return Value

  • GLEntry Record "G/L Entry"

  • Returns Boolean


Events

OnBeforeGenJnlPostLine

local procedure OnBeforeGenJnlPostLine(var GenJnlLine: Record "Gen. Journal Line")

Events that allow you to modify codes

Parameters / Return Value

  • GenJnlLine Record "Gen. Journal Line"

    Record that you can modify


OnBeforeInsertGLEntry

local procedure OnBeforeInsertGLEntry(var SubsidGLEntry: Record "G/L Entry"; GLEntry: Record "G/L Entry")

Allow you to modify SubsidGLEntry before insert

Parameters / Return Value

  • SubsidGLEntry Record "G/L Entry"

    Record that you can modify

  • GLEntry Record "G/L Entry"


OnUpdateGLEntryDimSetIDOnAfterAssignDimensionSetID

local procedure OnUpdateGLEntryDimSetIDOnAfterAssignDimensionSetID(var TempSubsidDimBuf: Record "Dimension Buffer" temporary)

Allow you to modify TempSubsidDimBuf in function UpdateGLEntryDimSetID

Parameters / Return Value

  • TempSubsidDimBuf Record "Dimension Buffer"

    Record that you can modify


EOS052_OnBeforeClearPreviousConsolidation

local procedure EOS052_OnBeforeClearPreviousConsolidation(var AllowClearPreviousConsolidation: Boolean)

If the boolean parameter is set to true then the Previous Consolidation is cleared, otherwise the clearing function is skipped

Parameters / Return Value

  • AllowClearPreviousConsolidation Boolean

    Parameter that lets you skip ClearPreviousConsolidation procedure



EOS Labs -