Codeunit WSB_BRGFileFactBox
Exposes procedures that can be used when adding the file factbox to pages in extensions.
Properties
Methods
wgFncGetPrimaryValues
Gets the primary key values for a record that are used as the source link for Document Archive files.
Parameters
| Type |
Name |
Description |
RecordRef |
pRecRef |
The source record as RecordRef. |
Integer |
vSourceType |
The type of the source record (if applicable). |
Code[20] |
vSourceNo |
The no. of the source record (if applicable). |
Code[20] |
vSourceSubNo |
The sub no. of the source record (if applicable). |
Integer |
vSourceNoOccurrence |
The occurrence of the no. of the source record (if applicable). |
Integer |
vSourceVersionNo |
The version no. of the source record (if applicable). |
Integer |
vSourceLineNo |
The line no. of the source record (if applicable). |
Returns
| Type |
Description |
Boolean |
true iff the primary key values could be retrieved successfully for the record. |
wgFncShouldShowFactBox
Gets whether the factbox with specified type should be visible.
Parameters
| Type |
Name |
Description |
Enum "WSB_BRGFactBoxType" |
pFactBoxType |
The factbox type to check this for. |
Returns
| Type |
Description |
Boolean |
true iff the factbox type should be visible. |