> 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/1610-deliveries-open-delivery.md).

# 1610 - (Deliveries) Open delivery

MSS 5.0 - Extensibility - Functions MSS to Kalipso - Deliveries - 1610 - (Deliveries) Open delivery

1610 - (Deliveries) Open delivery

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

*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):*

* outCanOpenDelivery – Return code: 1 – Open delivery / 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;
