




已阅读5页,还剩4页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
AuthorPeterDate4/20/2004 9:22 PMVersion0.1Application Dictionaryl How is a window created?FieldsTabsTablesColumnsWindow A Window normally contains several Tabs, and A Tab contains several Fields.And A Tab is based on a Table, so A Field in a tab is just a Column in a Table.SO the process to generate a window is to:Create a table into Oracle (Or use an existing Table) Create a table in Application Dictionary (Or use an existing Table)Create Columns in Application Dictionary for this TableCreate A window in Application DictionaryCreate Tabs for this window using a table in Application Dictionary Create fields for the TabCreate a new Menu item and add a window menu into the menu treeLogin again, IS THAT WHAT YOU WANT? What is Table in Application Dictionary?A table in Application Dictionary can be physical table or a view in oracle.DB Table Name: the name of physical table or view in Oracle.View: click if this is a view in Oracle.Data Access Level: System Only means its data can only be accessed by System ClientClient/Organization means the data can be accessed by Client(*) or organization (GardenWorld, HQ)Organization: the data can only be accessed by organization (GardenWorld, HQ)System/Client: the data can be accessed by System Client and Client (GardenWorld, *)Window: means which window uses this table.PO Window: Record deleteable: means the user can delete records in the tableHigh volume: this table may contains huge records, so display the search dialog firstCreate Columns from DB: read the tables fields from oracle and generate relative columnsDB Column Name: the column name in the real table or view in OracleSystem Element: this is used in displaying like reportReference: the columns Data Type, also it decide what the field will look like in the windowValidation: see Validation RuleReference Key: see ReferenceDefault Logic: set a default value for this column, u can use constant value like 1, or the value in Context like AD_Client_ID, or just or sql query like SQL=select.Key Column: something like primary keyParent link Column: used in Master/Detail tabs, indicated with which column the detail tab link the Master TabMandatory: the column cannot be null, otherwise, the system will give an error messageUpdateable: the value of column cannot be updated, u save the value and then the field become readonlyRead Only Logic: In which case, the column is readonly, it should be Boolean value like 1=2private static String ProductCode (Properties ctx, int WindowNo,MTab mTab, MField mField, Object value, Object oldValue) Integer M_Product_ID = (Integer)value;if(M_Product_ID != null)mTab.setValue(M_Product_ID2 , M_Product_ID); return ;/ProductCodeCallout: callout is a small piece of java cold, called when the user initialize the window or some value is edited, for example: therere 3 fields in window, a price, a quantity, and an amount, whenever the user change the value of price, or Quantity, the amount should be changed automatically. Then u add a callout like that: Selection Column: means this column is a search key, when u push the search:then it append after the name and descriptionAttention: The 3 column will become search key automatically, Value, Name, DescriptionOK, then the table is Finished!But before that, u must check these:Attention:1, a table must contain such columns: AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy2, all the column name is case Sensitive Then goes to The WINDOWThe Window is the real thing u should define to showWindow Type: Maintain means in this window u can create record, delete record, update record Query Only means in this window u can only view the data, no creating, no deleting, EtcTransaction: transaction is generally used in some business transactions like sales order or shipments, often it has a column called Processed, when processed=Y then this record cannot be edited And the transaction window only show the data which processed=N and created today, and after u push the history button in tool bar , then the other data can be displayedTable: which table is the tab used, (a tab must depend on a table defined in table)Sequence: the display sequence, from up to bottomTab level: means the relationship in master/detail tabsSingle row layout: the data will displayed as single or multi rows by defaultHas Tree: the tab will showed with a tree, like that: Attention: It does not mean a tree will displayed automatically if u click this, only some table has tree (M_Product, AD_Menu, C_BPartner, and more), which is hardcodedOrder Tab: This is an example of Order Tab:Process: u can define a process for the tab, it is normally used for reportColumn: the tables column, a field must depend on a columnField Group: this is a field group:Display Logic: in which case the field is displayed, u can use constant value
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025-2030中国闪光信标浮标行业市场发展趋势与前景展望战略研究报告
- 2025-2030中国长裙行业发展分析及投资前景预测研究报告
- 2025-2030中国镀饰笔行业市场深度调研及价值评估与投资前景研究报告
- 2025-2030中国铁金属粉行业市场发展趋势与前景展望战略研究报告
- 2025-2030中国速溶山羊奶粉行业市场发展趋势与前景展望战略研究报告
- 2025-2030中国边缘设备的人工智能行业市场发展趋势与前景展望战略研究报告
- 2025-2030中国蜂蜜市场投资前景与竞争对手经营状况分析研究报告
- 2025-2030中国蒸汽电磁阀行业市场发展分析及需求分析与投资研究报告
- 2025-2030中国药物导入治疗仪行业发展分析及投资前景预测研究报告
- 2025-2030中国花彩电缆行业市场发展趋势与前景展望战略研究报告
- 2025版矿山安全生产责任承包协议范本3篇
- 并购重组税务处理-企业管理
- 四川凉山州人民政府办公室考调所属事业单位工作人员2人易考易错模拟试题(共500题)试卷后附参考答案
- 2025年中国艾草行业市场现状、发展概况、未来前景分析报告
- 防走失应急预案
- 临床实验室管理学学习通超星期末考试答案章节答案2024年
- 中式烹调师理论知识测试题与参考答案
- 低压电工培训教案
- 外科护理风险
- 2024年执业助理医师实践技能考试体格检查
- FURUNO 电子海图 完整题库
评论
0/150
提交评论