Codeunit wDCR_LayoutInfoProvider
A codeunit to retrieve report and layout info for display on pages that show report layout details.
Properties
Methods
wgFncGetReportAppID
Gets the "App ID" of the extension providing a report object.
Parameters
| Type |
Name |
Description |
Integer |
pReportID |
The ID of the report object. |
Returns
| Type |
Description |
Guid |
The App ID of the extension. |
wgFncInitCheckedOutInfo
Gets information about whether a tenant report layout has been checked out, by who and when.
Parameters
| Type |
Name |
Description |
Integer |
pReportID |
The ID of the report object. |
Text[250] |
pLayoutName |
The name of the layout. |
Guid |
pLayoutAppID |
The app ID of the extension providing the layout, typically a null GUID for tenant report layouts. |
Boolean |
vIsCheckedOut |
Whether the layout is checked out for editing by a user. |
Text |
vCheckedOutByUserName |
The user that has checked out the layout. |
DateTime |
vCheckedOutAt |
The date/time that the layout was checked out. |
wgFncInitLayoutProviderInfo
Gets information about who provides the layout.
Parameters
| Type |
Name |
Description |
Guid |
pAppID |
The App ID of the extension providing the layout. A null GUID for user-defined report layouts. |
Text |
vLayoutProvider |
A text describing whether the layout is extension-provided or user-defined. |
Text |
vLayoutExtension |
The name and publisher of the extension providing the layout. |
wgFncInitReportProviderInfo
Gets information about who provides a report object.
Parameters
| Type |
Name |
Description |
Integer |
pReportID |
The ID of the report object. |
Text |
vReportCaption |
The caption of the report object. |
Text |
vReportExtension |
The name and publisher of the extension providing the report object. |
wgFncOpenExtensionSettings
Opens the extension settings page for an extension
Parameters
| Type |
Name |
Description |
Guid |
pAppID |
The App ID of the extension. |