Order trigger handler/TDTM to update the status of child Study Credit and Study Registration records
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.
Introduced in v3.14, this class is used alongside the Order Status Custom Metadata Type, to handle the mapping of Study Credit and Study Registration status fields.
When the status of an Order is updated, this class will automatically update the status fields of the Order's child records:
using the respective values defined in the Order Status Custom Metadata Type.
The student then completes payment, and the Order will have Status = Paid.
The statuses of the child Study Credits and Study Registration records will be automatically updated by this class, based on the field mapping defined in the Order Status Custom Metadata Type.