EXT_Sales_OpenModule
Function to ask MSS to open the Sales screen to create a new sale.
Input parameters:
- inDocumentType – Type of document to select automatically;
- inCustomerCode – Customer code to select automatically;
- inSaveAndClose – Close the windows after save;
Output parameters:
- outResultCode – Return code: 0 – Done / < 0 User canceled selection or error occurred;
- outDocumentExercise – Exercise of the new document;
- outDocumentType – Type of the new document;
- outDocumentSeries – Series of the new document;
- outDocumentNumber – Number of the document;
info
Note: If inSaveAndClose <> 1 the value of outResultcode will be always 0 and Exercise, Type, Series and Number will be empty.