您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 广告经营 > 报表-练习-媒体对象_系统函数
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
本文标题:报表-练习-媒体对象_系统函数
链接地址:https://www.777doc.com/doc-1478758 .html