source: WorldVistAEHR/trunk/r/IFCAP-PRC-PRX--PRCA--PRCN/PRCPL1.m@ 1087

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

initial load of WorldVistAEHR

File size: 4.0 KB
RevLine 
[613]1PRCPL1 ; List Template Exporter ; 28-FEB-1995
2 ;;5.0;IFCAP;;4/21/95
3 W !,"'PRCP EDIT ITEMS' List Template..."
4 S DA=$O(^SD(409.61,"B","PRCP EDIT ITEMS",0)),DIK="^SD(409.61," D ^DIK:DA
5 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="PRCP EDIT ITEMS" D FILE^DICN S VALM=+Y
6 I VALM>0 D
7 .S ^SD(409.61,VALM,0)="PRCP EDIT ITEMS^1^^80^4^18^1^1^Edit Inventory Item Data^PRCP ENTER/EDIT INVENTORY ITEMS MENU^Edit Inventory Item Data^2^^1"
8 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
9 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP($J,""PRCPEILM"")"
10 .S ^SD(409.61,VALM,"FNL")="D EXIT^PRCPEILM"
11 .S ^SD(409.61,VALM,"HDR")="D HDR^PRCPEILM"
12 .S ^SD(409.61,VALM,"INIT")="D INIT^PRCPEILM"
13 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
14 .W "Filed."
15 ;
16 W !,"'PRCP GRAPH DATA' List Template..."
17 S DA=$O(^SD(409.61,"B","PRCP GRAPH DATA",0)),DIK="^SD(409.61," D ^DIK:DA
18 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="PRCP GRAPH DATA" D FILE^DICN S VALM=+Y
19 I VALM>0 D
20 .S ^SD(409.61,VALM,0)="PRCP GRAPH DATA^2^^200^5^21^1^1^Graph Inventory Data^^Graph Inventory Data^2^^"
21 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
22 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP($J,""PRCPRGRA"")"
23 .S ^SD(409.61,VALM,"FNL")="D EXIT^PRCPRGRA"
24 .S ^SD(409.61,VALM,"HDR")="D HDR^PRCPRGRA"
25 .S ^SD(409.61,VALM,"INIT")="D INIT^PRCPRGRA"
26 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
27 .W "Filed."
28 ;
29 W !,"'PRCP INVENTORY PARAMETERS' List Template..."
30 S DA=$O(^SD(409.61,"B","PRCP INVENTORY PARAMETERS",0)),DIK="^SD(409.61," D ^DIK:DA
31 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="PRCP INVENTORY PARAMETERS" D FILE^DICN S VALM=+Y
32 I VALM>0 D
33 .S ^SD(409.61,VALM,0)="PRCP INVENTORY PARAMETERS^1^^80^4^18^1^1^Edit Inventory Parameters^PRCP INVENTORY PARAMETERS MENU^Edit Inventory Parameters^2^^1"
34 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
35 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP($J,""PRCPENLM"")"
36 .S ^SD(409.61,VALM,"FNL")="D EXIT^PRCPENLM"
37 .S ^SD(409.61,VALM,"HDR")="D HDR^PRCPENLM"
38 .S ^SD(409.61,VALM,"INIT")="D INIT^PRCPENLM"
39 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
40 .W "Filed."
41 ;
42 W !,"'PRCP ISSUE BOOK POSTING' List Template..."
43 S DA=$O(^SD(409.61,"B","PRCP ISSUE BOOK POSTING",0)),DIK="^SD(409.61," D ^DIK:DA
44 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="PRCP ISSUE BOOK POSTING" D FILE^DICN S VALM=+Y
45 I VALM>0 D
46 .S ^SD(409.61,VALM,0)="PRCP ISSUE BOOK POSTING^1^^80^6^18^1^1^Issue Book Posting^PRCP ISSUE BOOK POSTING MENU^Issue Book Posting^2"
47 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
48 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP($J,""PRCPWPLM"")"
49 .S ^SD(409.61,VALM,"FNL")="D EXIT^PRCPWPLM"
50 .S ^SD(409.61,VALM,"HDR")="D HDR^PRCPWPLM"
51 .S ^SD(409.61,VALM,"INIT")="D INIT^PRCPWPLM"
52 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
53 .W "Filed."
54 ;
55 W !,"'PRCP ISSUE BOOK RECEIVING' List Template..."
56 S DA=$O(^SD(409.61,"B","PRCP ISSUE BOOK RECEIVING",0)),DIK="^SD(409.61," D ^DIK:DA
57 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="PRCP ISSUE BOOK RECEIVING" D FILE^DICN S VALM=+Y
58 I VALM>0 D
59 .S ^SD(409.61,VALM,0)="PRCP ISSUE BOOK RECEIVING^1^^80^7^18^1^1^Issue Book Receiving^PRCP RECEIVE ISSUE BOOK MENU^Issue Book Receiving^2"
60 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
61 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP($J,""PRCPWPPL"")"
62 .S ^SD(409.61,VALM,"FNL")="D EXIT^PRCPWPPL"
63 .S ^SD(409.61,VALM,"HDR")="D HDR^PRCPWPPL"
64 .S ^SD(409.61,VALM,"INIT")="D INIT^PRCPWPPL"
65 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
66 .W "Filed."
67 ;
68 W !,"'PRCP PURCHASE ORDER RECEIPT' List Template..."
69 S DA=$O(^SD(409.61,"B","PRCP PURCHASE ORDER RECEIPT",0)),DIK="^SD(409.61," D ^DIK:DA
70 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="PRCP PURCHASE ORDER RECEIPT" D FILE^DICN S VALM=+Y
71 I VALM>0 D
72 .S ^SD(409.61,VALM,0)="PRCP PURCHASE ORDER RECEIPT^1^^80^6^18^1^1^Purchase Order Receipt^PRCP PURCHASE ORDER RECEIPT MENU^Purchase Order Receipt^2"
73 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
74 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP($J,""PRCPPOLM"")"
75 .S ^SD(409.61,VALM,"FNL")="D EXIT^PRCPPOLM"
76 .S ^SD(409.61,VALM,"HDR")="D HDR^PRCPPOLM"
77 .S ^SD(409.61,VALM,"INIT")="D INIT^PRCPPOLM"
78 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
79 .W "Filed."
80 ;
81 G ^PRCPL2
Note: See TracBrowser for help on using the repository browser.