source: FOIAVistA/tag/r/CMOP-PSX/PSXCSLG1.m@ 1039

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

initial load of FOIAVistA 6/30/08 version

File size: 730 bytes
Line 
1PSXCSLG1 ;BIR/JMB-Adds & Updates Cost Task Log-CONTINUED ;[ 04/08/97 2:06 PM ]
2 ;;2.0;CMOP;;11 Apr 97
3QUE ;Adds task to log
4 Q:'$D(PSXBDT)!('$D(PSXEDT))!('$D(DUZ))!('$D(PSXJOB))!('$D(ZTSK))
5 S:'$D(^PSX(554,1,2,0)) ^PSX(554,1,2,0)="^554.02DA^^"
6 S X=$E($$HTFM^XLFDT($H),1,14),DINUM=PSXSTART
7 S DIC("DR")="1///0;2///^S X=PSXBDT;3///^S X=PSXEDT;4///^S X=DUZ;5///^S X=PSXJOB"_$S($D(ZTSK):";7///^S X=ZTSK",1:"")
8 S DLAYGO=554.02,DIC(0)="LMZ",DA(1)=1,DIC="^PSX(554,1,2,"
9 K DD,DO D ^DIC K DA,DIC,DINUM,DLAYGO,X
10 Q
11RUN S DIE="^PSX(554,1,2,",DA(1)=1,DA=PSXSTART,DR="1///1" D ^DIE K DA,DIE,DR
12 Q
13END S PSXJOBE=$E($$HTFM^XLFDT($H),1,14)
14 S DIE="^PSX(554,1,2,",DA(1)=1,DA=PSXSTART,DR="1///2;6///^S X=PSXJOBE" D ^DIE K DA,DIE,DR,PSXJOBE
15 Q
Note: See TracBrowser for help on using the repository browser.