Marty Zigman

Conversations with Marty Zigman

Certified Administrator • ERP • SuiteCloud

How to Produce a NetSuite Trial Balance with Saved Searches

Accounting NetSuite Reporting

Tags: , , , ,

This article is relevant if you are seeking to produce a Trial Balance with NetSuite Saved Searches.

Background

Many times during our client engagements, we need to work with general ledger account balance data for various analysis or systems integration work.  Often times, NetSuite reports are not exactly what we need.   We may need to display a set of balances on a form.  Many times, a common request I hear is to produce a comparative balance sheet.  The current NetSuite report tools can produce a comparative balance sheet but the column definitions need to be hard coded making them harder to use.    Ideally, columns would be dynamic based on today’s date.

In these cases where you need more dynamic control, going to Saved Search can be very helpful.  However, advanced saved searches using NetSuite’s underlying Oracle functions can take time to learn,

Trial Balance by Saved Search Illustration

To help the accounting community learn how NetSuite can produce financial numbers, it is important to remember that there is no general ledger as one might think in a traditional sense.  Instead, all balances are generated through the use of transaction details summarized.  This is why NetSuite is a real time system with no need to update the general ledger — it’s always current!  The key to producing financial numbers is to remember these rules:

  1. Balance Sheet: Sum all transaction amounts since inception to the date you want your balance.
  2. Income Statement: Sum all transaction amounts from the beginning of the fiscal period to the date you want your balance.
  3. Retained Earnings: Sum all income statement transaction amounts since inception to the last day of the previous fiscal period.

To help NetSuite accounting minding individuals understand how to produce these balances, the Trial Balance is a relatively simple financial report; yet it is somewhat challenging to produce with a Saved Search.  Hence, it is a good opportunity to see how to build one here.  We get started by defining a Saved Search of type Transaction.

Key Trial Balance Saved Search Criteria and Result Definition

I assume you have basic saved search skills.  So let’s go.

Set the criteria on a Transaction type Saved Search:

  1. Posting = True
  2. Account.InternalID Not Null

Next, define the result sets.  For the most part, I use summary based formula fields.  See screen shot for the definition.

The key value to produce is the balance which is defined as “NVL({debitamount},0)-NVL({creditamount},0)”.   Although not necessary to know here, you may be interested in this article about the polarity of the amount field if you do a lot of NetSuite financial work.  See The Pluses and Minuses of NetSuite Financial Statement Polarity. This NetSuite Saved Search makes good examples for some advanced searching concepts:

  1. Classifying Accounts as “Balance Sheet” or “Income Statement” using conditional logic
  2. Two techniques to Extract out the Year based on the Accounting Period End Date and using it to qualify amounts
See the two images for definition and the output of the result set.  The key is that the summary should foot to zero.

Get the Saved Search Bundle

If you are a NetSuite end customer, you are welcome to the bundle.  My intention is to build a library of financial based NetSuite saved searches as we solve client concerns.  With no obligation, send me a request with your account ID and I will make it available to download.   If you are in a situation and need a professional that understands accounting and NetSuite advanced Saved Searches, let’s have a conversation.

 

Marty Zigman LinkedIn

Marty Zigman

Holding three official certifications, Marty is widely recognized as a top NetSuite expert and leads a team of senior professionals at Prolecto Resources, Inc. A former Deloitte & Touche CPA and technology executive with CTO roles, he brings over 35 years of leadership in ERP, CRM, and eCommerce business systems. Contact Marty to engage directly.

BiographyYouTubeLinkedInX (Twitter)

39 thoughts on “How to Produce a NetSuite Trial Balance with Saved Searches

  1. I’m trying to build a report (whether it’s a report builder or Saved Search) to show Beginning Balance, Debits, Credits, and Ending Balance for a given year. Your saved search is close but not exactly what I’m looking for. I need to be able to select the date ranges rather than just using the system date.
    Please help!

    Reply
  2. I have an auditor’s request to produce an export file of the year’s transactions from 1/1 to 12/31. Have you used the SuiteAnalytics Connect (ODBC) tool, and would this be the best route versus running the saved search multiple times in small increments? Your recommended approach is appreciated, as the searches will time-out. Thanks.

    Reply
  3. I’m trying to produce a GL transaction list in Document, Local & Group currency. Standard reporting seems to only show document & group?

    Reply
  4. hi Marty,

    Do you know of a way to setup a saved search to pull trial balance data dynamically where we want NetSuite to ask the user for the accounting period to pull the trial balance vs. using sysdate function? Thank you

    Reply
  5. I am trying to created a trial balance search and came across your blog. In order to get the balance sheet balances on the search, it looks like you have a formula for each previous year. What if you have been using NS for the past 10 years?

    Reply
  6. So I copied your search above, All but the Account.Internal ID null I had to set it as not empty.

    I added a few other columns we needed, such as the name of our entities, and my income section [have not tested the balance sheet section yet] is pulling in the ending balance as if i was looking at the register. I only want the current YTD.

    Can you think of any reason why this would not work?

    Thanks for the help.

    Reply
  7. I tried to input some of your Formula (Text) formulas and noticed that there isn’t an “IN’ command available to me. Is there something that I am missing?

    Reply
  8. Hello Marty,

    We have downloaded your bundle into our SB environment but unfortunately it is not working for us. I think it has to do with our multiple entities and currencies.

    I wanted to thank you for your time and help

    Elizabeth

    Reply
  9. Hi Marty,

    Great site. I’ve been coming here to help guide me in building Saved Searches to export data from NetSuite. How would you go about creating a monthly TB instead of the annual version shown here? I tried replacing YEAR with MONTH, but that yielded no data. I like that if I can extract this data correctly, then I should be able to post all historical values to a Prior Year’s Retained Earnings account in my target system instead of calculating it from Net Income.

    Rafael

    Reply
  10. How would you adjust the formula so that you get the balance as of the day in the “TO” field in a filter?

    So instead of looking at the SYSDATE it is looking at the filter.

    I am trying to create a saved search where the user can select the end date, and be able to know what the account balance was as of that date.

    Reply
  11. Hi Marty
    Our Fiscal Year is April to March, therefore the Formula does not work. Any hint on how I can change it to a Period reference instead of year from period end and sysdate?
    Thanks

    Reply
  12. Hi, I replicated this saved search. However, balance sheet accounts balances are also coming for just the filtered date range. Balance sheet accounts should come with balance since inception.

    Reply
  13. Hey Marty,

    I have added date filter in saved search.
    While selecting a particular date range, balances of all the accounts are appearing only for that range. However, in case of balance sheet accounts, balance should always appear since inception. Please help if I going wrong somewhere

    Reply
  14. Can you guide me what formula should I Use to have Balance sheet account values since inception and income account balance for a particular period

    Reply
  15. Hi Marty,

    The formulas that are illustrated in the image are for the period Jan to Dec. Please help with the formula for the period Apr to Mar

    Reply
  16. Hi Marty, what can be done to show the account balances in both Consolidated (USD) and Local/Subsidiary Currencies?

    Reply
  17. Inventory Worksheets are not returning correct amounts. How can I get all transaction accounting lines for these?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *