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
Methods
wgFncLookupPageObject
Opens a lookup page to select a page object.
Parameters
| Type |
Name |
Description |
Integer |
vSelectedPageID |
The ID of the page object that was selected. |
Returns
| Type |
Description |
Boolean |
true if a page object was selected in the lookup page. |
wgFncLookupPageObject
Opens a lookup page to select a page object.
Parameters
| Type |
Name |
Description |
Integer |
vSelectedPageID |
The ID of the page object that was selected. |
Integer |
pSourceTableID |
The ID of the source table to filter the lookup to. |
Option |
pPageType |
The page type to filter the lookup to. |
Returns
| Type |
Description |
Boolean |
true if a page object was selected in the lookup page. |
wgFncLookupPageObject
Opens a lookup page to select one or more page objects.
Parameters
| Type |
Name |
Description |
Record "Page Metadata" temporary |
vRecTempSelectedPage |
The page objects that were selected on the lookup page. |
Returns
| Type |
Description |
Boolean |
true if a page 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. |
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. |
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. |