Quantcast
Channel: Microsoft Dynamics GP
Viewing all articles
Browse latest Browse all 38722

Forum Post: Programmatically import Document Attachments (GP 2015) ??

$
0
0
I have a project and one of the requirements is to import images and attach to documents in GP (AP invoices). Will have to be done on an automated basis so I'll be importing using .NET to SQL if that's possible (using the file name as the voucher number to get the document the image should be attached to). I've pretty well figured out the tables involved, but there's a single piece I can't quite figure out. There is a value being generated that is a key used in all the tables called "BusObjKey" (char 201). In Fabrikam when I attach documents using GP this key looks like: 0\System\Notes\0000002D 0\System\Notes\000003D5 ^^ These are for 2 separate vouchers. The last part is what I need but I can't find it stored in GP. When you pull up the Document Attachment window, the value is at the top of the form as "Record Number" but I can't track down the table as the resource description for the window shows some tables that I can't find in GP and the ones that do I can't find this value. 2 questions: 1) Does anyone know how the BusObjKey is generated? 2) Has anyone had success importing document attachments into GP through the database/code? How can I get from the voucher to "Record Number" (IE 0000002D, 000003D5) ?

Viewing all articles
Browse latest Browse all 38722

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>