Closed leeensminger closed 6 years ago
@gerrykelly The data in KCI dev has been updated to support this. For 38 records in SW_TRACKING for selection set 1C part 1, there are 38 records in BMPs, and now there are 38 records in BMP_POIS. BMP_POIS.MDE_COMMENTS = "Selection set 1C - part 1".
Don't forget there are two records in BMPS where MDE COMMENTS indiciates selection set 1C, but the reporting year is 2099, thus shouldn't be migrated.
@leeensminger In a way it looks like the fix for #78 fixed this without me needing to do anything more. But there might be some quirks I still need to address. I'm just turning it back to you to see if you think that it now comes out right for all the set 1C features/records
@gerrykelly @dhenry-KCI Looks OK at KCI
Every target RestBMP output needs to also have an MDE.BMPPOI record. This includes Conversions, and when selection set 1C Part 1 records are loaded to MDE.RestBMP, we need to find associated BMPPOIs in the source, and load them to MDE.BMPPOI. The relationship in the target database (between RestBMP and BMPPOI) is expected to be 1:1. The data in the source is expected to support this - but ideally, we insert "orphan" in RestBMP.BMPPOI_ID when the data does not support this.
The template MDE geodatabase already provides for this relationship with a RestBMP.BMPPOI_ID field (required field). Currently, we populate this RestBMP.BMPPOI_ID field as "orphan".
[ ] Please update the selection set logic as highlighted below:
[ ] Update RestBMP.BMPPOI_ID to be populated with the MDE ID for the associated BMPPOI
[ ] Implement the field-by-field source to target for BMPPOIs. The source to target is not different than it is for selection set 1D, but the original v8 Excel document has been updated to include this logic within selection set 1C, and those rows copied here: