Restore PARTN that was removed in https://github.com/WEEE-Open/pesto/commit/24f2e0b85a7875fb2ea2d6a25c517257eec68276, then do one or more of the following when PARTN is not available: 1. Use the last character (not recommended) 2. Count how many elements with parttype != null are there and use that as the number
Restore PARTN that was removed in 24f2e0b, then do one or more of the following when PARTN is not available: