Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: XUTMTES

XUTMTES.m

Go to the documentation of this file.
XUTMTES ;SEA/RDS - TaskMan: Toolkit, Edit Start Time ; ; [ 04/02/2003   8:29 AM ]
 ;;8.0;KERNEL;**1002,1003,1004,1005,1007**;APR 1, 2003
 ;;8.0;KERNEL;;Jul 10, 1995
 ;
EDIT ;Edit start time of task
 N DIR
 S DIR(0)="DO^::AERSX"
 S DIR("A")="START TIME"
 I $P(ZTSK(0),U,6)]"" S DIR("B")=$$HTE^XLFDT($P(ZTSK(0),U,6))
 S DIR("?")="^D HELP^XUTMTES"
 S DIR("??")="^D HELP2^XUTMTES"
 D ^DIR K DIR
 I $D(DTOUT) W $C(7)
 I $D(DIRUT) Q
 S $P(ZTSK(0),U,6)=$$FMTH^XLFDT(Y)
 Q
 ;
HELP ;?-help for start time prompt
 W !!?5,"Answer must be a valid date and time."
 Q
 ;
HELP2 ;??-help for start time prompt
 W !!?5,"Answer when the task should start running.",!
 D HELP^%DTC
 Q
 ;