+ Start a Discussion
SrinuSrinu 

Lookup field in not populating upon case creation

Hi All,

I have a custom VF page and corresponding apex controller class and inserting the case by using a insert DML statement. User provides information on custom VF page and click save button. Case will be inserted. Upon this step case trigger code will be executed. 

I have a before insert section where am trying to populate values for couple of fields.
1. Entitlemnet Id(Lookup to Entitlement) - In debugs I can see value but not on the case.
2. Custome field  - Can see value in debugs as well on the case once it's created. 
Not sure why I can't see value on the case ?

I have a portal view & standard view in my salesforce org. Code/configerations are working fine in standard mode and not in portal mode. 

Any ideas?

Thanks,
Srinu