Patch(
DMAT,
Defaults(DMAT),
{
'Asset Number': Value(DataCardValue31.Value), // This is a number
'Asset Type': DataCardValue32.Selected, // Choice
'Calibration Expiry Date': DataCardValue35.SelectedDate, // Date
'Device Photo': Image2.Image, // Image
'Equipment Condition': DataCardValue37.Selected, //Choice
'Equipment Status': DataCardValue38.Selected, //Choice
'Frequency of Calibration': DataCardValue39.Selected, // Choice
'Item Description': DataCardValue30.Value, // Single line of Text
'Purchase date': DataCardValue26.SelectedDate, // Date
'Serial number': DataCardValue42.Value, // Single line of Text
'Test Equipment': DataCardValue43.Value, // This is a Boolean
'Value RM': Value(DataCardValue27.Value), // This is a number
Brand: DataCardValue20.Value, // Single line of Text
Model: DataCardValue21.Value, // Single line of Text
Plant: DataCardValue41.Selected, // Choice
Category: DataCardValue36.Selected, // Choice
Custodians: DataCardValue28.SelectedItems, // Person
Healthiness: DataCardValue29.Selected, // Choice
'Tolerance or Accuracy': DataCardValue70.Value, // Choice
NFC Tag: DataCardValue40.Value, // Single line of Text
Attachments: DataCardValue33.Attachments
}
); 
The issue I’m facing is there are specific records for which it fails to pass along the data.I’ve looked for patterns among the problematic records, but I haven’t been able to identify any consistent reasons why only certain records fail to submit.
Could you please review my code and provide any insights or suggestions? I’d greatly appreciate your help in resolving this issue.
Thank you in advance for your time and expertise! 🙌
Best regards,