Questions tagged [accounting]

Systematic recording, reporting, and analysis of financial transactions of a business.

323 questions
75
votes
24 answers

Use Float or Decimal for Accounting Application Dollar Amount?

We are rewriting our legacy Accounting System in VB.NET and SQL Server. We brought in a new team of .NET/ SQL Programmers to do the rewrite. Most of the system is already completed with the Dollar amounts using Floats. The legacy system language, I…
Gerhard Weiss
  • 8,423
  • 14
  • 60
  • 66
57
votes
3 answers

Database schema design for a double entry accounting system?

Does anybody know or have any links to websites describing details of how to design a database schema for a double entry accounting system ??. I did find a bunch of articles but non were very explanatory enough. Would appreciate it if someone could…
soden
  • 569
  • 1
  • 5
  • 6
48
votes
7 answers

Accounting Software Design Patterns

Are there any good resources (books, authoritative guides, etc.) for design patterns or other best practices for software that includes financial accounting features? Specifically, where is good information about handling issues like the…
Kristopher Johnson
  • 76,675
  • 54
  • 235
  • 299
23
votes
8 answers

Find out which combinations of numbers in a set add up to a given total

I've been tasked with helping some accountants solve a common problem they have - given a list of transactions and a total deposit, which transactions are part of the deposit? For example, say I have this list of numbers: 1.00 2.50 3.75 8.00 And I…
SqlRyan
  • 30,939
  • 32
  • 109
  • 190
22
votes
5 answers

Rehash: Accounting Software Design Patterns

Back in October, Kristopher Johnson asked about Accounting Software Design Patterns He received several answers, but they were all basically the same, pointing to Martin Fowlers Accounting Patterns. I don't really find Fowlers patterns all that…
Erik Funkenbusch
  • 90,480
  • 27
  • 178
  • 274
19
votes
1 answer

Relational Data Model for Double-Entry Accounting

Assume there is a bank, a large shop, etc, that wants the accounting to be done correctly, for both internal accounts, and keeping track of customer accounts. Rather than implementing that which satisfies the current simple and narrow requirement,…
Alex
  • 512
  • 1
  • 5
  • 13
18
votes
8 answers

Double-entry accounting libraries for Java?

What double-entry accounting libraries are available for Java?
Derek Mahar
  • 25,458
  • 37
  • 115
  • 164
16
votes
7 answers

Evenly divide a dollar amount (decimal) by an integer

I need to write an accounting routine for a program I am building that will give me an even division of a decimal by an integer. So that for example: $143.13 / 5 = 28.62 28.62 28.63 28.63 28.63 I have seen the article here: Evenly divide in c#,…
Amberite
  • 1,319
  • 3
  • 14
  • 27
16
votes
19 answers

Calculate fiscal year in SQL Server

How would you calculate the fiscal year from a date field in a view in SQL Server?
R0b0tn1k
  • 4,002
  • 12
  • 41
  • 61
13
votes
2 answers

Accounting Database - storing credit and debit?

When you store a transaction into a database 1) Do you store Credit and debit in the same record under two different columns? (without the positive or the negative sign) Example 1A TABLENAME ... ... (Credit) null (Debit) 100 Example…
001
  • 55,049
  • 82
  • 210
  • 324
12
votes
4 answers

Is a document/NoSQL database a good candidate for storing a balance sheet?

If I were to create a basic personal accounting system (because I'm like that - it's a hobby project about a domain I'm familiar enough with to avoid getting bogged-down in requirements), would a NoSQL/document database like RavenDB be a good…
Neil Barnwell
  • 38,622
  • 28
  • 141
  • 213
12
votes
13 answers

Which open source database is the best option for an accounting-related system?

I am in the early stages of planning and designing a custom accounting application for my firm. My goal is to utilize an open source relational database for the data storage portion and I'm aware of two solid databases that are widely supported:…
Randy Burgess
  • 3,842
  • 5
  • 35
  • 57
11
votes
7 answers

Accounting and Database design, storing debit and credit amount

QUESTION: In the case below should I have stored all my amount as positives decimal amounts then flag the amount as either being a "Debit" or "Credit" rather than storing debits as negative amount and credits as positive amount? In my database…
001
  • 55,049
  • 82
  • 210
  • 324
11
votes
2 answers

xbrl us gaap contextRef standard?

Please tell me this is standardized, or at least there is some way to decipher it. I'm looking at these 3 random 10-Qs and Ks from…
user1382306
10
votes
11 answers

Writing a web application in excel? Why not?

Before you start flaming, I'm going to tell you that I am trying to convince myself that this is a bad idea. Basically, I'm trying to create a website with some basic accounting functions. My friend, a consultant who only knows excel, asked if this…
Chris
  • 1,243
  • 18
  • 34
1
2 3
21 22