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

ABPAPDV0.m

Go to the documentation of this file.
ABPAPDV0 ;PVT-INS PAYMENT DISPLAY (START); [ 03/08/91  4:38 PM ]
 ;;1.4;AO PVT-INS TRACKING;*0*;IHS-OKC/KJR;JULY 25, 1991
 D XIT,CURRENT^%ZIS S U="^"
 S ABPA("HD",1)=ABPATLE,ABPA("HD",2)="DISPLAY existing payments"
 D ^ABPAHD
BATDT K DIC S DIC("A")="Select PAYMENT BATCH DATE: "
 S DIC="^ABPAPBAT(",DIC(0)="AEQZ" W !! D ^DIC
 I +Y<0 D XIT G END
 S ABPABDT=+$E(+Y,4,5)_"/"_+$E(+Y,6,7)_"/"_+$E(+Y,2,3)
 S ABPABDFN=+Y K ABPA("HD")
 S ABPA("HD",1)=ABPATLE,ABPA("HD",2)="DISPLAY existing payments"
 D ^ABPAHD W !!
 S X="BATCH DATE = "_ABPABDT W !!?(40-($L(X)/2)),X
FAC K DIC S DIC="^DIC(4,",DIC(0)="AEQZ",DIC("A")="Select BATCH FACILITY: "
 W !! D ^DIC I +Y<1 G ABPAPDV0
 S ABPASITE=+Y
CONT G ^ABPAPDV1
XIT K ABPADDFN,ABPATDFN,ABPADT,ABPADTD,ABPAPAT,D,ABPAX,ABPAFRDT,ABPATODT
 K ABPA,ABPAL,DIC,C,ABPADT,ABPAQKS,ABPAQK,ABPAHRN,DA,J,K,Z,XQH
 K ABPAC,ABPAI,ABPAXX,ABPAINS,DIE,DR,ABPAPD,ABPABDT,ABPASITE,DIC,X,Y Q
END K ABPA("I"),ABPABDFN Q