Print Format in Quotation Module - Get Variables

Hello,

Now I’m trying to customize a new print format for Quotation. I’d like to automatically get a person’s name who creates a quote transaction and include to the PDF form. Please let me know how to achieve this case?

Thank you so much in advance.

Regards,

Check this

Hi,

Refer,

Thank you so much for your suggestion.

Please help me to look at this. If I’d like to customize the form that will show an owner during creating a transaction. I have to create as in below figure, don’t I?

Regards,

Add Owner field in your form.

It will show you the creator of the transaction.

Thanks so much again for your reply.

Could you please let me know where I can find the set of available fields in ERPNext of each module like you suggested for “owner”?

If I’d like to show Full Name instead of User, which field do I have to choose?

Thanks in advance.

Regards,

There is no field to fetch full_name. you have to write script for it.

frappe.get_fullname(doc.owner) gives you owner full_name
set it to your custom field

Is it possible to get First name and Last name from a current user that provided in Settings?

Thanks

@cipher[quote=“cipher, post:8, topic:23417”]
Is it possible to get First name and Last name from a current user that provided in Settings?
[/quote]

yes use

frappe.db.get_value() to fetch value of any field from another doc