[SalesForce] How to auto populate the currency value into the custom object while creating record using related list button

I have opportunity car set (custom object , Master object) which has a related list in that "service"(custom object,child object). In service there is a standard picklist field called "Currency".

It has two values.

  1. EUR-Euro

  2. DZD-Algerian Dinar

I need to populate the currency field value as "DZD-Algerian Dinar" in service object if Opportunity Car set "country code"(Custom field) equals to DZ.
Like this according to the country code, currency field value needs to get populated.

I am able to populate a text field and lookup field using below code. But i am unable to populate the currency field

Example:

/a0B/e?CF00NA0000005JzZX={!ObjectMaster__c.Name}
 &CF00NA0000005JzZX_lkid={!ObjectMaster__c.Id}
 &00NF00000082xeJ={!ObjectMaster__c.TextField__c}
 &retURL=/{!ObjectMaster__c.Id}

Please help me out!!! Thanks in advance !!

Best Answer

Like @Cropedy said you just need to add CurrencyIsoCode in url as

&CurrencyIsoCode=DZD

DZD can be your picklist value. there will a chance where picklist label and value is not same.

Inspect element the picklist and check the correct value

Related Topic