I created an additional new button in Sales Agreement (creating new record). Where if it's the one clicked, the Agreement Classification value will have a certain value. I've already done detecting if that button is clicked, now what I am trying to do is assign a value on AgreementClassification, where it is a dropdown box that has a lookup method. (in its field on its table)

What I did is assigned a value when the form is loaded on the run() method.
I tried doing:
SalesAgreementHeader_AgreementClassification1.value(5637144580);
where 5637144580 is the recId of that value. I used .value because the form object doesn't have .text and it doesn't work.
How can I assign a default value to that dropdown box?
*This post is locked for comments
I have the same question (0)