source: WorldVistAEHR/trunk/r/IFCAP-PRC-PRX--PRCA--PRCN/PRCFA921.m@ 1710

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

initial load of WorldVistAEHR

File size: 2.2 KB
RevLine 
[613]1PRCFA921 ;WISC@ALTOONA/CTB-ROUTINE TO DISPLAY 921.00 OBLIGATION TRANSACTION ;8/26/93 1:27 PM
2V ;;5.1;IFCAP;;Oct 20, 2000
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4 D HILO^PRCFQ
5DJ ;RESERVED FOR CODE TO CALL A SCREEN HANDLER
6LOAD Q:'$D(^PRCF(423,DA)) S X=^PRCF(423,DA,0),X1=^(1)
7SE S $P(SP," ",80)=""
8 W:$D(IOF) @IOF W !,IOINLOW,$E(SP,1,5),"OBLIGATION NUMBER: ",IOINHI,$P(X,"^",6),IOINLOW,$E(SP,1,10),"CODE SHEET #: ",IOINHI,PRCFA("CSNAME")
9 W !!,IOINLOW,"TRANSACTION TYPE: ",IOINHI,$P(X,"^",4),IOINLOW," TRANSACTION DATE: ",IOINHI,$P(X,"^",5),IOINLOW," REF #: ",IOINHI,$P(X,"^",6)
10 W !,IOINLOW," YALD CODE: ",IOINHI,$E($P(X1,"^")_" ",1,6),IOINLOW,$E(SP,1,6),"DEL MONTH: ",IOINHI
11 W $S(PRCFA("EDIT")'["921.60":$P(X1,"^",2),1:$P(X,"^",9)),IOINLOW,$E(SP,1,6),"S/C: ",IOINHI,$P(X1,"^",3),IOINLOW,$E(SP,1,6),"DEL DATE: ",IOINHI,$P(X1,"^",4)
12 W !,$E(SP,1,4),IOINLOW,"CONTROL POINT: ",IOINHI,$E($P(X1,"^",5)_" ",1,4),IOINLOW," COST CENTER: ",IOINHI,$P(X1,"^",6)
13 W !,IOINLOW," BOC: ",IOINHI,$E($P(X1,"^",8)_$E(SP,1,13),1,13),IOINLOW,$E(SP,1,7),"AMOUNT: ",IOINHI,$P(X1,"^",9)
14 I $P(X1,"^",10)["$" W " $"
15 E W !,IOINLOW," BOC: ",IOINHI,$E($P(X1,"^",10)_$E(SP,1,13),1,13),IOINLOW,$E(SP,1,7),"AMOUNT: ",IOINHI,$P(X1,"^",11)
16 W IOINORM K IOINLOW,IOINHI,IOINORM,SP,X,X1 Q
1771 ;DISPLAY 1358 USING 921.71 CODE SHEET
18 D HILO^PRCFQ
19 Q:'$D(^PRCF(423,DA)) S X=^PRCF(423,DA,0),X1=^(1)
20 S $P(SP," ",80)=""
21 W:$D(IOF) @IOF W !?5,IOINLOW,"OBLIGATION NUMBER: ",IOINHI,$P(X,"^",6),IOINLOW,$E(SP,1,10),"CODE SHEET #: ",IOINHI,PRCFA("CSNAME")
22 W !!,IOINLOW,"TRANSACTION TYPE: ",IOINHI,$P(X,"^",4),IOINLOW," TRANSACTION DATE: ",IOINHI,$P(X,"^",5),IOINLOW," REF #: ",IOINHI,$P(X,"^",6)
23 W !?4,IOINLOW,"CONTROL POINT: ",IOINHI,$E($P(X1,"^",5)_" ",1,4),IOINLOW," COST CENTER: ",IOINHI,$P(X1,"^",6),$E(SP,1,9),IOINLOW,"SOURCE CODE: ",IOINHI,$P(X1,"^",3)
24 W !,IOINLOW,?15,"SSN: ",IOINHI,$P(X1,"^",17),?50,IOINLOW,"STUB: ",IOINHI,$P(X1,"^",18),!
25 F I=0:0 S I=$O(^PRCF(423,DA,13,I)) Q:'I Q:'$D(^(I,0)) S X=^(0) W !,IOINLOW," BOC "_I_": ",IOINHI,$E($P(X,"^",6)_$E(SP,1,13),1,13),IOINLOW,$E(SP,1,7),"AMOUNT "_I_": ",IOINHI,$P(X,"^",9)
26 K SP W IOINORM K IOINLOW,IOINHI,IOINORM,X,X1
Note: See TracBrowser for help on using the repository browser.