We upgraded over the weekend to SP 10 (CPS12.0.10). Now none of our appointment functions are working. The only difference we can find is a change in the mldefs3 file as below. Has anyone else run into this?
mldefs3.txt used to look like this:
Object: _DoctorFacilityForPatAppt Table: DoctorFacility Refresh: rDocFacility
Property: Snapshot
Field: DoctorFacilityId Type: Long Hidden
Field: ListName Type: String Length: 60 Hidden
//Filter: typeFilter, Type=5
Now looks like this after upgrading to SP 10:
Object: _DoctorFacilityForPatAppt Table: DoctorFacility Refresh: rDocFacility
Property: Snapshot
Field: DoctorFacilityId Type: Long Hidden
Field: ListName Type: String Length: 60 Hidden
Variable: vDoctorFacilityId Type: Long Hidden
Filter: doctorFacilityFilter, DoctorFacilityId = vDoctorFacilityId Hidden
//Filter: typeFilter, Type=5
Thanks
Laurie
I had the same problem this morning, I switched the functions to look at _usersearch instead of _DoctorFacilityForPatAppt object and it works again
// Doctor lookup in _DoctorFacilityForPatAppt data object
if (find("_UserSearch","RealName","DoctorFacilityID",a[5]) "") then
a[5] = find("_UserSearch","RealName","DoctorFacilityID",a[5])
endif
// Resource lookup in _DoctorFacilityForPatAppt data object
if (find("_UserSearch","RealName","DoctorFacilityID",a[6]) "") then
a[6] = find("_UserSearch","RealName","DoctorFacilityID",a[6])
endif
Thanks, that worked. I wonder why GE changed it....
May I ask where is this function located?
Thanks a lot,
Simon
@schung...
C:\Program Files (x86)\Centricity Practice Solution\Client\mldefs3.txt
this doesn't seem to work if the schedule resource is Lab, Office Nurse, or any other schedule resource that doesn't have a user login associated with it? any ideas?