Codeunit 18122560 EOS G/L Application Mgt.
Codeunit 18122560 EOS G/L Application Mgt.
Methods
CheckAmountToApply
procedure CheckAmountToApply(RemainingAmnt: Decimal; AmntToApply: Decimal)
Parameters / Return Value
RemainingAmnt
DecimalAmntToApply
Decimal
SetAmountToApply
procedure SetAmountToApply(EntryNo: Integer; RemAmnt: Decimal; Amnt: Decimal; var ApplBuffer: Record "EOS G/L Application Entry")
Parameters / Return Value
EntryNo
IntegerRemAmnt
DecimalAmnt
DecimalApplBuffer
Record "EOS G/L Application Entry"
AutoApplyGLEntry
procedure AutoApplyGLEntry(var GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry")
Parameters / Return Value
GenJournalLine
Record "Gen. Journal Line"GLEntry
Record "G/L Entry"
SuggestGLApplication
procedure SuggestGLApplication(GLAccountNo: Code[20]; ApplyToID: Code[50]; var Buffer: Record "EOS G/L Application Entry"; AmountToApply: Decimal)
Parameters / Return Value
GLAccountNo
Code[20]ApplyToID
Code[50]Buffer
Record "EOS G/L Application Entry"AmountToApply
Decimal
SuggestGLApplicationFrom
procedure SuggestGLApplicationFrom(GLAccountNo: Code[20]; ApplyToID: Code[50]; var GLEntry2: Record "G/L Entry"; var Buffer: Record "EOS G/L Application Entry"; AmountToApply: Decimal)
Parameters / Return Value
GLAccountNo
Code[20]ApplyToID
Code[50]GLEntry2
Record "G/L Entry"Buffer
Record "EOS G/L Application Entry"AmountToApply
Decimal
ApplyEntries
procedure ApplyEntries(TableID: Integer; var GLEntry: Record "G/L Entry"; PostingDate: Date; ApplyID: Code[35]; var ApplBuffer: Record "EOS G/L Application Entry")
Parameters / Return Value
TableID
IntegerGLEntry
Record "G/L Entry"PostingDate
DateApplyID
Code[35]ApplBuffer
Record "EOS G/L Application Entry"
CalculateAppliedGLEntries
procedure CalculateAppliedGLEntries(InitialGLEntry: Record "G/L Entry"; var CalculatedGLEntry: Record "G/L Entry")
Parameters / Return Value
InitialGLEntry
Record "G/L Entry"CalculatedGLEntry
Record "G/L Entry"
UnapplyGLEntry
procedure UnapplyGLEntry(GLEntry: Record "G/L Entry"; CompleteTransaction: Boolean)
Parameters / Return Value
GLEntry
Record "G/L Entry"CompleteTransaction
Boolean
UnapplyGLEntryYesNo
procedure UnapplyGLEntryYesNo(GLEntry: Record "G/L Entry"): Boolean
Parameters / Return Value
GLEntry
Record "G/L Entry"Returns
Boolean
ForceGLApplicationEntryID
procedure ForceGLApplicationEntryID(var GLEntry: Record "G/L Entry"; GLApplicationID: Code[35]; SkipCheck: Boolean)
Parameters / Return Value
GLEntry
Record "G/L Entry"GLApplicationID
Code[35]SkipCheck
Boolean
UpdateLedgerEntries
procedure UpdateLedgerEntries(var GLAccount: Record "G/L Account"; var xGLAccount: Record "G/L Account")
Parameters / Return Value
GLAccount
Record "G/L Account"xGLAccount
Record "G/L Account"
CheckValidApplyID
procedure CheckValidApplyID(ApplyID: Text) Result: Code[35]
Parameters / Return Value
ApplyID
Text[]Returns
Code[35]
ApplyGLEntry
procedure ApplyGLEntry(var GLEntry: Record "G/L Entry"; var GenJournalLine: Record "Gen. Journal Line")
Parameters / Return Value
GLEntry
Record "G/L Entry"GenJournalLine
Record "Gen. Journal Line"
GetApplyIDFromJournal
procedure GetApplyIDFromJournal(var GenJournalLine: Record "Gen. Journal Line"): Code[50]
Parameters / Return Value
GenJournalLine
Record "Gen. Journal Line"Returns
Code[50]
OpenGenJnlApplyPage
procedure OpenGenJnlApplyPage(var GenJournalLine: Record "Gen. Journal Line"): Boolean
Parameters / Return Value
GenJournalLine
Record "Gen. Journal Line"Returns
Boolean
UpdateAppliedEntryFromJournal
procedure UpdateAppliedEntryFromJournal(var GenJournalLine: Record "Gen. Journal Line"; var ApplBuffer: Record "EOS G/L Application Entry")
Parameters / Return Value
GenJournalLine
Record "Gen. Journal Line"ApplBuffer
Record "EOS G/L Application Entry"
DeleteJLReferences
procedure DeleteJLReferences(GenJournalLine: Record "Gen. Journal Line")
Parameters / Return Value
- GenJournalLine
Record "Gen. Journal Line"
GetSourceName
procedure GetSourceName(Rec: Variant): Text
Parameters / Return Value
Rec
VariantReturns
Text[]
Events
OnBeforeApplyIDFromGLASetup
local procedure OnBeforeApplyIDFromGLASetup(var ApplyID: Code[35]; PostingDate: Date; GLEntry: Record "G/L Entry")
Raised before determining the Apply ID from General Ledger Application Setup, allows to skip the GLA logic and set a custom Apply ID.
Parameters / Return Value
ApplyID
Code[35]ApplyID that will be modified, if assigned
PostingDate
DatePosting Date
GLEntry
Record "G/L Entry"GL Entry being processed
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.