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

ABMURBCH.m

Go to the documentation of this file.
  1. ABMURBCH ; IHS/SD/SDR - 3PB/UFMS Resend Batch option
  1. ;;2.6;IHS 3P BILLING SYSTEM;;NOV 12, 2009
  1. ;
  1. ; New routine - v2.5 p12 SDD item 4.9.2.6
  1. ;
  1. Q
  1. START ;START HERE
  1. W !
  1. S ABMLOC=$$FINDLOC^ABMUCUTL
  1. S DIC("S")="I $P($G(^ABMUTXMT(Y,0)),U,4)=ABMLOC"
  1. S DIC="^ABMUTXMT("
  1. S DIC(0)="AEMQ"
  1. S DIC("A")="Select export date: "
  1. D ^DIC
  1. K DIC
  1. Q:Y<0
  1. S ABMP("XMIT")=+Y
  1. D BDISPLAY^ABMUCUTL(ABMP("XMIT"))
  1. W !!
  1. S DIR(0)="YO"
  1. S DIR("A")="Would you like to continue and add these bills to the next export file?"
  1. S DIR("B")="N"
  1. D ^DIR K DIR
  1. I +Y'=1 Q ;do not send batch
  1. D REQBTCH^ABMUCUTL(ABMP("XMIT")) ;add to user session for transmission
  1. S DIR(0)="E"
  1. D ^DIR
  1. K DIR
  1. K ABMP
  1. Q