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

SOBJ_DeleteValidation_TDTM

Plan Requirement delete validation 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

Table of Contents

Description Use case

Custom Permission REDU - Admin, REDU - Faculty, REDU - Student
Event BeforeDelete
Object Plan Requirement
Related RIO Education Settings None


Description

This class prevents a record from being deleted, if it is being referenced by any child records, provided the child record is not the same object as the parent and the "What to do if the lookup record is deleted?" option is set to "Clear the value of this field".

Note: As of v3.14, Master-Detail relationships are excluded from the delete validation. In other words, if the child record is a Detail, then, the user will be allowed to delete the parent record (Master).


By default, this trigger is enabled only on the Plan Requirement object. However, it can also be enabled for other objects by creating a Trigger Handler record as follows:

  • Name = Any name
  • Class = rio_ed.SOBJ_DeleteValidation_TDTM
  • Load Order = 1 (or any that is suitable)
  • Object = object API name
  • Trigger Action = BeforeDelete
  • User Managed = checked
  • Active = checked


Use case

Plan Requirements are used to layout the structure of a Program Plan.‍ A Course Plan Requirement is the record of a Course that a student needs to take for a Program. Multiple Course Plan Requirements can be grouped under a Group Plan Requirement.

This class will prevent the user from deleting the Group Plan Requirement, since all the child records under it (Course Plan Requirements) are parked under it.



Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • ATTD_HoursAttended_TDTM
  • APP_LinkFundingAllocation_TDTM
  • SE_ClearClonedFields_TDTM
  • PREN_ProgramFee_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