EXT_Receipts_OpenModule
Function to ask MSS to open the Receipts screen to create a new receipt.
Input parameters:
- inDocumentType – Type of receipt to select automatically;
- inCustomerCode – Customer code to select automatically;
- inSaveAndClose – Close the windows after save;
- inShowDocs – Used to open directly the list of pending documents. Possible values True/False;
Output parameters:
- outResultCode – Return code: 0 – Done / < 0 User canceled selection or error occurred;
- outDocumentExercise – Exercise of the new receipt;
- outDocumentType – Type of the new receipt;
- outDocumentSeries – Series of the new receipt;
- outDocumentNumber – Number of the receipt;
info
Note: If inSaveAndClose <> 1 the value of outResultcode will be always 0 and Exercise, Type, Series and Number will be empty.