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

PRCAFBD1.m

Go to the documentation of this file.
  1. PRCAFBD1 ;WASH-ISC@ALTOONA,PA/CLH-FMS Billing Document Utilities ;8/2/95 3:19 PM
  1. V ;;4.5;Accounts Receivable;**16**;Mar 20, 1995
  1. ;;Per VHA Directive 10-93-142, this routine should not be modified.
  1. DTYPE(BD) ;Return related documents for a BD
  1. ;Input BD type
  1. ;output =bd type^reserved^CR^WR
  1. ;ie: input= 24
  1. ; output=24^1^05^01
  1. N X
  1. I 'BD Q -1
  1. I $L(BD)<2 S BD=0_BD
  1. S X=$O(^PRCA(347.4,"B",BD,0))
  1. I 'X Q -1
  1. S X=$G(^PRCA(347.4,X,0))
  1. Q X
  1. ;
  1. EDT ;Edit bill type
  1. N DA,DIC,DR,Y,DIE
  1. W !,"This option is used to edit the BILL type for converted Bills.",!
  1. EDT1 S DIC="^PRCA(430,",DIC(0)="AEMNQ" D ^DIC Q:+Y<0
  1. S DA=+Y,DIE=DIC,DR=259 D ^DIE
  1. G EDT1
  1. ;