报表-练习-媒体对象_系统函数

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

OperatingReportWritingIIMediaObjectsandSystemFunctionsJ.D.EdwardsEnterpriseOneMediaObjects•MediaObjectsareattachmentstorecords-Itemmaster,ItemBranch-SalesOrderHeader,SalesOrderDetail-PurchaseOrderHeader,PODetail-PrintMessage•MediaObjectsarestoredasBLOBSandareprintedthroughsystemfunctions•YoucannotprintanOLEobject,printtextonly-Whenconvertingdata,convertastextIdentifytheMediaObjectPropertiesFastpathG4111,ItemMasterItemMaster,Item2004ScrolldowntheleftsidetoItemNotesInternalAttachmentdonotprintSelectItemNotesAddanItemNoteClickOKFile/New/TextTypeyourtextRightclickonthegrayportionandselectpropertiesNoteNameandKeyfieldsFile/Save&ExitAddalphavariablenamedItemNotesGT4016BClickSystemFunctionIconDoubleclickMediaObjectsFindGT4016B,doubleclickActionisGetTextMouseTextandchoicesappear-chooseRVyoucreatedMatchKeyFieldsEventruleMediaObjectswrapwithinthedisplayspaceyouhavespecifiedinyourvariable.Ifdisplayislongenough,theywillappearexactlyasviewedinthenotesscreen.CreateaconditionalgroupsectionItemNotes,nobusinessview.CreateanalphavariableConditItemNotesGT4016B,makeitglobalExecuteMediaObjectsforGT4016Bagain,butchangethedestinationtotheconditionalsectionglobalvariableYoucancopytheERlineandchangetheitemsinthecopyDoSectionEventRulesNotethatIhavedisabledtheIFstatementsothattheCostComponentssectionwillexecuteforeachrecordWhentocalltheconditionalsection•YouwanttheItemnotestoprintaftertheitemrowisexecuted-Calltheconditionalsection“AfterlastObjectPrinted”fortheDetailsectionAfterLastObjectPrintedNotethedifferenceindisplaylengthHide/ShowFunction•Wedon’twanttheconditionalsectiontoprintunlessthereistextintheMediaObject•Hidethesection,thenapplyanIFtesttoShowthesection•CreateanRCconstanttextintheconditionalsectionforHide/ShowtestingTestingtextEventRulesConditionalSectionSystemFunctionSection/HideSectionIfRVConditItemNotesGT4016BisblankShowSectionDateFunctions•DateFunctionsarepartofthex=assignment/expressionfunctions•Youcanretrievetoday’sdateandcalculateapastorfuturedate•YoucancreateatargetdateanddisplayitoruseitfordataselectionforthereportR55431101-createanRVTargetDateAddasectionVavariableALIASDTE,calledDateSpecifiedAssignvaavalueof6/1/05TargetDate=f(x)OpenDateFunctionsfolderandchooseadd_day(s)Add5daystothedatespecifiedEventRulesTargetdateiscalculatedIncludeTargetDateinDataSelection•Timingisthekey•Thetargetdatemustbeavailablebeforethedetailsectionprocesses-Thetargetdatemustbepartofareportheader-Createthereportheader-CreateanRVRHTargetDateinreportheader,globalvariable-CreateanrptvaSpecifieddateandassignittobe6/1/05ReportHeaderHeaderEventRulesVersionDataSelectionTheProcessingOptiondatadoesnotapply-itwasnotpartofdataselectionOnlyorderswitharequestdate=targetdateareincludedonthereportNote-ConvertednumericisrightjustifiedLefttrimalphaisleftjustified

1 / 50
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功