Skip to content

KVSPSARes.-List by Skill#

Procedures#

GetSkilledRessourcesFilter() :#

Summary: filters for matching resources based on the current filters.

procedure GetSkilledRessourcesFilter(): 

UpdateMatrixSubform(Option) :#

procedure UpdateMatrixSubform(SetWantedpar: Option): 

Events#

KVSPSAOnBeforeAddResourceToFilter(Record Resource, Option, Text, Boolean) :#

Summary: Event fired before adding a resource to the filter during skilled resources filtering. Allows extensions to customize or override the validation logic that determines whether a resource should be included in the filter. This event enables custom logic to modify resource inclusion criteria based on skill requirements, certification status, and custom business rules when building the resource filter for skill-based resource selection.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeAddResourceToFilter(Resource: Record "Resource"; GlobalCertifiedFilter: Option; GlobalResourceFilter: Text; var IsValid: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSPSARes.-List by Skill", 'KVSPSAOnBeforeAddResourceToFilter', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeAddResourceToFilter(Resource: Record "Resource"; GlobalCertifiedFilter: Option; GlobalResourceFilter: Text; var IsValid: Boolean)
begin
end;

Parameters:

  • Resource: The resource record being evaluated for inclusion in the filter.
  • GlobalCertifiedFilter: The certification filter option indicating whether to filter by Both, Certified, or Non-Certified resources.
  • GlobalResourceFilter: The current resource filter text being built, containing previously added resource numbers.
  • IsValid: Boolean flag indicating whether the resource should be added to the filter. Set to true to include the resource, false to exclude it (passed by reference for modification).

KVSPSAAdditionalFilterIsEmpty(Boolean) :#

Summary: Use this function to determine whether additional filters are set. This is necessary to prevent skip of the resource filtering when only additional filters are applied.

[IntegrationEvent(false, false)]
local procedure KVSPSAAdditionalFilterIsEmpty(var AdditionalFilterIsEmpty: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSPSARes.-List by Skill", 'KVSPSAAdditionalFilterIsEmpty', '', false, false)]
local procedure DoSomethingKVSPSAAdditionalFilterIsEmpty(var AdditionalFilterIsEmpty: Boolean)
begin
end;

Parameters:

  • AdditionalFilterIsEmpty: Indicates whether additional filter are set. This parameter is passed by reference and can be modified to reflect the state of additional filters.