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

ACRFCAN.m

Go to the documentation of this file.
ACRFCAN ;IHS/OIRM/DSD/THL,AEF - DEFAULT CAN SUMMARY FOR ARMS USER; [ 11/01/2001   9:44 AM ]
 ;;2.1;ADMIN RESOURCE MGT SYSTEM;;NOV 05, 2001
 ;;SUMMARIZES DEFAULT CAN SIGNATURES FOR ARMS USER
EN ;EP;
 D EN1
EXIT K ACR,ACRDA,ACRDFLT,ACRDFLT1,ACRI,ACRJ,ACRX,^TMP("ACRCAN",$J),ACRTYP
 Q
EN1 ;
 K ^TMP("ACRCAN",$J)
 S ACR=U_ACRDUZ_U
 S ACRDA=0
 F  S ACRDA=$O(^ACRCAN(ACRDA)) Q:'ACRDA  D
 .S ACRDFLT=U_$G(^ACRCAN(ACRDA,"DFLT"))_U,ACRDFLT1=U_$G(^ACRCAN(ACRDA,"DFLT1"))_U
 .S ACRCAN=$P(^AUTTCAN(ACRDA,0),U)
 .I ACRDFLT[ACR D
 ..F ACRI=1:1:10,14,15,20,24,25,27:1:30 I ACRDUZ=$P(ACRDFLT,U,ACRI+1) D
 ...S ACRX=$P($T(@ACRI),";;",2)
 ...S:ACRX ACRX=$P(^DD(9002186.5,ACRX,0),U)
 ...S:ACRX]"" ^TMP("ACRCAN",$J,ACRCAN,ACRX)=""
 .I ACRDFLT1[ACR D
 ..F ACRI=3,4,7:1:14,16:1:30 I ACRDUZ=$P(ACRDFLT1,U,ACRI+1) D
 ...S ACRJ=ACRI+100,ACRX=$P($T(@ACRJ),";;",2)
 ...S:ACRX ACRX=$P(^DD(9002186.5,ACRX,0),U)
 ...S:ACRX]"" ^TMP("ACRCAN",$J,ACRCAN,ACRX)=""
 I '$D(^TMP("ACRCAN",$J)) W @IOF Q
 D HEAD
 S ACRCAN=""
 F  S ACRCAN=$O(^TMP("ACRCAN",$J,ACRCAN)) Q:ACRCAN=""!$D(ACRQUIT)  D
 .S ACRI=0
 .S ACRTYP=""
 .F  S ACRTYP=$O(^TMP("ACRCAN",$J,ACRCAN,ACRTYP)) Q:ACRTYP=""!$D(ACRQUIT)  D
 ..S ACRI=ACRI+1
 ..W:ACRI=1 !?10,ACRCAN
 ..W:ACRI>1 !
 ..W ?20,ACRTYP
 ..I IOSL-4<$Y D PAUSE^ACRFWARN,HEAD
 D PAUSE^ACRFWARN
 Q
 W @IOF
 W !?10,"CAN's and SIGNATURE TYPE's for which ",ACRUSER
 W !?10,"is the default signatore."
 W !!?10,"CAN"
 W ?20,"SIGNATURE TYPE"
 W !?10,"-------"
 W ?20,"-------------------------"
 Q
1 ;;1000
2 ;;1010
3 ;;1020
4 ;;1030
5 ;;1040
6 ;;1050
7 ;;1060
8 ;;1070
9 ;;1080
10 ;;
11 ;;
12 ;;
13 ;;
14 ;;
15 ;;1140
16 ;;
17 ;;
18 ;;1170
19 ;;
20 ;;1190
21 ;;
22 ;;
23 ;;
24 ;;1230
25 ;;1240
26 ;;
27 ;;
28 ;;
29 ;;
30 ;;
101 ;;
102 ;;
103 ;;1250
104 ;;1260
105 ;;
106 ;;
107 ;;1081
108 ;;1032
109 ;;
110 ;;1300
111 ;;1310
112 ;;1320
113 ;;1330
114 ;;1340
115 ;;1350
116 ;;1360
117 ;;1370
118 ;;1380
119 ;;1390
120 ;;1400
121 ;;1410
122 ;;1420
123 ;;1430
124 ;;1440
125 ;;1450;;Travel Procurement Official
126 ;;
127 ;;
128 ;;
129 ;;
130 ;;