source: WorldVistAEHR/trunk/r/IFCAP-PRC-PRX--PRCA--PRCN/PRCPE441.m@ 1259

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

initial load of WorldVistAEHR

File size: 913 bytes
Line 
1PRCPE441 ;WISC/RFJ-enter edit master item file ;10 Dec 91
2 ;;5.1;IFCAP;;Oct 20, 2000
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4 D ^PRCPUSEL Q:'$G(PRCP("I"))
5 I $P($G(^PRCP(445,PRCP("I"),0)),"^",20)'="S" K X S X(1)="ONLY 'SPD' INVENTORY POINTS MAY ACCESS THIS OPTION SINCE THE FIELDS EDITABLE UNDER THIS OPTION ONLY PERTAIN TO CASE CARTS AND INSTRUMENT KITS." Q
6 I '$$KEY^PRCPUREP("PRCP"_$TR(PRCP("DPTYPE"),"WSP","W2")_" MGRKEY",DUZ) W !,"YOU MUST BE AN INVENTORY MANAGER BEFORE YOU CAN USE THIS OPTION." Q
7 N %,D0,DA,DI,DIC,DIE,DQ,DR,ITEMDA,X,Y
8 K X S X(1)="Only items stored in the "_PRCP("IN")_" are selectable." W ! D DISPLAY^PRCPUX2(1,40,.X)
9 F S ITEMDA=$$MASTITEM^PRCPUITM("I $D(^PRCP(445,PRCP(""I""),1,+Y,0))") Q:'ITEMDA D W !
10 . S (DIC,DIE)="^PRC(441,",DA=ITEMDA,DR=".06" D ^DIE
11 . S DR=$S($P($G(^PRC(441,ITEMDA,0)),"^",6)="S":"23///@",1:23) D ^DIE
12 Q
Note: See TracBrowser for help on using the repository browser.