Skip to content

KVSMEDTabContactSub#

Events#

OnCreateCustomerOnBeforeCustomerModify(Record Customer, Record Contact) :#

[IntegrationEvent(false, false)]
local procedure OnCreateCustomerOnBeforeCustomerModify(var Customer: Record "Customer"; Contact: Record "Contact"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDTabContactSub", 'OnCreateCustomerOnBeforeCustomerModify', '', false, false)]
local procedure DoSomethingOnCreateCustomerOnBeforeCustomerModify(var Customer: Record "Customer"; Contact: Record "Contact")
begin
end;

OnCreateCustomerOnBeforeUpdateQuotes(Record Customer, Record Contact) :#

[IntegrationEvent(false, false)]
local procedure OnCreateCustomerOnBeforeUpdateQuotes(var Customer: Record "Customer"; Contact: Record "Contact"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDTabContactSub", 'OnCreateCustomerOnBeforeUpdateQuotes', '', false, false)]
local procedure DoSomethingOnCreateCustomerOnBeforeUpdateQuotes(var Customer: Record "Customer"; Contact: Record "Contact")
begin
end;

OnAfterCreateCustomer(Record Contact, Record Customer) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCreateCustomer(var Contact: Record "Contact"; var Customer: Record "Customer"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDTabContactSub", 'OnAfterCreateCustomer', '', false, false)]
local procedure DoSomethingOnAfterCreateCustomer(var Contact: Record "Contact"; var Customer: Record "Customer")
begin
end;

OnBeforeVendorInsert(Record Vendor, Record Contact) :#

[IntegrationEvent(true, false)]
local procedure OnBeforeVendorInsert(var Vend: Record "Vendor"; var Contact: Record "Contact"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDTabContactSub", 'OnBeforeVendorInsert', '', false, false)]
local procedure DoSomethingOnBeforeVendorInsert(var Vend: Record "Vendor"; var Contact: Record "Contact")
begin
end;

OnAfterVendorInsert(Record Vendor, Record Contact) :#

[IntegrationEvent(false, false)]
local procedure OnAfterVendorInsert(var Vendor: Record "Vendor"; var Contact: Record "Contact"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDTabContactSub", 'OnAfterVendorInsert', '', false, false)]
local procedure DoSomethingOnAfterVendorInsert(var Vendor: Record "Vendor"; var Contact: Record "Contact")
begin
end;

OnBeforeCreateVendor(Record Contact, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateVendor(var Contact: Record "Contact"; var VendorNo: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDTabContactSub", 'OnBeforeCreateVendor', '', false, false)]
local procedure DoSomethingOnBeforeCreateVendor(var Contact: Record "Contact"; var VendorNo: Code[20]; var IsHandled: Boolean)
begin
end;

OnBeforeCreateCustomerFromTemplate(Record Contact, Code[20], Boolean, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateCustomerFromTemplate(var Contact: Record "Contact"; var CustNo: Code[20]; var IsHandled: Boolean; CustomerTemplate: Code[20]; HideValidationDialog: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDTabContactSub", 'OnBeforeCreateCustomerFromTemplate', '', false, false)]
local procedure DoSomethingOnBeforeCreateCustomerFromTemplate(var Contact: Record "Contact"; var CustNo: Code[20]; var IsHandled: Boolean; CustomerTemplate: Code[20]; HideValidationDialog: Boolean)
begin
end;

OnCreateCustomerFromTemplateOnBeforeCustomerInsert(Record Customer, Code[20], Record Contact) :#

[IntegrationEvent(false, false)]
local procedure OnCreateCustomerFromTemplateOnBeforeCustomerInsert(var Cust: Record "Customer"; CustomerTemplate: Code[20]; var Contact: Record "Contact"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDTabContactSub", 'OnCreateCustomerFromTemplateOnBeforeCustomerInsert', '', false, false)]
local procedure DoSomethingOnCreateCustomerFromTemplateOnBeforeCustomerInsert(var Cust: Record "Customer"; CustomerTemplate: Code[20]; var Contact: Record "Contact")
begin
end;