ECTFAR ;B'ham ISC/PTD-Accounts Receivable ;01/29/91 08:00
V ;;1.05;INTERIM MANAGEMENT SUPPORT;;
I '$D(^PRCA(430)) W *7,!!?29,"OPTION IS UNAVAILABLE!",!,"The 'Accounts Receivable' File - #430 is not loaded on your system.",!! S XQUIT="" Q
I '$O(^PRCA(430,0)) W *7,!!,"'Accounts Receivable' File - #430 has not been populated on your system.",!! S XQUIT="" Q
CTN W *7,!!?32,"*** CAUTION ***",!?17,"Report is time consuming; queueing is advised!",!?32,"***************",!!
DT S %DT="AE",%DT("A")="Enter FISCAL year for report: " D ^%DT G:Y<0 EXIT S FY=$E(Y,2,3)
DIP S DIC="^PRCA(430,",BY="1,.01,+2",(FR,TO)=FY,FLDS="2;C13;L15!,71;C40&,77;C60&",L=0
S DHD="ACCOUNTS RECEIVABLE STATISTICS" D EN1^DIP
EXIT K %DT,%X,B,BY,DHD,DIC,FLDS,FR,FY,L,TO,Y
Q
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HECTFAR 759 printed Nov 22, 2024@17:12:27 Page 2
ECTFAR ;B'ham ISC/PTD-Accounts Receivable ;01/29/91 08:00
V ;;1.05;INTERIM MANAGEMENT SUPPORT;;
+1 IF '$DATA(^PRCA(430))
WRITE *7,!!?29,"OPTION IS UNAVAILABLE!",!,"The 'Accounts Receivable' File - #430 is not loaded on your system.",!!
SET XQUIT=""
QUIT
+2 IF '$ORDER(^PRCA(430,0))
WRITE *7,!!,"'Accounts Receivable' File - #430 has not been populated on your system.",!!
SET XQUIT=""
QUIT
CTN WRITE *7,!!?32,"*** CAUTION ***",!?17,"Report is time consuming; queueing is advised!",!?32,"***************",!!
DT SET %DT="AE"
SET %DT("A")="Enter FISCAL year for report: "
DO ^%DT
if Y<0
GOTO EXIT
SET FY=$EXTRACT(Y,2,3)
DIP SET DIC="^PRCA(430,"
SET BY="1,.01,+2"
SET (FR,TO)=FY
SET FLDS="2;C13;L15!,71;C40&,77;C60&"
SET L=0
+1 SET DHD="ACCOUNTS RECEIVABLE STATISTICS"
DO EN1^DIP
EXIT KILL %DT,%X,B,BY,DHD,DIC,FLDS,FR,FY,L,TO,Y
+1 QUIT
+2 ;