Codeunit 18122016 EOS AdvRpt Def Setup
Codeunit 18122016 EOS AdvRpt Def Setup
Methods
GetDefaultDocumentSetup
procedure GetDefaultDocumentSetup(var RecRef: RecordRef; var AdvRptDefaultSetup: Record "EOS AdvRpt Default Setup"): Boolean
Parameters / Return Value
RecRef
RecordRef
AdvRptDefaultSetup
Record "EOS AdvRpt Default Setup"
Returns
Boolean
GetDefaultDocumentSetup
procedure GetDefaultDocumentSetup(var RecRef: RecordRef; ReportID: integer; PriorityToReportSelection: boolean; var AdvRptDefaultSetup: Record "EOS AdvRpt Default Setup") Found: Boolean
Parameters / Return Value
RecRef
RecordRef
ReportID
integer
PriorityToReportSelection
boolean
AdvRptDefaultSetup
Record "EOS AdvRpt Default Setup"
Returns
Boolean
GetDefaultDocumentSetup
procedure GetDefaultDocumentSetup(docVariant: Variant; ReportID: integer; PriorityToReportSelection: boolean; var AdvRptDefaultSetup: Record "EOS AdvRpt Default Setup"): Boolean
Parameters / Return Value
docVariant
Variant
ReportID
integer
PriorityToReportSelection
boolean
AdvRptDefaultSetup
Record "EOS AdvRpt Default Setup"
Returns
Boolean
GetXMLView
procedure GetXMLView("Record": Variant): Text
Parameters / Return Value
Record
Variant
Returns
Text
SetXMLView
procedure SetXMLView(var RecRef: RecordRef; XMLView: Text)
Parameters / Return Value
RecRef
RecordRef
XMLView
Text
GetDefaultTableView
procedure GetDefaultTableView(TableNo: Integer; var FilterPageBldr: FilterPageBuilder): Text
Parameters / Return Value
TableNo
Integer
FilterPageBldr
FilterPageBuilder
Returns
Text
ResolveGenericFilter
procedure ResolveGenericFilter(FieldType: Integer; "Filter": Text) Result: Text
Parameters / Return Value
FieldType
Integer
Filter
Text
Returns
Text
ResolveBooleanFilter
procedure ResolveBooleanFilter(FilterValue: Text) Result: Text
Parameters / Return Value
FilterValue
Text
Returns
Text
ResolveOptionFilter
procedure ResolveOptionFilter("Filter": Text; OptionString: Text) Result: Text
Parameters / Return Value
Filter
Text
OptionString
Text
Returns
Text
GetDelimiter
procedure GetDelimiter(InText: Text; LeadingSeparators: Text; TrailingSeparators: Text): Integer
Parameters / Return Value
InText
Text
LeadingSeparators
Text
TrailingSeparators
Text
Returns
Integer
ConvertValueFromXMLToVariant
procedure ConvertValueFromXMLToVariant(FieldTable: Record "Field"; XMLValue: Text; var VariantResult: Variant)
Parameters / Return Value
FieldTable
Record "Field"
XMLValue
Text
VariantResult
Variant
Events
OnBeforeGetDefaultDocumentSetup
Local procedure OnBeforeGetDefaultDocumentSetup(var RecRef: RecordRef;ReportID: integer;var PriorityToReportSelection: boolean;var AdvRptDefaultSetup: Record "EOS AdvRpt Default Setup";var Found: Boolean;var Handled: Boolean)
Thise Event is raised before searching a valid Default Report Setup.
Parameters / Return Value
RecRef
RecordRef
Source document reference
ReportID
integer
Current Report ID. It could be zero if not called by the report itself
PriorityToReportSelection
boolean
Set if report selection must be the first check instead of “table 18122014 EOS AdvRpt Default Setup”
AdvRptDefaultSetup
Record "EOS AdvRpt Default Setup"
Result table setup. You can change “Report Setup Code” on the fly.
Found
Boolean
Return False if not valid setup is found
Handled
Boolean
Return True to skip standard Report Setup search
OnAfterGetDefaultDocumentSetup
Local procedure OnAfterGetDefaultDocumentSetup(var RecRef: RecordRef;ReportID: integer;PriorityToReportSelection: boolean;var AdvRptDefaultSetup: Record "EOS AdvRpt Default Setup";var Found: Boolean)
Thise Event is raised after standard Default Report Setup search.
Parameters / Return Value
RecRef
RecordRef
Source document reference
ReportID
integer
Current Report ID. It could be zero if not called by the report itself
PriorityToReportSelection
boolean
Set if report selection must be the first check instead of “table 18122014 EOS AdvRpt Default Setup”
AdvRptDefaultSetup
Record "EOS AdvRpt Default Setup"
Result table setup. You can change “Report Setup Code” on the fly.
Found
Boolean
Return False if not valid setup is found
OnBeforeGetDefaultDocumentSetupForRecordRef
local procedure OnBeforeGetDefaultDocumentSetupForRecordRef(var RecRef: RecordRef;var DefaultSetup: Record "EOS AdvRpt Default Setup";var Found: Boolean;var Handled: Boolean)
Raised before a default setup is searched for a given RecordRef.
Parameters / Return Value
RecRef
RecordRef
The RecordRef for which the default setup should be located.
DefaultSetup
Record "EOS AdvRpt Default Setup"
The found default setup. If you return
False
inFound
, this record will be cleared.Found
Boolean
Gets or sets if a default setup has been found.
Handled
Boolean
Gets or sets if the event has been completely handled.
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.