Codeunit 18008388 EOS011 Enasarco Calc.

Codeunit 18008388 EOS011 Enasarco Calc.

Gathers all functions used to handle Enasarco calculation

Methods

CalcEnasarcoFromDocument

procedure CalcEnasarcoFromDocument(DocumentHeader: Variant; WriteContrEntries: Boolean; Recreate: Boolean; HideDialog: Boolean)

Parameters / Return Value

  • DocumentHeader Variant

  • WriteContrEntries Boolean

  • Recreate Boolean

  • HideDialog Boolean


CreateJnlLinesFromContrEntries

procedure CreateJnlLinesFromContrEntries(var EOS011ContrLedgerEntry: Record "EOS011 Contr. Ledger Entry"; Post: Boolean; Correction: Boolean; Hidedialog: Boolean) ProcessedRec: Integer

Parameters / Return Value

  • EOS011ContrLedgerEntry Record "EOS011 Contr. Ledger Entry"

  • Post Boolean

  • Correction Boolean

  • Hidedialog Boolean

  • Returns Integer


MovePostingDateToOpenPeriod

procedure MovePostingDateToOpenPeriod(PostingDate: Date; DocumentPostingDate: Date) NewPostingDate: Date

Parameters / Return Value

  • PostingDate Date

  • DocumentPostingDate Date

  • Returns Date


DeleteEnasarcoEntriesFromDocument

procedure DeleteEnasarcoEntriesFromDocument(PurchaseHeader: Record "Purchase Header"; Hidedialog: Boolean) EntriesDeleted: Boolean

Parameters / Return Value

  • PurchaseHeader Record "Purchase Header"

  • Hidedialog Boolean

  • Returns Boolean


DeleteEnasarcoEntriesFromDocument

procedure DeleteEnasarcoEntriesFromDocument(PurchaseLine: Record "Purchase Line"; Hidedialog: Boolean) EntriesDeleted: Boolean

Parameters / Return Value

  • PurchaseLine Record "Purchase Line"

  • Hidedialog Boolean

  • Returns Boolean


RetrieveBufferToPrint

procedure RetrieveBufferToPrint(var outGlobalContributionsLedgEntry: Record "EOS011 Contr. Ledger Entry" temporary)

Parameters / Return Value

  • outGlobalContributionsLedgEntry Record "EOS011 Contr. Ledger Entry"


EOS Labs -