source: WorldVistAEHR/trunk/r/EQUIPMENT_TURN_IN_REQUEST-PRCN/PRCNSTAT.m@ 1042

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

initial load of WorldVistAEHR

File size: 862 bytes
Line 
1PRCNSTAT ;SSI/SEB-Request Status Report ;[ 09/13/96 4:12 PM ]
2 ;;1.0;Equipment/Turn-In Request;;Sep 13, 1996
3USR ; Review a requestor's transactions
4 S BY=.01,DIS(0)="I $P(^PRCN(413,D0,0),U,2)=DUZ",WHO="requestor"
5 D PRT Q
6CMR ; Review a CMR Official's transactions
7 S BY="4.5,.01",DIS(0)="I $P(^PRCN(413,D0,0),U,6)=DUZ",WHO="CMR Official"
8 D PRT Q
9PPM ; Print for PPM all transactions
10 S BY=".01",WHO="PPM: "
11 S DIS(0)="I $P(^PRCN(413,D0,0),U,7)'<6!($P(^(0),U,7)=20)"
12 D PRT Q
13PRT S DHD="W ?0 D HDR^PRCNSTAT",L="",DIC="^PRCN(413,",FLDS="[PRCNSTAT]"
14 S (FR,TO)=""
15 D EN1^DIP
16 K WHO,DIS,DHD,L,DIC,FLDS,BY,FR,TO,I
17 Q
18HDR ; Prints a header for the Status Report
19 W !,"Equipment Request Status Report by ",WHO," ",$P(^VA(200,DUZ,0),U)
20 W !?61,"Date Status"
21 W !,"Transaction #",?18,"Description",?39,"Status",?61
22 W "Entered Date",! F I=1:1:79 W "-"
23 Q
Note: See TracBrowser for help on using the repository browser.