Progress types constants indicate the type of internal
operation currently in progress.The
percent of completion returned for the progress type returns a value from 1 to
100.The following progress types
are currently available:
Progress_Type_Single_Import
(1) – Progress of importing a single external implementation guideline (e.g
SEF), or progress of loading a guideline from the internal Standard
Reference Library.
Progress_Type_All_Import
(2) – Progress of the total number of external implementation guidelines
being imported.
Progress_Type_Document_Read
(3) – Progress of loading an EDI document.
Progress_Type_Document_Save
(4) – Progress of saving an EDI document.
Progress_Type_Codes_Read
(5) – Progress of reading the codes after importing the implementation
guideline.
Progress_Type_Ftp_Upload
(6) – Progress of uploading a single file to a server using FTP transport.
Progress_Type_HTTP_Upload
(7) – Progress of uploading a single file to a server using HTTP
transport.
Progress_Type_FTP_Download
(8) – Progress of downloading a single file from a server using FTP transport.
Progress_Type_HTTP_Download
(9) – Progress of dwonloading a single file from a server using HTTP
transport.
The following event handlers use the Progress Type constant:
ProgressStart
ProgressUpdate
ProgressComplete
When an internal process defined by the progress type begins, the ProgressStart
event is triggered passing the progress type.During the process, the ProgressUpdate event is triggered after each
change in the percent of completion with the progress type and the percent value
passed as parameters to the event.At
the end of the process, the ProgressComplete event is triggered passing the
progress type of the process completed.