Creating YSL Reports : New YSL Report Procedures : Creating YSL Reports

Creating YSL Reports
Every custom YSL report begins with an existing YSL report, which is then considered a template.
To create a custom YSL report, first modify the YSL template and then save it with a different name. You can use any existing YSL report as the basis for a new YSL report.
YSL Classic: Always use an existing YSL report as a template for a new YSL report, because every YSL .xls file must contain special code (macros) that allows YSL to work with the spreadsheet.
YSL.Net: There are three options when creating a new YSL report:
To create a new YSL report: YSL Classic
1
From the Excel top menu, select File > Open. The Open screen appears.
2
3
To create a new YSL report: YSL.Net
1
a
b
From the side menu, click Open. The Open screen appears.
c
d
Click Open. The selected YSL report is displayed, with Rows 1-5 populated with the required settings and Rows 6 and greater populated with entries relevant to the selected YSL report.
2
a
b
Click Create New YSL Workbook.
c
3
a
b
Click Create New YSL Workbook with Special Row 1 Elements.
c
4
Special Row 1 Elements
YSL.Net processes a worksheet named SpecialRow1Elements. This worksheet is not included in the generated YSL report. Only Columns A and B of this sheet are used. The following requirements must be met when creating entries that populate Row 1 of the report:
c
Column A: Specify the column in Row 1 of the YSL report that you want to set to accumulate the results of the query. YSL.Net itself reserves the first 7 columns (A through G) of Row 1 for standard filter items, such as the dates and the account tree. You can employ a numerical designation of columns Columns 8 through 254 or an alphabetic designation of Columns H through AI.
c
Column B: Specify the query which should begin with the word SELECT and thus be resolved against the database. In the case of multiple records being returned, these are written into multiple columns beginning at the column defined to the left. Only the first SQL column of any SELECT is resolved, and the limitation of Excel 2003 to 255 maximum columns applies. For example:
SELECT Convert(char,ISNULL(P.SACQUIRE, '1/1/1950'),101) AcquireDate FROM PROPERTY P
WHERE P.iType = 3 AND P.sCode IN $All Properties$
might return 10 Acquire dates as string values into successive columns of Row 1 of the YSL report, if the run-time filter was submitted with 10 properties.
c
c
Surround all tokens in these SELECTs with a dollar sign. You should specify the tokens in terms of the standardized tokens: such as $All Properties$, $Book2$, $Property 12$. The standardized filter tokens on a YSL report are as shown on the colored pro forma Template sheet, as shown in the following graphic.
For date manipulation, YSL.Net supports all the environmental date tokens supported by Executive Dashboard, such as $OperatingMonth$ and $FirstDayOfThisMonth$. You can use $Date1$, $Date2$, $FromDate$ or $ToDate$ to collect the filter dates. Two special tokens are also supported: $LastDayOfDate1$ and $LastDayofDate2$. Date token arithmetic is not supported. For more information, see Appendix A of the Yardi Voyager Executive Dashboard User's Guide.