public RelationshipMeeting CreateMeeting( Sale sale )
Create Meeting for a sale.
Creates an object without saving to the database
Syntax
public RelationshipMeeting CreateMeeting( Sale sale )
Parameters
- sale
- Type: Sale
Sale. Object. Access path: PublicAPI.CRM.Sale
Return Value
Type: RelationshipMeetingMeeting
Examples
//load a sale by ID var sale = PublicAPI.CRM.Sale.Load(3); //create a meeting var myMeeting = PublicAPI.CRM.Relationship.CreateMeeting(sale); //myMeeting - created meeting for a lead //WARNING!! A meeting is created without a name. For correct work with the meeting, you should //specify its name and save the object to the database myMeeting.Theme = "Meeting Name"; myMeeting.Save();
See Also