source: WorldVistAEHR/trunk/r/INTERIM_MANAGEMENT_SUPPORT-ECT/ECTFBAL.m@ 1147

Last change on this file since 1147 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 1.6 KB
RevLine 
[613]1ECTFBAL ;B'ham ISC/PTD-Fund Control Point Balance Sheet ;01/29/91 08:00
2V ;;1.05;INTERIM MANAGEMENT SUPPORT;;
3 I '$D(^PRC(420)) W *7,!!?29,"OPTION IS UNAVAILABLE!",!,"The 'Fund Control Point' File - #420 is not loaded on your system.",!! S XQUIT="" Q
4 I '$O(^PRC(420,0)) W *7,!!,"'Fund Control Point' File - #420 has not been populated on your system.",!! S XQUIT="" Q
5 S CNT=0 F J=0:0 S J=$O(^PRC(420,J)) Q:'J S CNT=CNT+1
6DIC I CNT>1 W !! S DIC="^PRC(420,",DIC(0)="QEANM",DIC("A")="Select STATION number: " D ^DIC G:Y<0 EXIT S STNUM=+Y
7 I CNT=1 S STNUM=$O(^PRC(420,0))
8YR W !,"You may select the fiscal year for this report.",!
9 S %DT="AE",%DT("A")="Enter FISCAL YEAR: ",%DT(0)=2850000 D ^%DT K %DT G:$D(DTOUT)!("^"[X) EXIT S YRDA=$E(Y,1,3),YR=$E(Y,2,3)
10QTR S CYR=$E(DT,1,3),CFY=$E(DT,4)+CYR,QTR=$E(222333444111,+$E(DT,4,5)) I YRDA<CFY S QTR=4
11 I YRDA>CFY W *7,!!?10,"FUTURE fiscal years NOT allowed.",! K YRDA,YR,CYR,CFY,CMO G YR
12DIP S DIC="^PRC(420,",BY="@.01,1;S,.01,1,15,@.01",(FR,TO)=STNUM_",,"_YR,L=0
13 I QTR=1 S FLDS="1,.01,.5,15,1;L10;C35;""1QTR UNCOM BAL"",5;L10;C50;""1QTR UNOBL BAL"",9;L10;C65;""1QTR SCP UNCOM BAL"""
14 I QTR=2 S FLDS="1,.01,.5,15,2;L10;C35;""2QTR UNCOM BAL"",6;L10;C50;""2QTR UNOBL BAL"",10;L10;C65;""2QTR SCP UNCOM BAL"""
15 I QTR=3 S FLDS="1,.01,.5,15,3;L10;C35;""3QTR UNCOM BAL"",7;L10;C50;""3QTR UNOBL BAL"",11;L10;C65;""3QTR SCP UNCOM BAL"""
16 I QTR=4 S FLDS="1,.01,.5,15,4;L10;C35;""4QTR UNCOM BAL"",8;L10;C50;""4QTR UNOBL BAL"",12;L10;C65;""4QTR SCP UNCOM BAL"""
17 S DHD="FUND CONTROL POINT REPORT FOR FY '"_YR D EN1^DIP
18EXIT K %,%DT,%Y,B,BY,CFY,CNT,CYR,DHD,DIC,DTOUT,FLDS,FR,J,L,QTR,STNUM,TO,X,Y,YR,YRDA
19 Q
20 ;
Note: See TracBrowser for help on using the repository browser.