def get_learner_data_records(self, enterprise_enrollment, completed_date=None, grade=None, is_passing=False):
<EOL>LearnerDataTransmissionAudit = apps.get_model('<STR_LIT>', '<STR_LIT>')<EOL>completed_timestamp = None<EOL>course_completed = False<EOL>if completed_date is not None:<EOL><INDENT>completed_timestamp = parse_datetime_to_epoch_millis(completed_date)<EOL>course_completed = is_passing<EOL><DEDENT>return [<EOL>LearnerDataTransmissionAudit(<EOL>enterprise_course_enrollment_id=enterprise_enrollment.id,<EOL>course_id=enterprise_enrollment.course_id,<EOL>course_completed=course_completed,<EOL>completed_timestamp=completed_timestamp,<EOL>grade=grade,<EOL>)<EOL>]<EOL>
Generate a learner data transmission audit with fields properly filled in.