Saltar para o conteúdo principal

403 - Cancel Document

403 - Cancel Document

EventExtension action setDescription
Before EXT_0403_1_BeforeWill be executed before MSS cancel the order, can abort the process;
ReplaceEXT_0403_2_ReplaceReplace MSS cancel document code, must return if the document was cancelled or not;
AfterEXT_0403_3_AfterWill be executed after the order is cancelled;

All events​

Input Parameters

  • 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;

Before​

Output Parameters

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

Replace​

Output Parameters

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