Where to find demo scripts to shadow UDT

I'm looking to create a UDF lookup to the AR_Customer on the Lines tab of GL General Journal Entry.  I haven't been able to use oUIObj.InvokeLookup with a button because it throws an error stating Object required: oUIObj.  Because it's on the detail and not the header, no doubt.  Does anyone know where to find the shadow UDT demo scripts?  I seem to have lost them.

Thanks!