Table 5050 Contact in 20

App
Base Application

Fields, 85Keys, 14Procedures, 66Events, 107

Versions171819202122232425262728latest

Source29

Fields, 85

IdNameTypeObsolete
1No.Code[20]-
2NameText[100]-
3Search NameCode[100]-
4Name 2Text[50]-
5AddressText[100]-
6Address 2Text[50]-
7CityText[30]-
9Phone No.Text[30]-
10Telex No.Text[20]-
15Territory CodeCode[10]-
22Currency CodeCode[10]-
24Language CodeCode[10]-
29Salesperson CodeCode[20]-
35Country/Region CodeCode[10]-
38CommentBoolean-
54Last Date ModifiedDate-
84Fax No.Text[30]-
85Telex Answer BackText[20]-
86VAT Registration No.Text[20]-
89PictureBlobRemoved 18.0
Replaced by Image field
91Post CodeCode[20]-
92CountyText[30]-
102E-MailText[80]-
103Home PageText[80]-
107No. SeriesCode[20]-
140ImageMedia-
150Privacy BlockedBoolean-
151MinorBoolean-
152Parental Consent ReceivedBoolean-
720Coupled to CRMBoolean-
5050TypeEnum Contact Type-
5051Company No.Code[20]-
5052Company NameText[100]-
5053Lookup Contact No.Code[20]-
5054First NameText[30]-
5055Middle NameText[30]-
5056SurnameText[30]-
5058Job TitleText[30]-
5059InitialsText[30]-
5060Extension No.Text[30]-
5061Mobile Phone No.Text[30]-
5062PagerText[30]-
5063Organizational Level CodeCode[10]-
5064Exclude from SegmentBoolean-
5065Date FilterDate-
5066Next Task DateDate-
5067Last Date AttemptedDate-
5068Date of Last InteractionDate-
5069No. of Job ResponsibilitiesInteger-
5070No. of Industry GroupsInteger-
5071No. of Business RelationsInteger-
5072No. of Mailing GroupsInteger-
5073External IDCode[20]-
5074No. of InteractionsInteger-
5075Business RelationText[50]Pending 18.1
Replaced by the Contact Business Relation field.
5076Cost (LCY)Decimal-
5077Duration (Min.)Decimal-
5078No. of OpportunitiesInteger-
5079Estimated Value (LCY)Decimal-
5080Calcd. Current Value (LCY)Decimal-
5082Opportunity Entry ExistsBoolean-
5083Task Entry ExistsBoolean-
5084Salesperson FilterCode[20]-
5085Campaign FilterCode[20]-
5086Contact Business RelationEnum Contact Business Relation-
5087Action Taken FilterOption-
5088Sales Cycle FilterCode[10]-
5089Sales Cycle Stage FilterInteger-
5090Probability % FilterDecimal-
5091Completed % FilterDecimal-
5092Estimated Value FilterDecimal-
5093Calcd. Current Value FilterDecimal-
5094Chances of Success % FilterDecimal-
5095Task Status FilterEnum Task Status-
5096Task Closed FilterBoolean-
5097Priority FilterOption-
5098Team FilterCode[10]-
5099Close Opportunity FilterCode[10]-
5100Correspondence TypeEnum Correspondence Type-
5101Salutation CodeCode[10]-
5102Search E-MailCode[80]-
5104Last Time ModifiedTime-
5105E-Mail 2Text[80]-
5106Job Responsibility FilterCode[10]-
8050Xrm IdGuid-

Keys, 14

NameFieldsObsolete
Key1, clusteredNo.-
Key2Search Name-
Key3Company Name, Company No., Type, Name-
Key4Company No.-
Key5Territory Code-
Key6Salesperson Code-
Key7VAT Registration No.-
Key8Search E-Mail-
Key9Name-
Key10City-
Key11Post Code-
Key12Phone No.-
Key13SystemModifiedAt-
Key14Coupled to CRM-

Procedures, 66

NameParametersReturnsAccessObsolete
DoModify(Record Contact)public-
TypeChange()public-
AssistEdit(Record Contact)Booleanpublic-
CreateCustomer()Code[20]public-
CreateCustomer(Code[10])Code[20]publicPending 18.0
Will be removed with other functionality related to "old" templates. Replaced by CreateCustomerFromTemplate()
CreateVendor()Code[20]public-
CreateBankAccount()Code[20]public-
CreateCustomerLink()public-
CreateVendorLink()public-
CreateBankAccountLink()public-
CreateInteraction()public-
GetDefaultPhoneNo()Text[30]public-
ShowCustVendBank()publicPending 18.0
Replaced by the procedure ShowBusinessRelation()
SetSkipDefault()public-
IdenticalAddress(Record Contact)Booleanpublic-
ActiveAltAddress(Date)Code[10]public-
CalculatedName()Text[100]public-
CheckContactType(Enum Contact Type)public-
FindCustomerTemplate()Code[10]publicPending 18.0
Will be removed with other functionality related to "old" templates. Replaced by FindNewCustomerTemplate()
ChooseCustomerTemplate()Code[10]publicPending 18.0
Will be removed with other functionality related to "old" templates. Replaced by ChooseNewCustomerTemplate()
GetSalutation(Enum Salutation Formula Salutation Type, Code[10])Text[260]public-
InheritCompanyToPersonData(Record Contact)public-
StaleAddress()Booleanprotected-
SetHideValidationDialog(Boolean)public-
GetHideValidationDialog()Booleanpublic-
DisplayMap()public-
GetCompNo(Text)Textpublic-
LookupCompany()public-
LookupCustomerTemplate()Code[20]publicPending 18.0
Will be removed with other functionality related to "old" templates. Replaced by LookupNewCustomerTemplate()
CheckForExistingRelationships(Enum Contact Business Relation Link To Table)public-
SetLastDateTimeModified()public-
GetLastDateTimeModified()DateTimepublic-
SetLastDateTimeFilter(DateTime)public-
TouchContact(Code[20])public-
CountNoOfBusinessRelations()IntegerpublicPending 18.0
Replaced by CountNoOfBusinessRelations with LinkToTable parameter
CreateSalesQuoteFromContact()public-
ContactToCustBusinessRelationExist()Booleanpublic-
CheckIfMinorForProfiles()public-
CheckIfPrivacyBlocked(Boolean)public-
CheckIfPrivacyBlockedGeneric()public-
GetContNo(Text)Code[20]public-
GetContactsSelectionFromContactList(Boolean)Booleanpublic-
CreateEmployee()Code[20]public-
CreateEmployeeLink()public-
CreateCustomerFromTemplate(Code[20])Code[20]public-
ShowBusinessRelation(Enum Contact Business Relation Link To Table, Boolean)public-
ShowBusinessRelations()public-
UpdateBusinessRelation()Booleanpublic-
HasBusinessRelation(Enum Contact Business Relation Link To Table, Code[10])Booleanpublic-
HasBusinessRelations(var Boolean, var Boolean, var Boolean, var Boolean)public-
FindNewCustomerTemplate()Code[20]public-
ChooseNewCustomerTemplate()Code[20]public-
UpdateQuotes(Record Customer, Code[10])publicPending 18.0
Will be removed with other functionality related to "old" templates. Replaced by UpdateQuotesFromTemplate()
UpdateQuotesFromTemplate(Record Customer, Code[20])public-
ToPriceSource(var Record Price Source)public-
LookupNewCustomerTemplate()Code[20]public-
CountNoOfBusinessRelations(Enum Contact Business Relation Link To Table)Integerpublic-
GetOrClear(Code[20])public-
UpdateCustomerFromConversionTemplate(var Record Customer, Record Customer Template)publicPending 18.0
This function will be removed once the Feature Key is removed. Will be replaced by ApplyCustomerTemplate() from CustomerTemplMgt codeunit.
RunOnShowCustVendBankCaseElse(var Record Contact Business Relation)publicPending 18.0
Replaced by "Contact Business Relation".OnShowRelatedCardPageCaseElse
CreateVendorFromTemplate(Code[20])Code[20]public-
UpdateSearchName()protected-
SetDefaultSalesperson()protected-
VATRegistrationValidation()public-
MarkContactsWithSimilarName(var Record Contact, Text)protected-
SetSearchEmail()protected-

Events, 107

KindNameParametersObsolete
Integration eventOnAfterGetSalutation(var Enum Salutation Formula Salutation Type, var Code[10], var Text[100], var Record Contact, var Record Salutation Formula)-
Integration eventOnAfterInheritCompanyToPersonData(var Record Contact, Record Contact, Record Contact)-
Integration eventOnAfterUpdateQuotesForContact(Record Contact, Record Customer)-
Integration eventOnAfterVendorInsert(var Record Vendor, var Record Contact)-
Integration eventOnBeforeChooseCustomerTemplate(var Record Contact, var Code[10], var Boolean)Pending 18.0
Will be removed with other functionality related to "old" templates. Replaced by ()
Integration eventOnBeforeCreateLink(var Record Contact, var Record Contact Business Relation, var Integer, var Code[10], var Enum Contact Business Relation Link To Table)-
Integration eventOnBeforeCustomerInsert(var Record Customer, Code[10], var Record Contact)Pending 18.0
Will be removed with other functionality related to "old" templates. Replaced by OnCreateCustomerFromTemplateOnBeforeCustomerInsert()
Integration eventOnBeforeFindCustomerTemplate(var Record Contact, var Code[10], var Boolean)Pending 18.0
Will be removed with other functionality related to "old" templates. Replaced by OnBeforeFindNewCustomerTemplate()
Integration eventOnBeforeInheritCompanyToPersonData(var Record Contact, Record Contact, var Record Contact, var Boolean)-
Integration eventOnCreateCustomerOnBeforeCustomerModify(var Record Customer, Record Contact)-
Integration eventOnCreateCustomerOnTransferFieldsFromTemplate(var Record Customer, Record Customer Template)Pending 18.0
Will be removed with other functionality related to "old" templates. Replaced by OnCreateCustomerFromTemplateOnAfterApplyCustomerTemplate()
Integration eventOnAfterCalculatedName(var Record Contact, var Text[92])-
Integration eventOnAfterCreateCustomer(var Record Contact, var Record Customer)-
Integration eventOnAfterCreateCustomerLink(var Record Contact)-
Integration eventOnAfterCreateVendor(var Record Contact, var Record Vendor)-
Integration eventOnAfterIdenticalAddress(Record Contact, Record Contact, var Boolean)-
Integration eventOnAfterModifySellToCustomerNo(var Record Sales Header, var Record Sales Line)-
Integration eventOnAfterModifyBillToCustomerNo(var Record Sales Header, var Record Sales Line)-
Integration eventOnAfterOnModify(var Record Contact, Record Contact)-
Integration eventOnAfterProcessNameChange(var Record Contact, Record Customer, Record Vendor)-
Integration eventOnAfterSetDefaults(var Record Contact, Record Marketing Setup)-
Integration eventOnAfterSetLastDateTimeModified(var Record Contact)-
Integration eventOnAfterSetDefaultSalesperson(var Record Contact)-
Integration eventOnAfterShowCustVendBank(var Record Contact, var Record Contact Business Relation, Boolean)-
Integration eventOnAfterValidateCity(var Record Contact, Record Contact)-
Integration eventOnAfterValidatePostCode(var Record Contact, Record Contact)-
Integration eventOnBeforeApplyCompanyChangeToPerson(var Record Contact, Record Contact, Record Contact, var Boolean, Record Contact)-
Integration eventOnBeforeAssistEdit(var Record Contact, Record Contact, var Boolean, var Boolean)-
Integration eventOnBeforeDuplicateCheck(Record Contact, Record Contact, var Boolean)-
Integration eventOnBeforeCalculatedName(var Record Contact, var Text[100], var Boolean)-
Integration eventOnBeforeCheckForExistingRelationships(var Record Contact, Integer, var Boolean)-
Integration eventOnBeforeCheckForCompanyContactExistingRelationships(var Record Contact, var Record Contact Business Relation, var Boolean)-
Integration eventOnBeforeCheckCompanyNo(var Record Contact, var Boolean)-
Integration eventOnBeforeCheckDuplicates(var Record Contact, var Boolean)-
Integration eventOnBeforeCheckContactType(var Record Contact, Enum Contact Type, var Boolean)-
Integration eventOnBeforeCheckUnloggedSegments(var Record Contact, var Boolean)-
Integration eventOnBeforeCreateCustomer(var Record Contact, var Code[20], var Boolean, Code[10], Boolean)Pending 18.0
Will be removed with other functionality related to "old" templates. Replaced by OnBeforeCreateCustomerFromTemplate()
Integration eventOnBeforeCreateCompanyContactCustomer(var Record Contact, Code[10], var Code[20], Boolean, var Boolean, var Boolean)Pending 18.0
Will be removed with other functionality related to "old" templates. Replaced by OnBeforeCreateCompanyContactCustomerFromTemplate()
Integration eventOnBeforeCreateCompanyContactVendor(var Record Contact, var Code[20], Boolean, var Boolean, var Boolean)-
Integration eventOnBeforeCreateSalesQuoteFromContact(var Record Contact, var Record Sales Header)-
Integration eventOnBeforeCreateVendor(var Record Contact, var Code[20], var Boolean)-
Integration eventOnBeforeGetSalutation(var Record Contact, var Enum Salutation Formula Salutation Type, var Code[10], var Boolean, var Text[260])-
Integration eventOnBeforeLookupCity(var Record Contact, var Record Post Code)-
Integration eventOnBeforeLookupPostCode(var Record Contact, var Record Post Code)-
Integration eventOnBeforeNameBreakdown(var Record Contact, var Boolean)-
Integration eventOnBeforeVATRegistrationValidation(var Record Contact, var Boolean)-
Integration eventOnBeforeValidateCity(var Record Contact, var Record Post Code)-
Integration eventOnBeforeValidateNo(var Record Contact, var Boolean)-
Integration eventOnBeforeLaunchDuplicateForm(var Record Contact, var Boolean)-
Integration eventOnBeforeUpdateCompanyNo(var Record Contact, Record Contact)-
Integration eventOnBeforeUpdateFieldForNewCompany(var Record Contact, var Integer, var Boolean)-
Integration eventOnBeforeUpdateSearchName(var Record Contact, Record Contact, var Boolean)-
Integration eventOnBeforeValidatePostCode(var Record Contact, var Record Post Code)-
Integration eventOnCreateSalesQuoteFromContactOnBeforeSalesHeaderInsert(var Record Contact, var Record Sales Header)-
Integration eventOnCreateCustomerOnBeforeUpdateQuotes(var Record Customer, Record Contact)-
Integration eventOnCreateVendorOnAfterUpdateVendor(var Record Vendor, Record Contact, var Record Contact Business Relation)-
Integration eventOnLookupCustomerTemplateOnBeforeSetTableView(Record Contact, var Record Customer Template)Pending 18.0
Will be removed with other functionality related to "old" templates. Replaced by OnLookupNewCustomerTemplateOnBeforeSetTableView()
Integration eventOnGetCompNoOnAfterSetFilters(var Record Contact)-
Integration eventOnGetSalutationString(var Text[260], Record Salutation Formula, Text[100])-
Integration eventOnShowCustVendBankCaseElse(var Record Contact Business Relation)Pending 18.0
Replaced by "Contact Business Relation".OnShowRelatedCardPageCaseElse
Integration eventOnShowCustVendBankOnBeforeRunPage(var Record Contact, Boolean, var Record Contact Business Relation, var Boolean)-
Integration eventOnAfterCreateEmployee(var Record Employee, var Record Contact Business Relation)-
Integration eventOnTypeChangeOnAfterCheckInteractionLog(var Record Contact, Record Contact)-
Integration eventOnTypeChangeOnAfterContSetFilters(var Record Contact, Record Contact)-
Integration eventOnTypeChangeOnAfterTypePersonTestFields(Record Contact)-
Integration eventOnBeforeChooseNewCustomerTemplate(var Record Contact, var Code[20], var Boolean)-
Integration eventOnCreateCustomerFromTemplateOnBeforeCustomerInsert(var Record Customer, Code[20], var Record Contact)-
Integration eventOnBeforeFindNewCustomerTemplate(var Record Contact, var Code[20], var Boolean)-
Integration eventOnBeforeIsUpdateNeeded(var Record Contact, Record Contact, var Boolean)-
Integration eventOnAfterCreateBankAccount(var Record Contact, var Record Bank Account)-
Integration eventOnAfterOnInsert(var Record Contact, Record Contact)-
Integration eventOnBeforeBankAccountInsert(var Record Bank Account, var Record Contact)-
Integration eventOnBeforeCreateCustomerFromTemplate(var Record Contact, var Code[20], var Boolean, Code[20], Boolean)-
Integration eventOnBeforeCreateCompanyContactCustomerFromTemplate(var Record Contact, Code[20], var Code[20], Boolean, var Boolean, var Boolean)-
Integration eventOnBeforeCreateBankAccount(var Record Contact, var Code[20], var Boolean)-
Integration eventOnBeforeOnInsert(var Record Contact, var Boolean)-
Integration eventOnBeforeValidateVATRegistrationNo(var Record Contact, Record Contact, Integer, var Boolean)-
Integration eventOnLookupNewCustomerTemplateOnBeforeSetTableView(Record Contact, var Record Customer Templ.)-
Integration eventOnBeforeSetDefaultSalesperson(var Record Contact, var Boolean)-
Integration eventOnCreateVendorFromTemplateOnBeforeCommit(Record Contact, Record Vendor, var Boolean)-
Integration eventOnCreateCustomerFromTemplateOnAfterApplyCustomerTemplate(var Record Customer, Record Customer Templ., var Record Contact)-
Integration eventOnAfterSetTypeForContact(var Record Contact, Record Contact)-
Integration eventOnAssistEditOnAfterNoSeriesMgtSetSeries(var Record Contact, Record Contact)-
Integration eventOnBeforeCreateCustomerLink(var Record Contact, var Boolean)-
Integration eventOnBeforeProcessPersonNameChange(var Boolean, var Record Contact, var Record Customer, var Record Vendor)-
Integration eventOnBeforeUpdateQuotesFromTemplate(Record Customer, Code[20], var Boolean, var Record Contact)-
Integration eventOnBeforeVendorInsert(var Record Vendor, var Record Contact, Code[20])-
Integration eventOnBeforeCheckIfTypeChangePossibleForPerson(var Record Contact, Record Contact, var Boolean)-
Integration eventOnChooseNewCustomerTemplateOnBeforeSelectWithConfirm(var Record Contact, var Record Customer Templ., var Boolean)-
Integration eventOnCreateCustomerLinkOnAfterCreateLink(var Record Contact, Record Contact, var Record Contact Business Relation)-
Integration eventOnAfterCreateInteraction(var Record Contact)-
Integration eventOnAfterCreateLink(var Record Contact, Record Contact, Integer)-
Integration eventOnAfterSyncAddress(var Record Contact, Record Contact, var Boolean, var Record Contact)-
Integration eventOnAfterTypeChange(var Record Contact)-
Integration eventOnBeforeActiveAltAddress(var Record Contact, var Code[10], var Boolean)-
Integration eventOnBeforeOnDelete(var Record Contact, Record Contact, var Boolean)-
Integration eventOnBeforeTypeChange(var Record Contact, Record Contact, var Record Interaction Log Entry, var Record Opportunity, var Record To-do, var Record Contact, var Boolean)-
Integration eventOnBeforeShowResultForCustomer(var Record Customer, var Record Contact, var Boolean, var Boolean)-
Integration eventOnBeforeShowResultForVendor(var Record Vendor, var Record Contact, var Boolean, var Boolean)-
Integration eventOnAfterCreateVendorLink(var Record Contact, Record Contact)-
Integration eventOnBeforeCreateVendorLink(var Record Contact, var Boolean)-
Integration eventOnCreateCustomerFromTemplateOnBeforeInitCustomerNo(var Record Customer, var Record Contact, Record Customer Templ., var Boolean)-
Integration eventOnCreateVendorFromTemplateOnBeforeInitVendorNo(var Record Vendor, var Record Contact, Record Vendor Templ., var Boolean)-
Integration eventOnBeforeProcessCompanyNameChange(var Record Contact, var Boolean)-
Integration eventOnProcessPersonNameChangeOnBeforeAssignCustomerContact(var Record Customer, var Record Contact, var Boolean)-
Integration eventOnProcessPersonNameChangeOnBeforeAssignVendorContact(var Record Vendor, var Record Contact, var Boolean)-
Integration eventOnBeforeOnModify(var Record Contact, Record Contact)-