Codeunit 18122045 EOS009 LE Source Location
Adds the source location to the report. By source location the location of the document header is meant.
procedure Register(var Section: Record "EOS Adv Reporting Sections")
Record "EOS Adv Reporting Sections"
procedure Execute(Position: Enum "EOS AdvRpt Layout Position"; DocumentHeader: RecordRef; DocumentLine: RecordRef; var Header: Record "EOS Report Buffer Header"; var Line: Record "EOS Report Buffer Line")
Position Enum "EOS AdvRpt Layout Position"
DocumentHeader RecordRef
DocumentLine RecordRef
Header Record "EOS Report Buffer Header"
Line Record "EOS Report Buffer Line"
local procedure OnAfterGetSourceLocation(DocumentHeader: RecordRef; DocumentLine: RecordRef; var Location: Record Location; var Handled: Boolean)
Raised to allow customization of the source location retrieval logic. This will be executed after the source location has already been retrieved from the document header. If this event does not yield a valid location (Code <> ‘'), the source location will not be printed.
DocumentHeader RecordRef
The document header record reference.
DocumentLine RecordRef
The document line record reference.
Location Record "Location"
The location to print as the source location.
Handled Boolean
Gets or sets if the event has been handled.
local procedure OnAfterFormatLocationAddress(DocumentHeader: RecordRef; DocumentLine: RecordRef; Location: Record Location; var LocationLines: List of [Text[100]])
Raised to allow customization of the formatting of the source location address. This will be executed after the address has been formatted from the location record.
DocumentHeader RecordRef
The document header record reference.
DocumentLine RecordRef
The document line record reference.
Location Record "Location"
The location to print as the source location.
LocationLines List[Text]
The list of lines to print for the source location.
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.