PublicAPI.CRM.Inpayment.AddComment ELMA API Documentation
Add a comment to the inpayment
 
 
Syntax

public void AddComment(
	Inpayment inpayment,
	string comment
)

Parameters

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

//load an inpayment by ID 
var inpayment = PublicAPI.CRM.Inpayment.Load(3);
//added comment 
var comment = "Comment";

//add a comment
PublicAPI.CRM.Inpayment.AddComment(inpayment, comment);
See Also