1 | PRCFFER ;WISC/SJG-OBLIGATION ERROR PROCESSING ;6/3/94 9:25 AM
|
---|
2 | V ;;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 | TPOI ; Entry point for Purchase Orders Inquiry
|
---|
7 | D HILO^PRCFQ,SCREEN
|
---|
8 | S TXT1="Purchase Order Number",PRCFA("ERROR")=0,PRCFA("ERTYP")="POREQ"
|
---|
9 | S TXT2="Select Stack Document for Inquiry: "
|
---|
10 | D EN^PRC0E("MO:Miscellaneous Order;SO:Service Order^"_TXT2,"D TYPE^PRCFFERI(.X)")
|
---|
11 | D OUT
|
---|
12 | QUIT
|
---|
13 | TPOR ; Entry point for Purchase Order Rebuild/Retransmit
|
---|
14 | D HILO^PRCFQ,SCREEN
|
---|
15 | S TXT1="Purchase Order Number",PRCFA("ERROR")=0,PRCFA("ERTYP")="POREQ"
|
---|
16 | S TXT2="Select Stack Document for Rebuild/Retransmit: "
|
---|
17 | D EN^PRC0E("MO:Miscellaneous Order;SO:Service Order^"_TXT2_"^~R~N~E~T~~^","D TYPE^PRCFFERT(.X)")
|
---|
18 | D OUT
|
---|
19 | QUIT
|
---|
20 | T1358I ; Entry point for 1358 Inquiry
|
---|
21 | D HILO^PRCFQ,SCREEN
|
---|
22 | S TXT1="1358 Obligation Number",PRCFA("ERROR")=0,PRCFA("ERTYP")="MISCOBL"
|
---|
23 | S TXT2="Select Stack Document for Inquiry: "
|
---|
24 | D EN^PRC0E("SO:Service Order^"_TXT2,"D TYPE^PRCFFERI(.X)")
|
---|
25 | D OUT
|
---|
26 | QUIT
|
---|
27 | T1358R ; Entry point for 1358 Rebuild/Retransmit
|
---|
28 | D HILO^PRCFQ,SCREEN
|
---|
29 | S TXT1="1358 Obligation Number",PRCFA("ERROR")=0,PRCFA("ERTYP")="MISCOBL"
|
---|
30 | S TXT2="Select Stack Document for Rebuild/Transmit: "
|
---|
31 | D EN^PRC0E("SO:Service Order^"_TXT2_"^~R~E~N~T~~^","D TYPE^PRCFFERT(.X)")
|
---|
32 | D OUT
|
---|
33 | QUIT
|
---|
34 | ;
|
---|
35 | ; Entry point for Inquiry for AR documents
|
---|
36 | TARI D HILO^PRCFQ,SCREEN
|
---|
37 | S TXT1="Purchase Order/Obligation Number",PRCFA("ERROR")=0
|
---|
38 | S TXT2="Select Stack Document for Inquiry: "
|
---|
39 | D EN^PRC0E("AR:Receiver Accrual^"_TXT2,"D TYPE^PRCFFERI(.X)")
|
---|
40 | D OUT
|
---|
41 | QUIT
|
---|
42 | ; Entry point for Rebuild/Retransmit AR documents
|
---|
43 | TARR D HILO^PRCFQ,SCREEN
|
---|
44 | S TXT1="AR Number",PRCFA("ERROR")=0
|
---|
45 | S TXT2="Select Stack Document for Rebuild/Retransmit: "
|
---|
46 | D EN^PRC0E("AR:Receiver Accrual^"_TXT2_"^~R~E~N~T~~^","D TYPE^PRCFFERT(.X)")
|
---|
47 | D OUT
|
---|
48 | QUIT
|
---|
49 | ;
|
---|
50 | OUT K GECSDATA,FMSNO,STATUS,DIC,PATNUM,PONUM,MOP,LOOP,POIEN,TXT1,TXT2
|
---|
51 | K PRCFA,IOINHI,IOINLOW,IOINORM
|
---|
52 | Q
|
---|
53 | SCREEN ; Control screen display;
|
---|
54 | I $D(IOF) W @IOF
|
---|
55 | HDR ; Write Option Header
|
---|
56 | I $D(XQY0) W IOINHI,$P(XQY0,U,2),IOINORM
|
---|
57 | Q
|
---|