frappe/changemakers

Active partner or not should be visible in tickets export

Nikhil-Jorge opened this issue · 7 comments

Right now, when we select a beneficiary in a ticket, age and gender fields come up as extra fields. Can we add a field for active partners also - which will be fetched from Beneficiary

I cannot see an "Active Partner" field in the Beneficiary doctype. Is this something that was custom at your end?

image

YES IT IS!

Perhaps, in tickets add another field "Active Partner" through Customize Form.

And fetch Active Partner field from Beneficiary
image

As it is custom on your end, I would not like to avoid the chances of breaking anything by duplicating the active partner field from my side. It is pretty straightforward, but please let me know if you need any help.

Yes. I need a help. If the benefiary we select is active partner , we should fetch that. Do I need to create a link datatype in the form?

@Nikhil-Jorge Tickets already have a link to beneficiary doctype. But if you want to implement fetching in some other doctype, you will require a link field to the doctype you wanna fetch from.

You can learn more about fetching from here: Fetch From: All About DocType Form in Frappe Framework - Build With Hussain

Done. thanks for the support.