Good day,
I'm working on a solution to create SSIS package to import SSA formatted files that employers would send. Project would use https://www.ssa.gov/employer/efw/19efw2.pdf#zoom=100 fixed file formatting and standards. I have created import process, tables and that's all working well and data is inserted. I have couple of issues I'm trying to overcome. Since RE record is the one that should link to RW and RS files how do I go about getting with EIN value or even better ID value (W2ReportID int) from a table (W2EFileRE) that RE record is inserted in. RW and RS rows don't have any EIN info.
Another issue is that there could be multiple RE rows in the fixed file that agency sends, and each RE row would indicate that records below it belong to the RE row above them (hopefully that makes sense). File looks kind of like this:
RA..... (agency that's reporting info)
RE..... (employer info)
RW.... (employee wages)
RS.... (employee state city reporting)
RE... (another employer info)
RW...
RS...
Thank you