Skip to content

KVSKBAResource#

Extends #437dbf0e84ff417a965ded2bb9650972#Resource

Fields#

Name Type Note
KVSKBANoofExtendedTexts Integer FlowField
KVSKBAMaintenance Enum (KVSKBAMaintenance)
KVSKBAStatusCheckingFields Enum (KVSKBAStatusCheckingMandFields)
KVSKBABlockedBy Enum (KVSKBABlockedBy)
KVSKBABlockedUser Boolean
KVSKBAProductCommGrpCode Code[10]

Events#

KVSKBAOnBeforeCheckMandatoryFieldsAction(Boolean, Boolean) :#

Summary: Checks the mandatory fields for the resource. If the check fails, the resource will be blocked and the user will be notified which fields are missing.

[IntegrationEvent(true, false)]
local procedure KVSKBAOnBeforeCheckMandatoryFieldsAction(ShowAction: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSKBAResource", 'KVSKBAOnBeforeCheckMandatoryFieldsAction', '', false, false)]
local procedure DoSomethingKVSKBAOnBeforeCheckMandatoryFieldsAction(ShowAction: Boolean; var IsHandled: Boolean)
begin
end;

Parameters:

  • ShowAction: Indicates whether the action Check Mandatory Fields should be visible or invisible.
  • IsHandled: Indicates whether the event has been handled.

Remarks: The function will check the fields based on the setup in "Resources Setup" page. If the mandatory field check is enabled, the function will check all the mandatory fields and if any of them are not filled, the resource will be blocked for use and a notification will be shown to the user with the list of missing fields.