@DebThomas - this is the PDF that walks through adding a UDF which flows to other files -- it uses the lot/serial as an example so to flow a UDF through a different file (sales order, etc) you'd have to use different tables but this gives a very nice overview of how the linking happens to pass UDF from start to finish.
http://www.dsdinc.com/enh/downloads/IMUE450.pdf