#95001Move pid resolviing in AddRecord to own method
Description
In order to allow easier extension of AddRecord to custom needs, the pid resolving should happen in an own method.
In order to allow easier extension of AddRecord to custom needs, the pid resolving should happen in an own method.