how to get the PK of the underlying TO in a script

Discussion created by cortiel on May 16, 2017
Latest reply on May 16, 2017 by philmodjunk

I want to create a generic script to add records


how do I know the name of the table and the name of the PK

so I can pass it on the the child record

assumng i dont automatically add child record