Skip to content

KVSKBAResourceCard#

Extends #437dbf0e84ff417a965ded2bb9650972#Resource Card

Procedures#

KVSKBAActivateFields() :#

Summary: Activates or deactivates the fields on the page.

procedure KVSKBAActivateFields(): 

KVSKBAGetAllFieldsEditable() : Boolean#

Summary: Returns the value of the KVSKBAAllFieldsEditable variable.

procedure KVSKBAGetAllFieldsEditable(): Boolean

Returns: Boolean: true if all fields are editable, false otherwise

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) :#

[IntegrationEvent(false, false)]
local procedure KVSKBAOnBeforeQueryClosePage(Resource: Record "Resource"; CloseAction: Action; DoShowMandatoryFieldCheckNotification: Boolean; ResultValue: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::PageExtension, PageExtension::"KVSKBAResourceCard", 'KVSKBAOnBeforeQueryClosePage', '', false, false)]
local procedure DoSomethingKVSKBAOnBeforeQueryClosePage(Resource: Record "Resource"; CloseAction: Action; DoShowMandatoryFieldCheckNotification: Boolean; ResultValue: Boolean; var IsHandled: Boolean)
begin
end;

Protected Variables#

KVSKBAAllFieldsEditable#

Type: Boolean