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

COUR_SetLatestVersion_TDTM

Course trigger handler/TDTM for setting Course Header: Latest Course Version and unsetting previous Course: Latest

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
    V3 Release Notes V4 Release Notes
  • Help & Support
    Install RIO Education RIO Insights RIO Recipe Support RIO Graduate/Intern Program Trainee (GPT)
  • Experience RIO in action
  • RIO Insights
+ More

Table of Contents

Description
Custom Permission None
Event BeforeUpdate, AfterInsert, AfterUpdate
Object Course
Related RIO Education Settings Enable Course Versioning

Description

When a Course is inserted or updated, this trigger will populate/replace its parent Course Header: Latest Course Version with a lookup to this new/updated Course, and will unset Course: Latest on that Course Header's previous Course versions. This will only proceed if this is:

  • an existing Course where either Course: Latest or Course: Course Header has been updated, or
  • a new Course where Course: Latest = true and is not populated with a lookup to a Course Header.

A validation check is performed to prevent demoting the latest course version when no replacement is being promoted in the same transaction (there must always be a Latest Course).

Another check is performed to prevent a single Course Header from having multiple Courses set as Latest.

 

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • AC_CheckCourseIds_TDTM
  • APP_AssignOwnership_TDTM
  • APP_ConvertLead_TDTM
  • APP_CreateEnrollment_TDTM
  • APP_CreateFundingAllocation_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