normalize_units_or_sublots() joins in the EndItemID and OrderOrLotID from the UnitsOrSublots table when not provided in the original data. Input should be one or more FlexFiles imported through the read_flexfile function.

normalize_units_or_sublots(flexfile)

Arguments

flexfile

A single flexfile or a list of flexfiles imported through the read_flexfile function.