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

BARBLSUM.m

Go to the documentation of this file.
  1. BARBLSUM ; IHS/SD/LSL - DISPLAY A BILL SUMMARY ;
  1. ;;1.8;IHS ACCOUNTS RECEIVABLE;**19,23**;OCT 26, 2005
  1. ;P.OTTIS APR 2013 CONDITIONAL DISPLAY OF TXD AND MESSSAGES
  1. ;;
  1. SEL ;EP
  1. S DIC=$$DIC^XBDIQ1(90050.01)
  1. S DIC(0)="AEQM"
  1. ; IHS/SD/PKD 10/22/10 More info on the Selection display
  1. S DIC("W")="D DISP^BARPUTL"
  1. D ^DIC
  1. Q:Y'>0
  1. S BARBLDA=+Y
  1. ; -------------------------------
  1. ;
  1. XBLM ;
  1. S BARFLGRP="N"
  1. ;
  1. S Y=$$DIR^XBDIR("S^P:PRINT Output;B:BROWSE Output on Screen","Do you wish to ","P","","","",1)
  1. K DA
  1. Q:$D(DIRUT)
  1. I Y="B" D BROWSE G SEL
  1. S BARFLGRP="N"
  1. ;S BARFLGRP=$$GETFLGRP^BARBAD3() I BARFLGRP=U QUIT ; ONLY ALLOW WHEN BROWSE
  1. S XBNS="BAR"
  1. S XBRP="DSP^BARBLSUM"
  1. S XBRX="EXIT^BARBLSUM"
  1. D ^XBDBQUE
  1. G SEL
  1. BROWSE ;
  1. S BARFLGRP=""
  1. S BARFLGRP=$$GETFLGRP^BARBAD3() I BARFLGRP=U QUIT ; P.OTT
  1. S XBFLD("BROWSE")=1
  1. D VIEWR^XBLM("DSP^BARBLSUM")
  1. D FULL^VALM1
  1. W $$EN^BARVDF("IOF")
  1. D CLEAR^VALM1 ;clears out all list man stuff
  1. K XQORNEST,VALMKEY,VALM,VALMAR,VALMBCK,VALMBG,VALMCAP,VALMCNT,VALMOFF
  1. K VALMCON,VALMDN,VALMEVL,VALMIOXY,VALMKEY,VALMLFT,VALMLST
  1. K VALMMENU,VALMSGR,VALMUP,VALMWD,VALMY,XQORS,XQORSPEW,VALMCOFF
  1. Q
  1. ; *********************************************************************
  1. ;
  1. DSP ;EP
  1. D EN^BARPST5(BARBLDA)
  1. I $E(IOST)="C",IOT["TRM",'$D(ZTQUEUED),$Y+20>IOSL W $$EN^BARVDF("IOF")
  1. W !,?15,">> SUMMARY <<",!
  1. K BARBL
  1. D SUM^BARROLL(BARBLDA)
  1. I $E(IOST)="C",IOT["TRM",'$D(ZTQUEUED) W $$EN^BARVDF("IOF")
  1. Q
  1. ; *********************************************************************
  1. ;
  1. EXIT ;EP
  1. D ^%ZISC
  1. Q