Codeunit 18004237 EOS CSF Mgt.

Codeunit 18004237 EOS CSF Mgt.

Methods

Initialize

procedure Initialize(SetSummarized: Boolean; SetCashFlowForecast: Record "Cash Flow Forecast")

Parameters / Return Value

  • SetSummarized Boolean

  • SetCashFlowForecast Record "Cash Flow Forecast"


GetNeedsManualPmtUpdate

procedure GetNeedsManualPmtUpdate(): Boolean

Parameters / Return Value

  • Returns Boolean

InsertTempCFWorksheetLine

procedure InsertTempCFWorksheetLine(var CFWorksheetLine: Record "Cash Flow Worksheet Line"; MaxPmtTolerance: Decimal): Boolean

Parameters / Return Value

  • CFWorksheetLine Record "Cash Flow Worksheet Line"

  • MaxPmtTolerance Decimal

  • Returns Boolean


FlushAllBuffersToWorksheetLines

procedure FlushAllBuffersToWorksheetLines(ShowPrepaymentMessage: Boolean)

Parameters / Return Value

  • ShowPrepaymentMessage Boolean

InsertCFLineForGLAccount

procedure InsertCFLineForGLAccount(var GLAcc: Record "G/L Account"; "CashFlowAccount": Record "Cash Flow Account")

Parameters / Return Value

  • GLAcc Record "G/L Account"

  • CashFlowAccount Record "Cash Flow Account"


InsertCFLineForPurchaseLine

procedure InsertCFLineForPurchaseLine(PurchaseLine: Record "Purchase Line"; PrevPurchLine: Record "Purchase Line")

Insert Cash Flow Line for Purchase Line with document compression, comparing current Purchase Line with previous read Purchase Line

Parameters / Return Value

  • PurchaseLine Record "Purchase Line"

  • PrevPurchLine Record "Purchase Line"


InsertCFLineForPurchaseLine

procedure InsertCFLineForPurchaseLine(PurchaseLine: Record "Purchase Line")

Insert Cash Flow Line for Purchase Line without any document compression

Parameters / Return Value

  • PurchaseLine Record "Purchase Line"

    Purchase Line to process


InsertCFLineForSalesLine

procedure InsertCFLineForSalesLine(var Salesline: Record "Sales Line"; var PrevSalesline: Record "Sales Line")

Parameters / Return Value

  • Salesline Record "Sales Line"

  • PrevSalesline Record "Sales Line"


InsertCFLineForSalesLine

procedure InsertCFLineForSalesLine(var Salesline: Record "Sales Line")

Parameters / Return Value

  • Salesline Record "Sales Line"

InsertCFLineForServiceLine

procedure InsertCFLineForServiceLine(ServiceLine: Record "Service Line"; PrevServLine: Record "Service Line")

Parameters / Return Value

  • ServiceLine Record "Service Line"

  • PrevServLine Record "Service Line"


InsertCFLineForServiceLine

procedure InsertCFLineForServiceLine(ServiceLine: Record "Service Line")

Parameters / Return Value

  • ServiceLine Record "Service Line"

InsertCFLineForCustLedgerEntry

procedure InsertCFLineForCustLedgerEntry(var CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters / Return Value

  • CustLedgerEntry Record "Cust. Ledger Entry"

InsertCFLineForVendorLedgEntry

procedure InsertCFLineForVendorLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters / Return Value

  • VendorLedgerEntry Record "Vendor Ledger Entry"

InsertCFLineForInvestmentFixAs

procedure InsertCFLineForInvestmentFixAs(FADeprBook: Record "FA Depreciation Book"; InvestmentFixedAsset: Record "Fixed Asset")

Parameters / Return Value

  • FADeprBook Record "FA Depreciation Book"

  • InvestmentFixedAsset Record "Fixed Asset"


InsertCFLineForSaleFixedAsset

procedure InsertCFLineForSaleFixedAsset(FADeprBook: Record "FA Depreciation Book"; SaleFixedAsset: Record "Fixed Asset")

Parameters / Return Value

  • FADeprBook Record "FA Depreciation Book"

  • SaleFixedAsset Record "Fixed Asset"


InsertCFLineForManualExpens

procedure InsertCFLineForManualExpens("Cash Flow Manual Expense": Record "Cash Flow Manual Expense")

Parameters / Return Value

  • Cash Flow Manual Expense Record "Cash Flow Manual Expense"

InsertCFLineForManualRevenue

procedure InsertCFLineForManualRevenue("Cash Flow Manual Revenue": Record "Cash Flow Manual Revenue")

Parameters / Return Value

  • Cash Flow Manual Revenue Record "Cash Flow Manual Revenue"

InsertCFLineForGLBudget

procedure InsertCFLineForGLBudget(CFAccountForBudget: Record "Cash Flow Account"; var GLBudgEntry: Record "G/L Budget Entry"; GLAcc: Record "G/L Account")

Parameters / Return Value

  • CFAccountForBudget Record "Cash Flow Account"

  • GLBudgEntry Record "G/L Budget Entry"

  • GLAcc Record "G/L Account"


InsertCFLineForJobPlanningLine

procedure InsertCFLineForJobPlanningLine(JobPlanningLine: Record "Job Planning Line")

Parameters / Return Value

  • JobPlanningLine Record "Job Planning Line"

InsertCFLineForAzureAIForecast

procedure InsertCFLineForAzureAIForecast(ConsiderSource: array[16] of Boolean; CashFlowAzureAIBuffer: Record "Cash Flow Azure AI Buffer"; SourceTableNum: Integer)

Parameters / Return Value

  • ConsiderSource Boolean

  • CashFlowAzureAIBuffer Record "Cash Flow Azure AI Buffer"

  • SourceTableNum Integer


InsertCFLineForTax

procedure InsertCFLineForTax(SourceTableNum: Integer; Document: Variant)

Parameters / Return Value

  • SourceTableNum Integer

  • Document Variant


Events

OnBeforeProcessInsertCFLineForPurchaseLine

local procedure OnBeforeProcessInsertCFLineForPurchaseLine(PurchHeader2: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"; Summarized: Boolean; var isHandled: Boolean; var TempCFWorksheetLine: Record "Cash Flow Worksheet Line" temporary)

Event is raised inside InsertCFLineForPurchase procedure, before the process of inserting a Cash Flow Line for a Purchase Line.

Parameters / Return Value

  • PurchHeader2 Record "Purchase Header"

    Purchase Header being processed

  • PurchaseLine Record "Purchase Line"

    Purchase Line being processed

  • Summarized Boolean

  • isHandled Boolean

    if set to true allows to skip the CF line inserting process

  • TempCFWorksheetLine Record "Cash Flow Worksheet Line"

    Temporary Cash Flow Worksheet Line


OnBeforeInsertCFLineForPurchaseLine

local procedure OnBeforeInsertCFLineForPurchaseLine(var CFWorkSheetLine2: Record "Cash Flow Worksheet Line"; PurchHeader: Record "Purchase Header"; Summarized: Boolean; PurchaseLine: Record "Purchase Line")

Event is raised before InsertCFLineForPurchaseLine procedure

Parameters / Return Value

  • CFWorkSheetLine2 Record "Cash Flow Worksheet Line"

    CashFlow Worksheet Line

  • PurchHeader Record "Purchase Header"

    Purchase Header being processed

  • Summarized Boolean

  • PurchaseLine Record "Purchase Line"

    Purchase Line being processed


OnAfterManageKnownSourceType_MoveDefaultDimToJnlLineDim

local procedure OnAfterManageKnownSourceType_MoveDefaultDimToJnlLineDim(var CFWorksheetLine: Record "Cash Flow Worksheet Line"; var isHandled: Boolean)

Event is raised after the default dimensions are moved to the journal line dimensions. Subscribe to this event to handle the source types that are not handled by the default implementation.

Parameters / Return Value

  • CFWorksheetLine Record "Cash Flow Worksheet Line"

    Current Cash Flow Worksheet Line.

  • isHandled Boolean



EOS Labs -