Closed ahjames11 closed 3 years ago
Problem occurs because EndItem and OrderOrLot ables are joined before the UnitOrSublots table. So there is an NA for ID and the name cannot be joined in.
Reordering the joins in the flatten_data.flexfile()
function corrects this.
For FlexFiles with UnitOrSublots, the EndItem and OrderOrLot names are not joining in. This can be seen in the following code for such files.