Solved

Lot document linking - where are the links stored in the tables?

  • 10 December 2020
  • 3 replies
  • 165 views

  • Anonymous
  • 0 replies

You know how you can link a document to an Epicor lot record, right?

En masse, I need to figure out which lots have linked documents. Erp.DocType isn’t a valid table in SQL (see below) and Erp.PartLot.ShipDocAvail doesn’t get me what I need. Field help didn’t.

Any ideas folks?

List of tables containing ‘doctype’.

 

icon

Best answer by slepley 10 December 2020, 22:33

View original

3 replies

Userlevel 4

I believe the table that you want, Agent Mulder, is the XFileRef table.  I have a BAQ that probably would be helpful, but I cannot figure out how to share it.  Btw, DocType is valid, but what you really want is Ice.DocType.

Userlevel 3

I don’t use lot tracking, but if it works like all other file attachments that can be associated with a record, the two tables you need are XFileRef and XfileAttach. XFileRef has info about where the attached file resides on your system, and XFileAttach has info about what record in ERP that file is associated with. 

Thank you both, and @slepley for the timely pop culture reference!

Reply