source: WorldVistAEHR/trunk/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/RCFMUDL.m@ 1714

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

initial load of WorldVistAEHR

File size: 805 bytes
Line 
1RCFMUDL ;WASH-ISC@ALTOONA,PA/RB-UNPROCESSED DOCUMENT LIST ;11/10/94 1:55 PM
2V ;;4.5;Accounts Receivable;;Mar 20, 1995
3 ;;Per VHA Directive 10-93-142, this routine should not be modified.
4EN ;Entry point from UDLIST^PRCABJ1
5 N DCDT S DCDT=1 I $G(IOP)="" S IOP=RCFMDEV
6EN2 ;Entry point from Unprocessed Document List option
7 N BY,DHD,DIC,DIS,FLDS,FR,L,TO
8 S DIC=347,BY="@.03"_$S($G(DCDT)="":",@.05;""DOCUMENT DATE""",1:"")
9 S (FR,TO)=$S($G(DCDT)="":",?",1:""),L=0
10 S FLDS="[PRCA FMS UNPROCESSED LIST]"
11 S DIS(0)="I $P(^RC(347,D0,0),""^"",3)'=2"
12 I $G(DCDT) S DIS(1)="I +$$DAYS^RCFMUDL($P(^RC(347,D0,0),""^"",5))'<3"
13 S DHD="FMS UNPROCESSED DOCUMENT LIST" D EN1^DIP,^%ZISC Q
14 ;
15DAYS(Z) ;Determines no. of days since document has been updated
16 N X1,X2,Y I $G(Z)="" S Y="" Q Y
17 S X1=DT,X2=Z D ^%DTC S Y=X Q Y
Note: See TracBrowser for help on using the repository browser.