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 

Database.insertasync..!!!!! Did anyone successfully implemented it?

Hi All,

Need some help on Database.InsertAsync.
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.