Changing GL account numbers  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Changing GL account numbers

Postby DannyC » Wed Jun 24, 2020 11:31 am

Interesting question posed by a client recently - and has been asked previously by other clients too over the years.

They'd like to change the account numbering of the GL chart of accts, so basically just changing the GL_Ledger table, specifically the AccountNo, Segment1, Segment 2 etc.
Everything else stays the same, so each existing account will keep the sign, category, classification. And also keep any budgets, movements etc. It's just a "simple" change from one account number to another.

Aside from the GL_Ledger table, is there any other table I'm forgetting where the account numbers are stored?

And can you think of any bad consequences?
User avatar
DannyC
Senpai
Senpai
 
Posts: 636
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 30

Re: Changing GL account numbers  Topic is solved

Postby Scott.Pearce » Wed Jun 24, 2020 11:40 am

I think it is just the GL_Ledger table. Specifically:

AccountNo
Seg1
Seg2
Seg3
Seg4
Seg5
Seg6
ShortCut
ParentAccNo

I did a quick SQL query as a rough double check:

Code: Select all
select sys.columns.name, sys.tables.name from sys.columns
join sys.tables on sys.columns.object_id = sys.tables.object_id
where sys.columns .name like '%accountno%'
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 742
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 221


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 3 guests