| 1 | PRCFDPV1 ;WISC/LEM-PAYMENT ERROR PROCESSING CON'T ;6/13/94  11:00 AM
 | 
|---|
| 2 |  ;;5.1;IFCAP;;Oct 20, 2000
 | 
|---|
| 3 |  ;Per VHA Directive 10-93-142, this routine should not be modified.
 | 
|---|
| 4 |  QUIT
 | 
|---|
| 5 |  ; No top level entry
 | 
|---|
| 6 | STATT ; Transmitted
 | 
|---|
| 7 |  W !!,"This FMS document has been transmitted to FMS."
 | 
|---|
| 8 |  W !,"No error processing can be performed at this time.",!!
 | 
|---|
| 9 |  D PAUSE^PRCFDPVU
 | 
|---|
| 10 |  S PRCFA("ERROR")=0
 | 
|---|
| 11 |  Q
 | 
|---|
| 12 | STATQ ; Queued for transmission
 | 
|---|
| 13 |  W !!,"This FMS document has been queued for transmission to FMS."
 | 
|---|
| 14 |  W !,"No error processing can be performed at this time.",!!
 | 
|---|
| 15 |  D PAUSE^PRCFDPVU
 | 
|---|
| 16 |  S PRCFA("ERROR")=0
 | 
|---|
| 17 |  Q
 | 
|---|
| 18 | STATM ; Marked for immediate transmission
 | 
|---|
| 19 |  W !!,"This FMS document has been marked for immediate transmission to FMS."
 | 
|---|
| 20 |  W !,"No error processing can be performed at this time.",!!
 | 
|---|
| 21 |  D PAUSE^PRCFDPVU
 | 
|---|
| 22 |  S PRCFA("ERROR")=0
 | 
|---|
| 23 |  Q
 | 
|---|
| 24 | STATE ; Error in transmission
 | 
|---|
| 25 |  W !!,"This FMS document had an error during transmission."
 | 
|---|
| 26 |  W !,"Use the option to 'Retransmit Stack File Document' on the FMS"
 | 
|---|
| 27 |  W !,"Code Sheet Menu.",!
 | 
|---|
| 28 |  D PAUSE^PRCFDPVU
 | 
|---|
| 29 |  S PRCFA("ERROR")=0
 | 
|---|
| 30 |  Q
 | 
|---|
| 31 | STATA ; Accepted by FMS
 | 
|---|
| 32 |  W !!,"This FMS document has been accepted by FMS."
 | 
|---|
| 33 |  W !,"No error processing is necessary.",!!
 | 
|---|
| 34 |  D PAUSE^PRCFDPVU
 | 
|---|
| 35 |  S PRCFA("ERROR")=0
 | 
|---|
| 36 |  Q
 | 
|---|
| 37 | STATR ; Rejected by FMS
 | 
|---|
| 38 |  W !!,"This FMS document has rejected due to one or more errors."
 | 
|---|
| 39 |  S PRCFA("ERROR")=1
 | 
|---|
| 40 |  Q
 | 
|---|
| 41 | STATR1 S:$G(MOP)="" MOP=2
 | 
|---|
| 42 |  S LABEL=$S(MOP=1:"Purchase Order",MOP=21:"1358 Miscellaneous Obligation",MOP=8:"Requistion",MOP=2:"Certified Invoice",0:"Obligation")
 | 
|---|
| 43 |  W !,"The "_LABEL_" will now be displayed for your review.",!!
 | 
|---|
| 44 |  W "Please review the source document very carefully and take",!,"the appropriate corrective action.",!
 | 
|---|
| 45 |  D PAUSE^PRCFDPVU
 | 
|---|
| 46 |  Q
 | 
|---|