source: WorldVistAEHR/trunk/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/RCRCPRE.m@ 846

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

initial load of WorldVistAEHR

File size: 715 bytes
RevLine 
[613]1RCRCPRE ;WASH-ISC@ALTOONA,PA/LDB-Pre-init for RC RC SERV ;9/23/98 9:07 AM
2V ;;4.5;Accounts Receivable;**122,147**;Mar 20, 1995
3 ;;Per VHA Directive 10-93-142, this routine should not be modified.
4EN ;Entry point to set SERVER ACTION field in RC RC SERV option
5 N DIC,RCRC,X,Y
6 S DIC="^DIC(19,",X="RC RC SERV",DIC(0)="MO" D ^DIC
7 Q:Y=-1
8 S RCRC=$P($G(^DIC(19,+Y,220)),"^",2) Q:RCRC=""
9 S ^TMP("RCRCPRE",$J)=RCRC
10 S $P(^DIC(19,+Y,220),"^",2)="N"
11 Q
12 ;
13END ;Entry point to reset SERVER ACTION field in RC RC SERV OPTION
14 N DIC,RCRC,X,Y
15 S DIC="^DIC(19,",X="RC RC SERV",DIC(0)="MO" D ^DIC
16 Q:Y=-1
17 S RCRC=^TMP("RCRCPRE",$J) Q:RCRC=""
18 Q:'$D(^DIC(19,+Y,220))
19 S $P(^DIC(19,+Y,220),"^",2)=RCRC
20 K ^TMP("RCRCPRE",$J)
21 Q
Note: See TracBrowser for help on using the repository browser.