- phpMyAdminStarter (Microcontent)
- Gordon Du
- 353字
- 2021-04-02 19:18:27
Base tables versus target tables
Base tables and target tables are special linked tables within SAP Business One. They are the most often used linked tables for SQL queries too.
You may find most of them related to "Sales-A/R" and "Purchase-A/P" documents or so-called "Marketing Documents".

Marketing documents may not have base tables or target tables. From the previous screenshot, you could clearly find that the Base Document and Target Document are available to this Sales Order. To get the Base Document, you may click on the "left arrow icon" or use the shortcut key Ctrl+N. To get the Target Document, you may click on the "right arrow icon" or use the shortcut key Ctrl+T. Only when the base table or target table is available to the current document, will you find the menu items and icons in active status. Otherwise, both icons and menu items are grayed out.
From the terms "Base" and "Target", it is clear that the target table can be based upon the base table.
One table could be based on different types of tables:

From this demonstration, you could get a clear picture about the relationship between Base Document (table) and Target Document (table). A specific pair of Purchase Order and Good Receipt PO tables is shown here. This concept applies to all document type tables. Here is a list of commonly used base-target pairs; they are not inclusive. You may find more, but the following are the most frequently used ones:

I have omitted the details for the link. Actually, you will find that all the links exist on the first child table or so-called row table for the header table, such as QUT1 instead of OQUT.
The linking fields are very clear. For example:
- BaseEntry in the target table refers to the base table's DocEntry
- BaseType refers to the types of the base table
- BaseRef is usually linked to DocNum field in the base table
- BaseLine will be the line number in the base line table
- TargetEntry in the base table refers to the target table's DocEntry
- TargetType refers to the types of the target table
- PS是這樣玩的:輕松掌握 Photoshop 通關秘籍
- 鍵盤錄入技術(第2版)
- 數(shù)字孿生體:第四次工業(yè)革命的通用目的技術
- 中文版Maya 2022完全自學教程
- Flash Facebook Cookbook
- SolidWorks2016中文版從入門到精通/CAX工程應用叢書
- 中文版3ds Max/VRay效果圖制作完全自學教程(實例培訓教材版)
- Photoshop+AE UI動效設計從新手到高手
- Microsoft SharePoint 2010 and Windows PowerShell 2.0: Expert Cookbook
- 新編 中文版Photoshop平面設計入門與提高
- Photoshop+Illustrator+CorelDRAW一站式高效學習一本通
- Creo快速入門教程(Creo 8.0中文版)
- 從零開始:Dreamweaver CS6中文版基礎培訓教程
- 精通AutoCAD 2013機械設計
- VMware Virtual SAN實戰(zhàn)