> 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.0/mss-extension-functions-mss-kalipso/deliveries/1612-deliveries-set-delivery-as-not-delivered.md).

# 1612 - (Deliveries) Set Delivery as Not Delivered

MSS 5.0 - Extensibility - Functions MSS to Kalipso - Deliveries - 1612 - (Deliveries) Set Delivery as Not Delivered

1612 - (Deliveries) Set Delivery as Not Delivered

| Event   | Extension action set  | Description                                                                                                |
| ------- | --------------------- | ---------------------------------------------------------------------------------------------------------- |
| Before  | EXT\_1612\_1\_Before  | Will be executed before MSS sets the delivery as not delivered;                                            |
| Replace | EXT\_1612\_2\_Replace | Will be executed before MSS sets the delivery as not delivered with the possibility to cancel the process; |
| After   | EXT\_1612\_3\_After   | Will be executed after MSS sets the delivery as not delivered;                                             |

*Input Parameters (event before):*

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

*Input Parameters* *(event replace):*

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

*Output Parameters (event replace):*

* outCanSetAsNotDelivery – Return code: 1 – Allow MSS to set as not delivered / 0 – Cancel;

*Input Parameters (event after):*

* inDeliveryDocumentExercise – Exercise of the document;
* inDeliveryDocumentType – Type of the document;
* inDeliveryDeliveryDocumentSeries – Series of the document;
* inDocumentNumber – Number of the document;
