电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

compiereerpapplicationdictionary培训VIP免费

compiereerpapplicationdictionary培训_第1页
1/7
compiereerpapplicationdictionary培训_第2页
2/7
compiereerpapplicationdictionary培训_第3页
3/7
AuthorPeterDate4/20/20049:22PMVersion0.1FieldsTabsTablesColumnsWindowApplicationDictionaryHowisawindowcreated?AWindownormallycontainsseveralTabs,andATabcontainsseveralFields.AndATabisbasedona‘Table’,soAFieldinatabisjusta‘Column’ina‘Table’.SOtheprocesstogenerateawindowisto:CreateatableintoOracle(OruseanexistingTable)CreateatableinApplicationDictionary(OruseanexistingTable)CreateColumnsinApplicationDictionaryforthisTableCreateAwindowinApplicationDictionaryCreateTabsforthiswindowusingatableinApplicationDictionaryCreatefieldsfortheTabCreateanewMenuitemandaddawindowmenuintothemenutreeLoginagain,ISTHATWHATYOUWANT?WhatisTableinApplicationDictionary?AtableinApplicationDictionarycanbephysicaltableoraviewinoracle.DBTableName:thenameofphysicaltableorviewinOracle.View:clickifthisisaviewinOracle.DataAccessLevel:SystemOnlymeansitsdatacanonlybeaccessedbySystemClientClient/OrganizationmeansthedatacanbeaccessedbyClient(*)ororganization(GardenWorld,HQ)Organization:thedatacanonlybeaccessedbyorganization(GardenWorld,HQ)System/Client:thedatacanbeaccessedbySystemClientandClient(GardenWorld,*)Window:meanswhichwindowusesthistable.POWindow:Recorddeleteable:meanstheusercandeleterecordsinthetableHighvolume:thistablemaycontainshugerecords,sodisplaythesearchdialogfirstCreateColumnsfromDB:readthetable’sfieldsfromoracleandgeneraterelativecolumnsDBColumnName:thecolumnnameintherealtableorviewinOracleSystemElement:thisisusedindisplayinglikereportReference:thecolumn’sDataType,alsoitdecidewhatthefieldwilllooklikeinthewindowValidation:seeValidationRuleReferenceKey:seeReferenceDefaultLogic:setadefaultvalueforthiscolumn,ucanuseconstantvaluelike1,orthevalueinContextlikexAD_Client_IDx,orjustorsqlquerylikexSQL=select…..KeyColumn:somethinglikeprimarykeyParentlinkColumn:usedinMaster/Detailtabs,indicatedwithwhichcolumnthedetailtablinktheMasterTabMandatory:thecolumncannotbenull,otherwise,thesystemwillgiveanerrormessageUpdateable:thevalueofcolumncannotbeupdated,usavethevalueandthenthefieldbecomereadonlyReadOnlyLogic:Inwhichcase,thecolumnisreadonly,itshouldbeBooleanvaluelike1=2Callout:calloutisasmallpieceofjavacold,calledwhentheuserinitializethewindoworsomevalueisedited,forexample:there’re3fieldsinwindow,aprice,aquantity,andanamount,whenevertheuserchangethevalueofprice,orQuantity,theamountshouldbechangedautomatically.Thenuaddacalloutlikethat:privatestaticStringProductCode(Propertiesctx,intWindowNo,MTabmTab,MFieldmField,Objectvalue,ObjectoldValue){IntegerM_Product_ID=(Integer)value;if(M_Product_ID!=null)mTab.setValue("M_Product_ID2",M_Product_ID);return"";}//ProductCodeSelectionColumn:meansthiscolumnisasearchkey,whenupushthesearch:thenitappendafterthenameanddescriptionAttention:The3columnwillbecomesearchkeyautomatically,Value,Name,DescriptionOK,thenthetableisFinished!Butbeforethat,umustcheckthese:Attention:1,atablemustcontainsuchcolumns:AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy2,allthecolumnnameiscaseSensitiveThengoestoTheWINDOWTheWindowistherealthingushoulddefinetoshowWindowType:Maintainmeansinthiswindowucancreaterecord,deleterecord,updaterecordQueryOnlymeansinthiswindowucanonlyviewthedata,nocreating,nodeleting,privatestaticStringProductCode(Propertiesctx,intWindowNo,MTabmTab,MFieldmField,Objectvalue,ObjectoldValue){IntegerM_Product_ID=(Integer)value;if(M_Product_ID!=null)mTab.setValue("M_Product_ID2",M_Product_ID);return"";}//ProductCodeEtcTransaction:transactionisgenerallyusedinsomebusinesstransactionslikesalesorderorshipments,oftenithasacolumncalledProcessed,whenprocessed=’Y’thenthisrecordcannotbeeditedAndthetransactionwindowonlyshowthedatawhichprocessed=’N’andcreatedtoday,andafterupushthehistorybuttonintoolbar,thentheotherdatacanbedisplayedTable:whichtableisthetabused,(atabmustdependonatabledefinedintable)Sequence:thedisplaysequence,fromuptobottomTablevel:meanstherelationshipinmaster/detailtabsSinglerowlayout:thedatawilldisplayedassingleormultirowsbydefaultHasTree:thetabwillshowedwithatree,likethat:Attention:Itdoesnotmeanatreewilldisplayedautomaticallyifuclickthis,onlysometablehastree(M_Product,AD_Menu,C_BPartner,andmore),whichishardcodedOrderTab:ThisisanexampleofOrderTab:Process:ucandefineaprocessforthetab,itisnormallyusedforreportColumn:thetable’scolumn,afieldmustdependonacolumnFieldGroup:thisisafieldgroup:DisplayLogic:inwhichcasethefieldisdisplayed,ucanuseconstantvaluelike1,orthevalueinContextlikexAD_Client_IDx,orjustorsqlquerylikexSQL=select…..HeadingOnly:showthefield’snameonlyFieldOnly:showthefield’svalueonlyEverythingseemsOK,nowaddthewindowintotheMenu:Loginagain,toseewhathappened!

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

compiereerpapplicationdictionary培训

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部