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

ABPAPD0.m

Go to the documentation of this file.
ABPAPD0 ;PVT-INS PAYMENT ENTRY (START); [ 07/01/91  4:33 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)="Post PAYMENT Data" D ^ABPAHD
BATDT D ^ABPAGPB I $D(ABPABDT)'=1 D XIT G END
 K ABPA("HD") S ABPA("HD",1)=ABPATLE,ABPA("HD",2)="Post PAYMENT Data"
 D ^ABPAHD W !! S D0=ABPABDFN K DXS D ^ABPABAT K DXS
 D CHECK^ABPACMRP I 'CLOSED K CLOSED D XIT G END
FAC K DIC S DIC="^DIC(4,",DIC(0)="AEQZ",DIC("A")="Select BATCH FACILITY: "
 W !! D ^DIC I +Y<1 D  G ABPAPD0
 .D ^ABPABRC0,XIT S U="^"
 .S ABPA("HD",1)=ABPATLE,ABPA("HD",2)="Post PAYMENT Data"
 .S ABPA("HD",3)="BATCH SUMMARY" D ^ABPAHD W !! S D0=ABPABDFN K DXS
 .D ^ABPABAT K DXS W ! F X=1:1:79 W "="
 .D CLOSE^ABPABRC0,PAUSE^ABPAMAIN L
 S ABPASITE=+Y
 G ^ABPAPD1
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,ABPACSCR
 K ABPAC,ABPAI,ABPAXX,ABPAINS,DIE,DR,ABPAPD,ABPABDT,ABPASITE,DIC,X,Y
 Q
END K ABPA("I"),ABPABDFN,ERRFLG,LBATDT,DIK Q