PublicAPI.CRM.Sale.SetPostponedStatus ELMA API Documentation
Set the "Postponed" status
 
 
Syntax

public void SetPostponedStatus(
	Sale sale,
	string comment
)

Parameters

sale
Type: Sale
Sale, whose status is changed to "Postponed". Object. Access path: PublicAPI.CRM.Sale
comment
Type: System String
Comment when changing the status (optional parameter)
Examples

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

//set the "Postponed" status
PublicAPI.CRM.Sale.SetPostponedStatus(sale, comment);
See Also