web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Insert New Record In Micosoft CRM 2011 Using oData Call

(0) ShareShare
ReportReport
Posted on by 2,215

Hi, I've used http://asimsajjad.blogspot.com/2012/02/insert-new-record-in-micosoft-crm-2011.html link and it helped me to create a new form.

In the code instead of  

//------------------------------------------------------------------------------------------------------------------

addAccountRecord.Revenue = { Value: "2000000.00" }; //Set Annual Revenue

//-----------------------------------------------------------------

I've written down

var a1=25 000;

addAccountRecord.Revenue = { Value:a1 };

And with this version I get an error. Please help me to solve this problem.

Thanks!

 

*This post is locked for comments

I have the same question (0)
  • Mary GH Profile Picture
    2,215 on at
    Re: Insert New Record In Micosoft CRM 2011 Using oData Call

    Hi Sven I get this message:

    Error occured while inserting new record.

  • Community Member Profile Picture
    on at
    Re: Insert New Record In Micosoft CRM 2011 Using oData Call

    What error do you get?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#3
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans