You should be able to use NumRecords() and GetRecord() to access all the records attached to an object including the parameter record. Remember with CreateCustomObject() the code doesn't actually run to create the object (therefore the other records) till the currently running script is finished so the other records won't exist immediately after creating the object via script. The only record that exists immediately is the parameter record filled with the document defaults.