PublicAPI.CRM.Sale.GetAllInpayments ELMA API Documentation
Get all the sale inpayments
 
 
Syntax

public IEnumerable<Inpayment> GetAllInpayments(
	Sale sale
)

Parameters

sale
Type: Sale
Sale, whose inpayments need to be obtained. Object. Access path: PublicAPI.CRM.Sale

Return Value

Type: IEnumerable Inpayment 
List of inpayments
Examples

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

//get inpayments 
var inpayments = PublicAPI.CRM.Sale.GetAllInpayments(sale);

//inpayments - get the list of the sale inpayments
See Also