variables.ElementName = getScheduleCEName(); variables.elementIDfield = "uniqueID"; variables.parentIDfield = "parentID"; //variables.CCAPIName = getCCAPIName(variables.elementName); if ( LEN(arguments.uuid) ) return variables.scheduleDAO.getSchedules(idFieldName=variables.elementIDfield, uniqueID=TRIM(arguments.uuid)); else return variables.scheduleDAO.getSchedules(); var dtStruct = StructNew(); var dtArray = getDateTimeData(uuid=arguments.uniqueID); if ( ArrayLen(dtArray) ) dtStruct = dtArray[1]; return dtStruct; return variables.scheduleDAO.getSchedules(idFieldName=variables.parentIDfield, uniqueID=TRIM(arguments.classID)); var formID = getScheduleFormID(); var elementFields = application.ptCourseCatalog.ceData.getElementFieldsByFormID(formID); var currPageID = 0; var i = 1; var j = 1;