Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

how can I fill _contactid_value of quote

(0) ShareShare
ReportReport
Posted on by 219

Hello, when I make an odata call myorg..api/data/v9.0/quotes I get a as response the field _contactid_Value

but I cant find the field in the solution or on the form...

How Can i fill it? Or do I need to make a custom lookup field to set a contact (of a company) to the quote?

thanks for help

  • McDauly Profile Picture
    McDauly 219 on at
    RE: how can I fill _contactid_value of quote

    I know here we put in our company..

    never the less I need both on my quote.

    I'm propably make a new field and map it from lead(parentcontact)->to opportunity -> to quote...

    beside from that even if I put a contact into customerid the field _contactid_value doesnt get field in the odata request...

  • Suggested answer
    Wahaj Rashid Profile Picture
    Wahaj Rashid 11,321 on at
    RE: how can I fill _contactid_value of quote

    Hi,

    Quote entity already have a filed called customerid (Potential Customer). You have to set this lookup which of type customer (can be set to either an account or a contact).

    There is no need to create a custom lookup.

    Here is the syntax for Web API:

    // For Account
    entity["customerid_account@odata.bind"] = "/accounts("   Account_GUID   ")";
    
    // For Contact
    entity["customerid_contact@odata.bind"] = "/contacts("   Contact_GUID   ")";

    Best,

    Wahaj

    (if it answers your query, mark it as verified)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans