ClearCollect(
BulkSRSubmission,
ForAll(
Gallery3.AllItems,
{
Title: JobNumberInput.Text,
ControlNumber: ControlNumberInput.Text,
SampleID: SampleIDInput.Text,
DateCollected: DateCollectedInput.Text,
TimeCollected: TimeCollectedInput.Text,
DateReceived: DateReceivedInput.SelectedDate,
TimeReceived: TimeReceivedInput.Text,
RequestedAnalysis: RAInput.Text,
SampleType: SampleTypeInput.Text,
Preservative: PreservativeInput.Text,
RelinquishedBy: RelinquishedByInput.Text,
ReceivedBy: ReceivedByInput.Text,
AcceptReject: AcceptRejectInput2.SelectedText.Value,
DestroyDate: DestroyDateInput.SelectedDate
}
)
);
Patch(SampleReceiving2024,BulkSRSubmission)