source: FOIAVistA/trunk/r/IFCAP-PRC-PRX--PRCA--PRCN/PRCPU441.m@ 1540

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

initial load of FOIAVistA 6/30/08 version

File size: 683 bytes
Line 
1PRCPU441 ;WISC/RFJ-master item file utilities ;10 Feb 91
2 ;;5.1;IFCAP;;Oct 20, 2000
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4 Q
5 ;
6 ;
7PURCHASE(ITEMDA) ; return 1 if item is purchasable
8 Q $S($P($G(^PRC(441,+ITEMDA,0)),"^",6)'="S":1,1:0)
9 ;
10 ;
11REUSABLE(ITEMDA) ; return if item is resuable or disposable
12 Q $S($P($G(^PRC(441,+ITEMDA,0)),"^",13)="y":1,1:0)
13 ;
14 ;
15SUBACCT(ITEMDA) ; return subacct of item
16 Q $P($G(^PRC(441,+ITEMDA,0)),"^",10)
17 ;
18 ;
19MANDSRCE(ITEMDA) ; return mandatory source for item
20 Q $P($G(^PRC(441,+ITEMDA,0)),"^",8)
21 ;
22 ;
23INACTIVE(ITEMDA) ; return 1 if item is inactive
24 Q +$P($G(^PRC(441,+ITEMDA,3)),"^")
Note: See TracBrowser for help on using the repository browser.