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