Codeunit "VendCont-Update"

ID 5057
Namespace: Microsoft.CRM.BusinessRelation

Properties

Name Value
Permissions tabledata Contact = rimd

Methods

OnInsert

procedure OnInsert(var Vend: Record Vendor)

Parameters

Name Type Description
Vend Table Microsoft.Purchases.Vendor.Vendor

OnModify

procedure OnModify(var Vend: Record Vendor)

Parameters

Name Type Description
Vend Table Microsoft.Purchases.Vendor.Vendor

OnDelete

procedure OnDelete(var Vend: Record Vendor)

Parameters

Name Type Description
Vend Table Microsoft.Purchases.Vendor.Vendor

InsertNewContact

procedure InsertNewContact(var Vend: Record Vendor, LocalCall: Boolean)

Parameters

Name Type Description
Vend Table Microsoft.Purchases.Vendor.Vendor
LocalCall Boolean

InsertNewContactPerson

procedure InsertNewContactPerson(var Vend: Record Vendor, LocalCall: Boolean)

Parameters

Name Type Description
Vend Table Microsoft.Purchases.Vendor.Vendor
LocalCall Boolean

ContactNameIsBlank

procedure ContactNameIsBlank(VendorNo: Code[20]): Boolean

Parameters

Name Type Description
VendorNo Code[20]

Returns

Type Description
Boolean

Events

OnAfterTransferFieldsFromVendToCont

[IntegrationEvent(False,False)]
local procedure OnAfterTransferFieldsFromVendToCont(var Contact: Record Contact, Vendor: Record Vendor)

Parameters

Name Type Description
Contact Table Microsoft.CRM.Contact.Contact
Vendor Table Microsoft.Purchases.Vendor.Vendor

OnAfterOnModify

[IntegrationEvent(False,False)]
local procedure OnAfterOnModify(var Contact: Record Contact, var OldContact: Record Contact, var Vendor: Record Vendor)

Parameters

Name Type Description
Contact Table Microsoft.CRM.Contact.Contact
OldContact Table Microsoft.CRM.Contact.Contact
Vendor Table Microsoft.Purchases.Vendor.Vendor

OnBeforeTransferFieldsFromVendToCont

[IntegrationEvent(False,False)]
local procedure OnBeforeTransferFieldsFromVendToCont(var Contact: Record Contact, Vendor: Record Vendor, var SalespersonCode: Code[20])

Parameters

Name Type Description
Contact Table Microsoft.CRM.Contact.Contact
Vendor Table Microsoft.Purchases.Vendor.Vendor
SalespersonCode Code[20]

OnBeforeContactInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeContactInsert(var Contact: Record Contact, Vendor: Record Vendor)

Parameters

Name Type Description
Contact Table Microsoft.CRM.Contact.Contact
Vendor Table Microsoft.Purchases.Vendor.Vendor

OnBeforeInsertNewContact

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertNewContact(var Vendor: Record Vendor, LocalCall: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
Vendor Table Microsoft.Purchases.Vendor.Vendor
LocalCall Boolean
IsHandled Boolean

OnBeforeOnDelete

[IntegrationEvent(False,False)]
local procedure OnBeforeOnDelete(Vendor: Record Vendor, var ContactBusinessRelation: Record "Contact Business Relation", var IsHandled: Boolean)

Parameters

Name Type Description
Vendor Table Microsoft.Purchases.Vendor.Vendor
ContactBusinessRelation Table Microsoft.CRM.BusinessRelation."Contact Business Relation"
IsHandled Boolean

OnBeforeOnModify

[IntegrationEvent(False,False)]
local procedure OnBeforeOnModify(Vend: Record Vendor, var ContactBusinessRelation: Record "Contact Business Relation", var IsHandled: Boolean)

Parameters

Name Type Description
Vend Table Microsoft.Purchases.Vendor.Vendor
ContactBusinessRelation Table Microsoft.CRM.BusinessRelation."Contact Business Relation"
IsHandled Boolean

OnBeforeOnInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeOnInsert(var Vendor: Record Vendor, var IsHandled: Boolean)

Parameters

Name Type Description
Vendor Table Microsoft.Purchases.Vendor.Vendor
IsHandled Boolean

OnInsertNewContactPersonOnBeforeContactInsert

[IntegrationEvent(False,False)]
local procedure OnInsertNewContactPersonOnBeforeContactInsert(var Contact: Record Contact, Vendor: Record Vendor)

Parameters

Name Type Description
Contact Table Microsoft.CRM.Contact.Contact
Vendor Table Microsoft.Purchases.Vendor.Vendor

OnInsertNewContactPersonOnBeforeContactModify

[IntegrationEvent(False,False)]
local procedure OnInsertNewContactPersonOnBeforeContactModify(var Contact: Record Contact, Vendor: Record Vendor)

Parameters

Name Type Description
Contact Table Microsoft.CRM.Contact.Contact
Vendor Table Microsoft.Purchases.Vendor.Vendor

OnInsertNewContactOnBeforeAssignNo

[IntegrationEvent(False,False)]
local procedure OnInsertNewContactOnBeforeAssignNo(var Contact: Record Contact, var IsHandled: Boolean, Vendor: Record Vendor, MarketingSetup: Record "Marketing Setup", LocalCall: Boolean)

Parameters

Name Type Description
Contact Table Microsoft.CRM.Contact.Contact
IsHandled Boolean
Vendor Table Microsoft.Purchases.Vendor.Vendor
MarketingSetup Table Microsoft.CRM.Setup."Marketing Setup"
LocalCall Boolean

OnInsertNewContactOnBeforeContBusRelInsert

[IntegrationEvent(False,False)]
local procedure OnInsertNewContactOnBeforeContBusRelInsert(var ContactBusinessRelation: Record "Contact Business Relation", Contact: Record Contact, Vendor: Record Vendor)

Parameters

Name Type Description
ContactBusinessRelation Table Microsoft.CRM.BusinessRelation."Contact Business Relation"
Contact Table Microsoft.CRM.Contact.Contact
Vendor Table Microsoft.Purchases.Vendor.Vendor

OnModifyOnBeforeAssignNo

[IntegrationEvent(False,False)]
local procedure OnModifyOnBeforeAssignNo(var Contact: Record Contact, var IsHandled: Boolean)

Parameters

Name Type Description
Contact Table Microsoft.CRM.Contact.Contact
IsHandled Boolean

OnInsertNewContactOnAfterContactInsert

[IntegrationEvent(True,False)]
local procedure OnInsertNewContactOnAfterContactInsert(var Contact: Record Contact, var Vendor: Record Vendor)

Parameters

Name Type Description
Contact Table Microsoft.CRM.Contact.Contact
Vendor Table Microsoft.Purchases.Vendor.Vendor

See also