PublicAPI.CRM.Relationship.CreateMeeting ELMA API Documentation
Create Meeting for a contractor. Creates an object without saving to the database
 
 
Syntax

public RelationshipMeeting CreateMeeting(
	Contractor contractor
)

Parameters

contractor
Type: Contractor
Contractor, the meeting is created for. Object. Access path: PublicAPI.CRM.Contractor

Return Value

Type: RelationshipMeeting
Meeting
Examples

//load a contractor by ID 
var contarctor= PublicAPI.CRM.Contractor.Load(3);

//create a meeting 
var myMeeting = PublicAPI.CRM.Relationship.CreateMeeting(contractor);

//myMeeting - created meeting for a contractor 

//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