3202 - Save Document
3202 - Save Document
| Event | Extension action set | Description |
|---|---|---|
| Before | EXT_3202_1_Before | Will be executed before MSS saves the purchase document; |
| Replace | EXT_3202_2_Replace | Will be executed before the normal MSS validations of saving the document, with the possibility to cancel; |
| After | EXT_3202_3_After | Will be executed after the document is saved; |
Before
Input Parameters
- inDocumentExercise – Exercise of the document;
- inDocumentType – Type of the document;
- inDocumentSeries – Series of the document;
- inDocumentNumber – Number of the document;
- inSupplierCode – Code of the selected supplier;
Replace
Input Parameters
- inDocumentExercise – Exercise of the document;
- inDocumentType – Type of the document;
- inDocumentSeries – Series of the document;
- inDocumentNumber – Number of the document;
- inSupplierCode – Code of the selected supplier;
Output Parameters
- outCanSave – Return code: 1 – Save the document / 0 – Cancel;
- outTransactionName – Name of the transaction to use if changes made inside the extensibility must be rolled back when an error occurs saving the document. Empty if not used.
After
Input Parameters
- inDocumentExercise – Exercise of the document;
- inDocumentType – Type of the document;
- inDocumentSeries – Series of the document;
- inDocumentNumber – Number of the document;
- inSupplierCode – Code of the selected supplier;