Codeunit 18006633 EOS C/A Allocation Management
Codeunit 18006633 EOS C/A Allocation Management
Codeunit EOS C/A Allocation Management (ID 18006633).
Methods
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
IntegerInteger.
Returns
BooleanReturn value of type Boolean.
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
IntegerInteger.
AllocLineNoP
IntegerInteger.
AllocAssigLineNoP
IntegerInteger.
Returns
BooleanReturn variable IsOk of type Boolean.
GetEntryNo
procedure GetEntryNo(ParentEntryNoP: Integer): Integer
GetEntryNo.
Parameters / Return Value
ParentEntryNoP
IntegerInteger.
Returns
IntegerReturn value of type Integer.
GetFirstAccNo
procedure GetFirstAccNo(ParentEntryNoP: Integer): Code[20]
GetFirstAccNo.
Parameters / Return Value
ParentEntryNoP
IntegerInteger.
Returns
Code[20]Return value of type Code[20].
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
IntegerInteger.
Returns
DecimalReturn value of type Decimal.
GetYearMonth
procedure GetYearMonth(DateP: Date): Text[30]
GetYearMonth.
Parameters / Return Value
DateP
DateDate.
Returns
Text[30]Return value of type Text[30].
InitAnalysis
procedure InitAnalysis(var CAAnalysisCode: Record "EOS C/A Analysis Code")
Parameters / Return Value
- CAAnalysisCode
Record "EOS C/A Analysis Code"
InsertEntry
procedure InsertEntry(var CAAnalysisCode: Record "EOS C/A Analysis Code")
Parameters / Return Value
- CAAnalysisCode
Record "EOS C/A Analysis Code"
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].
LookupDimNew
procedure LookupDimNew(DimCode: Code[20]; MaxChar: Integer): Text
Parameters / Return Value
DimCode
Code[20]MaxChar
IntegerReturns
Text[]
MakeKeyDim
Obsolete
Pending: function deprecated (23.0)procedure MakeKeyDim() KeyString: Text[250]
MakeKeyDim.
Parameters / Return Value
Returns
Text[250]Return variable KeyString of type Text[250].
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
IntegerInteger.
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”.
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
BooleanBoolean.
Returns
BooleanReturn 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
BooleanBoolean.
Returns
BooleanReturn variable TestRes of type Boolean.
UpdateAllocation
procedure UpdateAllocation(var CAAnalysisCode: Record "EOS C/A Analysis Code")
Parameters / Return Value
- CAAnalysisCode
Record "EOS C/A Analysis Code"
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
OptionEntries(0) ,Allocation(1) ,All(2)Option Entries,Allocation,All.
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
BooleanBoolean.
Events
OnAfterInitAnalysis
local procedure OnAfterInitAnalysis(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
IntegerIsHandled
Boolean
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"
OnBeforAssignAmountToAllocate
local procedure OnBeforAssignAmountToAllocate(var StartingAmntLoc: Decimal; var ReverseCAAccountNo: Code[20]; CAAnEntry: Record "EOS C/A Analysis Entry"; AllocHeader: Record "EOS Allocation Header"; var Handled: Boolean)
Parameters / Return Value
StartingAmntLoc
DecimalReverseCAAccountNo
Code[20]CAAnEntry
Record "EOS C/A Analysis Entry"AllocHeader
Record "EOS Allocation Header"Handled
Boolean
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.