PublicAPI.CRM.Contractor.AddComment ELMA API Documentation
Add Comment to a contractor
 
 
Syntax

public void AddComment(
	Contractor contractor,
	string comment
)

Parameters

contractor
Type: Contractor
Contractor, the comment is added to. Object. Access path: PublicAPI.CRM.Contractor
comment
Type: System String
Comment
Examples

//load a contractor by ID 
var contractor = PublicAPI.CRM.Contractor.Load(3);
//added comment 
var comment = "Comment";

//add a comment
PublicAPI.CRM.Contractor.AddComment(contractor, comment);
See Also