Home Discussions Questions & Answers Custom Period Ranges and Date Handling in FSG Balance Function

Custom Period Ranges and Date Handling in FSG Balance Function

Avatar photoCustomer October 13, 2020 at 4:22 am

I need to calculate the cumulative movement for a specific, non-standard range of periods—say, from February 2025 through August 2025. Which Balance Type should I use in the `br_balance` function, and how should I define the period range parameter?

Viewing 6 reply threads
  • Author
    Replies
    • Support October 14, 2020 at 10:41 am  

      For aggregating balances over a user-defined, non-standard period range, you must use the CTD (Custom-to-Date) Amount Type parameter . In the Period Name parameter of the `br_balance` function, you specify the range using a hyphen as the delimiter, such as `Feb-07-Aug-07` . This balance type specifically summarizes movement data across those defined periods .

    • Avatar photoCustomer October 14, 2020 at 3:47 pm  

      If I am tracking journal entries, using the JED (Journal Effective Date) Balance Type, how does the Period Name parameter change, and what date format limitations should I be aware of?

    • Support October 15, 2020 at 7:38 am  

      When using JED (Journal Effective Date), JEDU (Unposted JED), or JEDP (Posted JED), the Period Name parameter functions as a date parameter , accepting entries like a date range (e.g., `01/01/2007-05/01/2007`) . A crucial limitation is that the hyphen (`-`) serves as a range delimiter within Blitz FSG and cannot be used as the date separator within the date string itself (e.g., `01-01-2007` would be invalid if your regional settings use hyphens as date delimiters) . We recommend using slashes (`/`) as date separators and formatting the Excel cells as text to avoid regional setting conflicts .

    • Avatar photoCustomer October 15, 2020 at 10:16 pm  

      If I leave the Segment value parameter fields in the `br_balance` function blank, what is the resulting filter applied to the segment?

    • Support October 17, 2020 at 3:51 am  

      If you leave a segment value field blank, or explicitly enter a percent sign (`%`), the function is instructed to include all possible values for that segment . This typically results in an ‘OR’ condition for lists, meaning all accounts matching any of the specified criteria will be returned .

    • Avatar photoCustomer October 18, 2020 at 8:08 am  

      What is the consequence if the period name format I enter (e.g., ‘JAN-2007’) does not exactly match the format configured in Oracle (e.g., ‘Jan-07’)?

    • Support October 19, 2020 at 12:23 pm  

      If the Period Name entered does not exactly match the format configured in Oracle (including case sensitivity, e.g., ‘JAN-2007’ versus ‘Jan-07’), the function will return no data and will likely trigger an ‘invalid (Period)’ message . Exact matching of Oracle’s configured format is mandatory for correct data retrieval .

Viewing 6 reply threads
  • You must be logged in to reply to this post.

Login with: