PublicAPI.CRM.Sale.AddComment ELMA API Documentation
Add a comment to the sale
 
 
Syntax

public void AddComment(
	Sale sale,
	string comment
)

Parameters

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

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

//add a comment
PublicAPI.CRM.Sale.AddComment(sale, comment);
See Also