SFEE_DepositFee_TDTM
Student Fee deposit fee trigger handler/TDTM
Custom Permission | REDU - Admin, REDU - Student |
Event | AfterInsert |
Object | Student Fee |
Related RIO Education Settings | None |
Description
Whenever the first Student Fee of Type Tuition for a Program Enrollment is inserted, if the Program Enrollment's Program Plan's 'Auto Generate Deposit Student Fee' field is checked and its 'Void' field is not checked, this class will create a negative Fee Line related to the first Tuition Student Fee, provided the Deposit Student Fee for the Program Enrollment has a related Fee Line with a non-null Other Amount field.
The new negative Fee Line will take its Fee Unit Override, Other Description and Other Fee Type fields from the Deposit Fee Line. Its Discountable field will be set to false and its Other Amount field will be the negative of the Deposit Fee Line's Other Amount field.