Table of Contents

Table "Segment Line"

ID 5077
Namespace: Microsoft.CRM.Segment

Properties

Name Value
Caption Segment Line
DataClassification CustomerContent
Permissions tabledata Attachment = rd, tabledata "Segment Line" = rim, tabledata "Segment History" = rd, tabledata "Segment Criteria Line" = rd, tabledata "Segment Interaction Language" = rid, tabledata Contact = r, tabledata Customer = r

Fields

Name Type Description
"Segment No." Code[20]

Specifies the segment number of the contact to whom the segment line applies.

"Line No." Integer

Specifies the line number of the contact to whom the segment line applies.

"Contact No." Code[20]

Specifies the number of the contact to which this segment line applies.

"Campaign No." Code[20]

Specifies the number of the campaign for which the segment line has been created.

"Salesperson Code" Code[20]

Specifies the code of the salesperson responsible for this segment line and/or interaction.

"Correspondence Type" Enum Microsoft.CRM.Interaction."Correspondence Type"

Specifies the type of correspondence for the interaction. NOTE: If you use the Web client, you must not select the Hard Copy option because printing is not possible from the web client.

"Interaction Template Code" Code[10]

Specifies the type of the interaction.

"Cost (LCY)" Decimal
"Duration (Min.)" Decimal
"Attachment No." Integer
"Campaign Response" Boolean

Specifies that the interaction created for the segment is the response to a campaign. For example, coupons that are sent as a response to a campaign.

"Contact Name" Text[100]

Specifies the name of the contact to which the segment line applies. The program automatically fills in this field when you fill in the Contact No. field on the line.

"Information Flow" Option

Specifies the direction of the information that is part of the interaction created for this segment line. There are two options: Inbound and Outbound.

"Initiated By" Option

Specifies whether the interaction recorded for this segment line was initiated by your company or by one of your contacts. The Us option indicates that your company was the initiator; the Them option indicates that a contact was the initiator.

"Contact Alt. Address Code" Code[10]

Specifies the code of the contact's alternate address to use for this interaction.

Evaluation Enum Microsoft.CRM.Interaction."Interaction Evaluation"

Specifies the evaluation of the interaction involving the contact in the segment.

"Campaign Target" Boolean

Specifies that the segment involved in this interaction is the target of a campaign. This is used to measure the response rate of a campaign.

"Contact Company Name" Text[100]

Specifies the name of the company for which the contact works. If the contact is a company, this field contains the company's name.

"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.

Description Text[100]

Specifies the description of the segment line.

Date Date

Specifies the date of the contact to whom the segment line applies.

"Time of Interaction" Time

Specifies the time when the interaction took place

"Attempt Failed" Boolean

Specifies the attempt failed of the contact to whom the segment line applies.

"To-do No." Code[20]

Specifies the To-do number of the contact to whom the segment line applies.

"Contact Company No." Code[20]

Specifies the contact company number of the contact to whom the segment line applies.

"Campaign Entry No." Integer

Specifies the campaign entry number of the contact to whom the segment line applies.

"Interaction Group Code" Code[10]

Specifies the interaction group code of the contact to whom the segment line applies.

"Document Type" Enum Microsoft.CRM.Interaction."Interaction Log Entry Document Type"

Specifies the document type of the contact to whom the segment line applies.

"Document No." Code[20]

Specifies the document number of the contact to whom the segment line applies.

"Send Word Doc. As Attmt." Boolean

Specifies that the Microsoft Word document that is linked to that segment line should be sent as an attachment in the e-mail message.

"Contact Via" Text[80]

Specifies the telephone number you used when calling the contact, or the email address you used when sending an email to the contact.

"Version No." Integer

Specifies the version number of the contact to whom the segment line applies.

"Doc. No. Occurrence" Integer
Subject Text[100]

Specifies the subject of the segment line. The text in the field is used as the subject in e-mails and Word documents.

"Opportunity No." Code[20]

Specifies the opportunity number of the contact to whom the segment line applies.

"Contact Phone No." Text[30]

Specifies the telephone number of the contact to whom the segment line applies. The number will be filled in for you if you choose a contact in the Contact No. field on the line.

"Contact Mobile Phone No." Text[30]

Specifies the mobile telephone number of the contact to whom the segment line applies. The number will be filled in for you if you choose a contact in the Contact No. field on the line.

"Contact Email" Text[80]

Specifies the email address of the contact to whom the segment line applies. The address will be filled in for you if you choose a contact in the Contact No. field on the line.

"Word Template Code" Code[30]

Specifies the Word Template code to use for merging.

Merged Boolean
"Wizard Step" Enum Microsoft.CRM.Segment."Segment Line Wizard Step"

Specifies the wizard step of the contact to whom the segment line applies.

"Wizard Contact Name" Text[100]

Specifies the wizard contact name of the contact to whom the segment line applies.

"Opportunity Description" Text[100]

Specifies a description of the opportunity that is related to the segment. The description is copied from the opportunity card.

"Campaign Description" Text[100]

Specifies the campaign description of the contact to whom the segment line applies.

"Interaction Successful" Boolean

Specifies if the interaction was successful. Clear this check box to indicate that the interaction was not a success.

"Dial Contact" Boolean

Specifies the dial contact of the contact to whom the segment line applies.

"Mail Contact" Boolean

Specifies the mail contact of the contact to whom the segment line applies.

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

InitLine

procedure InitLine()

AttachmentText

procedure AttachmentText(): Text[30]

Returns

Type Description
Text[30]

MaintainSegLineAttachment

procedure MaintainSegLineAttachment()

CreateSegLineAttachment

procedure CreateSegLineAttachment()

OpenSegLineAttachment

procedure OpenSegLineAttachment()

ImportSegLineAttachment

procedure ImportSegLineAttachment()

ExportSegLineAttachment

procedure ExportSegLineAttachment()

RemoveAttachment

procedure RemoveAttachment()

CreatePhoneCall

procedure CreatePhoneCall()

AttachmentInherited

procedure AttachmentInherited(): Boolean

Returns

Type Description
Boolean

SetInteractionAttachment

procedure SetInteractionAttachment()

CopyFromInteractLogEntry

procedure CopyFromInteractLogEntry(var InteractionLogEntry: Record "Interaction Log Entry")

Parameters

Name Type Description
InteractionLogEntry Table Microsoft.CRM.Interaction."Interaction Log Entry"

CreateSegLineInteractionFromContact

procedure CreateSegLineInteractionFromContact(var Contact: Record Contact)

Parameters

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

CreateInteractionFromSalesperson

procedure CreateInteractionFromSalesperson(var SalespersonPurchaser: Record "Salesperson/Purchaser")

Parameters

Name Type Description
SalespersonPurchaser Table Microsoft.CRM.Team."Salesperson/Purchaser"

CreateInteractionFromInteractLogEntry

procedure CreateInteractionFromInteractLogEntry(var InteractionLogEntry: Record "Interaction Log Entry")

Parameters

Name Type Description
InteractionLogEntry Table Microsoft.CRM.Interaction."Interaction Log Entry"

CreateInteractionFromTask

procedure CreateInteractionFromTask(var Task: Record "To-do")

Parameters

Name Type Description
Task Table Microsoft.CRM.Task."To-do"

CreateInteractionFromOpp

procedure CreateInteractionFromOpp(var Opportunity: Record Opportunity)

Parameters

Name Type Description
Opportunity Table Microsoft.CRM.Opportunity.Opportunity

CreateOpportunity

procedure CreateOpportunity(): Code[20]

Returns

Type Description
Code[20]

StartWizard

procedure StartWizard()

SendCreateOpportunityNotification

procedure SendCreateOpportunityNotification()

CheckStatus

procedure CheckStatus()

FinishSegLineWizard

procedure FinishSegLineWizard(IsFinish: Boolean)

Parameters

Name Type Description
IsFinish Boolean

ValidateCorrespondenceType

procedure ValidateCorrespondenceType()

SetTempAttachment

procedure SetTempAttachment(var InStream: InStream; FileExtension: Text)

Parameters

Name Type Description
InStream InStream
FileExtension Text

LoadContentBodyTextFromCustomLayoutAttachment

procedure LoadContentBodyTextFromCustomLayoutAttachment(): Text

Returns

Type Description
Text

UpdateContentBodyTextInCustomLayoutAttachment

procedure UpdateContentBodyTextInCustomLayoutAttachment(NewContentBodyText: Text)

Parameters

Name Type Description
NewContentBodyText Text

ProcessPostponedAttachment

procedure ProcessPostponedAttachment()

LoadSegLineAttachment

procedure LoadSegLineAttachment(ForceReload: Boolean)

Parameters

Name Type Description
ForceReload Boolean

MakePhoneCallFromContact

procedure MakePhoneCallFromContact(var Cont: Record Contact; Task: Record "To-do"; TableNo: Integer; PhoneNo: Text[30]; ContAltAddrCode: Code[10])

Parameters

Name Type Description
Cont Table Microsoft.CRM.Contact.Contact
Task Table Microsoft.CRM.Task."To-do"
TableNo Integer
PhoneNo Text[30]
ContAltAddrCode Code[10]

StartWizard2

procedure StartWizard2()

CheckPhoneCallStatus

procedure CheckPhoneCallStatus()

LogSegLinePhoneCall

procedure LogSegLinePhoneCall()

ShowComment

procedure ShowComment()

SetComments

procedure SetComments(var InterLogEntryCommentLineLocal: Record "Inter. Log Entry Comment Line")

Parameters

Name Type Description
InterLogEntryCommentLineLocal Table Microsoft.CRM.Interaction."Inter. Log Entry Comment Line"

IsHTMLAttachment

procedure IsHTMLAttachment(): Boolean

Returns

Type Description
Boolean

PreviewSegLineHTMLContent

procedure PreviewSegLineHTMLContent()

LanguageCodeOnLookup

procedure LanguageCodeOnLookup()

FilterContactCompanyOpportunities

procedure FilterContactCompanyOpportunities(var Opportunity: Record Opportunity)

Parameters

Name Type Description
Opportunity Table Microsoft.CRM.Opportunity.Opportunity

ExportODataFields

procedure ExportODataFields()

ProcessInterLogEntryComments

procedure ProcessInterLogEntryComments(InterLogEntryNo: Integer)

Parameters

Name Type Description
InterLogEntryNo Integer

Events

OnAfterCheckStatus

[IntegrationEvent(False,False)]
local procedure OnAfterCheckStatus(var SegmentLine: Record "Segment Line")

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"

OnAfterCopyFromInteractionLogEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromInteractionLogEntry(var SegmentLine: Record "Segment Line"; InteractionLogEntry: Record "Interaction Log Entry")

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
InteractionLogEntry Table Microsoft.CRM.Interaction."Interaction Log Entry"

OnAfterCreateFromTask

[IntegrationEvent(False,False)]
local procedure OnAfterCreateFromTask(var SegmentLine: Record "Segment Line"; Task: Record "To-do")

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
Task Table Microsoft.CRM.Task."To-do"

OnAfterInitLine

[IntegrationEvent(False,False)]
local procedure OnAfterInitLine(var SegmentLine: Record "Segment Line"; SegmentHeader: Record "Segment Header")

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
SegmentHeader Table Microsoft.CRM.Segment."Segment Header"

OnAfterFinishWizard

[IntegrationEvent(False,False)]
local procedure OnAfterFinishWizard(var SegmentLine: Record "Segment Line"; InteractionLogEntry: Record "Interaction Log Entry"; IsFinish: Boolean; Flag: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
InteractionLogEntry Table Microsoft.CRM.Interaction."Interaction Log Entry"
IsFinish Boolean
Flag Boolean

OnBeforeGetFinishInteractionFlag

[IntegrationEvent(False,False)]
local procedure OnBeforeGetFinishInteractionFlag(var SegmentLine: Record "Segment Line"; IsFinish: Boolean; var Flag: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
IsFinish Boolean
Flag Boolean
IsHandled Boolean

OnBeforeCheckStatus

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckStatus(var SegmentLine: Record "Segment Line"; var IsHandled: Boolean; var AttachmentTmp: Record Attachment temporary)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
IsHandled Boolean
AttachmentTmp Table Microsoft.CRM.Interaction.Attachment

OnBeforeCreatePhoneCall

[IntegrationEvent(False,False)]
local procedure OnBeforeCreatePhoneCall(var SegmentLine: Record "Segment Line"; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
IsHandled Boolean

OnBeforeFinishSegLineWizard

[IntegrationEvent(False,False)]
local procedure OnBeforeFinishSegLineWizard(var SegmentLine: Record "Segment Line"; IsFinish: Boolean; var TempAttachment: Record Attachment temporary; var TempInterLogEntryCommentLine: Record "Inter. Log Entry Comment Line" temporary; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
IsFinish Boolean
TempAttachment Table Microsoft.CRM.Interaction.Attachment
TempInterLogEntryCommentLine Table Microsoft.CRM.Interaction."Inter. Log Entry Comment Line"
IsHandled Boolean

OnBeforeSendCreateOpportunityNotification

[IntegrationEvent(False,False)]
local procedure OnBeforeSendCreateOpportunityNotification(var SegmentLine: Record "Segment Line"; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
IsHandled Boolean

OnBeforeSetCorrespondenceType

[IntegrationEvent(False,False)]
local procedure OnBeforeSetCorrespondenceType(var SegmentLine: Record "Segment Line"; var xSegmentLine: Record "Segment Line"; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
xSegmentLine Table Microsoft.CRM.Segment."Segment Line"
IsHandled Boolean

OnBeforeStartWizard

[IntegrationEvent(False,False)]
local procedure OnBeforeStartWizard(var SegmentLine: Record "Segment Line"; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
IsHandled Boolean

OnBeforeRunCreateInteraction

[IntegrationEvent(False,False)]
local procedure OnBeforeRunCreateInteraction(var SegmentLine: Record "Segment Line"; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
IsHandled Boolean

OnBeforeStartWizard2

[IntegrationEvent(False,False)]
local procedure OnBeforeStartWizard2(var SegmentLine: Record "Segment Line")

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"

OnCreateInteractionFromContactOnBeforeStartWizard

[IntegrationEvent(False,False)]
local procedure OnCreateInteractionFromContactOnBeforeStartWizard(var SegmentLine: Record "Segment Line"; var Contact: Record Contact)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
Contact Table Microsoft.CRM.Contact.Contact

OnCreateInteractionFromSalespersonOnBeforeStartWizard

[IntegrationEvent(False,False)]
local procedure OnCreateInteractionFromSalespersonOnBeforeStartWizard(var SegmentLine: Record "Segment Line"; SalespersonPurchaser: Record "Salesperson/Purchaser")

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
SalespersonPurchaser Table Microsoft.CRM.Team."Salesperson/Purchaser"

OnCreateInteractionFromInteractLogEntryOnBeforeStartWizard

[IntegrationEvent(False,False)]
local procedure OnCreateInteractionFromInteractLogEntryOnBeforeStartWizard(var SegmentLine: Record "Segment Line"; var InteractionLogEntry: Record "Interaction Log Entry")

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
InteractionLogEntry Table Microsoft.CRM.Interaction."Interaction Log Entry"

OnCreateInteractionFromTaskOnBeforeStartWizard

[IntegrationEvent(False,False)]
local procedure OnCreateInteractionFromTaskOnBeforeStartWizard(var SegmentLine: Record "Segment Line"; Task: Record "To-do")

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
Task Table Microsoft.CRM.Task."To-do"

OnCreateInteractionFromOppOnBeforeStartWizard

[IntegrationEvent(False,False)]
local procedure OnCreateInteractionFromOppOnBeforeStartWizard(var SegmentLine: Record "Segment Line"; Opportunity: Record Opportunity)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
Opportunity Table Microsoft.CRM.Opportunity.Opportunity

OnCreatePhoneCallOnBeforeStartWizard2

[IntegrationEvent(False,False)]
local procedure OnCreatePhoneCallOnBeforeStartWizard2(var TempSegmentLine: Record "Segment Line" temporary; SegmentLine: Record "Segment Line")

Parameters

Name Type Description
TempSegmentLine Table Microsoft.CRM.Segment."Segment Line"
SegmentLine Table Microsoft.CRM.Segment."Segment Line"

OnDeleteOnBeforeSegmentCriteriaLineDeleteAll

[IntegrationEvent(False,False)]
local procedure OnDeleteOnBeforeSegmentCriteriaLineDeleteAll(SegmentLine: Record "Segment Line"; SegmentCriteriaLine: Record "Segment Criteria Line")

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
SegmentCriteriaLine Table Microsoft.CRM.Segment."Segment Criteria Line"

OnFinishWizardOnAfterSetSend

[IntegrationEvent(False,False)]
local procedure OnFinishWizardOnAfterSetSend(var SegmentLine: Record "Segment Line"; var Send: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
Send Boolean

OnHandleTriggerCaseElse

[IntegrationEvent(False,False)]
local procedure OnHandleTriggerCaseElse(SegmentLine: Record "Segment Line"; InteractionTemplate: Record "Interaction Template")

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
InteractionTemplate Table Microsoft.CRM.Interaction."Interaction Template"

OnValidateInteractionTemplateCode

[IntegrationEvent(False,False)]
local procedure OnValidateInteractionTemplateCode(var SegmentLine: Record "Segment Line"; var Cont: Record Contact; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
Cont Table Microsoft.CRM.Contact.Contact
IsHandled Boolean

OnInteractionTemplValidateOnBeforeGetInteractTemplLanguage

[IntegrationEvent(False,False)]
local procedure OnInteractionTemplValidateOnBeforeGetInteractTemplLanguage(var SegmentLine: Record "Segment Line"; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
IsHandled Boolean

OnBeforeShowComment

[IntegrationEvent(False,False)]
local procedure OnBeforeShowComment(var SegmentLine: Record "Segment Line"; var TempInterLogEntryCommentLine: Record "Inter. Log Entry Comment Line" temporary; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
TempInterLogEntryCommentLine Table Microsoft.CRM.Interaction."Inter. Log Entry Comment Line"
IsHandled Boolean

OnBeforeCreateSegLineInteractionFromContact

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateSegLineInteractionFromContact(var SegmentLine: Record "Segment Line"; var Cont: Record Contact; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
Cont Table Microsoft.CRM.Contact.Contact
IsHandled Boolean

OnBeforeCreateInteractionFromInteractLogEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateInteractionFromInteractLogEntry(var SegmentLine: Record "Segment Line"; var Salesperson: Record "Salesperson/Purchaser")

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
Salesperson Table Microsoft.CRM.Team."Salesperson/Purchaser"

OnFinishSegLineWizardOnBeforeAssignEmptyOpportunityStep

[IntegrationEvent(False,False)]
local procedure OnFinishSegLineWizardOnBeforeAssignEmptyOpportunityStep(var SegmentLine: Record "Segment Line"; var ShouldAssignStep: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
ShouldAssignStep Boolean

OnFinishSegLineWizardBeforeLogInteraction

[IntegrationEvent(False,False)]
local procedure OnFinishSegLineWizardBeforeLogInteraction(var SegmentLine: Record "Segment Line"; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
IsHandled Boolean

OnValidateInteractionTemplateCodeOnBeforeGetSegInteractTemplLanguage

[IntegrationEvent(False,False)]
local procedure OnValidateInteractionTemplateCodeOnBeforeGetSegInteractTemplLanguage(var SegmentLine: Record "Segment Line"; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
IsHandled Boolean

OnValidateLanguageCodeOnBeforeGetSegmentHeaderGlobal

[IntegrationEvent(False,False)]
local procedure OnValidateLanguageCodeOnBeforeGetSegmentHeaderGlobal(var SegmentLine: Record "Segment Line"; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
IsHandled Boolean

OnBeforeFindLanguage

[IntegrationEvent(False,False)]
local procedure OnBeforeFindLanguage(var SegmentLine: Record "Segment Line"; InteractTmplCode: Code[10]; ContactLanguageCode: Code[10]; var Language: Code[10]; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
InteractTmplCode Code[10]
ContactLanguageCode Code[10]
Language Code[10]
IsHandled Boolean

OnBeforeSetInteractionAttachment

[IntegrationEvent(False,False)]
local procedure OnBeforeSetInteractionAttachment(var SegmentLine: Record "Segment Line"; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
IsHandled Boolean

OnCreateInteractionMergeDataOnBeforeTempInteractionMergeDataInsert

[IntegrationEvent(False,False)]
local procedure OnCreateInteractionMergeDataOnBeforeTempInteractionMergeDataInsert(var TempInteractionMergeData: Record "Interaction Merge Data" temporary; var SegmentLine: Record "Segment Line")

Parameters

Name Type Description
TempInteractionMergeData Table Microsoft.CRM.Interaction."Interaction Merge Data"
SegmentLine Table Microsoft.CRM.Segment."Segment Line"

OnLoadTempAttachmentOnBeforeInsertTempAttachment

[IntegrationEvent(False,False)]
local procedure OnLoadTempAttachmentOnBeforeInsertTempAttachment(SegmentLine: Record "Segment Line"; var TempAttachment: Record Attachment temporary)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
TempAttachment Table Microsoft.CRM.Interaction.Attachment

OnValidateInteractionTemplateCodeOnBeforeGettingContact

[IntegrationEvent(False,False)]
local procedure OnValidateInteractionTemplateCodeOnBeforeGettingContact(SegmentLine: Record "Segment Line"; xSegmentLine: Record "Segment Line"; var Contact: Record Contact; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
xSegmentLine Table Microsoft.CRM.Segment."Segment Line"
Contact Table Microsoft.CRM.Contact.Contact
IsHandled Boolean

OnBeforeHandleTrigger

[IntegrationEvent(False,False)]
local procedure OnBeforeHandleTrigger(var SegmentLine: Record "Segment Line"; var TempAttachment: Record Attachment temporary; var Merged: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
TempAttachment Table Microsoft.CRM.Interaction.Attachment
Merged Boolean
IsHandled Boolean

OnStartWizard2OnBeforeInsert

[IntegrationEvent(False,False)]
local procedure OnStartWizard2OnBeforeInsert(var SegmentLine: Record "Segment Line"; Campaign: Record Campaign)

Parameters

Name Type Description
SegmentLine Table Microsoft.CRM.Segment."Segment Line"
Campaign Table Microsoft.CRM.Campaign.Campaign

See also