Skip to main content

CALPADS error brief · SENR

SENR0167

Invalid Start Date with R Transaction
Severity Fatal
Error type Input Validation
Record type SENR

Official CALPADS rule

What CALPADS is rejecting

Invalid Start Date for Record with R Transaction Type Code

Focus fields

Fields validated

1.02 - Transaction Type Code 1.22 - Enrollment Start Date

Recommended correction path

Suggested resolution

Read the complete validation

CALPADS rule: A SENR record submitted with Transaction Type Code R must have an Enrollment Start Date within the current academic year. Replace transactions for SENR records in prior academic years are not allowed.

Severity: Fatal   Type: Input Validation

Fields validated:

  • 1.02 Transaction Type Code
  • 1.22 Enrollment Start Date

The Start Date may be perfectly accurate. SENR0167 often means the transaction method is wrong, not the enrollment date. Do not move a historical Start Date into the current year merely to make R pass.

The current-year boundary controls Replace

Choose the method from the existing enrollment’s Start Date and the field being corrected
Existing ODS enrollmentCan SENR use R?Correction approach
Start Date is within the current CALPADS academic yearPotentially yes.Use R only when its replacement behavior and scope match the intended correction.
Start Date is in a prior academic yearNo.Use a verified D transaction for the old record and an Add/Update transaction containing the complete corrected record.
Start Date is historical and itself must changeNo.Delete using the old operational key, then add using the new supported Start Date.
Start Date appears prior-year but should actually be current-yearDo not decide from the error alone.Return to attendance/enrollment evidence; correct the date only if the authoritative chronology proves it is wrong.

The CALPADS current academic year is determined by processing context. Verify the active CALPADS year and current specifications before constructing the correction; do not assume that “current school year” means the year selected in a local SIS screen.

What the transaction codes actually do

SENR uses transaction processing based on an operational key
TransactionProcessing intentSENR0167 concern
Blank, space, or A Add/UpdateInsert a record when the operational key does not exist, or update non-key fields when it does.Used to add the corrected historical record after the old version is deleted.
D DeleteLocate the existing record by its operational key and remove it.Historical correction requires the exact old School, SSID, and Start Date.
R ReplaceReplace matching current-academic-year SENR records based on operational-key processing; multiple replacement rows can operate as a set.It is not permitted when the relevant Enrollment Start Date is outside the current academic year.

The SENR operational key determines what is found

All three fields identify the existing enrollment
Operational-key fieldDelete rowAdd/Update row
1.05 School of AttendanceUse the school on the existing ODS record.Use the supported school for the corrected record.
1.08 SSIDUse the verified SSID belonging to the intended student.Use the same verified student identity unless an authorized SSID-resolution process determines otherwise.
1.22 Enrollment Start DateUse the old existing Start Date so CALPADS can locate the historical record.Use the supported corrected Start Date; if Start Date is not changing, it remains the same as the deleted key.

If only a non-key field is changing, the delete and add rows generally use the same operational key. If School or Start Date is changing, the delete row must identify the old key and the Add/Update row must contain the new key.

Build the correct D + Add/Update pattern

The two rows have different jobs
Historical correctionDelete rowAdd/Update row
Correct a non-key field such as Exit Date, Exit Reason, Grade, or StatusD with exact existing School + SSID + Start Date.Blank/space/A with the same key and the complete corrected enrollment.
Correct Enrollment Start DateD with the old incorrect Start Date.Blank/space/A with the new supported Start Date and complete record.
Correct School of AttendanceD using the old school code on the existing record.Blank/space/A using the supported new school and complete record.
Remove an unsupported duplicate without replacementD with the duplicate’s exact existing operational key.No Add/Update row—but only after confirming that deletion alone is the intended result.
Correct the SSIDDo not improvise a simple key swap.Follow authorized SSID-resolution and enrollment procedures; verify both student identities and all connected records.

Same file does not eliminate sequencing risk

The official guidance recommends a Delete row and an Add row in the same file for this historical correction. CALPADS specifications state that mixed transaction types post in the order Delete, Add/Update, then Replace; however, validation processing is not necessarily ordered the same way. Therefore:

  • Review the delete and add as a matched pair before upload.
  • Do not include unrelated destructive transactions in the correction batch.
  • Ensure the Add/Update row is independently complete and valid.
  • After processing, verify both row results—not merely the overall file status.
  • Confirm the old record is gone and the corrected record exists before closing the issue.

Preflight the historical replacement

Stop if any destructive assumption remains unresolved
CheckPass conditionStop condition
Target recordExact ODS school, SSID, Start Date, and full existing row are preserved.The team is relying only on a local SIS view or rejected file.
Student identitySSID belongs to the intended student.Identity, merged SSID, or duplicate-student concern remains.
Historical evidenceAttendance/enrollment records support every corrected value.A date or status is being changed solely to clear another validation.
Delete keyMatches the old ODS operational key exactly.Delete row contains the desired new Start Date or school instead of the old key.
Add completenessComplete corrected SENR row passes format, code, chronology, and combination review.Only the changed field was populated or dependencies remain unresolved.
Expected after-stateA reviewer can describe every enrollment segment that should remain.The impact of deleting/re-adding the record is unknown.
Recovery planUntouched before-state and approved correction file are retained.No reliable reconstruction exists if the pair partially posts.

What commonly produces SENR0167

Symptoms, likely causes, and durable corrections
What you findLikely causeDurable correction
Historical Start Date with RStaff treated Replace as a universal update transaction.Use the controlled Delete + Add/Update pattern for prior-year SENR.
SIS correction screen automatically exports RVendor logic does not distinguish current- and prior-year enrollment corrections.Repair/configure the export and test transactions on both sides of the academic-year boundary.
Start Date was changed to current yearSomeone attempted to satisfy the R validation rather than preserve history.Restore the evidence-supported date and apply the correct historical transaction method.
Delete posts; Add rejectsThe corrected row has another format, chronology, code, or dependency error.Use the preserved before-state, correct the Add/Update row promptly, and verify the full history.
Both old and new records remainDelete used the new key rather than the existing old key.Reconstruct the exact old operational key and correct the duplicate through an approved sequence.
Many prior-year records use RA bulk correction template or mapping assigned one transaction type to all years.Stop the batch, partition by academic year/method, and review the full affected population.
Manual CALPADS fix is later overwrittenThe authoritative SIS/extract still produces R or old values.Repair the source workflow and verify the next scheduled submission.

Choose the diagnostic pathway

  • Confirm the academic-year boundary
    • What Enrollment Start Date is on the existing ODS record?
    • Which academic year does CALPADS treat as current at processing time?
    • Is the local SIS displaying a selected year that differs from CALPADS processing context?
    • Is the Start Date itself supported by attendance and enrollment evidence?
  • Confirm the intended correction
    • Which exact field is wrong?
    • Is it part of the operational key?
    • Should a corrected record replace the old one, or should the old record simply be deleted?
    • What should the complete enrollment history look like afterward?
    • Does the correction affect later enrollment segments?
  • Build the old operational key
    • What School of Attendance is currently stored?
    • What verified SSID is on the record?
    • What old Enrollment Start Date is stored?
    • Do all three delete-key values match the ODS exactly?
    • Did a spreadsheet alter code or identifier formatting?
  • Build the complete corrected record
    • Does the Add/Update row contain every required SENR field?
    • Are dates chronological and codes current?
    • Do Grade, Exit Reason, Completion Status, transfer, and residence fields form valid combinations?
    • Will the corrected record create a gap, overlap, or duplicate?
    • Can the row pass validation independently if processed after the delete?
  • Perform postflight verification
    • Did the Delete row post?
    • Did the Add/Update row post?
    • Is the old operational key absent?
    • Is the complete corrected enrollment present?
    • Were unrelated historical records preserved?
    • Will the next extract reproduce the accepted history?

Replace a historical record safely

  1. Before-statePreserve ODS history.
  2. Old keyBuild Delete row.
  3. New recordBuild complete Add.
  4. ProcessingSubmit controlled pair.
  5. After-stateVerify exact history.

Primary participants

  • CALPADS coordinator
  • Registrar or enrollment staff
  • Attendance/student records staff
  • SIS system owner
  • Extract or integration developer
  • Vendor support when needed

Evidence to preserve

  • Untouched rejected R row
  • Complete historical ODS before-state
  • Verified student and operational key
  • Attendance/enrollment correction evidence
  • Approved Delete + Add/Update file
  • Individual row processing results
  • Verified ODS after-state

Recommended correction path

  1. Stop the invalid Replace batch

    Do not move historical dates or repeatedly resubmit R transactions.

  2. Preserve the before-state

    Capture submission ID, rejected row, full ODS enrollment history, and existing target record.

  3. Verify student and historical evidence

    Confirm SSID, school, dates, attendance, status, exit, and intended correction.

  4. Confirm the record is prior-year

    Compare the existing Start Date with the current CALPADS academic-year boundary.

  5. Build the Delete row

    Use D with the exact old School of Attendance, verified SSID, and old Start Date.

  6. Build the complete Add/Update row

    Use blank/space/A with every supported corrected field and the intended operational key.

  7. Preflight the matched pair

    Validate scope, identity, keys, chronology, code combinations, completeness, and recovery evidence.

  8. Submit and postflight

    Confirm both rows’ results, removal of the old record, addition of the corrected record, and preservation of unrelated history.

  9. Repair the recurring workflow

    Find other prior-year R rows and correct the SIS/vendor/extract logic that assigned the invalid method.

Before closing the issue

  • Confirm no historical Start Date was altered merely to satisfy R.
  • Verify the Delete row used the exact old operational key.
  • Confirm the Add/Update row contains the complete supported enrollment.
  • Ensure both transaction results were reviewed individually.
  • Verify the old record is absent and the corrected record is present.
  • Confirm the SIS and next extract reproduce the accepted history.
  • Review enrollment, attendance, program, assessment, cohort, funding, and special-education effects.

Official SENR0167 troubleshooting page  |  Current CALPADS File Specifications and enrollment procedures  |  SDLA CALPADS Code Sets V.18