Copy custom field from accounts to quotations

Copy custom field from accounts to quotations

I have a custom field in accounts ("payment terms";drop down field ) which should be brought over to a new quotation when created. In Quotations module I have a custom field with exactly the same name; drop down as well.

I tried to write a custom fuction script in deluge but I am struggling for a week now getting frustrated by all type mismatch or other error messages.
Zoho's support is not bad, but by just forwarding me to custom functions the problem is not solved. @Zoho support: Please keep in mind that not everyone is a programmer. Reading all threads I am not the only one here struggling with Deluge.

Already after the first 2 lines I het a "Argument type mismatch" error":
offertenr = zoho.crm.getRecordById("Quotes", offerteID);
info offertenr ;
*******
Can anyone please write a script which does this simple job?

Much appreciated...