3802 – On Select Document Type
3802 – On Select Document Type
| Event | Extension action set | Description |
|---|---|---|
| Before | EXT_3802_1_Before | Will be executed before MSS validates the selected document type |
| Replace | EXT_3802_2_Replace | Will be executed before MSS validates the selected document type with the possibility to cancel the process; |
| After | EXT_3802_3_After | Will be executed after MSS validates the selected document type |
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, if selected
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, if selected
Output Parameters
- outCanSelect - Return code: 1 – Continue the process / 0 – Cancel;
- outCustomerToSelect - If configured, returns the customer code to be selected
- outDeliveryPLaceToSelect - If configured, returns the delivery place code to be selected
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, if selected