Custom function to update new record with associated value, how do I do this when it's another related value?

Custom function to update new record with associated value, how do I do this when it's another related value?

Hi everyone,

So I was able to get it to work where if I'm in Accounts and I create a new Quote, using Workflow and Custom Functions I'm able to take a String field from Accounts, like "DUNS" and when creating a new quote have it populate the "DUNS" field on the Quote using that value.  The formula I used waS:

updateduns = zoho.crm.updateRecord("Quotes",input.quoteid.toString(),{ "DUNS" : input.dunsid });

quoteid is set to the Quote ID value, and dunsid is set to the DUNS value from Accounts.

The problem is I'm trying to do the same thing but with "Account Executive" which is a custom module similar to contacts.  Each Account has one Account Executive assigned to it (different from Zoho users) and appears on Accounts as a look u field called "Account Executive".  When I do this:

updateae = zoho.crm.updateRecord("Quotes",input.quoteid.toString(),{ "Account Executive" : input.accountexecutive });

accountexecutive maps to the "Account Executive" look up field on the Account, however this never works.  Do I have to do something different when I'm trying to update a look up field?