Codeunit 18006633 EOS C/A Allocation Management

Codeunit 18006633 EOS C/A Allocation Management

Codeunit EOS C/A Allocation Management (ID 18006633).

Methods

UpdateAnalysis

procedure UpdateAnalysis(var CAAnalysisCode: Record "EOS C/A Analysis Code"; UpdateMode: Option Entries,Allocation,All)

UpdateAnalysis.

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

    VAR Record “EOS C/A Analysis Code”.

  • UpdateMode Option

    Entries (0) , Allocation (1) , All (2)

    Option Entries,Allocation,All.


TestAlloc

procedure TestAlloc(var AllocHeaderP: Record "EOS Allocation Header"; ErrMsgP: Boolean) TestRes: Boolean

TestAlloc.

Parameters / Return Value

  • AllocHeaderP Record "EOS Allocation Header"

    VAR Record “EOS Allocation Header”.

  • ErrMsgP Boolean

    Boolean.

  • Returns Boolean

    Return variable TestRes of type Boolean.


TestAllocAssign

procedure TestAllocAssign(var AllocLineP: Record "EOS Allocation Line"; var AllocAssignP: Record "EOS Allocation Assignment"; ErrMsgP: Boolean) TestRes: Boolean

TestAllocAssign.

Parameters / Return Value

  • AllocLineP Record "EOS Allocation Line"

    VAR Record “EOS Allocation Line”.

  • AllocAssignP Record "EOS Allocation Assignment"

    VAR Record “EOS Allocation Assignment”.

  • ErrMsgP Boolean

    Boolean.

  • Returns Boolean

    Return variable TestRes of type Boolean.


LookUpDim

procedure LookUpDim(DimCodeP: Code[20]): Text[200]

LookUpDim.

Parameters / Return Value

  • DimCodeP Code[20]

    Code[20].

  • Returns Text[200]

    Return value of type Text[200].


WriteJournalLine

procedure WriteJournalLine(var CAAnalysisCodeP: Record "EOS C/A Analysis Code"; WriteBalanceP: Boolean)

WriteJournalLine.

Parameters / Return Value

  • CAAnalysisCodeP Record "EOS C/A Analysis Code"

    VAR Record “EOS C/A Analysis Code”.

  • WriteBalanceP Boolean

    Boolean.


StartAllocation

procedure StartAllocation(var CAAnalysisCode: Record "EOS C/A Analysis Code"; FromLevel: Integer)

StartAllocation.

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

    VAR Record “EOS C/A Analysis Code”.

  • FromLevel Integer

    Integer.


AllocLevel

procedure AllocLevel(var CAAnalysisCodeP: Record "EOS C/A Analysis Code"; Level: Integer): Boolean

AllocLevel.

Parameters / Return Value

  • CAAnalysisCodeP Record "EOS C/A Analysis Code"

    VAR Record “EOS C/A Analysis Code”.

  • Level Integer

    Integer.

  • Returns Boolean

    Return value of type Boolean.


GetVariableValue

procedure GetVariableValue(var CAAnCodeP: Record "EOS C/A Analysis Code"; CAAccFilterP: Code[250]; GlobDim1FilterP: Code[250]; GlobDim2FilterP: Code[250]; FixedVariableP: Option ,"Fixed",Variable; FromLevelP: Integer): Decimal

GetVariableValue.

Parameters / Return Value

  • CAAnCodeP Record "EOS C/A Analysis Code"

    VAR Record “EOS C/A Analysis Code”.

  • CAAccFilterP Code[250]

    Code[250].

  • GlobDim1FilterP Code[250]

    Code[250].

  • GlobDim2FilterP Code[250]

    Code[250].

  • FixedVariableP Option

    "Fixed" (1) , Variable (2)

    Option ,“Fixed”,Variable.

  • FromLevelP Integer

    Integer.

  • Returns Decimal

    Return value of type Decimal.


GetFirstAccNo

procedure GetFirstAccNo(ParentEntryNoP: Integer): Code[20]

GetFirstAccNo.

Parameters / Return Value

  • ParentEntryNoP Integer

    Integer.

  • Returns Code[20]

    Return value of type Code[20].


GetEntryNo

procedure GetEntryNo(ParentEntryNoP: Integer): Integer

GetEntryNo.

Parameters / Return Value

  • ParentEntryNoP Integer

    Integer.

  • Returns Integer

    Return value of type Integer.


TariffMngt

procedure TariffMngt(var CAAnalysisCode: Record "EOS C/A Analysis Code")

TariffMngt.

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

    VAR Record “EOS C/A Analysis Code”.


MakeKeyDim

procedure MakeKeyDim() KeyString: Text[250]

MakeKeyDim.

Parameters / Return Value

  • Returns Text[250]

    Return variable KeyString of type Text[250].


GetDimString

procedure GetDimString(var AllocHeaderP: Record "EOS Allocation Header"; TableIDP: Integer; AllocLineNoP: Integer; AllocAssigLineNoP: Integer) IsOk: Boolean

GetDimString.

Parameters / Return Value

  • AllocHeaderP Record "EOS Allocation Header"

    VAR Record “EOS Allocation Header”.

  • TableIDP Integer

    Integer.

  • AllocLineNoP Integer

    Integer.

  • AllocAssigLineNoP Integer

    Integer.

  • Returns Boolean

    Return variable IsOk of type Boolean.


GetYearMonth

procedure GetYearMonth(DateP: Date): Text[30]

GetYearMonth.

Parameters / Return Value

  • DateP Date

    Date.

  • Returns Text[30]

    Return value of type Text[30].


Events

OnBeforeTariffMngt

local procedure OnBeforeTariffMngt(var CAAnalysisCodeP: Record "EOS C/A Analysis Code"; var Handled: Boolean)

Parameters / Return Value

  • CAAnalysisCodeP Record "EOS C/A Analysis Code"

  • Handled Boolean


OnRunPreCalc

local procedure OnRunPreCalc(var CAAnalysisCode: Record "EOS C/A Analysis Code")

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

OnBeforeInsertEntry

local procedure OnBeforeInsertEntry(var CAAnalysisCodeP: Record "EOS C/A Analysis Code"; var IsHandled: Boolean)

Parameters / Return Value

  • CAAnalysisCodeP Record "EOS C/A Analysis Code"

  • IsHandled Boolean


OnBeforeStartAllocation

local procedure OnBeforeStartAllocation(var CAAnalysisCode: Record "EOS C/A Analysis Code"; FromLevel: Integer; var IsHandled: Boolean)

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • FromLevel Integer

  • IsHandled Boolean


OnAfterInitAnalysis

local procedure OnAfterInitAnalysis(var CAAnalysisCode: Record "EOS C/A Analysis Code")

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"


EOS Labs -