Changeset 858
- Timestamp:
- Jul 13, 2010, 2:58:25 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/m/BSDX29.m
r614 r858 1 BSDX29 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 1 BSDX29 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/13/10 9:47am 2 2 ;;2.0;IHS WINDOWS SCHEDULING;;NOV 01, 2007 3 3 ; … … 14 14 ; 15 15 ;Returns ADO Recordset formatted fields containing count of records copied and error message: 16 ; 17 ; July 13 2010: D dates (BEG and END) from US format to FM Dates for i18n 16 18 ; 17 19 ; … … 23 25 ; 24 26 ;Convert beginning and ending dates 25 26 S X=BSDXBEG,%DT="X" D ^%DT S BSDXBEG=$P(Y,"."),BSDXBEG=BSDXBEG-1 27 I Y=-1 D ERR(BSDXI,0,"Routine: BSDX29, Error: Invalid Date") Q28 S X=BSDXEND,%DT="X" D ^%DT S BSDXEND=$P(Y,"."),BSDXEND=BSDXEND+129 I Y=-1 D ERR(BSDXI,0,"Routine: BSDX29, Error: Invalid Date") Q27 ; 28 ;TODO:Validate FM Dates coming through 29 ; 30 S BSDXBEG=BSDXBEG-1 31 S BSDXEND=BSDXEND+1 30 32 ; 31 33 S ZTRTN="ZTM^BSDX29",ZTDTH=$H,ZTDESC="COPY PATIENT APPTS"
Note:
See TracChangeset
for help on using the changeset viewer.