Skip to content

Codeunit WSB_ObjectLookup

A codeunit to help with look-up pages for objects in Business Central which also include the extension name and publisher.

Properties

Name Value
Access Public

Methods

wgFncLookupReportObject

Opens a lookup page to select a report object.

Parameters

Type Name Description
Integer vSelectedReportID The ID of the report object that was selected.

Returns

Type Description
Boolean true if a report object was selected in the lookup page.

wgFncLookupReportObject

Opens a lookup page to select a report object.

Parameters

Type Name Description
Integer vSelectedReportID The ID of the report object that was selected.
Boolean pExcludeProcessingOnly Specifies whether to exclude processing-only report objects.

Returns

Type Description
Boolean true if a report object was selected in the lookup page.

wgFncLookupReportObject

Opens a lookup page to select one or more report objects.

Parameters

Type Name Description
Record "Report Metadata" temporary vRecTempSelectedReport The report objects that were selected on the lookup page.
Boolean pExcludeProcessingOnly Specifies whether to exclude processing-only report objects.

Returns

Type Description
Boolean true if a report object was selected in the lookup page.