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

ORDL_CalculateAmount_TDTM

Order Line trigger handler/TDTM to calculate amount

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 None
Event BeforeInsert, BeforeUpdate
Object Order Line
Related RIO Education Settings None

 

Description

Introduced in v3.14, this trigger handler is created against the Order Line object.

It will automatically calculate the ‘Amount’ field with the following formula: Amount = Quantity * Unit Price . This will automatically trigger every time the Quantity, Unit Price, or Amount is changed.

If the Order Line's ‘Quantity’ or ‘Unit Price’ fields are blank, it will throw an error to notify the user that these fields are required.

If the Order Line has a Study Credit linked in the lookup, the class will skip the Amount calculation and force it to be $0.

 

Use case

Order and Order Lines are created when a user registers for (buys) Study Offerings.

The amount that the user needs to pay will be calculated with this trigger.

For a Continuing Education use case, see here.

 

 

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • PECRS_RequirementMet_TDTM
  • FA_LinkFundingAllocation_TDTM
  • PECS_RequirementLogic_TDTM
  • PWUN_PlanRequirementCourse_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