Log in / create account
View source | Discuss page | Page history | Printable version   
ADVERTISEMENT
Accounting eLearning Courses
PDF Tools
Add page
Print collection (0 pages)
Collections help
Partnerships
SourceForge.net Logo
Openbravo ERP at SourceForge

SourceForge.net Logo
Openbravo POS at SourceForge

Open Solution Alliance Logo
Openbravo at Open Solutions Alliance

User Manual 2.2/Reference/zh cn

参照(Reference)


参照 标签页
参照 标签页

定义

参照(References) 定义数据类型。这样做的目的是,让应用程序对字段及其参数正确地输入、输出、处理和存储。在配置列时,"参照"指定了列中包含数据的类型。参照的例子有:字符、日期、整数、列表和查询。

查询验证(Search validation):有些情况下,用户可以使用弹出窗口来对字段进行输入。弹出窗口可以帮助用户在一系列可能值的列表中进行选择,而这个列表可以根据不同条件进行过滤。这种字段就是用“查询类型参照”构建的。


标签页

当列的名称为"table name"+_ID(数据表名称+_ID)时,不能使用这种方式的验证。在这种情况下,不能使用数据表参照(TableDir),但是确实又有必要创建数据表类型参照,来表明用户引用的数据表和字段。例如,用户可以在M_MovementLine 数据表中找到M_LocatorTo_ID这样一个字段。这个字段的验证类型不是TableDir,而是Locator,它指向M_Locator数据表的M_Locator_ID字段。下面附英文原文以便对照。(This reference is used when a selected column does not meet the rule "table name"+_ID. In this case the TableDir reference cannot be used and it is essential to create a table type reference indicating the Table and Column that the user wants to make a reference to. For example, the user can find in M_LocatorTo_ID column in M_MovementLine table. To be TableDir it is M_Locator_ID with a table type reference locator.)


过程信息

在对数据表中的列进行配置时,用户可以指定数据类型和窗体中的字段类型。用户可以选择数据类型参照。如果用户选择了数据表、代码表或者查询参照,还需要设定对应的参照验证类型。


Retrieved from "http://wiki.openbravo.com/wiki/User_Manual_2.2/Reference/zh_cn"

This page has been accessed 2,030 times. This page was last modified 10:14, 16 June 2008. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.


Category: UserManual 10 zh cn