• avideoncrmdev
  • NEWBIE
  • 25 Points
  • Member since 2009

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies

Using the SF API to integrate with a c-sharp web app, whenever I try to insert a record that has a field of SF datatype currency or numeric, the record is inserted with a null value in that field.  If I change the field to required in SF, the record does not get inserted, as expected.  I created my project by making a web reference to the enterprise wsdl as in the examples. 

 

How do I insert a value into the Numeric type field?

 

 

 

 

Thanks in advanced,

 

John

Hi,

 

I have created some batch apex code alongwith other triggers and class/controller codes. 

 

When I run individual test methods on them, I am able to get test success result alongwith nice code coverage %. However when I run all tests together, I get following test failure errors:-

 

1)System.AsyncException: Database.executeBatch cannot be called from a batch or future method.

2)System.AsyncException: Future method cannot be called from a future method: changeOwners(String, String)

3)System.AsyncException: Future method cannot be called from a future method: getLead_Rollup_Amount(Id)

4)System.AsyncException: Future method cannot be called from a future method: changeOwners(String, String)

 

Please note again that the exceptions dont come when tested individually.

 

Please advise on same.

 

 

Thanks,

 

Vimal 

Using the SF API to integrate with a c-sharp web app, whenever I try to insert a record that has a field of SF datatype currency or numeric, the record is inserted with a null value in that field.  If I change the field to required in SF, the record does not get inserted, as expected.  I created my project by making a web reference to the enterprise wsdl as in the examples. 

 

How do I insert a value into the Numeric type field?

 

 

 

 

Thanks in advanced,

 

John