> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/mss-extensibility/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/mss-extensibility/mss-5.1/functions-kalipso-to-mss/prospect/ext_prospect_select-1.md).

# EXT\_Prospect\_ConvertToCustomer

Function to convert a prospect into a customer using the configurations of MSS to create a new record or to keep the record and change only the type (CLITIP)

*Input parameters*:

* inProspectCode – Code of the prospect to be converted;

*Output parameters:*

* outResultCode – 0 – OK / -3 – Error or user canceled;
