How do i auto fetch fees from program child table fees on enrollment
Program doesn’t have a Fees child table, though it would certainly be a nice addition. You’d have to add the field and write code to pull the data when a new program enrollment is created.
thanks peter have already created a child table in program based of child table program fee though i facing a challenge with writing a code to pull information on enrollment
Someone help please
This will take some coding know-how. I’m out right now and can’t really help with specifics, but these docs would be a good place to start:
i wrote a script though this script isn’t working when using program enrollment tool but on enrolling one student its picking the fees. could you help on this.
frm.doc.fees = 
var amount = 0;
var student_category = “”;
let entry = frm.add_child(“fees”);
entry.fee_structure = e.fee_structure
entry.due_date = e.due_date
entry.student_category = e.student_category
entry.amount = e.amount