Last change
on this file since 1458 was 628, checked in by George Lilly, 15 years ago |
initial load of FOIAVistA 6/30/08 version
|
File size:
753 bytes
|
Line | |
---|
1 | PRCOT07 ;SF/SWS-PREINSTALL *ADD NEW OPTION ;4-26-94/3:45 PM
|
---|
2 | V ;;5.1;IFCAP;**113**;Oct 20, 2000;Build 4
|
---|
3 | ;Per VHA Directive 2004-038, this routine should not be modified.
|
---|
4 | Q
|
---|
5 | FINDREC N DIC,Y,NREC,MREC,DIE,X
|
---|
6 | D BMES^XPDUTL("Adding new option to APPROVING OFFICIAL MENU.")
|
---|
7 | S DIC="^DIC(19,",X="PRCH AO CANCEL INCOM PC ORDER"
|
---|
8 | D ^DIC
|
---|
9 | I Y'=-1 S NREC=+Y
|
---|
10 | FINDMNU S (DIC,Y)=""
|
---|
11 | S DIC="^DIC(19,",X="PRCH APPROVE"
|
---|
12 | D ^DIC
|
---|
13 | I Y'=-1 S MREC=+Y
|
---|
14 | UPDMNU S (DIC,Y)=""
|
---|
15 | S (BFLAG,NTHIS)=0
|
---|
16 | F S NTHIS=$O(^DIC(19,MREC,10,NTHIS)) Q:'NTHIS!(BFLAG=1) D
|
---|
17 | . S MYIEN=$G(^DIC(19,MREC,10,NTHIS,0))
|
---|
18 | . I MYIEN=NREC S BFLAG=1
|
---|
19 | I BFLAG=0 D
|
---|
20 | . S DIC="^DIC(19,"_MREC_",10,",DIC(0)="",DIC("P")="19.01IP"
|
---|
21 | . S X=NREC
|
---|
22 | . S DA(1)=MREC
|
---|
23 | . D FILE^DICN
|
---|
24 | CLNREC K BFLAG,NTHIS,MREC,NREC
|
---|
25 | Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.