Saltar para o conteúdo principal

502 - Save Document

502 - Save Document

EventExtension action setDescription
Before EXT_0502_1_BeforeWill be executed before MSS saves the sale;
ReplaceEXT_0502_2_ReplaceWill be executed before MSS saves the sale with the possibility to say MSS to cancel the saving process;
AfterEXT_0502_3_AfterWill be executed after the sale is saved;

Before​

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;

Replace​

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;

Output Parameters

  • outCanSave - Return code: 1 – Save the document / 0 – Cancel

After​

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;