Saltar para o conteúdo principal

3202 - Save Document

3202 - Save Document

EventExtension action setDescription
BeforeEXT_3202_1_BeforeWill be executed before MSS saves the purchase document;
ReplaceEXT_3202_2_ReplaceWill be executed before the normal MSS validations of saving the document, with the possibility to cancel;
AfterEXT_3202_3_AfterWill be executed after the document 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;
  • inSupplierCode – Code of the selected supplier;

Replace​

Input Parameters

  • inDocumentExercise – Exercise of the document;
  • inDocumentType – Type of the document;
  • inDocumentSeries – Series of the document;
  • inDocumentNumber – Number of the document;
  • inSupplierCode – Code of the selected supplier;

Output Parameters

  • outCanSave – Return code: 1 – Save the document / 0 – Cancel;
  • outTransactionName – Name of the transaction to use if changes made inside the extensibility must be rolled back when an error occurs saving the document. Empty if not used.

After​

Input Parameters

  • inDocumentExercise – Exercise of the document;
  • inDocumentType – Type of the document;
  • inDocumentSeries – Series of the document;
  • inDocumentNumber – Number of the document;
  • inSupplierCode – Code of the selected supplier;