Method: Pension21p527ez::PensionMilitaryInformation#service_number

Defined in:
lib/pension_21p527ez/pension_military_information.rb

#service_numberObject

If the veteran began service after 1971, their service number is their SSN We haven’t identified a source for pre-1971 service numbers for prefill



76
77
78
79
80
81
82
# File 'lib/pension_21p527ez/pension_military_information.rb', line 76

def service_number
  year_of_entry = .to_i if 
  @user&.ssn_normalized if year_of_entry > 1971
rescue => e
  Rails.logger.error("Error fetching service number for Pension prefill: #{e}")
  nil
end