function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
md rafimd rafi 

Salesforce Connect..!!!!!!!!!!!!

Hi All,

Need some help on Database.InsertAsync which is used to insert data in external objects.
Basically im posting data to SAP. And im facing 2 behaviours of insertasync.

1. whenever invalid data is passed, developer from SAP will send back the response saying 'please pass so and so valid data' and returns 201 created status, so the database.saveresult is not showing the message which SAP has sent.

2.Database.insertasync is showing isSuccess=true even we pass some invalid data.

Please anyone help ASAP.