java api - filling lookup fields in main table
I need to create a record in main table . The record gets created but the lookup field values are not field.
To fill the lookupfields I am using the below statement.
r1.setFieldValue(fld1, new LookupValue(rec_lookup_id));
where fld1 - is the field id
rec_lookup_id - record id of the lookup record
Kindly let me know what more needs to be done to fill the lookup fields
Edited by: Sudheendra Puthuraya on Oct 9, 2008 11:05 AM