Gets the part with the given part number. If there are several variants of that part, the first one is taken. First means, that if you sort that parts by their variant that the topmost variant is taken.
If the database contains the parts: "PartA"-"V4", "PartA"-"V1", "PartA"-"V2", "PartA"-"V3" than GetPart("PartA") returns "PartA"-"V1"