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

RCRCPRE.m

Go to the documentation of this file.
  1. RCRCPRE ;WASH-ISC@ALTOONA,PA/LDB-Pre-init for RC RC SERV ;9/23/98 9:07 AM
  1. V ;;4.5;Accounts Receivable;**122,147**;Mar 20, 1995
  1. ;;Per VHA Directive 10-93-142, this routine should not be modified.
  1. EN ;Entry point to set SERVER ACTION field in RC RC SERV option
  1. N DIC,RCRC,X,Y
  1. S DIC="^DIC(19,",X="RC RC SERV",DIC(0)="MO" D ^DIC
  1. Q:Y=-1
  1. S RCRC=$P($G(^DIC(19,+Y,220)),"^",2) Q:RCRC=""
  1. S ^TMP("RCRCPRE",$J)=RCRC
  1. S $P(^DIC(19,+Y,220),"^",2)="N"
  1. Q
  1. ;
  1. END ;Entry point to reset SERVER ACTION field in RC RC SERV OPTION
  1. N DIC,RCRC,X,Y
  1. S DIC="^DIC(19,",X="RC RC SERV",DIC(0)="MO" D ^DIC
  1. Q:Y=-1
  1. S RCRC=^TMP("RCRCPRE",$J) Q:RCRC=""
  1. Q:'$D(^DIC(19,+Y,220))
  1. S $P(^DIC(19,+Y,220),"^",2)=RCRC
  1. K ^TMP("RCRCPRE",$J)
  1. Q