PublicAPI.CRM.Inpayment.SetInPlanStatus ELMA API Documentation
Set the "In Plan" status
 
 
Syntax

public void SetInPlanStatus(
	Inpayment inpayment,
	string comment
)

Parameters

inpayment
Type: Inpayment
Inpayment, for which the "In Plan" status is set. Object. Access path: PublicAPI.CRM.Inpayment
comment
Type: System String
Status Change Comment (optional parameter)
Examples

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

//set the "In Plan" status
PublicAPI.CRM.Inpayment.SetInPlanStatus(inpayment, comment);
See Also