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

PRCPE441.m

Go to the documentation of this file.
PRCPE441 ;WISC/RFJ-enter edit master item file                      ;10 Dec 91
 ;;5.1;IFCAP;;Oct 20, 2000
 ;Per VHA Directive 10-93-142, this routine should not be modified.
 D ^PRCPUSEL Q:'$G(PRCP("I"))
 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
 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
 N %,D0,DA,DI,DIC,DIE,DQ,DR,ITEMDA,X,Y
 K X S X(1)="Only items stored in the "_PRCP("IN")_" are selectable." W ! D DISPLAY^PRCPUX2(1,40,.X)
 F  S ITEMDA=$$MASTITEM^PRCPUITM("I $D(^PRCP(445,PRCP(""I""),1,+Y,0))") Q:'ITEMDA  D  W !
 .   S (DIC,DIE)="^PRC(441,",DA=ITEMDA,DR=".06" D ^DIE
 .   S DR=$S($P($G(^PRC(441,ITEMDA,0)),"^",6)="S":"23///@",1:23) D ^DIE
 Q