source: FOIAVistA/trunk/r/IFCAP-PRC-PRX--PRCA--PRCN/PRCFDPV2.m@ 1608

Last change on this file since 1608 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 1.9 KB
Line 
1PRCFDPV2 ;WISC/LEM-PAYMENT ERROR PROCESSING REBUILD/RETRANS CON'T ;9/7/94 14:19
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
6STATT ; Transmitted
7 W !!,"This FMS document has been transmitted to FMS."
8 ;W !,"It cannot be rebuilt and retransmitted at this time.",!!
9 D PAUSE^PRCFDPVU
10 S PRCFA("ERROR")=0
11 S DIR(0)="Y",DIR("B")="NO",DIR("A")="Do you still wish to rebuild and retransmit this Payment Voucher"
12 D ^DIR K DIR S:+Y>0 PRCFA("TRANS")=1
13 Q
14STATQ ; Queued for transmission
15 W !!,"This FMS document has been queued for transmission to FMS."
16 W !,"It cannot be rebuilt and retransmitted at this time.",!!
17 D PAUSE^PRCFDPVU
18 S PRCFA("ERROR")=0
19 Q
20STATM ; Marked for immediate transmission
21 W !!,"This FMS document has been marked for immediate transmission to FMS."
22 W !,"It cannot be rebuilt and retransmitted at this time.",!!
23 D PAUSE^PRCFDPVU
24 S PRCFA("ERROR")=0
25 Q
26STATE ; Error in transmission
27 W !!,"This FMS document has an error in transmission."
28 W !,"Use the option to 'Retransmit Stack File Document' on the FMS"
29 W !,"Code Sheet Menu to retransmit without rebuilding.",!
30 D PAUSE^PRCFDPVU
31 S PRCFA("ERROR")=0
32 S DIR(0)="Y",DIR("B")="NO",DIR("A")="Do you wish to rebuild Payment Voucher prior to retransmitting"
33 D ^DIR K DIR S:+Y>0 PRCFA("TRANS")=1
34 Q
35STATA ; Accepted by FMS
36 W !!,"This FMS document has been accepted by FMS."
37 W !,"No rebuilding and retransmitting is necessary.",!!
38 D PAUSE^PRCFDPVU
39 S PRCFA("ERROR")=0
40 Q
41STATR ; Rejected by FMS
42 W !!,"This FMS document has rejected due to one or more errors."
43 S PRCFA("ERROR")=1
44 Q
45STATR1 S:$G(MOP)="" MOP=2
46 S LABEL=$S(MOP=1:"Purchase Order",MOP=21:"1358 Miscellaneous Obligation",MOP=8:"Requisition",MOP=2:"Certified Invoice",0:"Obligation")
47 W !,"The "_LABEL_" can now be displayed for your review.",!!
48 W "Please review the source document very carefully and take",!,"the appropriate corrective action.",!
49 W ! S RESP=$$REVIEW^PRCFDPVU
50 Q
Note: See TracBrowser for help on using the repository browser.