**************************************************************************** Location : Local or Network Folders Host : FINDITEZ-T460P Path : C:\Users\ken\Documents\Test Cases\en\Samples\Reports\Financial\Current Period and YTD Cash Flow.rpt **************************************************************************** Report Information Version: 11.0 Author: Business Objects Comments: This report reports the amount of cash coming in and the amount of cash going out of the business during a period Title: Year to Date Statement of Cash Flow Printer: No Printer Main Body Data Sources Source: Connection #1 Database DLL: crdb_odbc.dll Database Type: ODBC (RDO) Server: Xtreme Sample Database 11.5 Properties: QE_LogonProperties DSN: Xtreme Sample Database 11.5 UseDSNProperties: False QE_SQLDB: True SSO Enabled: False Report Parameters Parameter: End Date Data Type: DateTime Description: Enter End Date: List Type: Static Default Values: 2005-01-31 12:00:00 AM Tables Table: Account Connection: Connection #1 Used Columns: {Account.Account Number} : String[18] {Account.Account Type ID} : Number {Account.Account Class ID} : Number Table: Account Type Connection: Connection #1 Report Alias: Account_Type Used Columns: {Account_Type.Account Type} : String[42] Table: Journal Entry Connection: Connection #1 Report Alias: Journal_Entry Used Columns: {Journal_Entry.Journal Entry Type ID} : Number {Journal_Entry.Date} : DateTime {Journal_Entry.Amount} : Number {Journal_Entry.Debit Or Credit} : String[22] Table: Account Class Connection: Connection #1 Report Alias: Account_Class Used Columns: {Account_Class.Account Class} : String[102] Table: Journal Entry Type Connection: Connection #1 Report Alias: Journal_Entry_Type Used Columns: {Journal_Entry_Type.Journal Entry Type} : String[102] Table Links Joins: [Journal Entry Type] Journal_Entry_Type INNER JOIN [Journal Entry] Journal_Entry ON Journal_Entry_Type.[Journal Entry Type ID] = Journal_Entry.[Journal Entry Type ID] Account INNER JOIN [Account Type] Account_Type ON Account.[Account Type ID] = Account_Type.[Account Type ID] Account INNER JOIN [Journal Entry] Journal_Entry ON Account.[Account Number] = Journal_Entry.[Account Number] Account INNER JOIN [Account Class] Account_Class ON Account.[Account Class ID] = Account_Class.[Account Class ID] Record Selection Formulas Formula: {Journal_Entry_Type.Journal Entry Type} <> "closing entries" and {Journal_Entry.Date} <= {?End Date} Record Sorting Sort By: Account_Class.Account Class -- Ascending Order Group #1 Account_Type.Account Type -- Ascending Order Group #2 Formula Fields Field: month_net_income Formula: if {Journal_Entry.Date} >= DateSerial(year({?End Date}), month({?End Date}),1) then ( if {Account_Type.Account Type} in ['Revenue','Expense'] then ( if {Journal_Entry.Debit Or Credit} = "Credit" then ( {Journal_Entry.Amount}; ) else ( {Journal_Entry.Amount} * (-1); ) ) ) Field: YTD_net_income Formula: if {Journal_Entry.Date} >= DateSerial(year({?End Date}),1,1) then ( if {Account_Type.Account Type} in ['Revenue','Expense'] then ( if {Journal_Entry.Debit Or Credit} = "Credit" then ( {Journal_Entry.Amount}; ) else ( {Journal_Entry.Amount} * (-1); ) ) ) Field: month Formula: MOnthName(month({?End Date})) Field: YTD_depreciation_amortization Formula: if {Journal_Entry.Date} >= DateSerial(year({?End Date}), 1,1) then ( if {Account_Class.Account Class} = 'Amortization/Depreciation Expense' then ( if {Journal_Entry.Debit Or Credit} = "Credit" then ( {Journal_Entry.Amount}* (-1); ) else ( {Journal_Entry.Amount} ; ) ) ) Field: month_depreciation_amortization Formula: if {Journal_Entry.Date} >= DateSerial(year({?End Date}), month({?End Date}),1) then ( if {Account_Class.Account Class} = 'Amortization/Depreciation Expense' then ( if {Journal_Entry.Debit Or Credit} = "Credit" then ( {Journal_Entry.Amount}* (-1); ) else ( {Journal_Entry.Amount}; ) ) ) Field: YTD_balance Formula: if {Account_Class.Account Class} in ["Accounts Payable", "Accounts Receivable", "Credit Card Payable", "Credit Card Receivable", "Inventory", "Long Term Debt.", "Other Payable", "Payroll Tax Payable", "Sales Tax Payable"] then ( if {Journal_Entry.Journal Entry Type ID} <> 9 then ( if {Journal_Entry.Date} >= DateSerial(year({?End Date}),1,1) then ( if {Journal_Entry.Debit Or Credit} = "Credit" then ( {Journal_Entry.Amount} * (-1); ) else ( {Journal_Entry.Amount}; ) ) ) ) Field: month_balance Formula: if {Account_Class.Account Class} in ["Accounts Payable", "Accounts Receivable", "Credit Card Payable", "Credit Card Receivable", "Inventory", "Long Term Debt.", "Other Payable", "Payroll Tax Payable", "Sales Tax Payable"] then ( if {Journal_Entry.Journal Entry Type ID} <> 9 then ( if {Journal_Entry.Date} >= DateSerial(year({?End Date}), month({?End Date}),1) then ( if {Journal_Entry.Debit Or Credit} = "Credit" then ( {Journal_Entry.Amount} * (-1); ) else ( {Journal_Entry.Amount}; ) ) ) ) Field: month_beginning_cash Formula: if {Account_Class.Account Class} = 'Cash' or {Account_Class.Account Class} = 'Bank' then ( if {Journal_Entry.Date} < DateSerial(year({?End Date}),month({?End Date}),1) then ( if {Journal_Entry.Debit Or Credit} = "Credit" then ( {Journal_Entry.Amount} * (-1) ) else ( {Journal_Entry.Amount} ) ) ) Field: YTD_beginning_cash Formula: if {Account_Class.Account Class} = 'Cash' or {Account_Class.Account Class} = 'Bank' then ( if {Journal_Entry.Date} < DateSerial(year({?End Date}),1,1) then ( if {Journal_Entry.Debit Or Credit} = "Credit" then ( {Journal_Entry.Amount} * (-1); ) else ( {Journal_Entry.Amount}; ) ) ) Field: month_net_cash_flow Formula: Sum ({@month_net_income})+ Sum ({@month_depreciation_amortization}) Field: YTD_net_cash_flow Formula: Sum ({@YTD_net_income})+Sum ({@YTD_depreciation_amortization}) Field: month_net_cash_flow_from_operating_activities Formula: {@month_net_cash_flow} + Sum ({@YTD_balance}) Field: YTD_net_cash_flow_from_operating_activities Formula: {@YTD_net_cash_flow} + Sum ({@YTD_balance}) Field: month_net_increase Formula: {@month_net_cash_flow_from_operating_activities} Field: YTD_net_increase Formula: {@YTD_net_cash_flow_from_operating_activities} Field: month_cash_equivalents Formula: Sum ({@month_beginning_cash}) + {@month_net_increase} Field: YTD_cash_equivalents Formula: Sum ({@YTD_beginning_cash}) + {@YTD_net_increase} Summary Fields Field: month_depreciation_amortization Formula: Sum ({@month_depreciation_amortization}) Field: month_net_income Formula: Sum ({@month_net_income}) Field: YTD_depreciation_amortization Formula: Sum ({@YTD_depreciation_amortization}) Field: YTD_net_income Formula: Sum ({@YTD_net_income}) Field: month_balance Formula: Sum ({@month_balance}, {Account_Class.Account Class}) Field: YTD_balance Formula: Sum ({@YTD_balance}, {Account_Class.Account Class}) Field: month_balance Formula: Sum ({@month_balance}) Field: month_beginning_cash Formula: Sum ({@month_beginning_cash}) Field: YTD_beginning_cash Formula: Sum ({@YTD_beginning_cash}) Field: YTD_balance Formula: Sum ({@YTD_balance}) Report Header Section: Section a Fields Field: PrintDate2 Data Source: PrintDate Data Type: Date Format: Date and Time Order: Date Time Date Type: System Default Date Format: YYYY-MM-DD hh:mm:ss AM Field: PrintTime1 Data Source: PrintTime Data Type: Time Format: Date and Time Order: Date Time Date Type: System Default Time Format: MM/DD/YY h:mm:ss AM Field: Sumofmonthnetincome1 Data Source: Sum ({@month_net_income}) Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: SumofYTDnetincome1 Data Source: Sum ({@YTD_net_income}) Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: SumofYTDdepreciationandAmortization1 Data Source: Sum ({@YTD_depreciation_amortization}) Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: Sumofmonthdepreciationamortization1 Data Source: Sum ({@month_depreciation_amortization}) Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: monthnetcashflow1 Data Source: {@month_net_cash_flow} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: YTDnetcashflow1 Data Source: {@YTD_net_cash_flow} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: month1 Data Source: {@month} Data Type: String Text Fields Text Field: Text1 Text: YTD Cash Flow Text Field: Text2 Text: How to create a Current Period and YTD Cash Flow Text Field: Text21 Text: Xtreme Mountain Bikes Text Field: Text3 Text: Net Income From Operations Text Field: Text19 Text: For the Months Ending {?End Date} Text Field: Text20 Text: Current Period and YTD Cash Flow Text Field: Text9 Text: YTD Text Field: Text4 Text: Add Back Non-Cash Expenses: Depreciation and Amortization Text Field: Text11 Text: Sources (Uses) of Cash : Text Field: Text28 Text: Net Cash Flow from Operations Pictures Picture: RO_Xtreme_Logo Size: 279x111 Hyperlink: http://www.businessobjects.com Boxes Box: Box1 Ends in Section: ReportHeaderSection1 Size: 416x19 Line Type: Single Line Thickness: 20 Lines Line: Line1 Ends in Section: ReportHeaderSection1 Line Type: Single Line Thickness: 30 Line: Line4 Ends in Section: ReportHeaderSection1 Line Type: Single Line Thickness: 30 Groups Group: Group #1 Grouped By: {Account_Class.Account Class} Group Footer Section: Section a Conditional Formulas Condition: EnableSuppress Formula: {Account_Class.Account Class} <> ["Accounts Payable", "Accounts Receivable", "Credit Card Payable", "Credit Card Receivable", "Inventory", "Long Term Debt.", "Other Payable", "Payroll Tax Payable", "Sales Tax Payable"] Fields Field: SumofYTDclasstotal1 Data Source: Sum ({@YTD_balance}, {Account_Class.Account Class}) Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: Sumofmonthclasstotal1 Data Source: Sum ({@month_balance}, {Account_Class.Account Class}) Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: GroupNameAccountClass1 Data Source: GroupName ({Account_Class.Account Class}) Data Type: String Group: Group #2 Grouped By: {Account_Type.Account Type} Group Header Section: Section a Fields Field: GroupNameAccountClass2 Data Source: GroupName ({Account_Type.Account Type}) Data Type: String Detail Section: Section a Fields Field: YTDclasstotal1 Data Source: {@YTD_balance} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: monthnetincome1 Data Source: {@month_net_income} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: monthclasstotal1 Data Source: {@month_balance} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: YTDnetincome1 Data Source: {@YTD_net_income} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: monthdepreciationamortization1 Data Source: {@month_depreciation_amortization} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: YTDdepreciationandAmortization1 Data Source: {@YTD_depreciation_amortization} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: monthbeginningcash1 Data Source: {@month_beginning_cash} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: YTDbeginningcash1 Data Source: {@YTD_beginning_cash} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Page Footer Section: Section a Fields Field: PageNumber1 Data Source: PageNumber Data Type: Number Format: Number Currency Symbol: None Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: -5,555,555 Text Fields Text Field: Text6 Text: Feedback on Samples by E-mail Hyperlink: mailto:crfeedback@businessobjects.com Text Field: Text7 Text: Copyright 2004 Business Objects Software Limited. All rights reserved. Business Objects, the Business Objects logo, Crystal Reports, Crystal Enterprise, Crystal Analysis, WebIntelligence, RapidMarts, and BusinessQuery are trademarks or registered trademarks of Business Objects and its affiliates in the United States and/or other countries. Other trademarks are the property of their respective owners. Business Objects owns the following U.S. patents, which may cover products that are offered and sold by Business Objects: 5,555,403, 6,247,008 B1, 6,578,027 B2, 6,490,593 and 6,289,352. Text Field: Text8 Text: Business Objects Technical Support Site Hyperlink: http://support.businessobjects.com Pictures Picture: Picture3 Size: 150x40 Hyperlink: http://www.businessobjects.com Lines Line: Line3 Ends in Section: PageFooterSection1 Line Type: Single Line Thickness: 30 Report Footer Section: Section a Fields Field: Sumofmonthclasstotal2 Data Source: Sum ({@month_balance}) Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: SumofYTDclasstotal2 Data Source: Sum ({@YTD_balance}) Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: Sumofmonthbeginningcash1 Data Source: Sum ({@month_beginning_cash}) Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: SumofYTDbeginningcash1 Data Source: Sum ({@YTD_beginning_cash}) Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: monthnetcashflowfromoperatingactivities1 Data Source: {@month_net_cash_flow_from_operating_activities} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: YTDnetcashflowfromoperatingactivities1 Data Source: {@YTD_net_cash_flow_from_operating_activities} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: monthnetincrease1 Data Source: {@month_net_increase} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: YTDnetincrease1 Data Source: {@YTD_net_increase} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: monthcashequivalents1 Data Source: {@month_cash_equivalents} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Field: YTDcashequivalents1 Data Source: {@YTD_cash_equivalents} Data Type: Number Format: Number Currency Type: Floating Currency Symbol: $ Currency Position: Leading Outside Negative $-123 Suppress if Zero: False Leading Zero: True Reverse Sign: False Number Style: $-5,555,555. Text Fields Text Field: Text16 Text: Total Sources (Uses) of Cash Text Field: Text17 Text: Net Cash Flow from Operating Activities Text Field: Text18 Text: Net Increase (Decrease) in Cash Text Field: Text12 Text: Cash at Beginning of Period Text Field: Text13 Text: Cash and Equivalents at End of Period