503 - (Sales) Cancel Document

MSS 5.0 - Extensibility - Functions MSS to Kalipso - Sales - 503 - (Sales) Cancel Document

503 - (Sales) Cancel Document

Event

Extension action set

Description

Before

EXT_0503_1_Before

Will be executed before MSS cancel the sale, can abort the process;

Replace

EXT_0503_2_Replace

Replace MSS cancel document code, must return if the document was cancelled or not;

After

EXT_0503_3_After

Will be executed after the sale is cancelled;

Input Parameters (all events):

  • inDocumentExercise – Exercise of the document;

  • inDocumentType – Type of the document;

  • inDocumentSeries – Series of the document;

  • inDocumentNumber – Number of the document;

  • inCustomerCode – Code of the selected customer;

Output Parameters (event before):

  • outAbortProcess – Return code: TRUE – Abort the process / FALSE – Continue

Output Parameters (event replace):

  • outDocumentCancelled – Return code: TRUE – Document was cancelled and MSS must continue / FALSE – Document was not cancelled and MSS must stop;

Last updated