Install SAP B1 SDK in the system, On the help file you will find Customization Tools > DataBase Refrences. select tables in SAP Query Generator window, it will automaticaly link the tables with key fields.(if there any relation exists between the two tables)
↧