source: WorldVistAEHR/trunk/r/VOLUNTARY_TIMEKEEPING-ABSV/ABSVMLC3.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: 1.3 KB
RevLine 
[613]1ABSVMLC3 ;OAKLAND/DPC-VSS MIGRATION;8/20/2002
2 ;;4.0;VOLUNTARY TIMEKEEPING;*31*;Jul 1994
3 ;
4 ;Loads codes for Scheduled Workdays.
5LDWKS ;
6 N WKCD,I,J
7 K WCDS
8 ;Array of valid work codes.
9 ;At WCDS(ien), IEN in file #503333
10 ;At WCDS("CD",code), actual code.
11 F I=1:1 S WKCD=$P($T(WKS+I),";;",2) Q:WKCD="" D
12 . N WKIEN,FOUNDIEN
13 . D FIND^DIC(503333,,"@","X",WKCD,,"B",,,"FOUNDIEN")
14 . F J=1:1 S WKIEN=$G(FOUNDIEN("DILIST",2,J)) Q:WKIEN="" D
15 . . S WCDS(WKIEN)=""
16 . . Q
17 . S WCDS("CD",WKCD)=""
18 . Q
19 Q
20 ;
21WKS ;
22 ;;0
23 ;;1
24 ;;2
25 ;;3
26 ;;4
27 ;;5
28 ;;6
29 ;;7
30 ;;8
31 ;;9
32 ;;#
33 ;;%
34 ;;&
35 ;;&
36 ;;*
37 ;;+
38 ;;/
39 ;;A
40 ;;B
41 ;;C
42 ;;D
43 ;;E
44 ;;F
45 ;;G
46 ;;H
47 ;;I
48 ;;J
49 ;;K
50 ;;L
51 ;;M
52 ;;N
53 ;;O
54 ;;P
55 ;;Q
56 ;;R
57 ;;S
58 ;;T
59 ;;U
60 ;;V
61 ;;W
62 ;;X
63 ;;Y
64 ;;Z
65 ;;
66 ; End of work schedule codes
67LDAWDS ;
68 N AWDCD,I,J
69 K ACDS ;Array of IENs of valid award codes.
70 F I=1:1 S AWDCD=$P($T(AWDS+I),";;",2) Q:AWDCD="" D
71 . N AWDIEN,FOUNDIEN
72 . D FIND^DIC(503337,,"@","X",AWDCD,,"C",,,"FOUNDIEN")
73 . F J=1:1 S AWDIEN=$G(FOUNDIEN("DILIST",2,J)) Q:AWDIEN="" D
74 . . S ACDS(AWDIEN)=""
75 . . Q
76 . Q
77 Q
78 ;
79AWDS ;
80 ;;00
81 ;;16
82 ;;14
83 ;;24
84 ;;02
85 ;;04
86 ;;06
87 ;;07
88 ;;08
89 ;;12
90 ;;18
91 ;;20
92 ;;22
93 ;;15
94 ;;17
95 ;;21
96 ;;25
97 ;;19
98 ;;23
99 ;;50
100 ;;03
101 ;;05
102 ;;26
103 ;;27
104 ;;28
105 ;;29
106 ;;30
107 ;;31
108 ;;32
109 ;;33
110 ;;34
111 ;;35
112 ;;36
113 ;;
114 ;End of award codes
115 Q
Note: See TracBrowser for help on using the repository browser.