The following documents were used to configure the client environment with integration, as could make the link between the ECM and EBS documents automatically.
However, now I know how precious is to generate scripts to perform new automatic links.
For this, I need to know which tables should extract the IDs of the entities EBS.

Documents I use:
How to Batch Content to Later Show as EBS Managed Attachments for Certain Business Entities [ID 1371084.1]
How to Map Existing Content Items To EBS Entities [ID 1491259.1]