# 3803 - On Select Document Delivery Place

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/general/3801-clear-document-lines-2
>
> Eventos EXT_3803 ao selecionar o local de entrega de um documento, com módulo, tipo, cliente e local; o Replace pode cancelar com outCanSelect.

3803 - On Select Document Delivery Place

| Event                                             | Extension action set  | Description                                                                                                 |
| ------------------------------------------------- | --------------------- | ----------------------------------------------------------------------------------------------------------- |
| [Before ](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/general/3801-clear-document-lines-2.md#before)  | EXT\_3803\_1\_Before  | Will be executed before MSS validates the selected delivery place                                           |
| [Replace](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/general/3801-clear-document-lines-2.md#replace) | EXT\_3803\_2\_Replace | Will be executed before MSS validates the selected delivery place with the possibility to cancel the process |
| [After](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/general/3801-clear-document-lines-2.md#after)     | EXT\_3803\_3\_After   | Will be executed after MSS validates the selected delivery place                                            |

### Before

_Input Parameters_

* inDocumentModule – Code of the document module (P – Orders / A – Sales / F – Purchases / E – Suppliers orders)
* inDocumentType - Code of the selected document type
* inCustomerCode - Code of the customer
* inDeliveryPlaceCode - Code of the delivery place code

### Replace

_Input Parameters_

* inDocumentModule – Code of the document module (P – Orders / A – Sales / F – Purchases / E – Suppliers orders)
* inDocumentType - Code of the selected document type
* inCustomerCode - Code of the customer
* inDeliveryPlaceCode - Code of the delivery place code

_Output Parameters_

* outCanSelect - Return code: 1 – Continue the process / 0 – Cancel;

### After

_Input Parameters_

* inDocumentModule – Code of the document module (P – Orders / A – Sales / F – Purchases / E – Suppliers orders)
* inDocumentType - Code of the selected document type
* inCustomerCode - Code of the customer
* inDeliveryPlaceCode - Code of the delivery place code
