locked
Auto Fill MultiVal Attribute (Script?) RRS feed

  • Question

  • In our CRM database we have a contract entity that has a 1-n relation with a case entity.  Now within the case entity it'self the Contract Line (type of service ocntract) is not required but for osme reason it is required when creating a case within a customers contract.  Not really a problem, I am looking to fill the value for Contract Line when creating a case through the Contract window with the clients contract.  There will only be one value for Contract Line but I am not sure how to pull down the value from a lookup attribute.

    Hope this is clear

    TIA
    Phil
    Friday, July 10, 2009 5:25 PM

Answers

  • I only use javascript, so I would create an onload function and call it during the on change of the contact.

    ONLOAD of the FORM
    functionname = function()
    {
    If(field != null)
       {
       SOAP call to retrieve data
       }
    }

    ONCHANGE of the field
    functionname();



    Withers
    Monday, July 13, 2009 9:46 PM