Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: PRCFA921

PRCFA921.m

Go to the documentation of this file.
PRCFA921 ;WISC@ALTOONA/CTB-ROUTINE TO DISPLAY 921.00 OBLIGATION TRANSACTION ;8/26/93  1:27 PM
V ;;5.1;IFCAP;;Oct 20, 2000
 ;Per VHA Directive 10-93-142, this routine should not be modified.
 D HILO^PRCFQ
DJ ;RESERVED FOR CODE TO CALL A SCREEN HANDLER
LOAD Q:'$D(^PRCF(423,DA))  S X=^PRCF(423,DA,0),X1=^(1)
SE S $P(SP," ",80)=""
 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")
 W !!,IOINLOW,"TRANSACTION TYPE: ",IOINHI,$P(X,"^",4),IOINLOW,"    TRANSACTION DATE: ",IOINHI,$P(X,"^",5),IOINLOW,"       REF #: ",IOINHI,$P(X,"^",6)
 W !,IOINLOW," YALD CODE: ",IOINHI,$E($P(X1,"^")_"     ",1,6),IOINLOW,$E(SP,1,6),"DEL MONTH: ",IOINHI
 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)
 W !,$E(SP,1,4),IOINLOW,"CONTROL POINT: ",IOINHI,$E($P(X1,"^",5)_"    ",1,4),IOINLOW,"      COST CENTER: ",IOINHI,$P(X1,"^",6)
 W !,IOINLOW,"     BOC: ",IOINHI,$E($P(X1,"^",8)_$E(SP,1,13),1,13),IOINLOW,$E(SP,1,7),"AMOUNT: ",IOINHI,$P(X1,"^",9)
 I $P(X1,"^",10)["$" W "   $"
 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)
 W IOINORM K IOINLOW,IOINHI,IOINORM,SP,X,X1 Q
71 ;DISPLAY 1358 USING 921.71 CODE SHEET
 D HILO^PRCFQ
 Q:'$D(^PRCF(423,DA))  S X=^PRCF(423,DA,0),X1=^(1)
 S $P(SP," ",80)=""
 W:$D(IOF) @IOF W !?5,IOINLOW,"OBLIGATION NUMBER: ",IOINHI,$P(X,"^",6),IOINLOW,$E(SP,1,10),"CODE SHEET #: ",IOINHI,PRCFA("CSNAME")
 W !!,IOINLOW,"TRANSACTION TYPE: ",IOINHI,$P(X,"^",4),IOINLOW,"    TRANSACTION DATE: ",IOINHI,$P(X,"^",5),IOINLOW,"       REF #: ",IOINHI,$P(X,"^",6)
 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)
 W !,IOINLOW,?15,"SSN: ",IOINHI,$P(X1,"^",17),?50,IOINLOW,"STUB: ",IOINHI,$P(X1,"^",18),!
 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)
 K SP W IOINORM K IOINLOW,IOINHI,IOINORM,X,X1