US English (US)
ES Spanish

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Log in
English (US)
US English (US)
ES Spanish
  • Home
  • Help & Support
  • Support
  • Deep Dive
  • Technical Guides
  • Trigger Handlers

PRGPST_ProgramEnrollment_TDTM

Program Enrollment trigger handler/TDTM

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • RIO Certification
    RIO Certification Program RIO Academy RIO Challenge RIO Recipe Training
  • Releases
    Release Notes
  • Help & Support
    Install RIO Education RIO Insights RIO Recipe Support
  • About Us
    Who is RIO Education? Start Your RIO Journey Housekeeping
  • Experience RIO in action
+ More

Custom Permission REDU - Admin
Event AfterInsert, AfterUpdate
Object Program Enrollment
Related RIO Education Settings Group Plan Requirement RT Id


Description

Whenever a new Program Enrollment with an in-progress Status is inserted, or whenever an existing Program Enrollment is updated from a draft Status to an in-progress Status, this class creates PE Group records for each of the related Program Plan's group Plan Requirements‍.


It links each new PE Group to the Program Enrollment and Plan Requirement, and sets the PE Group Name, Category, Credits, Description, Max Credits, Hide in Enrollment, Show Child Groups, Courses Required, and Credits equivalent per Course fields using the corresponding values from the Plan Requirement. In the case of shared groups, it will also create a PE Group for reach of the group's child group Plan Requirements.


Furthermore, for each Pathway Unit in the Program Pathway, this class will create a new PE Pathway record, linking it to the Program Enrollment and Program Pathway and setting the Notes, Number of Terms, Study Mode, Recommended Credits, and Max Credits field using the values from the Program Pathway.


If the Program Pathway's Enrollment Method is 'Automatic all terms' or if the My Term field is 1 and the Program Pathway's Enrollment Method is 'Automatic by term/course', then the Automatically Enroll in Courses field is set to true.


If the My Term field is 1, then the Term field is set to the Starting Term field value from the Program Enrollment record. If that field is not set, then it uses the Next Starting Term field from the Program Pathway's related Program Plan‍.


If the My Term field is not 1, then the Term‍ is set based on previous Term hierarchy.


Use case

Suppose a scenario where a student has applied for a Program, but the Program Enrollment is still in draft and not approved by the administrators yet, who are tracking if the application fees have been paid.

Once these are paid, the student is approved to enroll, and the Program Enrollment status is changed from 'Draft' to 'Current'. This trigger will then automatically create records of enrollment to the Plan Requirements.



Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • ERR_PopulateLookupFields_TDTM
  • FAC_UpsertResource_TDTM
  • LR_ApprovedAttendance_TDTM
  • DIS_DeletePayment_TDTM
RIO Education

RIO Education, a WDCi Company. This information is proprietary, confidential and protected by copyright ©2024.

CONTACT

Get in touch

  • Privacy
  • Terms of service

Knowledge Base Software powered by Helpjuice

Definition by Author

0
0
Expand