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

IBY516PO.m

Go to the documentation of this file.
  1. IBY516PO ;LITS/TAZ - IB*2*516 POST-INSTALL ;4/1/14
  1. ;;2.0;INTEGRATED BILLING;**516**;21-MAR-94;Build 123
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;
  1. EN ;Post Install Routine primary entry point
  1. N IBY,Y,QUIT,ROUT
  1. S QUIT=0
  1. F IBY="RIT","TMOPT" D I QUIT Q
  1. . S ROUT=IBY_"^IBY516PO"
  1. . S Y=$$NEWCP^XPDUTL(IBY,ROUT)
  1. . I 'Y D BMES^XPDUTL("ERROR Creating "_IBY_" Checkpoint.") S QUIT=1 Q
  1. Q
  1. ;
  1. TMOPT ; Delete scheduled TaskMan option
  1. ;
  1. NEW IBZ,T,FST,TMERR,OPTNM,DIFROM
  1. D MES^XPDUTL("Delete Scheduled TaskMan Option ...")
  1. ;
  1. I '$$PROD^XUPROD(1) D MES^XPDUTL("Not a production account. No further action taken.") G TMOPTX
  1. ;
  1. S OPTNM="IBCN INS BILL PROV FLAG RPT" ; option name to be unscheduled
  1. D OPTSTAT^XUTMOPT(OPTNM,.IBZ)
  1. S ZTSK=$G(IBZ(1)) K IBZ
  1. I 'ZTSK D MES^XPDUTL("Option not scheduled. No further action taken.") G TMOPTX
  1. D DQ^%ZTLOAD
  1. I 'ZTSK(0) D MES^XPDUTL("Schedule not deleted.") G TMOPTX
  1. D MES^XPDUTL("Schedule deleted.")
  1. ;
  1. TMOPTX ;
  1. Q
  1. ;
  1. RIT ; recompile billing screen templates
  1. N X,Y,DMAX,IBN
  1. D MES^XPDUTL("Recompiling Input Templates for Billing Screens ...")
  1. F IBN=1:1:8,"10","102","10H" D
  1. .S X="IBXS"_$S(IBN=10:"A",IBN="102":"A2",IBN="10H":"AH",1:IBN),Y=$$FIND1^DIC(.402,,"X","IB SCREEN"_IBN,"B"),DMAX=$$ROUSIZE^DILF
  1. .I Y D EN^DIEZ
  1. D MES^XPDUTL(" Done.")
  1. Q