Printing Part Lot Attachments From Customer Shipment Entry

Hello,

We are trying to print the attachments for the job materials at customer shipment entry.

We added a button to the Customer Shipment entry screen and when the user clicks on it, we want to find the job material attachments in xfileref for the part lot and do a start process to print from adobe acrobat for each of the attachments.

the xfileref table is multi-keyed, so we can't use a Foreign Key.

I'm new to epicor dataviews, etc. Can anyone help me with this?

Thanks!
kirianno