版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、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
2、 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
3、 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
4、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,
5、 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 C
6、olumns 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 windowValidat
7、ion: 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 xAD_Client_IDx, or just or sql query like xSQL=select.Key Column: something like primary keyParent link Column: used in Master/Detail
8、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 i
9、s 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 "
10、"/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 au
11、tomatically. 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,
12、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 wi
13、ndow 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
14、=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: t
15、he 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 t
16、his, 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 l
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五版設(shè)備砂石料購銷與設(shè)備性能優(yōu)化協(xié)議3篇
- 二零二五年度人事部人才與專家工作辦公室員工福利保障合同3篇
- 二零二五年度圖書館圖書修復(fù)與保護工程合同
- 個體物流配送員勞動協(xié)議格式(2024年版)一
- 二零二五版木材進口關(guān)稅減免申請服務(wù)合同4篇
- 二零二五年度土地利用現(xiàn)狀變更測量合同
- 二零二五年度城市公共充電樁運營管理合同4篇
- 二零二五版大數(shù)據(jù)中心項目合作協(xié)議4篇
- 2025年度美容院連鎖加盟區(qū)域代理權(quán)及市場獨占協(xié)議
- 2025年度企業(yè)培訓(xùn)項目財務(wù)結(jié)算合同范本4篇
- 2024生態(tài)環(huán)境相關(guān)法律法規(guī)考試試題
- 有砟軌道施工工藝課件
- 兩辦意見八硬措施煤礦安全生產(chǎn)條例宣貫學(xué)習(xí)課件
- 40篇短文搞定高中英語3500單詞
- 人教版高中數(shù)學(xué)必修二《第九章 統(tǒng)計》同步練習(xí)及答案解析
- 兒科護理安全警示教育課件
- 三年級下冊口算天天100題
- 國家中英文名稱及代碼縮寫(三位)
- 人員密集場所消防安全培訓(xùn)
- 液晶高壓芯片去保護方法
- 拜太歲科儀文檔
評論
0/150
提交評論