source: WorldVistAEHR/trunk/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/RCRCRT2.m@ 634

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

initial load of WorldVistAEHR

File size: 2.0 KB
Line 
1RCRCRT2 ;ALB-ISC/CMS - RC AND DOJ TRANSACTION ROU 2 ;8/15/97
2V ;;4.5;Accounts Receivable;**63**;Mar 20, 1995
3 ;;Per VHA Directive 10-93-142, this routine should not be modified.
4 ;
5CAN ;Called from RCRCRT1 ask to Cancel
6 N DA,DIC,DIE,DR,PRCAEN,D0,X,Y,%
7 W !!
8 S %=2 W !,"Do you want to CANCEL this referral to RC/DOJ " D YN^DICN
9 I %'=1 W !,"NOTHING CHANGED !",! G CANQ
10 S DA=PRCABN,DIE="^PRCA(430,"
11 S DR="64///@;65///@;66///@" D ^DIE
12 W !,"Bill is no longer Referred! ",!
13 S %=2 W !,"Do you want to add a Bill Comment Log entry " D YN^DICN
14 I %'=1 W !,"No Bill Comment Log entry added !",! G CANQ
15 ;
16 D SETTR^PRCAUTL,PATTR^PRCAUTL S DIC="^PRCA(433," K PRCAMT,PRCAD("DELETE")
17 S DA=PRCAEN,DR="[PRCA COMMENT]",DIE="^PRCA(433," D ^DIE
18 S DR="4////^S X=2" D ^DIE
19 W !,"Bill Comment Added!",!
20 ;
21CANQ Q
22 ;
23WRDATA ;display the input data in 433 from RCRCRT1
24 W !!," Transaction Information for AR Bill No. ",$P(PRCABN0,U,1)," Tran.No: ",PRCAEN
25 W !!," Type: ",PRCAKTY," Date: ",PRCAKDT," Amount: ",$J(PRCATOT,0,2)
26 W !!,"PRIN.BAL.",?13,"INT.BAL.",?27,"ADMIN.BAL.",?42,"MARSHAL FEE",?57,"COURT COST"
27 W !,$J(PRCAPB,0,2),?15,$J(PRCAIB,0,2),?28,$J(PRCAAB,0,2),?43,$J(PRCAMF,0,2),?58,$J(PRCACC,0,2),!
28 I $P($G(^PRCA(433,PRCAEN,7,0)),U,4)="" G WRDATAQ
29 W !,"Transaction Comment: "
30 S X=0 F S X=$O(^PRCA(433,PRCAEN,7,X)) Q:'X D
31 . W !,$G(^PRCA(433,PRCAEN,7,X,0))
32 W !
33WRDATAQ Q
34 ;
35WRREF ;Display the current Bill Referral Information called from RCRCRT1
36 N REF,REREF,RET,X,Y,%
37 W !!,"Current Bill Referral Information:"
38 S Y=+PRCADT D D^DIQ S REF=Y
39 S Y=+$P(PRCABN6,U,10) D D^DIQ S REREF=Y
40 S Y=+$P(PRCABN6,U,11) D D^DIQ S RET=Y
41 I REF=0,REREF=0,RET=0 W " <No Bill Referral Information>",! G WRREFA
42 W !!,"Referred to: ",PRCACODE," Referral Date: ",$S(REF=0:"",1:REF)," Referral Amount: $",PRCARAMT
43 I REREF'=0 W !," Bill was Re-Referred on: ",REREF
44 I RET'=0 W !," Bill was Returned from RC/DOJ on: ",RET
45WRREFA ;
46 S %=1 W !!,"Do you want to Continue " D YN^DICN
47 I %=2 S RCOUT=1
48WRREFQ Q
49 ;RCRCRT2
Note: See TracBrowser for help on using the repository browser.