Skip to content

KVSPSA Mandatory Fields Lib#

Procedures#

CheckMandatoryFieldsJob(Record Job, Boolean, Boolean) :#

procedure CheckMandatoryFieldsJob(var Job: Record "Job"; ShowFoundFields: Boolean; ChangeFieldsInRec: Boolean): 

FinishJob(Record Job) :#

Summary: Used to check if the mandatory fields are filled in when the job is finished.

procedure FinishJob(var Job: Record "Job"): 

Parameters:

  • Job: The job record to check.

InitJobMandatoryFieldsCheckStatus(Record Job) :#

procedure InitJobMandatoryFieldsCheckStatus(var Job: Record "Job"): 

BatchFinishGuarantee(Record KVSPSAGuarantee) :#

procedure BatchFinishGuarantee(var Guarantee: Record "KVSPSAGuarantee"): 

CheckMandatoryFieldsGuarantee(Record KVSPSAGuarantee, Boolean, Boolean) :#

procedure CheckMandatoryFieldsGuarantee(var Guarantee: Record "KVSPSAGuarantee"; ShowFoundFields: Boolean; ChangeFieldsInRec: Boolean): 

InitGuaranteeMandatoryFieldsCheckStatus(Record KVSPSAGuarantee) :#

procedure InitGuaranteeMandatoryFieldsCheckStatus(var Guarantee: Record "KVSPSAGuarantee"): 

Events#

KVSPSAOnBeforeCheckMandatoryFieldsJob(Record Job, Boolean, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckMandatoryFieldsJob(var Job: Record "Job"; ShowFoundFields: Boolean; ChangeFieldsInRec: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSA Mandatory Fields Lib", 'KVSPSAOnBeforeCheckMandatoryFieldsJob', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckMandatoryFieldsJob(var Job: Record "Job"; ShowFoundFields: Boolean; ChangeFieldsInRec: Boolean; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeSetJobBlockedWhenMaintenanceComplete(Record Job, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSetJobBlockedWhenMaintenanceComplete(var Job: Record "Job"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSA Mandatory Fields Lib", 'KVSPSAOnBeforeSetJobBlockedWhenMaintenanceComplete', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSetJobBlockedWhenMaintenanceComplete(var Job: Record "Job"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeSetJobBlockedWhenMaintenanceInProgress(Record Job, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSetJobBlockedWhenMaintenanceInProgress(var Job: Record "Job"; MandatoryFieldsCheckIsRequired: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSA Mandatory Fields Lib", 'KVSPSAOnBeforeSetJobBlockedWhenMaintenanceInProgress', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSetJobBlockedWhenMaintenanceInProgress(var Job: Record "Job"; MandatoryFieldsCheckIsRequired: Boolean; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeValidateBlockedUserInJob(Record Job, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeValidateBlockedUserInJob(var Job: Record "Job"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSA Mandatory Fields Lib", 'KVSPSAOnBeforeValidateBlockedUserInJob', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeValidateBlockedUserInJob(var Job: Record "Job"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeCheckMandatoryFieldsGuarantee(Record KVSPSAGuarantee, Boolean, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckMandatoryFieldsGuarantee(var Guarantee: Record "KVSPSAGuarantee"; ShowFoundFields: Boolean; ChangeFieldsInRec: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSA Mandatory Fields Lib", 'KVSPSAOnBeforeCheckMandatoryFieldsGuarantee', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckMandatoryFieldsGuarantee(var Guarantee: Record "KVSPSAGuarantee"; ShowFoundFields: Boolean; ChangeFieldsInRec: Boolean; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeSetGuaranteeBlockedWhenMaintenanceComplete(Record KVSPSAGuarantee, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSetGuaranteeBlockedWhenMaintenanceComplete(var Guarantee: Record "KVSPSAGuarantee"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSA Mandatory Fields Lib", 'KVSPSAOnBeforeSetGuaranteeBlockedWhenMaintenanceComplete', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSetGuaranteeBlockedWhenMaintenanceComplete(var Guarantee: Record "KVSPSAGuarantee"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeSetGuaranteeBlockedWhenMaintenanceInProgress(Record KVSPSAGuarantee, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSetGuaranteeBlockedWhenMaintenanceInProgress(var Guarantee: Record "KVSPSAGuarantee"; MandatoryFieldsCheckIsRequired: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSA Mandatory Fields Lib", 'KVSPSAOnBeforeSetGuaranteeBlockedWhenMaintenanceInProgress', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSetGuaranteeBlockedWhenMaintenanceInProgress(var Guarantee: Record "KVSPSAGuarantee"; MandatoryFieldsCheckIsRequired: Boolean; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeValidateBlockedUserOfGuarantee(Record KVSPSAGuarantee, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeValidateBlockedUserOfGuarantee(var Guarantee: Record "KVSPSAGuarantee"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSA Mandatory Fields Lib", 'KVSPSAOnBeforeValidateBlockedUserOfGuarantee', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeValidateBlockedUserOfGuarantee(var Guarantee: Record "KVSPSAGuarantee"; var IsHandled: Boolean)
begin
end;