Tips on Reading jdedebuglog FilesWord文档下载推荐.docx

上传人:b****3 文档编号:16394826 上传时间:2022-11-23 格式:DOCX 页数:9 大小:439.88KB
下载 相关 举报
Tips on Reading jdedebuglog FilesWord文档下载推荐.docx_第1页
第1页 / 共9页
Tips on Reading jdedebuglog FilesWord文档下载推荐.docx_第2页
第2页 / 共9页
Tips on Reading jdedebuglog FilesWord文档下载推荐.docx_第3页
第3页 / 共9页
Tips on Reading jdedebuglog FilesWord文档下载推荐.docx_第4页
第4页 / 共9页
Tips on Reading jdedebuglog FilesWord文档下载推荐.docx_第5页
第5页 / 共9页
点击查看更多>>
下载资源
资源描述

Tips on Reading jdedebuglog FilesWord文档下载推荐.docx

《Tips on Reading jdedebuglog FilesWord文档下载推荐.docx》由会员分享,可在线阅读,更多相关《Tips on Reading jdedebuglog FilesWord文档下载推荐.docx(9页珍藏版)》请在冰豆网上搜索。

Tips on Reading jdedebuglog FilesWord文档下载推荐.docx

Turningondebuglogs

Step2:

GetintoEnterpriseOne

Step3:

Locatejdedebug.log

Step4:

Generatethejdedebug.log

Step5:

Deleteunwantedinformation

Step6:

CreatethePurchaseOrder

Step7:

Lookatthejdedebug.log

Step8:

CopyinginformationintoExcel 

Step9:

Fillinthesequencenumber

Step10:

Sortdataanddeleteunwantedinformation

Step11:

TurnoffDebugLogs

AbitofinformationontheformatofSQLstatements

Turningondebuglogs

Tobegintheprocess,turndebuggingoninthejde.ini.Thisisaccomplishedbygoingtothestartmenuandclickingon“Run”.

IntherundialogwindowtypeinC:

/winnt/jde.ini.TheNotepadprogramwillopenupanddisplaythecontentsofthejde.inifile.

Changethelinelocatedunderthe[DEBUG]stanzafromOutput=NONEtoOutput=FILE.FurtherdownalinethatreadsDebugFile=c:

\jdedebug.logindicatesthatthedebugfilewillbelocatedintheC:

\anditsnamewillbejdedebug.log.Thiscouldbenamedanything,butthedefaultvalueisfine.

SavethechangesandcloseNotepad.TheLEVELlineintheINIfilesetsuphowmuchdetailtorecordinthejdedebug.log.Thedefaultvalueisfineforthisoperation.

Anoteonthejdedebug.logfile:

ThedebuglogfilewillgrowinsizequicklywhileEnterpriseOneisused.Thisisbecauseeverycalltoatable,businessfunction,menu,objectandeverythingelseisrecorded.SettingtoadifferentLEVELofdetailcanreducethis,butstillthereisalotofdata.ThisfilecanalsobedeletedusingtheWindowsExploreranditwillsimplybecreatedagainbyEnterpriseOne.Thisfunctionalityisimportantforthisexercise.

BacktoTop

GetintoEnterpriseOne

StartupEnterpriseOne.Thisprocesswillautomaticallycreatethejdedebug.logintheC:

\directoryasspecifiedintheJDE.INIfileweeditedinstep1.

OpenupWindowsExplorerthejdedebug.logisseenRememberitislocateditintherootdirectoryofCDrive.ItmaybeatthebottomofthelistasitwillhavejustbeencreatedbyEnterpriseOne.

Generatethejdedebug.log

OnewaytousedebuglogsistofollowwhattablesarepopulatedandwhatrecordsarechangedwhenaPurchaseOrderiscreated.However,whilenavigatingthroughEnterpriseOnedataisbeingcapturedinthejdedebug.log.Itisinthisstage,thatthefunctionofthejdedebug.logbeingcontinuallyrecreatedafteritisdeletedisimportant.Togetonlytheinformationrequired,gettothepointwheretheinformationinthedebuglogisvaluable.Inthiscase,clickAdd,fillouttheinformationintheheaderanddetail,butdonotpresstheOKbuttontosavethePOyet.

Deleteunwantedinformation

Rememberthedebugfileisfullofunwantedinformation.Forthisexample,wearelookingforthedatachangedorenteredwhenIsavethePO,notallthedatarelatingtoopeningthePOmenu,verifyingitemandsuppliernumbersetc.Todothis,gobacktotheWindowsExploreranddeletethejdedebug.log….Yupdeleteit!

!

Don’tworry;

itwillberecreatedwhenthePurchaseOrderissavedwithonlythepertinentinformation.

CreatethePurchaseOrder

GobacktoEnterpriseOneandclickOK.ThePurchaseOrderissaved.DonothingelseinEnterpriseOne.

Lookatthejdedebug.log

GobacktoWindowsExplorerandlocatethenewlycreatedjdedebug.logfile.Doubleclickthefile;

itwillopenupusingtheNotepadprogram.

 

Itisfullofdata…wadingthroughthislookingforallthedataentriestakesalongtime.Evenusingthesearchtoolcanbedifficulttryingtofollowthechronologicalorderofthedata.ThefollowingmethodofusingExcelhelpsfilteroutonlythedatawewantandkeepitinorder.

Highlighttheentirelistofentriesinthejdedebug.log(Editmenu,SelectAll)andCopy(Ctrl+C).OpenExcelandPaste(Ctrl+V)thecopiedinformationintofieldB1.

Fillinthesequencenumber

FillinasequenceofnumbersinColumnA.Thiscanbedonebyentering1inA1and2inA2andthenhighlightinganddraggingtotheendofthepasteddata.WidenedcolumnBsothatthepasteddataisshownmoreclearly.

NowsortthedatabycolumnCsothatitiseasytolocatetheSQLcommandsentriesSELECT,UPDATEandINSERTthesenamesareselfexplanatory,butmoredetailsofhowtheyareusedandtheformattheyareusedinwillfollow.

OncethedatahasbeensortedbycolumnCiteasytodeletealltherowsofinformationwhereSELECT,UPDATEandINSERTarenotincolumnC.

AfterdeletingalltherowswhereSELECT,UPDATEandINSERTarenotincolumnC,afewernumberofrowsareleft,showingjustthedatawewanttosee.Byonceagainsortingallthedata,butthistimeusingColumnAasthesortkeytoputtheinformationbackintochronologicalorderwhichshowsthedatainandoutoftableasithappened.

TheSELECTstatementsmaynotbenecessary,astheyareonlycallingdata,notchangingdata.Theycouldalsobedeleted.Thegraphicaboveshowsallthedatachanges(UPDATE)andrecordentries(INSERT)intheordertheyoccurredwhenaPurchaseOrderissaved.ThisisveryusefultobetterunderstandtheprocessesinEnterpriseOneandfollowexactlywhereandwhatdataisSelected,UpdatedandInsertedintotables.

WhenyouhavefinishedusingtheJDEDEBUG.LOGturnitoffsothatyoudonotclutterupyourharddrive.Seestep1tochangetheOUTPUT=FILEbacktoOUTPUT=NONE.

Select

Theselectstatementisusedtoselectdatafromatable.

SELECT 

FROMF0101 

WHERE 

(ABAN8=1001.000000)

ThismeansselectAllthedata(*)fromtableF0101wherefieldABAN8(theAddressNumber)=1001.The*mayalsobereplacedby1ormanyfieldnames.

Update

Theupdatestatementisusedtochangeexistingdatainarecord.

UPDATEF4102 

SETIBITM=60003.000000,IBMCU='

30'

IBMRPC='

1'

IBUSER='

DEMO'

IBPID='

EP4310'

IBJOBN='

MEL-CG6840'

IBUPMJ=2/12/2001,IBTDAY=85439.000000WHERE 

(IBITM=60003.000000ANDIBMCU='

ThismeansupdatetherecordinF4102andmakethefollowingfieldshavethevaluespecified:

IBITM=60003, 

IBMCU='

30 

etc.inthistablefortherecordwhereIBITM=60003 

and 

IBMCU='

30

Insert

Theinsertisusedtoinsertanewrecordinatable.

INSERTINTOF4074VALUES(4923.000000,'

OP'

'

00001'

1.000000,0.000000,'

'

60003.000000,4343.000000,0.000000,'

USD'

EA'

0.000000,'

10.000000,0.000000,'

2/12/2001,85437.000000)

ThismeansthatanewrecordwillbeinsertedintoF4311.Thedatawillbeenteredintothefieldsintheordershownandseparatedbycommas.InsomecasesyouwillseethatZeroshavebeenusedto“pad”thecells

BottomofForm

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 党团工作 > 入党转正申请

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1