TIUP134 ;SLC/RMO - Post-Install for TIU*1*134 ;6/6/02@09:51:20
Source file <TIUP134.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| EN | ;Entry point to queue a job to automatically link the missing VISIT
 | 
|
| ENQ | ||
| ASKRNG(BEGDT,ENDT) | ;Prompt for date range
 ; Input -- None ; Output -- 1=Successful and 0=Failure ; BEGDT Begin Date ; ENDT End Date  | 
|
| ASKRNGQ | ||
| LNKRNG | ;Entry point to automatically link a document to a visit for
 | 
|
| LNKRNGQ | ;Send bulletin, re-set check point and clean up variables
 | 
|
| LNKONE(TIUDA) | ;Entry point to automatically link one document to visit
 ; Input -- TIUDA TIU Document file (#8925) IEN ; Output -- None  | 
|
| CHKDOC(TIUDA) | ;Check if document can be auto-linked
 ; Input -- TIUDA TIU Document file (#8925) IEN ; Output -- 1=Can be linked and 0=Cannot be linked  | 
|
| CHKDOCQ | ||
| GETVST(TIUDA,TIUVSIT,TIUMVSTF) | ;Get visit to associate with document
 ; Input -- TIUDA TIU Document file (#8925) IEN ; Output -- TIUVSIT Visit file (#9000010) IEN ; TIUMVSTF Multiple Visit Flag ; 1=Multiple Visits  | 
|
| GETVSTQ | ||
| SETXTMP(TIUDA,TIUEX,TIUVSIT) | ;Set ^XTMP for entries processed
 ; Input -- TIUDA TIU Document file (#8925) IEN ; TIUEX Unable to automatically link Exception types: (Optional) ; 1=Multiple Visits ; 2=Entry in Use ; 3=No Matching Visit ; TIUVSIT Visit file (#9000010) IEN (Optional) ; Output -- Set ^XTMP("TIUP134","LNK",TIUDA)= ; 1st piece= 1=Linked and 0=Not Linked ; 2nd piece= Exception type if not linked ; 3rd piece= Visit file (#9000010) IEN if linked  | 
|
| UPDKIDS(TIUDA,TIUVSIT) | ;Update visit for kids that are addenda
 ; Input -- TIUDA TIU Document file (#8925) IEN ; TIUVSIT Visit file (#9000010) IEN ; Output -- None  | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  |