Added record validation functions for everything (that we saw in the PDF),

we should go over them once more to make sure we didn't miss anything, but
testing validation should probably be done after that. Verify that the
record ordering enforcement code is correct, then start thinking of how
to get data from external sources into the record generator.
This commit is contained in:
Binh 2011-06-11 14:45:12 -05:00
parent 7dcbd6305b
commit 0646bf7b9b
3 changed files with 111 additions and 11 deletions

View file

@ -301,3 +301,37 @@ COUNTRIES = (
('ZM', 'Zambia'),
('ZW', 'Zimbabwe'))
employer_types = (
('F','Federal Government'),
('S','State and Local Governmental Employer'),
('T','Tax Exempt Employer'),
('Y','State and Local Tax Exempt Employer'),
('N','None Apply'),
)
employment_codes = (
('A', 'Agriculture'),
('H', 'Household'),
('M', 'Military'),
('Q', 'Medicare Qualified Government Employee'),
('X', 'Railroad'),
('F', 'Regular'),
('R', 'Regular (all others)'),
)
tax_jurisdiction_codes = (
('V', 'Virgin Islands'),
('G', 'Guam'),
('S', 'American Samoa'),
('N', 'Northern Mariana Islands'),
('P', 'Puerto Rico'),
)
tax_type_codes = (
('C', 'City Income Tax'),
('D', 'Country Income Tax'),
('E', 'School District Income Tax'),
('F', 'Other Income Tax'),
)