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

PRCA369P.m

Go to the documentation of this file.
  1. PRCA369P ;;MNTVBB,RGB-Set new code auto recall code in file 430.3 ;12/14/19 3:34 PM
  1. V ;;4.5;Accounts Receivable;**369**;Mar 20, 1995;Build 15
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;
  1. ;;PRCA*4.5*369 Will set new transaction code 'CS AUTO RECALL BILL <$25'
  1. ;; into file 430.3
  1. Q
  1. EN D BMES^XPDUTL(">>> Adding entry to file 430.3 [ACCOUNTS RECEIVABLE TRANS.TYPE]..")
  1. ;New National Transaction code: CS AUTO RECALL BILL <$25
  1. S U="^"
  1. S PRCATXCD="CS AUTO RECALL BILL <$25"
  1. ;-quit w/error message if entry already exists in file #430.3
  1. I $$FIND1^DIC(430.3,"","X",PRCATXCD) D Q
  1. . D BMES^XPDUTL(">>>..."_PRCATXCD_" not added, code already exists.")
  1. . D BMES^XPDUTL("*** Please contact support for assistance. ***")
  1. ;
  1. ;-setup field values of new entry
  1. S PRCADA(430.3,"+1,",.01)=PRCATXCD
  1. S PRCADA(430.3,"+1,",1)="AR"
  1. S PRCADA(430.3,"+1,",2)=66
  1. S PRCADA(430.3,"+1,",5)=1
  1. ;-add new entry to file #430.3
  1. D UPDATE^DIE("E","PRCADA","","PRCAERR")
  1. ;
  1. I '$D(PRCAERR) D BMES^XPDUTL(">>>...."_PRCATXCD_" - "_"AR/66 added to file.")
  1. I $D(PRCAERR) D BMES^XPDUTL(">>>....Unable to add "_PRCATXCD_" to the file.") D
  1. .D BMES^XPDUTL("*** Please contact support for assistance. ***")
  1. .Q
  1. K PRCATXCD,PRCAERR,PRCADA,DIE,DIC
  1. Q