Codeunit 18122850 EOS Inv. Disc. Factoring-Post

Codeunit 18122850 EOS Inv. Disc. Factoring-Post

Methods

RunPost

procedure RunPost(var InvDiscFactHeader: Record "EOS Inv. Disc. Fact. Header")

Runs the posting process for the given Pro Soluto or Pro SolvendoInvoice Discounting and Factoring Header record.

Parameters / Return Value

  • InvDiscFactHeader Record "EOS Inv. Disc. Fact. Header"

    The Invoice Discounting and Factoring Header record to be posted.


PostProSoluto

procedure PostProSoluto(var InInvDiscFactHeader: Record "EOS Inv. Disc. Fact. Header")

Runs the posting process for the given Pro Soluto Invoice Discounting and Factoring Header record.

Parameters / Return Value

  • InInvDiscFactHeader Record "EOS Inv. Disc. Fact. Header"

    The Invoice Discounting and Factoring Header record to be posted.


PostProSolvendo

procedure PostProSolvendo(var InInvDiscFactHeader: Record "EOS Inv. Disc. Fact. Header")

Runs the posting process for the given Pro Solvendo Invoice Discounting and Factoring Header record.

Parameters / Return Value

  • InInvDiscFactHeader Record "EOS Inv. Disc. Fact. Header"

    The Invoice Discounting and Factoring Header record to be posted.


CodeAdvanceIssued

procedure CodeAdvanceIssued(var inInvDiscFactHeader: Record "EOS Inv. Disc. Fact. Header")

Runs the posting process for the given Advance Issued Invoice Discounting and Factoring Header record.

Parameters / Return Value

  • inInvDiscFactHeader Record "EOS Inv. Disc. Fact. Header"

SettlementFactoring

procedure SettlementFactoring(var IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr.")

This procedure creates a settlement journal for the provided lines of the issued invoice discounting and factoring header.

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued invoice discounting and factoring header record.


CashReceipsFactoring

procedure CashReceipsFactoring(IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr."; var IssuedInvDiscFactLine: Record "EOS Issued Inv.Disc.Fact. Line")

This procedure creates a Cash Receips journal for the provided lines of the issued invoice discounting and factoring header.

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued invoice discounting and factoring header record.

  • IssuedInvDiscFactLine Record "EOS Issued Inv.Disc.Fact. Line"


RefundsAdvanceInvoice

procedure RefundsAdvanceInvoice(var IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr.")

This procedure creates a Refunds Advance journal for the provided lines of the issued invoice discounting and factoring header.

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued invoice discounting and factoring header record.


Events

OnAfterGetSetup

local procedure OnAfterGetSetup(var InvDiscFactoringSetup: Record "EOS Inv. Disc. Factoring Setup")

Event triggered after getting the setup for Invoice Discounting and Factoring.

Parameters / Return Value

  • InvDiscFactoringSetup Record "EOS Inv. Disc. Factoring Setup"

    The Invoice Discounting and Factoring Setup record.


OnBeforeInsertIssuedInvDiscFactHdrProSoluto

local procedure OnBeforeInsertIssuedInvDiscFactHdrProSoluto(var IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr."; InvDiscFactHeader: Record "EOS Inv. Disc. Fact. Header")

Event triggered before inserting an issued Invoice Discounting Factoring Header in the posting of the Pro Soluto bill

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued Invoice Discounting Factoring Header record.

  • InvDiscFactHeader Record "EOS Inv. Disc. Fact. Header"

    The Invoice Discounting Factoring Header record.


OnBeforeInsertIssuedInvDiscFactLineProSoluto

local procedure OnBeforeInsertIssuedInvDiscFactLineProSoluto(var IssuedInvDiscFactLine: Record "EOS Issued Inv.Disc.Fact. Line"; InvDiscFactoringLine: Record "EOS Inv. Disc. Factoring Line")

Event triggered before inserting an issued Invoice Discounting Factoring Line in the posting of the Pro Soluto bill

Parameters / Return Value

  • IssuedInvDiscFactLine Record "EOS Issued Inv.Disc.Fact. Line"

    The issued Invoice Discounting Factoring Line record.

  • InvDiscFactoringLine Record "EOS Inv. Disc. Factoring Line"

    The Invoice Discounting Factoring Line record.


OnBeforeModifyCustLedgerEntryProSoluto

local procedure OnBeforeModifyCustLedgerEntryProSoluto(IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr."; var CustLedgerEntry: Record "Cust. Ledger Entry")

Event triggered before modifying a Customer Ledger Entry in the posting of the Pro Soluto bill

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued Invoice Discounting Factoring Header record.

  • CustLedgerEntry Record "Cust. Ledger Entry"

    The Customer Ledger Entry record.


OnBeforeInsertIssuedInvDiscFactHdrProSolvendo

local procedure OnBeforeInsertIssuedInvDiscFactHdrProSolvendo(var IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr."; InvDiscFactHeader: Record "EOS Inv. Disc. Fact. Header")

Event triggered before inserting an issued Invoice Discounting Factoring Header in the posting of the Pro Solvendo bill.

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued Invoice Discounting Factoring Header record.

  • InvDiscFactHeader Record "EOS Inv. Disc. Fact. Header"

    The Invoice Discounting Factoring Header record.


OnBeforeInsertIssuedInvDiscFactLineProSolvendo

local procedure OnBeforeInsertIssuedInvDiscFactLineProSolvendo(var IssuedInvDiscFactLine: Record "EOS Issued Inv.Disc.Fact. Line"; InvDiscFactoringLine: Record "EOS Inv. Disc. Factoring Line")

Event triggered before inserting an issued Invoice Discounting Factoring Line in the posting of the Pro Solvendo bill.

Parameters / Return Value

  • IssuedInvDiscFactLine Record "EOS Issued Inv.Disc.Fact. Line"

    The issued Invoice Discounting Factoring Line record.

  • InvDiscFactoringLine Record "EOS Inv. Disc. Factoring Line"

    The Invoice Discounting Factoring Line record.


OnBeforeModifyCustLedgerEntryProSolvendo

local procedure OnBeforeModifyCustLedgerEntryProSolvendo(IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr."; var CustLedgerEntry: Record "Cust. Ledger Entry")

Event triggered before modifying a Customer Ledger Entry in the posting of the Pro Solvendo bill.

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued Invoice Discounting Factoring Header record.

  • CustLedgerEntry Record "Cust. Ledger Entry"

    The Customer Ledger Entry record.


OnBeforePostGenJnlLineProSoluto

local procedure OnBeforePostGenJnlLineProSoluto(DocumentNo: Code[20];InvDiscFactHeader: Record "EOS Inv. Disc. Fact. Header";InvDiscFactoringLine: Record "EOS Inv. Disc. Factoring Line";CustLedgerEntry: Record "Cust. Ledger Entry";var GenJnlLine: Record "Gen. Journal Line";var IsHandled: Boolean)

Event triggered before posting a General Journal Line for Pro Soluto.

Parameters / Return Value

  • DocumentNo Code[20]

    The document number.

  • InvDiscFactHeader Record "EOS Inv. Disc. Fact. Header"

    The Invoice Discounting Factoring Header record.

  • InvDiscFactoringLine Record "EOS Inv. Disc. Factoring Line"

    The Invoice Discounting Factoring Line record.

  • CustLedgerEntry Record "Cust. Ledger Entry"

    The Customer Ledger Entry record.

  • GenJnlLine Record "Gen. Journal Line"

    The General Journal Line record.

  • IsHandled Boolean

    if true the posting will be skipped.


OnBeforePostGenJnlLineProSolvendo

local procedure OnBeforePostGenJnlLineProSolvendo(DocumentNo: Code[20];InvDiscFactHeader: Record "EOS Inv. Disc. Fact. Header";InvDiscFactoringLine: Record "EOS Inv. Disc. Factoring Line";CustLedgerEntry: Record "Cust. Ledger Entry";var GenJnlLine: Record "Gen. Journal Line";var IsHandled: Boolean)

Event triggered before posting a General Journal Line for Pro Solvendo.

Parameters / Return Value

  • DocumentNo Code[20]

    The document number.

  • InvDiscFactHeader Record "EOS Inv. Disc. Fact. Header"

    The Invoice Discounting Factoring Header record.

  • InvDiscFactoringLine Record "EOS Inv. Disc. Factoring Line"

    The Invoice Discounting Factoring Line record.

  • CustLedgerEntry Record "Cust. Ledger Entry"

    The Customer Ledger Entry record.

  • GenJnlLine Record "Gen. Journal Line"

    The General Journal Line record.

  • IsHandled Boolean

    if true the posting will be skipped.


OnBeforeInsertIssuedInvDiscFactHdrAdvanceIssued

local procedure OnBeforeInsertIssuedInvDiscFactHdrAdvanceIssued(var IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr."; InvDiscFactHeader: Record "EOS Inv. Disc. Fact. Header")

Event triggered before inserting an issued Invoice Discounting Factoring Header in the posting of the Advance Issued bill.

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued Invoice Discounting Factoring Header record.

  • InvDiscFactHeader Record "EOS Inv. Disc. Fact. Header"

    The Invoice Discounting Factoring Header record.


OnBeforeInsertIssuedInvDiscFactLineAdvanceIssued

local procedure OnBeforeInsertIssuedInvDiscFactLineAdvanceIssued(var IssuedInvDiscFactLine: Record "EOS Issued Inv.Disc.Fact. Line"; InvDiscFactoringLine: Record "EOS Inv. Disc. Factoring Line")

Event triggered before inserting an issued Invoice Discounting Factoring Line in the posting of the Advance Issued bill.

Parameters / Return Value

  • IssuedInvDiscFactLine Record "EOS Issued Inv.Disc.Fact. Line"

    The issued Invoice Discounting Factoring Line record.

  • InvDiscFactoringLine Record "EOS Inv. Disc. Factoring Line"

    The Invoice Discounting Factoring Line record.


OnBeforeModifyCustLedgerEntryAdvanceIssued

local procedure OnBeforeModifyCustLedgerEntryAdvanceIssued(IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr."; var CustLedgerEntry: Record "Cust. Ledger Entry")

Event triggered before modifying a Customer Ledger Entry in the posting of the Advance Issued bill.

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued Invoice Discounting Factoring Header record.

  • CustLedgerEntry Record "Cust. Ledger Entry"

    The Customer Ledger Entry record.


OnBeforePostGenJnlLineAdvanceIssued

local procedure OnBeforePostGenJnlLineAdvanceIssued(InvDiscFactHeader: Record "EOS Inv. Disc. Fact. Header";InvDiscFactoringLine: Record "EOS Inv. Disc. Factoring Line";CustLedgerEntry: Record "Cust. Ledger Entry";var GenJnlLine: Record "Gen. Journal Line";var IsHandled: Boolean)

Event triggered before posting a General Journal Line for Advance Issued.

Parameters / Return Value

  • InvDiscFactHeader Record "EOS Inv. Disc. Fact. Header"

    The Invoice Discounting Factoring Header record.

  • InvDiscFactoringLine Record "EOS Inv. Disc. Factoring Line"

    The Invoice Discounting Factoring Line record.

  • CustLedgerEntry Record "Cust. Ledger Entry"

    The Customer Ledger Entry record.

  • GenJnlLine Record "Gen. Journal Line"

    The General Journal Line record.

  • IsHandled Boolean

    if true the posting will be skipped.


OnBeforePostGenJnlLineAdvanceInvoicePostBalanceAccount

local procedure OnBeforePostGenJnlLineAdvanceInvoicePostBalanceAccount(InvDiscFactHeader: Record "EOS Inv. Disc. Fact. Header";InvDiscFactoringLine: Record "EOS Inv. Disc. Factoring Line";CustLedgerEntry: Record "Cust. Ledger Entry";var GenJnlLine: Record "Gen. Journal Line";var IsHandled: Boolean)

Event triggered before posting a General Journal Line for Advance Invoice Post Balance Account.

Parameters / Return Value

  • InvDiscFactHeader Record "EOS Inv. Disc. Fact. Header"

    The Invoice Discounting Factoring Header record.

  • InvDiscFactoringLine Record "EOS Inv. Disc. Factoring Line"

    The Invoice Discounting Factoring Line record.

  • CustLedgerEntry Record "Cust. Ledger Entry"

    The Customer Ledger Entry record.

  • GenJnlLine Record "Gen. Journal Line"

    The General Journal Line record.

  • IsHandled Boolean

    if true the posting will be skipped.


OnBeforeInsertGenJnlLineSettlementPostBalance

local procedure OnBeforeInsertGenJnlLineSettlementPostBalance(IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr.";IssuedInvDiscFactLine: Record "EOS Issued Inv.Disc.Fact. Line";var GenJournalLine: Record "Gen. Journal Line")

Event triggered before inserting a General Journal Line for Settlement Post Balance.

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued Invoice Discounting Factoring Header record.

  • IssuedInvDiscFactLine Record "EOS Issued Inv.Disc.Fact. Line"

    The issued Invoice Discounting Factoring Line record.

  • GenJournalLine Record "Gen. Journal Line"

    The General Journal Line record.


OnBeforeInsertGenJnlLineSettlementLine

local procedure OnBeforeInsertGenJnlLineSettlementLine(IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr.";IssuedInvDiscFactLine: Record "EOS Issued Inv.Disc.Fact. Line";var GenJournalLine: Record "Gen. Journal Line")

Event triggered before inserting a General Journal Line for Settlement Line.

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued Invoice Discounting Factoring Header record.

  • IssuedInvDiscFactLine Record "EOS Issued Inv.Disc.Fact. Line"

    The issued Invoice Discounting Factoring Line record.

  • GenJournalLine Record "Gen. Journal Line"

    The General Journal Line record.


OnBeforeInsertGenJnlLineCashReceips

local procedure OnBeforeInsertGenJnlLineCashReceips(IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr.";IssuedInvDiscFactLine: Record "EOS Issued Inv.Disc.Fact. Line";var GenJournalLine: Record "Gen. Journal Line")

Event triggered before inserting a General Journal Line for Cash Receipts.

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued Invoice Discounting Factoring Header record.

  • IssuedInvDiscFactLine Record "EOS Issued Inv.Disc.Fact. Line"

    The issued Invoice Discounting Factoring Line record.

  • GenJournalLine Record "Gen. Journal Line"

    The General Journal Line record.


OnBeforeInsertGenJnlLineRefundPostBalance

local procedure OnBeforeInsertGenJnlLineRefundPostBalance(IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr.";IssuedInvDiscFactLine: Record "EOS Issued Inv.Disc.Fact. Line";var GenJournalLine: Record "Gen. Journal Line")

Event triggered before inserting a General Journal Line for Refund Post Balance.

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued Invoice Discounting Factoring Header record.

  • IssuedInvDiscFactLine Record "EOS Issued Inv.Disc.Fact. Line"

    The issued Invoice Discounting Factoring Line record.

  • GenJournalLine Record "Gen. Journal Line"

    The General Journal Line record.


OnBeforeInsertGenJnlLineRefundLine

local procedure OnBeforeInsertGenJnlLineRefundLine(IssuedInvDiscFactHdr: Record "EOS Issued Inv.Disc.Fact. Hdr.";IssuedInvDiscFactLine: Record "EOS Issued Inv.Disc.Fact. Line";var GenJournalLine: Record "Gen. Journal Line")

Event triggered before inserting a General Journal Line for Refund Line.

Parameters / Return Value

  • IssuedInvDiscFactHdr Record "EOS Issued Inv.Disc.Fact. Hdr."

    The issued Invoice Discounting Factoring Header record.

  • IssuedInvDiscFactLine Record "EOS Issued Inv.Disc.Fact. Line"

    The issued Invoice Discounting Factoring Line record.

  • GenJournalLine Record "Gen. Journal Line"

    The General Journal Line record.



EOS Labs -