Codeunit 18090668 EOS041 CDW Sales Shipment

Codeunit 18090668 EOS041 CDW Sales Shipment

Methods

GetDocumentLines

procedure GetDocumentLines(var Filters: Record "EOS041 Document Filter"; var DocLineBuffer: Record "EOS041 CDW Journal Line")

Parameters / Return Value

  • Filters Record "EOS041 Document Filter"

  • DocLineBuffer Record "EOS041 CDW Journal Line"


ShowDocument

procedure ShowDocument(DocLineBuffer: Record "EOS041 CDW Journal Line")

Parameters / Return Value

  • DocLineBuffer Record "EOS041 CDW Journal Line"

UpdateDocumentLines

procedure UpdateDocumentLines(CdwEntry: Record "EOS041 CDW Entry"; CdwJnlLine: Record "EOS041 CDW Journal Line")

Parameters / Return Value

  • CdwEntry Record "EOS041 CDW Entry"

  • CdwJnlLine Record "EOS041 CDW Journal Line"


InitItemJnlLineForInvoice

procedure InitItemJnlLineForInvoice(var ItemJnlLine: Record "Item Journal Line";CdwJnlLine: Record "EOS041 CDW Journal Line";QtyToClose: Decimal; QtyBaseToClose: Decimal)

Parameters / Return Value

  • ItemJnlLine Record "Item Journal Line"

  • CdwJnlLine Record "EOS041 CDW Journal Line"

  • QtyToClose Decimal

  • QtyBaseToClose Decimal


IsNoInvoicing

procedure IsNoInvoicing(DocumentNo: Code[20]): Boolean

Parameters / Return Value

  • DocumentNo Code[20]

  • Returns Boolean


CollectItemEntries

procedure CollectItemEntries(CdwJnlLine: Record "EOS041 CDW Journal Line"; var Entries: List of [Integer])

Parameters / Return Value

  • CdwJnlLine Record "EOS041 CDW Journal Line"

  • Entries List[Integer]


SetDocumentFilters

procedure SetDocumentFilters(var Filters: Record "EOS041 Document Filter"): Boolean

Parameters / Return Value

  • Filters Record "EOS041 Document Filter"

  • Returns Boolean


Events

OnGetDocumentLinesOnBeforeBufferInsert

local procedure OnGetDocumentLinesOnBeforeBufferInsert(var DocLineBuffer: Record "EOS041 CDW Journal Line"; SalesShptLine: Record "Sales Shipment Line")

Raised when collecting document lines, before inserting the record in the buffer.

Parameters / Return Value

  • DocLineBuffer Record "EOS041 CDW Journal Line"

    Record “EOS041 CDW Journal Line”.

  • SalesShptLine Record "Sales Shipment Line"

    Record “Sales Shipment Line”.


OnUpdateDocumentLinesOnBeforeSalesShptLineModify

local procedure OnUpdateDocumentLinesOnBeforeSalesShptLineModify(var SalesShptLine: Record "Sales Shipment Line"; CdwJnlLine: Record "EOS041 CDW Journal Line")

Raised when updating the original sales shipment line, before modifying the record in the database.

Parameters / Return Value

  • SalesShptLine Record "Sales Shipment Line"

    Record “Sales Shipment Line”.

  • CdwJnlLine Record "EOS041 CDW Journal Line"

    Record “EOS041 CDW Journal Line”.


OnUpdateDocumentLinesOnBeforeSalesLineModify

local procedure OnUpdateDocumentLinesOnBeforeSalesLineModify(var SalesLine: Record "Sales Line"; CdwJnlLine: Record "EOS041 CDW Journal Line")

Raised when updating the original sales line, before modifying the record in the database.

Parameters / Return Value

  • SalesLine Record "Sales Line"

    Record “Sales Line”.

  • CdwJnlLine Record "EOS041 CDW Journal Line"

    Record “EOS041 CDW Journal Line”.


OnAfterInitItemJnlLineForInvoice

local procedure OnAfterInitItemJnlLineForInvoice(var ItemJnlLine: Record "Item Journal Line"; CdwJnlLine: Record "EOS041 CDW Journal Line")

Raised after initializing the item journal line.

Parameters / Return Value

  • ItemJnlLine Record "Item Journal Line"

    Record “Item Journal Line”.

  • CdwJnlLine Record "EOS041 CDW Journal Line"

    Record “EOS041 CDW Journal Line”.


OnSetDocumentFiltersBeforeRunFilterPage

local procedure OnSetDocumentFiltersBeforeRunFilterPage(var FilterPage: FilterPageBuilder; var DocFilters: Record "EOS041 Document Filter"; FilterPageTxt: Text)

Raised before run document filter page on Close Document Journal, action Get Sales Shipment Lines Use this event to add new field on filter page To add field use this sintax FilterPage.Addfield(FilterPageText, DocFilters.“Field Name to add”);

Parameters / Return Value

  • FilterPage FilterPageBuilder

    FilterPageBuilder

  • DocFilters Record "EOS041 Document Filter"

    Record “EOS041 Document Filter”.

  • FilterPageTxt Text

    Text



EOS Labs -