XUINP313 ;ISF/RWF - Post-init for patch XU*8*313 ;07/14/2003 14:41 ;;8.0;KERNEL;**313**;Jul 10, 1995 ; POST ;Run Terminate event for users after 6/10/2003 N Y,DATE,DT S Y=$G(XPDQUES("POS001")) Q:Y'=1 S DT=$$DT^XLFDT S DATE=$G(XPDQUES("POS002")) Q:DATE'>3030101 D PROC Q ; TEST ;Test Terminate event N Y,DIR,DUOUT,DTOUT,DATE S DIR(0)="Y",DIR("A")="Run Terminate events",DIR("B")="NO" S DIR("A",1)="If you installed patch XU*8*290 you should answer Yes" S DIR("A",2)="(If you installed XU*8*313 V3, this has already been done)" S DIR("A",3)="" S DIR("A",4)="A Yes answer will cause all users Terminated after a date you" S DIR("A",5)="choose to have the XU USER TERMINATE protocol run on them." D ^DIR Q:Y'=1 K DIR S DIR(0)="D^3030101:3030701" S DIR("A")="Date of patch XU*8*290 install",DIR("B")="06/10/2003" D ^DIR S DATE=Y Q:DATE'>3030101 S DT=$$DT^XLFDT D PROC Q ; PROC ;Process N XUDA,XUIEN,XUIFN,D S XUDA=.5 F S XUDA=$O(^VA(200,XUDA)) Q:XUDA'>0 S X=$G(^VA(200,XUDA,0)),D=$P(X,"^",11) I D>DATE,D