Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 566225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:57:17+00:00 2026-05-13T12:57:17+00:00

I need to create entities (specifically contracts) in a database table that are associated

  • 0

I need to create entities (specifically contracts) in a database table that are associated with a financial year. These contracts will be applied to projects. Any contract variation will be recorded by creating a new contract record for the same financial year but the original will remain associated with the project as a history. The projects can last several years and so at any one time a project will have a live contract record for each year as well as any number of historic contracts for that year.

All of which is incidental but I’m trying to provide some context. If the contracts where for the year – it would be easy and I’d just store the Year either as a date field with the 1st of January or just an Integer. However the contracts run for financial years and I don’t know how to approach this. I don’t want a separate table containing the financial years as I don’t want the users to have to maintain this. I don’t want to store the financial year as a string “2009/2010” as this is not ideal for sorting/extracting the data.

Any ideas will be helpful, my best so far is to have starting and ending year in 2 columns and just “KNOW” that starting is April of the year etc

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:57:18+00:00Added an answer on May 13, 2026 at 12:57 pm

    If you don’t have different types of financial years (e.g. US starts Jan, UK starts Apr) then I would simply use an integer and adopt a standard. e.g. Fin_Year = 2010 implies Financial Year Ending Mar 2010 (2009/2010). This would not need an extra table or storage, the meaning is implicit and your code should understand that Fin_Year is a special kind of date.

    EDIT:
    UK Government data standard uses ending year to represent a particular financial year.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 524k
  • Answers 524k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I think you might be looking for something like this:… May 16, 2026 at 10:01 pm
  • Editorial Team
    Editorial Team added an answer On Windows Vista and beyond there is the "Working Set… May 16, 2026 at 10:01 pm
  • Editorial Team
    Editorial Team added an answer Load firstly into temporary table with structure (Name, Phone, City),… May 16, 2026 at 10:01 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I create a linq to sql class Create all entities that i need for
I've been going through the tutorials (specifically ones using Linq-To-Entities) and I understand the
I'm trying to create a solution with layered architecture and self tracking entities. I
Hi the problem goes like this: I have in CoreData entities that have a
For some reason, we recieving a bunch of inbound traffic on URLs that contain
I'm doing a fairly exhaustive series of DOM manipulations where a few elements (specifically
An upcoming project of mine is considering a design that involves (what I'm calling)
Today I had an epiphany, and it was that I was doing everything wrong.
I'm trying to write a unit test with phpunit for a model that uses
I'm having a bit of trouble in Google App Engine ensuring that my data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.