Codeunit "Graph Collection Mgt - Contact"

ID 5458
Namespace: Microsoft.Integration.Graph

Methods

GetEmailAddress

procedure GetEmailAddress(Index: Integer, var Name: Text, var Address: Text)

Parameters

Name Type Description
Index Integer
Name Text
Address Text

AddEmailAddress

procedure AddEmailAddress(Name: Text, Address: Text)

Parameters

Name Type Description
Name Text
Address Text

UpdateEmailAddress

procedure UpdateEmailAddress(EmailAddressesString: Text, Index: Integer, Address: Text): Text

Parameters

Name Type Description
EmailAddressesString Text
Index Integer
Address Text

Returns

Type Description
Text

GetWebsiteByIndex

procedure GetWebsiteByIndex(Index: Integer, var Type: Option, var Address: Text, var DisplayName: Text, var Name: Text)

Parameters

Name Type Description
Index Integer
Type Option
Address Text
DisplayName Text
Name Text

AddWebsite

procedure AddWebsite(Type: Option, Address: Text, DisplayName: Text, Name: Text)

Parameters

Name Type Description
Type Option
Address Text
DisplayName Text
Name Text

UpdateWebsite

procedure UpdateWebsite(Type: Option, Address: Text)

Parameters

Name Type Description
Type Option
Address Text

GetImAddress

procedure GetImAddress(Index: Integer, var ImAddress: Text)

Parameters

Name Type Description
Index Integer
ImAddress Text

AddImAddress

procedure AddImAddress(ImAddress: Text)

Parameters

Name Type Description
ImAddress Text

GetPhoneByIndex

procedure GetPhoneByIndex(Index: Integer, var Type: Option, var Number: Text)

Parameters

Name Type Description
Index Integer
Type Option
Number Text

GetPhoneByType

procedure GetPhoneByType(Type: Option, var Number: Text)

Parameters

Name Type Description
Type Option
Number Text

AddPhone

procedure AddPhone(Type: Option, Number: Text)

Parameters

Name Type Description
Type Option
Number Text

GetPostalAddressByIndex

procedure GetPostalAddressByIndex(Index: Integer, var Type: Option, var PostOfficeBox: Text, var Street: Text, var City: Text, var State: Text, var CountryOrRegion: Text, var PostalCode: Text)

Parameters

Name Type Description
Index Integer
Type Option
PostOfficeBox Text
Street Text
City Text
State Text
CountryOrRegion Text
PostalCode Text

AddPostalAddress

procedure AddPostalAddress(Type: Option, PostOfficeBox: Text, Street: Text, City: Text, State: Text, CountryOrRegion: Text, PostalCode: Text)

Parameters

Name Type Description
Type Option
PostOfficeBox Text
Street Text
City Text
State Text
CountryOrRegion Text
PostalCode Text

GetChildren

procedure GetChildren(Index: Integer, var Child: Text)

Parameters

Name Type Description
Index Integer
Child Text

AddChildren

procedure AddChildren(Child: Text)

Parameters

Name Type Description
Child Text

GetFlag

procedure GetFlag(var CompletedDateTime: Text, var CompletedTimeZone: Text, var DueDateTime: Text, var DueTimeZone: Text, var StartDateTime: Text, var StartTimeZone: Text, var FlagStatus: Option)

Parameters

Name Type Description
CompletedDateTime Text
CompletedTimeZone Text
DueDateTime Text
DueTimeZone Text
StartDateTime Text
StartTimeZone Text
FlagStatus Option

AddFlag

procedure AddFlag(CompletedDateTime: Text, CompletedTimeZone: Text, DueDateTime: Text, DueTimeZone: Text, StartDateTime: Text, StartTimeZone: Text, FlagStatus: Option)

Parameters

Name Type Description
CompletedDateTime Text
CompletedTimeZone Text
DueDateTime Text
DueTimeZone Text
StartDateTime Text
StartTimeZone Text
FlagStatus Option

GetCategory

procedure GetCategory(Index: Integer, var Category: Text)

Parameters

Name Type Description
Index Integer
Category Text

AddCategory

procedure AddCategory(Category: Text)

Parameters

Name Type Description
Category Text

HasHomeAddressOrPhone

procedure HasHomeAddressOrPhone(PostalAddressesString: Text, PhonesString: Text, WebsitesString: Text): Boolean

Parameters

Name Type Description
PostalAddressesString Text
PhonesString Text
WebsitesString Text

Returns

Type Description
Boolean

HasBusinessAddressOrPhone

procedure HasBusinessAddressOrPhone(PostalAddressesString: Text, PhonesString: Text, WebsitesString: Text): Boolean

Parameters

Name Type Description
PostalAddressesString Text
PhonesString Text
WebsitesString Text

Returns

Type Description
Boolean

HasBusinessAddress

procedure HasBusinessAddress(PostalAddressesString: Text): Boolean

Parameters

Name Type Description
PostalAddressesString Text

Returns

Type Description
Boolean

HasOtherAddressOrPhone

procedure HasOtherAddressOrPhone(PostalAddressesString: Text, PhonesString: Text, WebsitesString: Text): Boolean

Parameters

Name Type Description
PostalAddressesString Text
PhonesString Text
WebsitesString Text

Returns

Type Description
Boolean

UpdateHomeAddress

procedure UpdateHomeAddress(PostalAddressesString: Text, Address: Text[100], Address2: Text[50], City: Text[30], County: Text[30], CountryRegionCode: Code[10], PostCode: Code[20]): Text

Parameters

Name Type Description
PostalAddressesString Text
Address Text[100]
Address2 Text[50]
City Text[30]
County Text[30]
CountryRegionCode Code[10]
PostCode Code[20]

Returns

Type Description
Text

UpdateBusinessAddress

procedure UpdateBusinessAddress(PostalAddressesString: Text, Address: Text[100], Address2: Text[50], City: Text[30], County: Text[30], CountryRegionCode: Code[10], PostCode: Code[20]): Text

Parameters

Name Type Description
PostalAddressesString Text
Address Text[100]
Address2 Text[50]
City Text[30]
County Text[30]
CountryRegionCode Code[10]
PostCode Code[20]

Returns

Type Description
Text

UpdateOtherAddress

procedure UpdateOtherAddress(PostalAddressesString: Text, Address: Text[100], Address2: Text[50], City: Text[30], County: Text[30], CountryRegionCode: Code[10], PostCode: Code[20]): Text

Parameters

Name Type Description
PostalAddressesString Text
Address Text[100]
Address2 Text[50]
City Text[30]
County Text[30]
CountryRegionCode Code[10]
PostCode Code[20]

Returns

Type Description
Text

GetHomeAddress

procedure GetHomeAddress(PostalAddressesString: Text, var Address: Text[100], var Address2: Text[50], var City: Text[30], var County: Text[30], var CountryRegionCode: Code[10], var PostCode: Code[20])

Parameters

Name Type Description
PostalAddressesString Text
Address Text[100]
Address2 Text[50]
City Text[30]
County Text[30]
CountryRegionCode Code[10]
PostCode Code[20]

GetBusinessAddress

procedure GetBusinessAddress(PostalAddressesString: Text, var Address: Text[100], var Address2: Text[50], var City: Text[30], var County: Text[30], var CountryRegionCode: Code[10], var PostCode: Code[20])

Parameters

Name Type Description
PostalAddressesString Text
Address Text[100]
Address2 Text[50]
City Text[30]
County Text[30]
CountryRegionCode Code[10]
PostCode Code[20]

GetOtherAddress

procedure GetOtherAddress(PostalAddressesString: Text, var Address: Text[100], var Address2: Text[50], var City: Text[30], var County: Text[30], var CountryRegionCode: Code[10], var PostCode: Code[20])

Parameters

Name Type Description
PostalAddressesString Text
Address Text[100]
Address2 Text[50]
City Text[30]
County Text[30]
CountryRegionCode Code[10]
PostCode Code[20]

UpdateHomePhone

procedure UpdateHomePhone(PhonesString: Text, Number: Text): Text

Parameters

Name Type Description
PhonesString Text
Number Text

Returns

Type Description
Text

UpdateBusinessPhone

procedure UpdateBusinessPhone(PhonesString: Text, Number: Text): Text

Parameters

Name Type Description
PhonesString Text
Number Text

Returns

Type Description
Text

UpdateMobilePhone

procedure UpdateMobilePhone(PhonesString: Text, Number: Text): Text

Parameters

Name Type Description
PhonesString Text
Number Text

Returns

Type Description
Text

UpdateOtherPhone

procedure UpdateOtherPhone(PhonesString: Text, Number: Text): Text

Parameters

Name Type Description
PhonesString Text
Number Text

Returns

Type Description
Text

UpdateAssistantPhone

procedure UpdateAssistantPhone(PhonesString: Text, Number: Text): Text

Parameters

Name Type Description
PhonesString Text
Number Text

Returns

Type Description
Text

UpdateHomeFaxPhone

procedure UpdateHomeFaxPhone(PhonesString: Text, Number: Text): Text

Parameters

Name Type Description
PhonesString Text
Number Text

Returns

Type Description
Text

UpdateBusinessFaxPhone

procedure UpdateBusinessFaxPhone(PhonesString: Text, Number: Text): Text

Parameters

Name Type Description
PhonesString Text
Number Text

Returns

Type Description
Text

UpdateOtherFaxPhone

procedure UpdateOtherFaxPhone(PhonesString: Text, Number: Text): Text

Parameters

Name Type Description
PhonesString Text
Number Text

Returns

Type Description
Text

UpdatePagerPhone

procedure UpdatePagerPhone(PhonesString: Text, Number: Text): Text

Parameters

Name Type Description
PhonesString Text
Number Text

Returns

Type Description
Text

UpdateRadioPhone

procedure UpdateRadioPhone(PhonesString: Text, Number: Text): Text

Parameters

Name Type Description
PhonesString Text
Number Text

Returns

Type Description
Text

GetHomePhone

procedure GetHomePhone(PhonesString: Text, var Number: Text)

Parameters

Name Type Description
PhonesString Text
Number Text

GetBusinessPhone

procedure GetBusinessPhone(PhonesString: Text, var Number: Text)

Parameters

Name Type Description
PhonesString Text
Number Text

GetMobilePhone

procedure GetMobilePhone(PhonesString: Text, var Number: Text)

Parameters

Name Type Description
PhonesString Text
Number Text

GetOtherPhone

procedure GetOtherPhone(PhonesString: Text, var Number: Text)

Parameters

Name Type Description
PhonesString Text
Number Text

GetAssistantPhone

procedure GetAssistantPhone(PhonesString: Text, var Number: Text)

Parameters

Name Type Description
PhonesString Text
Number Text

GetHomeFaxPhone

procedure GetHomeFaxPhone(PhonesString: Text, var Number: Text)

Parameters

Name Type Description
PhonesString Text
Number Text

GetBusinessFaxPhone

procedure GetBusinessFaxPhone(PhonesString: Text, var Number: Text)

Parameters

Name Type Description
PhonesString Text
Number Text

GetOtherFaxPhone

procedure GetOtherFaxPhone(PhonesString: Text, var Number: Text)

Parameters

Name Type Description
PhonesString Text
Number Text

GetPagerPhone

procedure GetPagerPhone(PhonesString: Text, var Number: Text)

Parameters

Name Type Description
PhonesString Text
Number Text

GetRadioPhone

procedure GetRadioPhone(PhonesString: Text, var Number: Text)

Parameters

Name Type Description
PhonesString Text
Number Text

GetWorkWebsite

procedure GetWorkWebsite(WebsitesString: Text, var Address: Text[80])

Parameters

Name Type Description
WebsitesString Text
Address Text[80]

GetHomeWebsite

procedure GetHomeWebsite(WebsitesString: Text, var Address: Text[80])

Parameters

Name Type Description
WebsitesString Text
Address Text[80]

UpdateWorkWebsite

procedure UpdateWorkWebsite(WebsitesString: Text, Address: Text[80]): Text

Parameters

Name Type Description
WebsitesString Text
Address Text[80]

Returns

Type Description
Text

UpdateHomeWebsite

procedure UpdateHomeWebsite(WebsitesString: Text, Address: Text[80]): Text

Parameters

Name Type Description
WebsitesString Text
Address Text[80]

Returns

Type Description
Text

HasBusinessType

procedure HasBusinessType(BusinessTypeString: Text): Boolean

Parameters

Name Type Description
BusinessTypeString Text

Returns

Type Description
Boolean

TryGetBusinessTypeValue

[TryFunction]
procedure TryGetBusinessTypeValue(BusinessTypeString: Text, var Value: Text): Boolean

Parameters

Name Type Description
BusinessTypeString Text
Value Text

Returns

Type Description
Boolean

GetBusinessType

procedure GetBusinessType(BusinessTypeString: Text, var Type: Option)

Parameters

Name Type Description
BusinessTypeString Text
Type Option

AddBusinessType

procedure AddBusinessType(Type: Option): Text

Parameters

Name Type Description
Type Option

Returns

Type Description
Text

HasIsCustomer

procedure HasIsCustomer(IsCustomerString: Text): Boolean

Parameters

Name Type Description
IsCustomerString Text

Returns

Type Description
Boolean

GetIsCustomer

procedure GetIsCustomer(IsCustomerString: Text): Boolean

Parameters

Name Type Description
IsCustomerString Text

Returns

Type Description
Boolean

TryGetIsCustomerValue

[TryFunction]
procedure TryGetIsCustomerValue(IsCustomerString: Text, var Value: Text): Boolean

Parameters

Name Type Description
IsCustomerString Text
Value Text

Returns

Type Description
Boolean

AddIsCustomer

procedure AddIsCustomer(IsCustomer: Boolean): Text

Parameters

Name Type Description
IsCustomer Boolean

Returns

Type Description
Text

HasIsVendor

procedure HasIsVendor(IsVendorString: Text): Boolean

Parameters

Name Type Description
IsVendorString Text

Returns

Type Description
Boolean

GetIsVendor

procedure GetIsVendor(IsVendorString: Text): Boolean

Parameters

Name Type Description
IsVendorString Text

Returns

Type Description
Boolean

TryGetIsVendorValue

[TryFunction]
procedure TryGetIsVendorValue(IsVendorString: Text, var Value: Text): Boolean

Parameters

Name Type Description
IsVendorString Text
Value Text

Returns

Type Description
Boolean

AddIsVendor

procedure AddIsVendor(IsVendor: Boolean): Text

Parameters

Name Type Description
IsVendor Boolean

Returns

Type Description
Text

HasIsBank

procedure HasIsBank(IsBankString: Text): Boolean

Parameters

Name Type Description
IsBankString Text

Returns

Type Description
Boolean

GetIsBank

procedure GetIsBank(IsBankString: Text): Boolean

Parameters

Name Type Description
IsBankString Text

Returns

Type Description
Boolean

TryGetIsBankValue

[TryFunction]
procedure TryGetIsBankValue(IsBankString: Text, var Value: Text): Boolean

Parameters

Name Type Description
IsBankString Text
Value Text

Returns

Type Description
Boolean

AddIsBank

procedure AddIsBank(IsBank: Boolean): Text

Parameters

Name Type Description
IsBank Boolean

Returns

Type Description
Text

GetIsNavCreated

procedure GetIsNavCreated(IsNavCreatedString: Text): Boolean

Parameters

Name Type Description
IsNavCreatedString Text

Returns

Type Description
Boolean

AddIsNavCreated

procedure AddIsNavCreated(IsNavCreated: Boolean): Text

Parameters

Name Type Description
IsNavCreated Boolean

Returns

Type Description
Text

GetNavIntegrationId

procedure GetNavIntegrationId(NavIntegrationIdString: Text): Guid

Parameters

Name Type Description
NavIntegrationIdString Text

Returns

Type Description
Guid

AddNavIntegrationId

procedure AddNavIntegrationId(IntegrationId: Guid): Text

Parameters

Name Type Description
IntegrationId Guid

Returns

Type Description
Text

HasIsContact

procedure HasIsContact(IsContactString: Text): Boolean

Parameters

Name Type Description
IsContactString Text

Returns

Type Description
Boolean

GetIsContact

procedure GetIsContact(IsContactString: Text): Boolean

Parameters

Name Type Description
IsContactString Text

Returns

Type Description
Boolean

TryGetIsContactValue

[TryFunction]
procedure TryGetIsContactValue(IsContactString: Text, var Value: Text): Boolean

Parameters

Name Type Description
IsContactString Text
Value Text

Returns

Type Description
Boolean

AddIsContact

procedure AddIsContact(IsContact: Boolean): Text

Parameters

Name Type Description
IsContact Boolean

Returns

Type Description
Text

HasIsLead

procedure HasIsLead(IsLeadString: Text): Boolean

Parameters

Name Type Description
IsLeadString Text

Returns

Type Description
Boolean

GetIsLead

procedure GetIsLead(IsLeadString: Text): Boolean

Parameters

Name Type Description
IsLeadString Text

Returns

Type Description
Boolean

TryGetIsLeadValue

[TryFunction]
procedure TryGetIsLeadValue(IsLeadString: Text, var Value: Text): Boolean

Parameters

Name Type Description
IsLeadString Text
Value Text

Returns

Type Description
Boolean

HasIsPartner

procedure HasIsPartner(IsPartnerString: Text): Boolean

Parameters

Name Type Description
IsPartnerString Text

Returns

Type Description
Boolean

GetIsPartner

procedure GetIsPartner(IsPartnerString: Text): Boolean

Parameters

Name Type Description
IsPartnerString Text

Returns

Type Description
Boolean

TryGetIsPartnerValue

[TryFunction]
procedure TryGetIsPartnerValue(IsPartnerString: Text, var Value: Text): Boolean

Parameters

Name Type Description
IsPartnerString Text
Value Text

Returns

Type Description
Boolean

ConcatenateStreet

procedure ConcatenateStreet(Address: Text, Address2: Text): Text

Parameters

Name Type Description
Address Text
Address2 Text

Returns

Type Description
Text

SplitStreet

procedure SplitStreet(Street: Text, var Address: Text[100], var Address2: Text[50])

Parameters

Name Type Description
Street Text
Address Text[100]
Address2 Text[50]

FindCountryRegionCode

procedure FindCountryRegionCode(CountryOrRegion: Text): Code[10]

Parameters

Name Type Description
CountryOrRegion Text

Returns

Type Description
Code[10]

GetContactComments

procedure GetContactComments(Contact: Record Contact): Text

Parameters

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

Returns

Type Description
Text

SetContactComments

procedure SetContactComments(Contact: Record Contact, PersonalNotes: Text)

Parameters

Name Type Description
Contact Table Microsoft.CRM.Contact.Contact
PersonalNotes Text

InitializeCollection

procedure InitializeCollection(JSONString: Text)

Parameters

Name Type Description
JSONString Text

InitializeObject

procedure InitializeObject(JSONString: Text)

Parameters

Name Type Description
JSONString Text

IsBlankOrEmptyJsonObject

procedure IsBlankOrEmptyJsonObject(JSONString: Text): Boolean

Parameters

Name Type Description
JSONString Text

Returns

Type Description
Boolean

WriteCollectionToString

procedure WriteCollectionToString(): Text

Returns

Type Description
Text

WriteObjectToString

procedure WriteObjectToString(): Text

Returns

Type Description
Text

See also