Saltar para o conteúdo principal

EXT_Service_SaveService

Function to save the service

Input parameters:

  • inServiceExercise – Exercise of the technical service
  • inServiceSeries - Series of the technical service
  • inServiceNumber - Number of the technical service
  • inKeepTemporaryData - If MSS must keep the information on the temporary tables (must be used, for example, to print the service)
  • inSignatureFilename1- Name of the file with customer signature, it must be saved in the MSS Temp folder (PVAR(MSSFrameworkV51, MultiCompany_Folder) + "\Temp")
  • inSignatureFilename2 - Name of the file with technic signature, it must be saved in the MSS Temp folder (PVAR(MSSFrameworkV51, MultiCompany_Folder) + "\Temp")

Output parameters:

  • outResultCode – 0 – OK / -3 – Error or user canceled
  • outServiceExercise – Exercise of the technical service created (only when inNewOrEdit = )
  • outServiceSeries - Series of the technical service
  • outServiceNumber - Number of the technical service