0

I tried passing opportunity id and name

        quotefields[OPPORTUNITY_FIELD.fieldApiName] = ???;
        const recordInput1 = { apiName: QUOTE_OBJECT.objectApiName, quotefields };
        console.log(recordInput1)

        //creating a quote
        createRecord(recordInput1)

1 Answers1

0

there are no such specific requirements to a lookup field. you just have to pass the id of the record as a string that you want to lookup from the created record.

Jasneet Dua
  • 3,796
  • 2
  • 10
  • 15