Interface EOS041 IDocumentHandler v2

Interface 0 EOS041 IDocumentHandler v2

Methods

GetDocumentLines

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

Retrieves all handleable document lines.

Parameters / Return Value

  • Filters Record "EOS041 Document Filter"

  • DocLineBuffer Record "EOS041 CDW Journal Line"

    The return buffer containing all document lines.


ShowDocument

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

Shows the document page for a given document line buffer.

Parameters / Return Value

  • DocLineBuffer Record "EOS041 CDW Journal Line"

    The document line buffer.


UpdateDocumentLines

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

Update document lines.

Parameters / Return Value

  • CdwEntry Record "EOS041 CDW Entry"

  • CdwJnlLine Record "EOS041 CDW Journal Line"


IsNoInvoicing

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

Indicates if the given document no. is marked as “No Invoicing”

Parameters / Return Value

  • DocumentNo Code[20]

    The document no.

  • Returns Boolean

    true if the document is no invoicing.


CollectItemEntries

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

Collect all item entries posted for a given document line.

Parameters / Return Value

  • CdwJnlLine Record "EOS041 CDW Journal Line"

    The journal line for which to collect the item entries.

  • Entries List[Integer]

    The result.


InitItemJnlLineForInvoice

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

Initialize the item journal line for invoicing the given item entry.

Parameters / Return Value

  • ItemJnlLine Record "Item Journal Line"

    The item journal line.

  • CdwJnlLine Record "EOS041 CDW Journal Line"

    The CDW journal line.

  • QtyToClose Decimal

    The quantity to be closed for this item entry.

  • QtyBaseToClose Decimal

    The quantity base to be closed for this entry.


SetDocumentFilters

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

Retrieves filter to apply to the document lines.

Parameters / Return Value

  • Filters Record "EOS041 Document Filter"

    containing filters

  • Returns Boolean



EOS Labs -