Saltar para o conteúdo principal

3802 – On Select Document Type

3802 – On Select Document Type

EventExtension action setDescription
Before EXT_3802_1_BeforeWill be executed before MSS validates the selected document type
ReplaceEXT_3802_2_ReplaceWill be executed before MSS validates the selected document type with the possibility to cancel the process;
AfterEXT_3802_3_AfterWill be executed after MSS validates the selected document type

Before​

Input Parameters

  • inDocumentModule – Code of the document module (P – Orders / A – Sales / F – Purchases / E – Suppliers orders)
  • inDocumentType - Code of the selected document type
  • inCustomerCode - Code of the customer, if selected

Replace​

Input Parameters

  • inDocumentModule – Code of the document module (P – Orders / A – Sales / F – Purchases / E – Suppliers orders)
  • inDocumentType - Code of the selected document type
  • inCustomerCode - Code of the customer, if selected

Output Parameters

  • outCanSelect - Return code: 1 – Continue the process / 0 – Cancel;
  • outCustomerToSelect - If configured, returns the customer code to be selected
  • outDeliveryPLaceToSelect - If configured, returns the delivery place code to be selected

After​

Input Parameters

  • inDocumentModule – Code of the document module (P – Orders / A – Sales / F – Purchases / E – Suppliers orders)
  • inDocumentType - Code of the selected document type
  • inCustomerCode - Code of the customer, if selected