plz suggest. I have a custom object " Asset" and a child object " Car Accessories" ( master-detail relationship). i have created a custom button " Add New" on car access. object to create a new records,the reason being,, i want a particular " name" to auto-appear (TBA) as the name in the new records. But even if the names is appearing OK, the related asset ID is not showing in the look up field. can anybody plz suggest where i went wrong? Below my javascript code for the new button,
window.location.href="/a36/e?retURL=%2F{!Asset.Id}&assid={!Asset.Id}&Name=TBA&00NN0000002GOcY={!Asset.Name}"
The result being as per below, I am missing the related asset from where i have created the new record. It should appear.
In the new record the URL showing is as below, The name of the related Asset record is " test" which is showing in the URL but not in the detailed page. plz suggest. Thanks https://cs6.salesforce.com/a36/e?retURL=%2F02iN0000001aYvG&assid=02iN0000001aYvG&Name=TBA&00NN0000002GOcY=test