# 1620 - Save Delivery

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/deliveries/1620-deliveries-save-delivery
>
> Eventos EXT_1620 ao gravar uma entrega (V1 e V2), com a identificação do documento; o Replace devolve outCanSaveDelivery para permitir ou cancelar.

1620 - Save Delivery

:::info
Action available for V1 and V2 of the deliveries module
:::

| Event                                               | Extension action set  | Description                                                                                |
| --------------------------------------------------- | --------------------- | ------------------------------------------------------------------------------------------ |
| [Before ](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/deliveries/1620-deliveries-save-delivery.md#before)  | EXT\_1620\_1\_Before  | Will be executed before MSS saves the delivery;                                            |
| [Replace](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/deliveries/1620-deliveries-save-delivery.md#replace) | EXT\_1620\_2\_Replace | Will be executed before MSS saves the delivery with the possibility to cancel the process; |
| [After](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/deliveries/1620-deliveries-save-delivery.md#after)     | EXT\_1620\_3\_After   | Will be executed after MSS saves the delivery;                                             |

### Before

_Input Parameters_

* inDeliveryDocumentExercise – Exercise of the document;
* inDeliveryDocumentType – Type of the document;
* inDeliveryDocumentSeries – Series of the document;
* inDeliveryDocumentNumber – Number of the document;

### Replace

_Input Parameters_

* inDeliveryDocumentExercise – Exercise of the document;
* inDeliveryDocumentType – Type of the document;
* inDeliveryDocumentSeries – Series of the document;
* inDeliveryDocumentNumber – Number of the document;

_Output Parameters_

* outCanSaveDelivery – Return code: 1 – Allow MSS to save the delivery / 0 – Cancel;

### After

_Input Parameters_

* inDeliveryDocumentExercise – Exercise of the document;
* inDeliveryDocumentType – Type of the document;
* inDeliveryDocumentSeries – Series of the document;
* inDeliveryDocumentNumber – Number of the document;
