Problem with getting student information on fees

Hello!

I’m having problems with getting information from student in the fees doctype.

When I try to get some information from the link field Student on Fees doctype nothing happens.

Look at the above attachment.

As you can see, I have those information on Student. But when I push the student in the Fees, nothing happens.

Is there anything wrong on that?
I hope you can help me.
Thank you!

CC @ManasSolanki

Hi @guizox,
Do you want to fetch the custom field of the Student in the Fees? Additionally, if you could just tell me the version of frappe and erpnext, it will be helpful to figure out the solution.

Hello @ManasSolanki.

Yeap, I wouold like to display those student’s fields on fees page from one linked field.

I don’t know if is what you’re excepting, but I think those are the configuration.

Installed Apps

ERPNext: v7.2.32

ERPNext Shopify: v2.0.4

Frappe Framework: v7.2.31

Thank you!

Hi @guizox,
The current configuration doesn’t have any such feature. However, you can do so very easily by passing the api in the options field as given.
<link-field-name>.<fieldname-in-the-linked-doctype>
For ex. you have the student link field as fieldname “student” in the fee doctype, so if you want to fetch “CPF” of the student to the “Student CPF” field in the fee you have to enter “student.cpf” in the option field of the Student CPF.

Hello @ManasSolanki.
The point is that I was doing exactually this and it wasn’t working…
I linked Student with the variable name : student.
And in the other field, I was putting student.cpf, but the value wasn’t coming.
That’s my point.