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
  • 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.

  • About Us
    Who is RIO Education? RIO Events Start Your RIO Journey Experience RIO in action Customer go-live events Our Partners Housekeeping Careers
  • RIO Insights
  • RIO Recipe
    Project Management & Governance Discovery Design & Prototype Build & Implementation UAT Deployment & Metadata RIO Recipe: Training
  • RIO Certification
    RIO Certification Program RIO Academy RIO Challenge V2 RIO Recipe Training
  • Install RIO Education
    Configuration Integration with RIO Extension Package Installer Products
  • Releases
    Release Notes
  • Support
    Support FAQs Feature Articles Deep Dive Updates for other products
+ 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 Inc, a WDCi Company. This information is proprietary, confidential and protected by copyright ©2023.

CONTACT

E:  getinfo@wdcigroup.net

  • Privacy
  • Terms of service

Definition by Author

0
0
Expand