Table Contact
ID 5050
Namespace: Microsoft.CRM.Contact
Properties
| Name |
Value |
| Caption |
Contact
|
| DataCaptionFields |
1,2
|
| DataClassification |
CustomerContent
|
| DrillDownPageID |
Page Microsoft.CRM.Contact."Contact List" |
| LookupPageID |
Page Microsoft.CRM.Contact."Contact List" |
| Permissions |
TableData "Sales Header" = rm,
TableData "Contact Alt. Address" = rd,
TableData "Contact Alt. Addr. Date Range" = rd,
TableData "Contact Business Relation" = rid,
TableData "Contact Mailing Group" = rd,
TableData "Contact Industry Group" = rd,
TableData "Contact Web Source" = rd,
TableData "Rlshp. Mgt. Comment Line" = rd,
TableData "Interaction Log Entry" = rm,
TableData "Contact Job Responsibility" = rd,
TableData "To-do" = rm,
TableData "Contact Profile Answer" = rd,
TableData Opportunity = rm,
TableData "Opportunity Entry" = rm,
tabledata Contact = rm,
tabledata Customer = im,
tabledata "Salesperson/Purchaser" = R,
tabledata "Marketing Setup" = r,
tabledata Salutation = r,
tabledata "Salutation Formula" = r,
tabledata Language = r,
tabledata "Language Selection" = r
|
Fields
| Name |
Type |
Description |
| "No." |
Code[20]
|
Specifies the number of the involved entry or record, according to the specified number series.
|
| Name |
Text[100]
|
Specifies the name of the contact. If the contact is a person, you can click the field to see the Name Details window.
|
| "Search Name" |
Code[100]
|
Specifies an alternate name that you can use to search for the record in question when you cannot remember the value in the Name field.
|
| "Name 2" |
Text[50]
|
Specifies an additional part of the name.
|
| Address |
Text[100]
|
Specifies the contact's address.
|
| "Address 2" |
Text[50]
|
Specifies additional address information.
|
| City |
Text[30]
|
Specifies the city where the contact is located.
|
| "Phone No." |
Text[30]
|
Specifies the contact's phone number.
|
| "Telex No." |
Text[20]
|
|
| "Territory Code" |
Code[10]
|
Specifies the territory code for the contact.
|
| "Currency Code" |
Code[10]
|
Specifies the currency code for the contact.
|
| "Language Code" |
Code[10]
|
Specifies the language that is used when translating specified text on documents to foreign business partner, such as an item description on an order confirmation.
|
| "Registration Number" |
Text[50]
|
Specifies the registration number of the contact. You can enter a maximum of 20 characters, both numbers and letters.
|
| "Salesperson Code" |
Code[20]
|
Specifies the code of the salesperson who normally handles this contact.
|
| "Country/Region Code" |
Code[10]
|
Specifies the country/region of the address.
|
| Comment |
Boolean
|
|
| "Format Region" |
Text[80]
|
Specifies the format region that is used when formatting dates and numbers on documents to foreign business partner, such as an total amount on an order date.
|
| "Last Date Modified" |
Date
|
|
| "Fax No." |
Text[30]
|
Specifies the contact's fax number.
|
| "Telex Answer Back" |
Text[20]
|
|
| "VAT Registration No." |
Text[20]
|
Specifies the contact's VAT registration number. This field is valid for companies only.
|
| "Post Code" |
Code[20]
|
Specifies the postal code.
|
| County |
Text[30]
|
Specifies the state, province or county as a part of the address.
|
| "E-Mail" |
Text[80]
|
Specifies the email address of the contact.
|
| "Home Page" |
Text[255]
|
Specifies the contact's web site.
|
| "No. Series" |
Code[20]
|
|
| Image |
Media
|
Specifies the picture of the contact, for example, a photograph if the contact is a person, or a logo if the contact is a company.
|
| "Privacy Blocked" |
Boolean
|
Specifies whether to limit access to data for the data subject during daily operations. This is useful, for example, when protecting data from changes while it is under privacy review.
|
| Minor |
Boolean
|
Specifies that the person's age is below the definition of adulthood as recognized by law. Data for minors is blocked until a parent or guardian of the minor provides parental consent. You unblock the data by selecting the Parental Consent Received check box.
|
| "Parental Consent Received" |
Boolean
|
Specifies that a parent or guardian of the minor has provided their consent to allow the minor to use this service. When this check box is selected, data for the minor can be processed.
|
| "Coupled to CRM" |
Boolean
|
|
| "Coupled to Dataverse" |
Boolean
|
Specifies that the contact is coupled to a contact in Dataverse.
|
| Type |
Enum Microsoft.CRM.Contact."Contact Type"
|
Specifies the type of contact, either company or person.
|
| "Company No." |
Code[20]
|
Specifies the number for the contact's company.
|
| "Company Name" |
Text[100]
|
Specifies the name of the company. If the contact is a person, Specifies the name of the company for which this contact works. This field is not editable.
|
| "Lookup Contact No." |
Code[20]
|
|
| "First Name" |
Text[30]
|
Specifies the contact's first name and is valid for contact persons only.
|
| "Middle Name" |
Text[30]
|
Specifies the contact's middle name and is valid for contact persons only.
|
| Surname |
Text[30]
|
Specifies the contact's surname and is valid for contact persons only.
|
| "Job Title" |
Text[30]
|
Specifies the contact's job title.
|
| Initials |
Text[30]
|
Specifies the contact's initials, when the contact is a person.
|
| "Extension No." |
Text[30]
|
|
| "Mobile Phone No." |
Text[30]
|
Specifies the contact's mobile telephone number.
|
| Pager |
Text[30]
|
|
| "Organizational Level Code" |
Code[10]
|
Specifies the organizational code for the contact, for example, top management. This field is valid for persons only.
|
| "Exclude from Segment" |
Boolean
|
Specifies if the contact should be excluded from segments:
|
| "Date Filter" |
Date
|
|
| "Next Task Date" |
Date
|
Specifies the date of the next task involving the contact.
|
| "Last Date Attempted" |
Date
|
Specifies the date when the contact was last contacted, for example, when you tried to call the contact, with or without success. This field is not editable.
|
| "Date of Last Interaction" |
Date
|
Specifies the date of the last interaction involving the contact, for example, a received or sent mail, e-mail, or phone call. This field is not editable.
|
| "No. of Job Responsibilities" |
Integer
|
Specifies the number of job responsibilities for this contact. This field is valid for persons only and is not editable.
|
| "No. of Industry Groups" |
Integer
|
Specifies the number of industry groups to which the contact belongs. When the contact is a person, this field contains the number of industry groups for the contact's company. This field is not editable.
|
| "No. of Business Relations" |
Integer
|
|
| "No. of Mailing Groups" |
Integer
|
Specifies the number of mailing groups for this contact.
|
| "External ID" |
Code[20]
|
|
| "No. of Interactions" |
Integer
|
Specifies the number of interactions created for this contact. The field is not editable.
|
| "Cost (LCY)" |
Decimal
|
|
| "Duration (Min.)" |
Decimal
|
|
| "No. of Opportunities" |
Integer
|
Specifies the number of open opportunities involving the contact. The field is not editable.
|
| "Estimated Value (LCY)" |
Decimal
|
|
| "Calcd. Current Value (LCY)" |
Decimal
|
|
| "Opportunity Entry Exists" |
Boolean
|
|
| "Task Entry Exists" |
Boolean
|
|
| "Salesperson Filter" |
Code[20]
|
|
| "Campaign Filter" |
Code[20]
|
|
| "Contact Business Relation" |
Enum Microsoft.CRM.BusinessRelation."Contact Business Relation"
|
Specifies the type of the existing business relation.
|
| "Action Taken Filter" |
Enum Microsoft.CRM.Opportunity."Opportunity Action Taken"
|
|
| "Sales Cycle Filter" |
Code[10]
|
|
| "Sales Cycle Stage Filter" |
Integer
|
|
| "Probability % Filter" |
Decimal
|
|
| "Completed % Filter" |
Decimal
|
|
| "Estimated Value Filter" |
Decimal
|
|
| "Calcd. Current Value Filter" |
Decimal
|
|
| "Chances of Success % Filter" |
Decimal
|
|
| "Task Status Filter" |
Enum Microsoft.CRM.Task."Task Status"
|
|
| "Task Closed Filter" |
Boolean
|
|
| "Priority Filter" |
Option
|
|
| "Team Filter" |
Code[10]
|
|
| "Close Opportunity Filter" |
Code[10]
|
|
| "Correspondence Type" |
Enum Microsoft.CRM.Interaction."Correspondence Type"
|
Specifies the preferred type of correspondence for the interaction.
|
| "Salutation Code" |
Code[10]
|
Specifies the salutation code that will be used when you interact with the contact. The salutation code is only used in Word documents. To see a list of the salutation codes already defined, click the field.
|
| "Search E-Mail" |
Code[80]
|
|
| "Last Time Modified" |
Time
|
|
| "E-Mail 2" |
Text[80]
|
|
| "Job Responsibility Filter" |
Code[10]
|
|
| "Xrm Id" |
Guid
|
|
| SystemId |
Guid
|
|
| SystemCreatedAt |
DateTime
|
|
| SystemCreatedBy |
Guid
|
|
| SystemModifiedAt |
DateTime
|
|
| SystemModifiedBy |
Guid
|
|
| SystemCreatedByUserName |
Text[50]
|
|
| SystemCreatedByFullName |
Text[80]
|
|
| SystemModifiedByUserName |
Text[50]
|
|
| SystemModifiedByFullName |
Text[80]
|
|
| SystemRowVersion |
BigInteger
|
|
Methods
DoModify
procedure DoModify(ContactBeforeModify: Record Contact)
Parameters
TypeChange
AssistEdit
procedure AssistEdit(OldCont: Record Contact): Boolean
Parameters
Returns
CreateCustomer
procedure CreateCustomer(): Code[20]
Returns
| Type |
Description |
|
Code[20] |
|
CreateCustomerFromTemplate
procedure CreateCustomerFromTemplate(CustomerTemplateCode: Code[20]): Code[20]
Parameters
| Name |
Type |
Description |
|
CustomerTemplateCode
|
Code[20] |
|
Returns
| Type |
Description |
|
Code[20] |
|
CreateVendor
procedure CreateVendor(): Code[20]
Returns
| Type |
Description |
|
Code[20] |
|
CreateVendorFromTemplate
procedure CreateVendorFromTemplate(VendorTemplateCode: Code[20]): Code[20]
Parameters
| Name |
Type |
Description |
|
VendorTemplateCode
|
Code[20] |
|
Returns
| Type |
Description |
|
Code[20] |
|
CreateBankAccount
procedure CreateBankAccount(): Code[20]
Returns
| Type |
Description |
|
Code[20] |
|
CreateCustomerLink
procedure CreateCustomerLink()
CreateVendorLink
procedure CreateVendorLink()
CreateBankAccountLink
procedure CreateBankAccountLink()
CreateInteraction
procedure CreateInteraction()
GetDefaultPhoneNo
procedure GetDefaultPhoneNo(): Text[30]
Returns
| Type |
Description |
|
Text[30] |
|
ShowBusinessRelation
procedure ShowBusinessRelation(LinkToTable: Enum "Contact Business Relation Link To Table"; All: Boolean)
Parameters
ShowBusinessRelations
procedure ShowBusinessRelations()
UpdateBusinessRelation
procedure UpdateBusinessRelation(): Boolean
Returns
HasBusinessRelation
procedure HasBusinessRelation(LinkToTable: Enum "Contact Business Relation Link To Table"; BusRelationCode: Code[10]): Boolean
Parameters
Returns
HasBusinessRelations
procedure HasBusinessRelations(var RelatedCustomerEnabled: Boolean; var RelatedVendorEnabled: Boolean; var RelatedBankEnabled: Boolean; var RelatedEmployeeEnabled: Boolean)
Parameters
| Name |
Type |
Description |
|
RelatedCustomerEnabled
|
Boolean |
|
|
RelatedVendorEnabled
|
Boolean |
|
|
RelatedBankEnabled
|
Boolean |
|
|
RelatedEmployeeEnabled
|
Boolean |
|
SetSkipDefault
procedure SetSkipDefault()
IdenticalAddress
procedure IdenticalAddress(Cont: Record Contact): Boolean
Parameters
Returns
ActiveAltAddress
procedure ActiveAltAddress(ActiveDate: Date): Code[10]
Parameters
| Name |
Type |
Description |
|
ActiveDate
|
Date |
|
Returns
| Type |
Description |
|
Code[10] |
|
CalculatedName
procedure CalculatedName(): Text[100]
Returns
| Type |
Description |
|
Text[100] |
|
UpdateSearchName
procedure UpdateSearchName()
CheckDuplicates
procedure CheckDuplicates()
CheckContactType
procedure CheckContactType(ContactType: Enum "Contact Type")
Parameters
FindNewCustomerTemplate
procedure FindNewCustomerTemplate(): Code[20]
Returns
| Type |
Description |
|
Code[20] |
|
FindNewVendorTemplate
procedure FindNewVendorTemplate(): Code[20]
Returns
| Type |
Description |
|
Code[20] |
|
ChooseNewCustomerTemplate
procedure ChooseNewCustomerTemplate(): Code[20]
Returns
| Type |
Description |
|
Code[20] |
|
UpdateQuotesFromTemplate
procedure UpdateQuotesFromTemplate(Customer: Record Customer; CustomerTemplateCode: Code[20])
Parameters
GetSalutation
procedure GetSalutation(SalutationType: Enum "Salutation Formula Salutation Type"; LanguageCode: Code[10]): Text[260]
Parameters
Returns
| Type |
Description |
|
Text[260] |
|
InheritCompanyToPersonData
procedure InheritCompanyToPersonData(NewCompanyContact: Record Contact)
Parameters
SetHideValidationDialog
procedure SetHideValidationDialog(NewHideValidationDialog: Boolean)
Parameters
| Name |
Type |
Description |
|
NewHideValidationDialog
|
Boolean |
|
GetHideValidationDialog
procedure GetHideValidationDialog(): Boolean
Returns
DisplayMap
ProcessNameChange
procedure ProcessNameChange()
GetCompNo
procedure GetCompNo(ContactText: Text): Text
Parameters
| Name |
Type |
Description |
|
ContactText
|
Text |
|
Returns
ToPriceSource
procedure ToPriceSource(var PriceSource: Record "Price Source")
Parameters
LookupCompany
procedure LookupCompany()
LookupNewCustomerTemplate
procedure LookupNewCustomerTemplate(): Code[20]
Returns
| Type |
Description |
|
Code[20] |
|
CheckForExistingRelationships
procedure CheckForExistingRelationships(LinkToTable: Enum "Contact Business Relation Link To Table")
Parameters
FindCustomer
procedure FindCustomer(var Customer: Record Customer): Boolean
Parameters
Returns
SetLastDateTimeModified
procedure SetLastDateTimeModified()
GetLastDateTimeModified
procedure GetLastDateTimeModified(): DateTime
Returns
| Type |
Description |
|
DateTime |
|
SetLastDateTimeFilter
procedure SetLastDateTimeFilter(DateFilter: DateTime)
Parameters
| Name |
Type |
Description |
|
DateFilter
|
DateTime |
|
TouchContact
procedure TouchContact(ContactNo: Code[20])
Parameters
| Name |
Type |
Description |
|
ContactNo
|
Code[20] |
|
CountNoOfBusinessRelations
procedure CountNoOfBusinessRelations(LinkToTable: Enum "Contact Business Relation Link To Table"): Integer
Parameters
Returns
CreateSalesQuoteFromContact
procedure CreateSalesQuoteFromContact()
CreatePurchaseQuoteFromContact
procedure CreatePurchaseQuoteFromContact()
ContactToCustBusinessRelationExist
procedure ContactToCustBusinessRelationExist(): Boolean
Returns
ContactToVendBusinessRelationExist
procedure ContactToVendBusinessRelationExist(): Boolean
Returns
CheckIfMinorForProfiles
procedure CheckIfMinorForProfiles()
CheckIfPrivacyBlocked
procedure CheckIfPrivacyBlocked(IsPosting: Boolean)
Parameters
| Name |
Type |
Description |
|
IsPosting
|
Boolean |
|
CheckIfPrivacyBlockedGeneric
procedure CheckIfPrivacyBlockedGeneric()
VATRegistrationValidation
procedure VATRegistrationValidation()
GetContNo
procedure GetContNo(ContactText: Text): Code[20]
Parameters
| Name |
Type |
Description |
|
ContactText
|
Text |
|
Returns
| Type |
Description |
|
Code[20] |
|
GetContactsSelectionFromContactList
procedure GetContactsSelectionFromContactList(SelectMode: Boolean): Boolean
Parameters
| Name |
Type |
Description |
|
SelectMode
|
Boolean |
|
Returns
CreateEmployee
procedure CreateEmployee(): Code[20]
Returns
| Type |
Description |
|
Code[20] |
|
CreateEmployeeLink
procedure CreateEmployeeLink()
GetOrClear
procedure GetOrClear(ContactNo: Code[20])
Parameters
| Name |
Type |
Description |
|
ContactNo
|
Code[20] |
|
Events
OnAfterGetSalutation
[IntegrationEvent(False,False)]
local procedure OnAfterGetSalutation(var SalutationType: Enum "Salutation Formula Salutation Type"; var LanguageCode: Code[10]; var NamePart: array[5] of Text[100]; var Contact: Record Contact; var SalutationFormula: Record "Salutation Formula")
Parameters
OnAfterInheritCompanyToPersonData
[IntegrationEvent(False,False)]
local procedure OnAfterInheritCompanyToPersonData(var Contact: Record Contact; xContact: Record Contact; NewCompanyContact: Record Contact)
Parameters
OnAfterUpdateQuotesForContact
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateQuotesForContact(Contact: Record Contact; Customer: Record Customer)
Parameters
OnAfterVendorInsert
[IntegrationEvent(False,False)]
local procedure OnAfterVendorInsert(var Vendor: Record Vendor; var Contact: Record Contact)
Parameters
OnBeforeVendorInsert
[IntegrationEvent(True,False)]
local procedure OnBeforeVendorInsert(var Vend: Record Vendor; var Contact: Record Contact; VendorTemplateCode: Code[20])
Parameters
OnBeforeCheckIfTypeChangePossibleForPerson
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckIfTypeChangePossibleForPerson(var Contact: Record Contact; xContact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeChooseNewCustomerTemplate
[IntegrationEvent(False,False)]
local procedure OnBeforeChooseNewCustomerTemplate(var Contact: Record Contact; var CustTemplateCode: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforeCreateLink
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateLink(var Contact: Record Contact; var TempContBusRel: Record "Contact Business Relation"; var CreateForm: Integer; var BusRelCode: Code[10]; var Table: Enum "Contact Business Relation Link To Table"; var IsHandled: Boolean)
Parameters
OnChooseNewCustomerTemplateOnBeforeSelectWithConfirm
[IntegrationEvent(False,False)]
local procedure OnChooseNewCustomerTemplateOnBeforeSelectWithConfirm(var Contact: Record Contact; var CustomerTempl: Record "Customer Templ."; var IsHandled: Boolean)
Parameters
OnCreateCustomerFromTemplateOnBeforeCustomerInsert
[IntegrationEvent(False,False)]
local procedure OnCreateCustomerFromTemplateOnBeforeCustomerInsert(var Cust: Record Customer; CustomerTemplate: Code[20]; var Contact: Record Contact)
Parameters
OnBeforeFindNewCustomerTemplate
[IntegrationEvent(False,False)]
local procedure OnBeforeFindNewCustomerTemplate(var Contact: Record Contact; var CustTemplateCode: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforeInheritCompanyToPersonData
[IntegrationEvent(False,False)]
local procedure OnBeforeInheritCompanyToPersonData(var Contact: Record Contact; xContact: Record Contact; var NewCompanyContact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeIsUpdateNeeded
[IntegrationEvent(False,False)]
local procedure OnBeforeIsUpdateNeeded(var Contact: Record Contact; xContact: Record Contact; var UpdateNeeded: Boolean)
Parameters
OnCreateCustomerOnBeforeCustomerModify
[IntegrationEvent(False,False)]
local procedure OnCreateCustomerOnBeforeCustomerModify(var Customer: Record Customer; Contact: Record Contact)
Parameters
OnCreateCustomerFromTemplateOnAfterApplyCustomerTemplate
[IntegrationEvent(False,False)]
local procedure OnCreateCustomerFromTemplateOnAfterApplyCustomerTemplate(var Customer: Record Customer; CustomerTemplate: Record "Customer Templ."; var Contact: Record Contact)
Parameters
OnCreateCustomerLinkOnAfterCreateLink
[IntegrationEvent(False,False)]
local procedure OnCreateCustomerLinkOnAfterCreateLink(var Contact: Record Contact; xContact: Record Contact; var ContactBusinessRelation: Record "Contact Business Relation")
Parameters
OnAfterCalculatedName
[IntegrationEvent(False,False)]
local procedure OnAfterCalculatedName(var Contact: Record Contact; var NewName92: Text[92])
Parameters
OnAfterCreateBankAccount
[IntegrationEvent(False,False)]
local procedure OnAfterCreateBankAccount(var Contact: Record Contact; var BankAccount: Record "Bank Account")
Parameters
OnAfterCreateCustomer
[IntegrationEvent(False,False)]
local procedure OnAfterCreateCustomer(var Contact: Record Contact; var Customer: Record Customer)
Parameters
OnAfterCreateCustomerLink
[IntegrationEvent(False,False)]
local procedure OnAfterCreateCustomerLink(var Contact: Record Contact)
Parameters
OnAfterCreateInteraction
[IntegrationEvent(False,False)]
local procedure OnAfterCreateInteraction(var Contact: Record Contact)
Parameters
OnAfterCreateLink
[IntegrationEvent(False,False)]
local procedure OnAfterCreateLink(var Contact: Record Contact; xContact: Record Contact; CreateFrom: Integer)
Parameters
OnAfterCreateVendor
[IntegrationEvent(False,False)]
local procedure OnAfterCreateVendor(var Contact: Record Contact; var Vendor: Record Vendor)
Parameters
OnAfterIdenticalAddress
[IntegrationEvent(False,False)]
local procedure OnAfterIdenticalAddress(Contact: Record Contact; RecContact: Record Contact; var IsIdentical: Boolean)
Parameters
OnAfterModifySellToCustomerNo
[IntegrationEvent(False,False)]
local procedure OnAfterModifySellToCustomerNo(var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line")
Parameters
OnAfterModifyBillToCustomerNo
[IntegrationEvent(False,False)]
local procedure OnAfterModifyBillToCustomerNo(var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line")
Parameters
OnAfterOnInsert
[IntegrationEvent(False,False)]
local procedure OnAfterOnInsert(var Contact: Record Contact; xContact: Record Contact)
Parameters
OnAfterOnModify
[IntegrationEvent(False,False)]
local procedure OnAfterOnModify(var Contact: Record Contact; xContact: Record Contact)
Parameters
OnAfterProcessNameChange
[IntegrationEvent(False,False)]
local procedure OnAfterProcessNameChange(var Contact: Record Contact; Customer: Record Customer; Vendor: Record Vendor)
Parameters
OnAfterSetDefaults
[IntegrationEvent(False,False)]
local procedure OnAfterSetDefaults(var Contact: Record Contact; MarketingSetup: Record "Marketing Setup")
Parameters
OnAfterSetLastDateTimeModified
[IntegrationEvent(False,False)]
local procedure OnAfterSetLastDateTimeModified(var Contact: Record Contact)
Parameters
OnAfterSetDefaultSalesperson
[IntegrationEvent(False,False)]
local procedure OnAfterSetDefaultSalesperson(var Contact: Record Contact)
Parameters
OnAfterSetTypeForContact
[IntegrationEvent(False,False)]
local procedure OnAfterSetTypeForContact(var Contact: Record Contact; xContact: Record Contact)
Parameters
OnAfterShowCustVendBank
[IntegrationEvent(False,False)]
local procedure OnAfterShowCustVendBank(var Contact: Record Contact; var ContactBusinessRelation: Record "Contact Business Relation"; FormSelected: Boolean)
Parameters
OnAfterSyncAddress
[IntegrationEvent(False,False)]
local procedure OnAfterSyncAddress(var Contact: Record Contact; RecContact: Record Contact; var ContChanged: Boolean; var ContactBeforeModify: Record Contact)
Parameters
OnAfterTypeChange
[IntegrationEvent(False,False)]
local procedure OnAfterTypeChange(var Contact: Record Contact)
Parameters
OnAfterValidateCity
[IntegrationEvent(False,False)]
local procedure OnAfterValidateCity(var Contact: Record Contact; xContact: Record Contact)
Parameters
OnAfterValidatePostCode
[IntegrationEvent(False,False)]
local procedure OnAfterValidatePostCode(var Contact: Record Contact; xContact: Record Contact)
Parameters
OnAssistEditOnAfterNoSeriesMgtSetSeries
[IntegrationEvent(False,False)]
local procedure OnAssistEditOnAfterNoSeriesMgtSetSeries(var Contact: Record Contact; OldContact: Record Contact)
Parameters
OnBeforeActiveAltAddress
[IntegrationEvent(False,False)]
local procedure OnBeforeActiveAltAddress(var Contact: Record Contact; var Result: Code[10]; var IsHandled: Boolean)
Parameters
OnBeforeApplyCompanyChangeToPerson
[IntegrationEvent(False,False)]
local procedure OnBeforeApplyCompanyChangeToPerson(var PersonContact: Record Contact; Contact: Record Contact; xContact: Record Contact; var ContChanged: Boolean; OldContact: Record Contact)
Parameters
OnBeforeAssistEdit
[IntegrationEvent(False,False)]
local procedure OnBeforeAssistEdit(var Contact: Record Contact; OldContact: Record Contact; var IsHandled: Boolean; var Result: Boolean)
Parameters
OnBeforeBankAccountInsert
[IntegrationEvent(True,False)]
local procedure OnBeforeBankAccountInsert(var BankAccount: Record "Bank Account"; var Contact: Record Contact)
Parameters
OnBeforeDuplicateCheck
[IntegrationEvent(False,False)]
local procedure OnBeforeDuplicateCheck(Contact: Record Contact; xContact: Record Contact; var IsDuplicateCheckNeeded: Boolean)
Parameters
OnBeforeCalculatedName
[IntegrationEvent(False,False)]
local procedure OnBeforeCalculatedName(var Contact: Record Contact; var NewName: Text[100]; var IsHandled: Boolean)
Parameters
OnBeforeCheckForExistingRelationships
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckForExistingRelationships(var Contact: Record Contact; LinkToTable: Integer; var IsHandled: Boolean)
Parameters
OnBeforeCheckForCompanyContactExistingRelationships
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckForCompanyContactExistingRelationships(var Contact: Record Contact; var ContBusRel: Record "Contact Business Relation"; var IsHandled: Boolean)
Parameters
OnBeforeCheckCompanyNo
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckCompanyNo(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeCheckDuplicates
[IntegrationEvent(True,False)]
local procedure OnBeforeCheckDuplicates(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeCheckContactType
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckContactType(var Contact: Record Contact; ContactType: Enum "Contact Type"; var IsHandled: Boolean)
Parameters
OnBeforeCheckUnloggedSegments
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckUnloggedSegments(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeCreateCustomerFromTemplate
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateCustomerFromTemplate(var Contact: Record Contact; var CustNo: Code[20]; var IsHandled: Boolean; CustomerTemplate: Code[20]; HideValidationDialog: Boolean)
Parameters
OnBeforeCreateCompanyContactCustomerFromTemplate
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateCompanyContactCustomerFromTemplate(var Contact: Record Contact; CustomerTemplate: Code[20]; var CustNo: Code[20]; HideValidationDialog: Boolean; var CustomerCreated: Boolean; var IsHandled: Boolean)
Parameters
| Name |
Type |
Description |
|
Contact
|
Table Microsoft.CRM.Contact.Contact |
|
|
CustomerTemplate
|
Code[20] |
|
|
CustNo
|
Code[20] |
|
|
HideValidationDialog
|
Boolean |
|
|
CustomerCreated
|
Boolean |
|
|
IsHandled
|
Boolean |
|
OnBeforeCreateCompanyContactVendor
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateCompanyContactVendor(var Contact: Record Contact; var VendorNo: Code[20]; HideValidationDialog: Boolean; var VendorCreated: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeCreateCustomerLink
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateCustomerLink(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeCreateBankAccount
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateBankAccount(var Contact: Record Contact; var BankAccountNo: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforeCreateSalesQuoteFromContact
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateSalesQuoteFromContact(var Contact: Record Contact; var SalesHeader: Record "Sales Header")
Parameters
OnBeforeCreatePurchaseQuoteFromContact
[IntegrationEvent(False,False)]
local procedure OnBeforeCreatePurchaseQuoteFromContact(var Contact: Record Contact)
Parameters
OnBeforeCreateVendor
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateVendor(var Contact: Record Contact; var VendorNo: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforeGetSalutation
[IntegrationEvent(False,False)]
local procedure OnBeforeGetSalutation(var Contact: Record Contact; var SalutationType: Enum "Salutation Formula Salutation Type"; var LanguageCode: Code[10]; var IsHandled: Boolean; var Salutation: Text[260])
Parameters
OnBeforeLookupCity
[IntegrationEvent(False,False)]
local procedure OnBeforeLookupCity(var Contact: Record Contact; var PostCode: Record "Post Code")
Parameters
OnBeforeLookupPostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeLookupPostCode(var Contact: Record Contact; var PostCode: Record "Post Code")
Parameters
OnBeforeNameBreakdown
[IntegrationEvent(False,False)]
local procedure OnBeforeNameBreakdown(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeOnDelete
[IntegrationEvent(False,False)]
local procedure OnBeforeOnDelete(var Contact: Record Contact; xContact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeOnInsert
[IntegrationEvent(False,False)]
local procedure OnBeforeOnInsert(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeProcessPersonNameChange
[IntegrationEvent(True,False)]
local procedure OnBeforeProcessPersonNameChange(var IsHandled: Boolean; var Contact: Record Contact; var Customer: Record Customer; var Vendor: Record Vendor)
Parameters
OnBeforeTypeChange
[IntegrationEvent(True,False)]
local procedure OnBeforeTypeChange(var Contact: Record Contact; xContact: Record Contact; var InteractLogEntry: Record "Interaction Log Entry"; var Opp: Record Opportunity; var Task: Record "To-do"; var Cont: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeVATRegistrationValidation
[IntegrationEvent(False,False)]
local procedure OnBeforeVATRegistrationValidation(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeValidateCity
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateCity(var Contact: Record Contact; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeValidateNo
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateNo(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeValidateVATRegistrationNo
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateVATRegistrationNo(var Contact: Record Contact; xContact: Record Contact; FieldNumber: Integer; var IsHandled: Boolean)
Parameters
OnBeforeLaunchDuplicateForm
[IntegrationEvent(False,False)]
local procedure OnBeforeLaunchDuplicateForm(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeUpdateCompanyNo
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateCompanyNo(var Contact: Record Contact; xContact: Record Contact; var IsHandled: Boolean; var SkipModifyOpportunity: Boolean; var SkipModifyOpportunityEntry: Boolean; var SkipModifyTask: Boolean; var SkipModifyInteractionLogEntry: Boolean; var SkipModifySalesHeader: Boolean)
Parameters
OnBeforeUpdateQuotesFromTemplate
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateQuotesFromTemplate(Customer: Record Customer; CustomerTemplateCode: Code[20]; var IsHandled: Boolean; var Contact: Record Contact)
Parameters
OnBeforeUpdateFieldForNewCompany
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateFieldForNewCompany(var Contact: Record Contact; var FieldNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeUpdateSearchName
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateSearchName(var Contact: Record Contact; xContact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeValidatePostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidatePostCode(var Contact: Record Contact; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnCreateSalesQuoteFromContactOnBeforeSalesHeaderInsert
[IntegrationEvent(False,False)]
local procedure OnCreateSalesQuoteFromContactOnBeforeSalesHeaderInsert(var Contact: Record Contact; var SalesHeader: Record "Sales Header")
Parameters
OnCreateCustomerOnBeforeUpdateQuotes
[IntegrationEvent(False,False)]
local procedure OnCreateCustomerOnBeforeUpdateQuotes(var Customer: Record Customer; Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnCreateVendorOnAfterUpdateVendor
[IntegrationEvent(False,False)]
local procedure OnCreateVendorOnAfterUpdateVendor(var Vendor: Record Vendor; Contact: Record Contact; var ContBusRel: Record "Contact Business Relation")
Parameters
OnLookupNewCustomerTemplateOnBeforeSetTableView
[IntegrationEvent(False,False)]
local procedure OnLookupNewCustomerTemplateOnBeforeSetTableView(Contact: Record Contact; var CustomerTemplate: Record "Customer Templ.")
Parameters
OnGetCompNoOnAfterSetFilters
[IntegrationEvent(True,False)]
local procedure OnGetCompNoOnAfterSetFilters(var Contact: Record Contact)
Parameters
OnGetSalutationString
[IntegrationEvent(False,False)]
local procedure OnGetSalutationString(var SalutationString: Text[260]; SalutationFormula: Record "Salutation Formula"; NamePart: array[5] of Text[100])
Parameters
OnShowCustVendBankOnBeforeRunPage
[IntegrationEvent(False,False)]
local procedure OnShowCustVendBankOnBeforeRunPage(var Contact: Record Contact; FormSelected: Boolean; var ContBusRel: Record "Contact Business Relation"; var IsHandled: Boolean)
Parameters
OnAfterCreateEmployee
[IntegrationEvent(False,False)]
local procedure OnAfterCreateEmployee(var Employee: Record Employee; var ContBusRel: Record "Contact Business Relation")
Parameters
OnAfterLookupPostCode
[IntegrationEvent(False,False)]
local procedure OnAfterLookupPostCode(var Contact: Record Contact; var PostCode: Record "Post Code")
Parameters
OnTypeChangeOnAfterCheckInteractionLog
[IntegrationEvent(False,False)]
local procedure OnTypeChangeOnAfterCheckInteractionLog(var Contact: Record Contact; xContact: Record Contact)
Parameters
OnTypeChangeOnAfterContSetFilters
[IntegrationEvent(False,False)]
local procedure OnTypeChangeOnAfterContSetFilters(var Contact: Record Contact; CurrentContact: Record Contact)
Parameters
OnTypeChangeOnAfterTypePersonTestFields
[IntegrationEvent(False,False)]
local procedure OnTypeChangeOnAfterTypePersonTestFields(Contact: Record Contact)
Parameters
OnBeforeSetDefaultSalesperson
[IntegrationEvent(False,False)]
local procedure OnBeforeSetDefaultSalesperson(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeShowResultForCustomer
[IntegrationEvent(False,False)]
local procedure OnBeforeShowResultForCustomer(var Customer: Record Customer; var Contact: Record Contact; var HideValidationDialog: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeShowResultForVendor
[IntegrationEvent(False,False)]
local procedure OnBeforeShowResultForVendor(var Vendor: Record Vendor; var Contact: Record Contact; var HideValidationDialog: Boolean; var IsHandled: Boolean)
Parameters
OnCreateVendorFromTemplateOnBeforeCommit
[IntegrationEvent(False,False)]
local procedure OnCreateVendorFromTemplateOnBeforeCommit(Contact: Record Contact; Vend: Record Vendor; var IsHandled: Boolean)
Parameters
OnAfterCreateVendorLink
[IntegrationEvent(False,False)]
local procedure OnAfterCreateVendorLink(var Contact: Record Contact; xContact: Record Contact)
Parameters
OnBeforeCreateVendorLink
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateVendorLink(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnCreateCustomerFromTemplateOnBeforeInitCustomerNo
[IntegrationEvent(False,False)]
local procedure OnCreateCustomerFromTemplateOnBeforeInitCustomerNo(var Customer: Record Customer; var Contact: Record Contact; CustomerTempl: Record "Customer Templ."; var IsHandled: Boolean)
Parameters
OnCreateVendorFromTemplateOnBeforeInitVendorNo
[IntegrationEvent(False,False)]
local procedure OnCreateVendorFromTemplateOnBeforeInitVendorNo(var Vendor: Record Vendor; var Contact: Record Contact; VendorTempl: Record "Vendor Templ."; var IsHandled: Boolean)
Parameters
OnBeforeProcessCompanyNameChange
[IntegrationEvent(False,False)]
local procedure OnBeforeProcessCompanyNameChange(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnProcessPersonNameChangeOnBeforeAssignCustomerContact
[IntegrationEvent(False,False)]
local procedure OnProcessPersonNameChangeOnBeforeAssignCustomerContact(var Customer: Record Customer; var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnProcessPersonNameChangeOnBeforeAssignVendorContact
[IntegrationEvent(False,False)]
local procedure OnProcessPersonNameChangeOnBeforeAssignVendorContact(var Vendor: Record Vendor; var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeOnModify
[IntegrationEvent(False,False)]
local procedure OnBeforeOnModify(var Contact: Record Contact; ContactBeforeModify: Record Contact)
Parameters
OnBeforeValidateEmail
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateEmail(var Contact: Record Contact; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnShowResultForVendorOnBeforeShowrelatedRecordisCreatedMsg
[IntegrationEvent(False,False)]
local procedure OnShowResultForVendorOnBeforeShowrelatedRecordisCreatedMsg(var Vendor: Record Vendor; var IsHandled: Boolean)
Parameters
OnBeforeValidateRegistrationNumber
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateRegistrationNumber(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnAfterLookupCity
[IntegrationEvent(False,False)]
local procedure OnAfterLookupCity(var Contact: Record Contact; var PostCode: Record "Post Code")
Parameters
OnCreateSalesQuoteFromContactOnBeforeRunPage
[IntegrationEvent(False,False)]
local procedure OnCreateSalesQuoteFromContactOnBeforeRunPage(Contact: Record Contact; SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
Parameters
OnCreateSalesQuoteFromContactOnAfterRunPage
[IntegrationEvent(False,False)]
local procedure OnCreateSalesQuoteFromContactOnAfterRunPage(Contact: Record Contact; SalesHeader: Record "Sales Header")
Parameters
OnModifyOnBeforeInheritAddressDetails
[IntegrationEvent(False,False)]
local procedure OnModifyOnBeforeInheritAddressDetails(var RecContact: Record Contact; var xRecContact: Record Contact; MarketingSetup: Record "Marketing Setup"; Contact: Record Contact; var ContChanged: Boolean; var IsHandled: Boolean)
Parameters
OnModifyOnBeforeInheritCommunicationDetails
[IntegrationEvent(False,False)]
local procedure OnModifyOnBeforeInheritCommunicationDetails(var RecContact: Record Contact; var xRecContact: Record Contact; MarketingSetup: Record "Marketing Setup"; Contact: Record Contact; var ContChanged: Boolean; var IsHandled: Boolean)
Parameters
OnCreateEmployeeOnBeforeInitEmployeeNo
[IntegrationEvent(False,False)]
local procedure OnCreateEmployeeOnBeforeInitEmployeeNo(var Employee: Record Employee; var Contact: Record Contact; EmployeeTempl: Record "Employee Templ."; var IsHandled: Boolean)
Parameters
OnCreateCustomerFromTemplateOnBeforeContBusRelInsert
[IntegrationEvent(False,False)]
local procedure OnCreateCustomerFromTemplateOnBeforeContBusRelInsert(var Contact: Record Contact; var Customer: Record Customer; var ContactBusinessRelation: Record "Contact Business Relation")
Parameters
OnCreateVendorFromTemplateOnBeforeContBusRelInsert
[IntegrationEvent(False,False)]
local procedure OnCreateVendorFromTemplateOnBeforeContBusRelInsert(var Contact: Record Contact; var Vendor: Record Vendor; var ContactBusinessRelation: Record "Contact Business Relation")
Parameters
OnCreateBankAccountOnBeforeContBusRelInsert
[IntegrationEvent(False,False)]
local procedure OnCreateBankAccountOnBeforeContBusRelInsert(var Contact: Record Contact; var BankAccount: Record "Bank Account"; var ContactBusinessRelation: Record "Contact Business Relation")
Parameters
OnBeforeCreateBankAccountLink
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateBankAccountLink(var Contact: Record Contact; var IsHandled: Boolean)
Parameters
OnBeforeTouchContact
[IntegrationEvent(False,False)]
local procedure OnBeforeTouchContact(ContactNo: Code[20]; var IsHandled: Boolean)
Parameters
| Name |
Type |
Description |
|
ContactNo
|
Code[20] |
|
|
IsHandled
|
Boolean |
|
OnShowBusinessRelationOnAfterFilterBusinessRelations
[IntegrationEvent(False,False)]
local procedure OnShowBusinessRelationOnAfterFilterBusinessRelations(var Rec: Record Contact; var ContactBusinessRelation: Record "Contact Business Relation"; ContactBusinessRelationLinkToTable: Enum "Contact Business Relation Link To Table"; All: Boolean)
Parameters
OnCreateVendorOnVendorTemplateNotExist
[IntegrationEvent(False,False)]
local procedure OnCreateVendorOnVendorTemplateNotExist(var Contact: Record Contact; var VendorNo: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforeCreateEmployeeLink
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateEmployeeLink(var Contact: Record Contact)
Parameters
OnBeforeCreateCustomer
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateCustomer(var Contact: Record Contact; var CustomerNo: Code[20]; var IsHandled: Boolean)
Parameters
OnAfterGetSelectedRelationCodes
[IntegrationEvent(False,False)]
local procedure OnAfterGetSelectedRelationCodes(var CodeFilter: Text)
Parameters
| Name |
Type |
Description |
|
CodeFilter
|
Text |
|
See also