Codeunit 18122985 EOS Journal Grouping Entries

Codeunit 18122985 EOS Journal Grouping Entries

Methods

OpenCompressionDialog

procedure OpenCompressionDialog(var GenJournalLineToCompress: Record "Gen. Journal Line")

Parameters / Return Value

  • GenJournalLineToCompress Record "Gen. Journal Line"

CompressJournalLines

procedure CompressJournalLines(var JournalGroupingFlags: Record "EOS Journal Grouping Flags";var GenJournalLineToCompress: Record "Gen. Journal Line")

Parameters / Return Value

  • JournalGroupingFlags Record "EOS Journal Grouping Flags"

  • GenJournalLineToCompress Record "Gen. Journal Line"


Events

OnBeforeOpenDefaultFlagPage

local procedure OnBeforeOpenDefaultFlagPage(var JournalGroupingFlags: Record "EOS Journal Grouping Flags")

Parameters / Return Value

  • JournalGroupingFlags Record "EOS Journal Grouping Flags"

OnBeforeTrasferFieldsFromJournalLineToBuffer

local procedure OnBeforeTrasferFieldsFromJournalLineToBuffer(var JournalGroupingFlags: Record "EOS Journal Grouping Flags";var SourceGenJournalLine: Record "Gen. Journal Line";var DestinationBuffer: Record "EOS Journal Grouping Buffer";var SkipRecord: Boolean)

This event is called before adding the journal line to buffer and allows us the choose to skip some records.

Parameters / Return Value

  • JournalGroupingFlags Record "EOS Journal Grouping Flags"

    Selected setup fields

  • SourceGenJournalLine Record "Gen. Journal Line"

    Current journal line record

  • DestinationBuffer Record "EOS Journal Grouping Buffer"

    Internal buffer

  • SkipRecord Boolean

    Set this parameter to true to skip current journal line


OnAfterTrasferFieldsFromJournalLineToBuffer

local procedure OnAfterTrasferFieldsFromJournalLineToBuffer(var JournalGroupingFlags: Record "EOS Journal Grouping Flags";var SourceGenJournalLine: Record "Gen. Journal Line";var DestinationBuffer: Record "EOS Journal Grouping Buffer")

Parameters / Return Value

  • JournalGroupingFlags Record "EOS Journal Grouping Flags"

  • SourceGenJournalLine Record "Gen. Journal Line"

  • DestinationBuffer Record "EOS Journal Grouping Buffer"


OnAfterPopulateBuffer

local procedure OnAfterPopulateBuffer(var JournalGroupingFlags: Record "EOS Journal Grouping Flags";var DestinationBuffer: Record "EOS Journal Grouping Buffer")

This event allows a

Parameters / Return Value

  • JournalGroupingFlags Record "EOS Journal Grouping Flags"

    Selected setup fields

  • DestinationBuffer Record "EOS Journal Grouping Buffer"

    Internal compression journal buffer


OnGenerateHashFromBufferFieldValue

local procedure OnGenerateHashFromBufferFieldValue(FlagFieldName: Text;JournalBuffer: Record "EOS Journal Grouping Buffer";var Hash: Text;var Handled: Boolean)

Return a value (Hash parameter) from “FlagFieldName” field value. Usually is a simply field format()

Parameters / Return Value

  • FlagFieldName Text

    Field name obtained from table “EOS Journal Grouping Flags””

  • JournalBuffer Record "EOS Journal Grouping Buffer"

    Source Journal Buffer line

  • Hash Text

    Return value

  • Handled Boolean

    Every setup field must be handled by a subscriptor



EOS Labs -