cancel
Showing results for 
Search instead for 
Did you mean: 

How to query the opening balance for an specific account for an spec. date

inna_baskina
Explorer
0 Kudos

Hi all,

for my user query I need to calculate the opening balance for an cash account for an specific date.

Any ideas, how can I do this?

Or may be you know a field in an SBO table that already contains information I need...

Best Regards,

Inna

Accepted Solutions (1)

Accepted Solutions (1)

K_Pauquet
Advisor
Advisor
0 Kudos

Hi Inna,

to find the opening balance for an account or a business partner, please see SAP Note [1114253|https://service.sap.com/sap/support/notes/1114253] :

Symptom

How to find the opening balance of a business partner or G/L account.

Other terms

Account, customer, supplier, vendor, creditor, debitor, start, initial, first, opening balance, business partner, G/L, SAP Business One

Reason and Prerequisites

Consulting

Solution

There are several possible approaches:

Approach 1 - Business Partner Opening Balance:

1. Go to Business Partners -> Business Partner Master Data -> find the Business Partner

2. Click on the orange link arrow next to the field 'Account Balance' in the header region of the window.

3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.

4. Click on the button 'Refresh'.

5. Find 'OB' in the column 'Origin', this is the opening balance journal entry.

Approach 2 - Business Partner Opening Balance:

1. Go to Business Partners -> Business Partner Master Data.

2. Click on the orange link arrow next to the field 'Account Balance' in the header region of the window.

3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.

4. Click on the button 'Refresh'.

5. Double click on the column header 'Posting Date' to find the earliest transaction on the business partner account. This transaction could be opening balance, verify this with the company accountant.

Approach 3 - G/L Account Opening Balance:

1. Go to Financials -> Chart of Accounts -> click on the account name once.

2. Click on the orange link arrow next to the field 'Balance'.

3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.

4. Click on the button 'Refresh'.

5. Find 'OB' in the column 'Origin', this is the opening balance journal entry.

Approach 4 - Business Partner and/or G/L Account Opening Balance:

1. If using SAP Business One 2005 SP01 or earlier, go to Reports -> Query Generator -> click on 'Execute'.

2. If using SAP Business One 2007 or later, go to Tools -> Queries -> Query Generator -> click on 'Execute'.

3. Ignore the red system message in the bottom of the screen.

4. Click on the pencil icon in the top left of the window, the field with 'SELECT *' will change colour to white, then yellow when activated by clicking in the field.

5. Copy the query below:

SELECT T0.[TransId], T0.[Debit], T0.[Credit] , T0.[CreatedBy], T0.[TransType] FROM [dbo].[JDT1] T0 WHERE T0.[TransType] = '-2' and T0.[ShortName] = '[%1]'

6. Click on 'Save' and give the query an appropriate name and select the appropriate category.

7. Click on 'Execute'.

8. Click on 'Existing Values'.

9. Select the G/L account or the Business Partner name from the list and click on 'OK'.

10. The system message 'Records retrieved by this query #' (# = number of records) will pop up. Click on 'OK'.

All the best,

Kerstin

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Go to G/L Reports by

Financials -> Financial Reports -> Accounting -> General Ledger

Choose the Expanded button in the General Ledger u2013 Selection Criteria window

Tick the 'Opening Balance' Check box in the Left top .