Saltar para o conteúdo principal

Document User Fields

EXT_DOC_CabUserField - Function to replace MSS interface to edit the document header user fields

Input parameters:

  • inDocumentType - Document type
  • inCustomerCode - Customer code
  • inUserFieldNumber - User field index (between 1 and 3)
  • inCurrentValue - Current value of the user field

Output parameters:

  • outReturnCode - 1 - OK / 0 - Cancel
  • outReturnValue - Value to store
  • outReturnDescription - Value to display

EXT_DOC_LineUserField- Function to replace MSS interface to edit the document lines user fields

Input parameters:

  • inDocumentType - Document type
  • inCustomerCode - Customer code
  • inArticleCode - Article code
  • inUserFieldNumber - User field index (between 1 and 3)
  • inCurrentValue - Current value of the user field
  • inCurrentLine - Selected line number (0 - New article selected)

Output parameters:

  • outReturnCode - 1 - OK / 0 - Cancel
  • outReturnValue - Value to store
  • outReturnDescription - Value to display