dataverse-ify icon indicating copy to clipboard operation
dataverse-ify copied to clipboard

ExecuteMultiple CRUD example

Open kayetter opened this issue 4 years ago • 0 comments

Could you provide an example to update multiple records.

I work in laboratory software development and have a test case where a customer will submit an order that has multiple associated samples destined for laboratory testing. I was trying to create a ribbon button on the order where a user could set all the sample records to received. I need to

  1. Retrieve all the samples associated with my order record and,
  2. Update three fields on all the sample records: Received (Boolean), ReceivedOn( current datetime), ReceivedBy(currentuser) as well as updating the statusreason to “Received”.

I could not find an example in the documentation so am a bit stuck.

kayetter avatar Jan 23 '22 16:01 kayetter