Вы находитесь на странице: 1из 7

20/01/2016

ReportEnquiry

Youarehere:ApplicationFramework>Enquiry>ReportEnquiry>ViewingXMLgeneratedENQUIRY.REPORTSin
Browser

https://tpsp.temenos.com/R15CD/R15CD.htm#../Subsystems/R15AFID/Content/ENQUIRY/EnquiriesandReports/Reports.htm#Report_Enquiry%3FTocPath

1/7

20/01/2016

ReportEnquiry

ReportEnquiry
Enquiries can be defined as a report and printed online or during the end of day. When defining the ENQUIRY(report) the PAGE.SIZE in
ENQUIRYshouldbesettothesizeofthereportpage.
Tip:
Thereisnorestrictiononwidthordepthofreport.Allotheraspectsofthedefinitionarethesame.

ExampleReportEnquiryStructure
To run the report a record must be entered in the application ENQUIRY.REPORT. This will define any selection criteria, the
REPORT.CONTROLid for printer routing, the default header definitions etc. See ENQUIRY.REPORT for more details. To run the report during
theendofdaytheidoftheENQUIRY.REPORTrecordshouldbeenteredintheDATAfieldoftheBATCHrecordforthejobEB.PRINprecededby
ENQ.
Setup,
Step1
ThisexamplesetupwilltaketheENQUIRYrecordACCOUNTLISTasanexample.
NochangesarenecessarytotheENQUIRYrecordinordertoallowXMLreporting.

https://tpsp.temenos.com/R15CD/R15CD.htm#../Subsystems/R15AFID/Content/ENQUIRY/EnquiriesandReports/Reports.htm#Report_Enquiry%3FTocPath

2/7

20/01/2016

ReportEnquiry

EnquiryRecord
Step2
Createtwofilesintheaccount.rundirectory.
FirstXML.LOCAL(youcannamethefileanythingyoulike)
AndinthatfilecreateanotherfileTRANSLATE.xlsyoucannamethefileanythingyoulikebutitshouldbean.xlstypefile)
ThesefileswillbeusedtostoreanerrormessagesthatoccurinanyXMLreporting.
Step3
Create a record in the REPORT.TRANSFORM application, here we have called ours XML.TRANSFORM, this will later be added a
REPORT.CONTROLrecord.
NotethatthefieldsTrans.Path,Transname.1,Report.Dest.1,Error.Dest.1requirethefilescreatedin
Step2.

https://tpsp.temenos.com/R15CD/R15CD.htm#../Subsystems/R15AFID/Content/ENQUIRY/EnquiriesandReports/Reports.htm#Report_Enquiry%3FTocPath

3/7

20/01/2016

ReportEnquiry

XML.TRANSFORMrecord.
Step4.
TheREPORT.CONTROLrecordindicateswhichDE.FORM.TYPEtouse(SeeFORM.NAMEfieldinstep5screenshot.
ThecorrespondingDE.FORM.TYPE record must have the PRINTER.ID field set to HOLD or else if it is left blank the PRINTER.ID attached to
theUSERwillbeused(andifthatissetupincorrectlyBrowserwillproduceaUnabletowritebannerFATAL.ERROR)
Theform.DepthfieldmustbesethightoavoidhiddencharactersintheXMLreport(orpagebreaksshownashiddencharactersareautomatically
insertedaccordingtotheformdepthsethere).
TheOPTIONSfieldinDE.FORM.TYPEmustalsobesettoNHEADforXMLreports,thiswillsuppresstheheaderintheXMLrecord.

DE.FORM.TYPErecord.
step5.
ForthisexamplewecreateanewrecordintheREPORT.CONTROLapplicationcalledACCOUNTLIST.
HeretheDE.FORM.TYPErecordXMLisusedinthefieldForm.Name
TheREPORT.TRANSFORMrecordXML.TRANSFORMisusedinthefieldReport.Transform

https://tpsp.temenos.com/R15CD/R15CD.htm#../Subsystems/R15AFID/Content/ENQUIRY/EnquiriesandReports/Reports.htm#Report_Enquiry%3FTocPath

4/7

20/01/2016

ReportEnquiry

REPORT.CONTROLrecordforXMLreporting
Step6.
AnewrecordinENQUIRY.REPORTapplicationcalledACCOUNTLISTiscreateddetailingtheEnquiryrecordtoaccess,whatReportingrulesare
goingtobeappliedtoitanditsOutputformat.
Oncethisrecordiscompletedandauthorised,anXMLreportcanbeproducedformthisrecordbyusingtheVerifyfunction.

ENQUIRY.REPORTforAccountList
Anewrecordhasbeencreatedinthe&HOLD&file

https://tpsp.temenos.com/R15CD/R15CD.htm#../Subsystems/R15AFID/Content/ENQUIRY/EnquiriesandReports/Reports.htm#Report_Enquiry%3FTocPath

5/7

20/01/2016

ReportEnquiry

Classicviewofthe&HOLD&filelist
Openingthenewfileinthe&HOLD&filewithWordpaddisplaystheEnquiryinXMLformat.

XMLviewofthe&HOLD&file
Multivalues are supported in the generated XML (but not subvalues) and are indicated in the field definitions, as in the above example, by the
repeatablelabelbeingsettoTRUE.Theactualfieldswillthenberepeatedinthedata.
ImportantNote:
In order to use the new functionality the application the Application the Enquiry Report is based on has to have their STANDARD.SELECTION
recordrebuilt.
TorebuildaSTANDARD.SELECTIONrecordopentherelevantrecordandpopulatetheRebuild.Sys.FldsfieldwithYthenauthorisetherecord.

Marlingthestandardselectiontoallowarebuild.

https://tpsp.temenos.com/R15CD/R15CD.htm#../Subsystems/R15AFID/Content/ENQUIRY/EnquiriesandReports/Reports.htm#Report_Enquiry%3FTocPath

6/7

20/01/2016

ReportEnquiry

ViewingXMLgeneratedENQUIRY.REPORTSinBrowser
ItispossibletoviewXMLgeneratedreportsinBrowser,astylesheetwillhavetobecreatedfortheENQUIRY.REPORTinquestionandplaced
ontotheWebServer,inthiscasewehaveplacedtheXMLstylesheetintothedirectory:
C:\ProgramFiles\ApacheGroup\Tomcat4.1\webapps\BrowserWeb\transforms\custom
TheENQUIRY.REPORTfortherelatedrecordwillneedthefollowingsetup:
The field Additional.Data will require the path location of the style sheet note that the BrowserWeb is considered to be the toplevel directory
thustheshorterentry.
ThefieldOutput.FormatwillneedtobeXML

ENQUIRY.REPORTforXMLreporting.
In order to view the XML report simply verify the record in Browser, an XML record will be created in the &HOLD& file automatically and the
stylesheetwillbepopulatedandlaunched.

TheXMLreport

Publishedon:15.05.2015

https://tpsp.temenos.com/R15CD/R15CD.htm#../Subsystems/R15AFID/Content/ENQUIRY/EnquiriesandReports/Reports.htm#Report_Enquiry%3FTocPath

7/7

Вам также может понравиться