Skip to content

KVSPSAJob Contact Management#

Events#

KVSPSAOnAfterFoundJobContactInInsertJobContactRecord(Record KVSPSAJob Contact, Code[20]) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterFoundJobContactInInsertJobContactRecord(var JobContact: Record "KVSPSAJob Contact"; ContactRoleCode: Code[20]): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJob Contact Management", 'KVSPSAOnAfterFoundJobContactInInsertJobContactRecord', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterFoundJobContactInInsertJobContactRecord(var JobContact: Record "KVSPSAJob Contact"; ContactRoleCode: Code[20])
begin
end;

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

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckJobContactUpdates(var Job: Record "Job"; var xRecJob: Record "Job"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJob Contact Management", 'KVSPSAOnBeforeCheckJobContactUpdates', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckJobContactUpdates(var Job: Record "Job"; var xRecJob: Record "Job"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeCheckJobPSPContactUpdates(Record KVSPSAJobPSPLine, Record KVSPSAJobPSPLine, Boolean) :#

Summary: This event can be used to implement CheckJobPSPLineContactUpdate

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckJobPSPContactUpdates(var KVSPSAJobPSPLine: Record "KVSPSAJobPSPLine"; var xKVSPSAJobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJob Contact Management", 'KVSPSAOnBeforeCheckJobPSPContactUpdates', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckJobPSPContactUpdates(var KVSPSAJobPSPLine: Record "KVSPSAJobPSPLine"; var xKVSPSAJobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean)
begin
end;

Parameters:

  • KVSPSAJobPSPLine: The Rec of the Rec.Modify Trigger
  • xKVSPSAJobPSPLine: The xRec of the Rec.Modify Trigger
  • IsHandled: A boolean value indicating whether the event is handled. Set this parameter to true to mark the event as handled and exit the original procedure afterwards.

KVSPSAOnBeforeCheckJobBudgetContactUpdates(Record KVSPSA Job Budget Line, Record KVSPSA Job Budget Line, Boolean) :#

Summary: This event can be used to implement CheckJobPSPLineContactUpdate

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckJobBudgetContactUpdates(var KVSPSAJobBudgetLine: Record "KVSPSA Job Budget Line"; var xKVSPSAJobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJob Contact Management", 'KVSPSAOnBeforeCheckJobBudgetContactUpdates', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckJobBudgetContactUpdates(var KVSPSAJobBudgetLine: Record "KVSPSA Job Budget Line"; var xKVSPSAJobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • KVSPSAJobBudgetLine: The Rec of the Rec.Modify Trigger
  • xKVSPSAJobBudgetLine: The xRec of the Rec.Modify Trigger
  • IsHandled: A boolean value indicating whether the event is handled. Set this parameter to true to mark the event as handled and exit the original procedure afterwards.

KVSPSAOnBeforeInsertJobContact(Code[20], Code[20], Boolean, Code[20]) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeInsertJobContact(JobNo: Code[20]; ContNo: Code[20]; var IsHandled: Boolean; var ContactRoleCode: Code[20]): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJob Contact Management", 'KVSPSAOnBeforeInsertJobContact', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeInsertJobContact(JobNo: Code[20]; ContNo: Code[20]; var IsHandled: Boolean; var ContactRoleCode: Code[20])
begin
end;

KVSPSAOnBeforeInsertJobContactRecord(Record KVSPSAJob Contact) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeInsertJobContactRecord(var JobContact: Record "KVSPSAJob Contact"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJob Contact Management", 'KVSPSAOnBeforeInsertJobContactRecord', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeInsertJobContactRecord(var JobContact: Record "KVSPSAJob Contact")
begin
end;

KVSPSAOnBeforePurchaseDocUpdateJobContact(Record Purchase Header, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforePurchaseDocUpdateJobContact(PurchaseHeader: Record "Purchase Header"; JobNo: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJob Contact Management", 'KVSPSAOnBeforePurchaseDocUpdateJobContact', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforePurchaseDocUpdateJobContact(PurchaseHeader: Record "Purchase Header"; JobNo: Code[20]; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeSalesDocUpdateJobContact(Record Sales Header, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSalesDocUpdateJobContact(SalesHeader: Record "Sales Header"; JobNo: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJob Contact Management", 'KVSPSAOnBeforeSalesDocUpdateJobContact', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSalesDocUpdateJobContact(SalesHeader: Record "Sales Header"; JobNo: Code[20]; var IsHandled: Boolean)
begin
end;