Codeunit 18090671 EOS041 CDW Return Receipt
Codeunit 18090671 EOS041 CDW Return Receipt
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"; ReturnRcptLine: Record "Return Receipt 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”.
ReturnRcptLine
Record "Return Receipt Line"
Record “Return Receipt Line”.
OnUpdateDocumentLinesOnBeforeReturnRcptLineModify
local procedure OnUpdateDocumentLinesOnBeforeReturnRcptLineModify(var ReturnRcptLine: Record "Return Receipt Line"; CdwJnlLine: Record "EOS041 CDW Journal Line")
Raised when updating the original return receipt line, before modifying the record in the database.
Parameters / Return Value
ReturnRcptLine
Record "Return Receipt Line"
Record “Return Receipt 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 Return Receipt Line 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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.