Codeunit 18122281 EOS DCF Process Payment Line

Codeunit 18122281 EOS DCF Process Payment Line

Methods

SetParameters

procedure SetParameters(pNoDocType: Boolean; pIsOpen: Boolean; pTryExecute: Boolean)

Parameters / Return Value

  • pNoDocType Boolean

  • pIsOpen Boolean

  • pTryExecute Boolean


getIsOpen

procedure getIsOpen(): Boolean

Parameters / Return Value

  • Returns Boolean

getProcessingSuccessful

procedure getProcessingSuccessful(): Boolean

Parameters / Return Value

  • Returns Boolean

CreateJournalLine

procedure CreateJournalLine(var DocFImport: Record "EOS DCF Import"): Integer

Parameters / Return Value

  • DocFImport Record "EOS DCF Import"

  • Returns Integer


RaiseOnBeforeParsingCGKeyDocumentNumber

procedure RaiseOnBeforeParsingCGKeyDocumentNumber(var DocumentNo: Code[30])

Parameters / Return Value

  • DocumentNo Code[30]

ConvDate

procedure ConvDate(DateIn: Text[8]): Date

Parameters / Return Value

  • DateIn Text[8]

  • Returns Date


InsertDimensions

procedure InsertDimensions(var inRec: Record "Gen. Journal Line"; DimSetID: Integer)

Parameters / Return Value

  • inRec Record "Gen. Journal Line"

  • DimSetID Integer


GetDocumentNumber

procedure GetDocumentNumber(DocumentNo: Code[30]) Result: Code[20]

Parameters / Return Value

  • DocumentNo Code[30]

  • Returns Code[20]


GetDocumentType

procedure GetDocumentType(DocumentNo: Code[30]): Enum "Gen. Journal Document Type"

Parameters / Return Value

  • DocumentNo Code[30]

  • Returns Enum "Gen. Journal Document Type"


Events

OnProcessVendorTypeLine

local procedure OnProcessVendorTypeLine(DocFImport: Record "EOS DCF Import"; var Handled: Boolean)

Internal Use Only - Event used by the Italian Extension

Parameters / Return Value

  • DocFImport Record "EOS DCF Import"

  • Handled Boolean


OnBeforeEvaluateAppliesToDocumentNo

local procedure OnBeforeEvaluateAppliesToDocumentNo(DocFImport: Record "EOS DCF Import"; var GenJournalLine: Record "Gen. Journal Line"; var Handled: Boolean)

Internal Use Only - Event used by the Italian Extension

Parameters / Return Value

  • DocFImport Record "EOS DCF Import"

  • GenJournalLine Record "Gen. Journal Line"

  • Handled Boolean


OnBeforeValidateAmountRelatedFields

local procedure OnBeforeValidateAmountRelatedFields(var GenJournalLine: Record "Gen. Journal Line"; DocFImport: Record "EOS DCF Import"; var BlSplitLine: Boolean; DocumentAmount: Decimal)

Internal Use Only - Event used by the Italian Extension

Parameters / Return Value

  • GenJournalLine Record "Gen. Journal Line"

  • DocFImport Record "EOS DCF Import"

  • BlSplitLine Boolean

  • DocumentAmount Decimal


OnAfterValidateAmountRelatedFields

local procedure OnAfterValidateAmountRelatedFields(var GenJournalLine: Record "Gen. Journal Line"; DocFImport: Record "EOS DCF Import")

Internal Use Only - Event used by the Italian Extension

Parameters / Return Value

  • GenJournalLine Record "Gen. Journal Line"

  • DocFImport Record "EOS DCF Import"


OnAfterInsertGenJournalLine

local procedure OnAfterInsertGenJournalLine(var DocFImport: Record "EOS DCF Import"; var GenJournalLine: Record "Gen. Journal Line"; var BlSplitLine: Boolean; tryExecute: Boolean)

Internal Use Only - Event used by the Italian Extension

Parameters / Return Value

  • DocFImport Record "EOS DCF Import"

  • GenJournalLine Record "Gen. Journal Line"

  • BlSplitLine Boolean

  • tryExecute Boolean

    Se to true if is in preview posting


OnBeforeInsertGenJournalLine

local procedure OnBeforeInsertGenJournalLine(DocFImport: Record "EOS DCF Import"; var GenJournalLine: Record "Gen. Journal Line"; tryExecute: Boolean)

Event raised before inserting the General Journal Line.

Parameters / Return Value

  • DocFImport Record "EOS DCF Import"

    The DCF Import record currently processed.

  • GenJournalLine Record "Gen. Journal Line"

    The GenJournalLine that will be inserted.

  • tryExecute Boolean

    Se to true if is in preview posting.


OnBeforeGetDocumentType_ProcessPaymentLine

local procedure OnBeforeGetDocumentType_ProcessPaymentLine("C/G Key": Code[30]; var GenJournalDocumentType: Enum "Gen. Journal Document Type"; var Handled: Boolean)

Event raised before getting the Document Type from the C/G Key. Usefull for custom implentation with custom C/G key format.

Parameters / Return Value

  • C/G Key Code[30]

    Source C/G Key

  • GenJournalDocumentType Enum "Gen. Journal Document Type"

    The GenJournalDocumentType that will be returned.

  • Handled Boolean

    Set it to true if you want to handle the event and return your own GenJournalDocumentType value.


OnBeforeParsingCGKeyDocumentNumber

local procedure OnBeforeParsingCGKeyDocumentNumber(var DocumentNo: Code[30])

Use this event to transcode a custom CGKey to a standard CGKey

Parameters / Return Value

  • DocumentNo Code[30]


EOS Labs -