KVSKBAResourceCard
Extends #437dbf0e84ff417a965ded2bb9650972#Resource Card
Procedures
KVSKBAActivateFields() :
Summary: Activates or deactivates the fields on the page.
procedure KVSKBAActivateFields():
Remarks: Use this procedure to change the editability of all fields on the page based on the maintenance status of the resource.
KVSKBAGetAllFieldsEditable() : Boolean
Summary: Returns the value of the KVSKBAAllFieldsEditable variable.
procedure KVSKBAGetAllFieldsEditable(): Boolean
Returns: Boolean: true if all fields are editable, false otherwise
Remarks: Use this procedure to check if all fields on the page are editable.
KVSKBASetAllFieldsEditable(Boolean) :
Summary: Sets the value of the KVSKBAAllFieldsEditable variable.
procedure KVSKBASetAllFieldsEditable(NewValueAllFieldsEditable: Boolean):
Parameters:
NewValueAllFieldsEditable: Boolean: New value to set for KVSKBAAllFieldsEditable
Remarks: Use this procedure to change the editability of all fields on the page.
Events
KVSKBAOnBeforeQueryClosePage(Record Resource, Action, Boolean, Boolean, Boolean) :
Summary: Integration event raised before closing the resource card page.
[IntegrationEvent(false, false)]
local procedure KVSKBAOnBeforeQueryClosePage(Resource: Record "Resource"; CloseAction: Action; DoShowMandatoryFieldCheckNotification: Boolean; ResultValue: Boolean; var IsHandled: Boolean):
Parameters:
Resource: The resource record.CloseAction: The close action.DoShowMandatoryFieldCheckNotification: Indicates whether to show the mandatory field check notification.ResultValue: The result value.IsHandled: Indicates whether the event is handled.
Remarks: Subscribe to this event to override or extend the default behavior before closing the resource card page, for example to apply custom logic or additional checks.
Protected Variables
KVSKBAAllFieldsEditable
Type: Boolean