Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Calendars?

Status
Not open for further replies.

dmcmunn

Programmer
May 20, 2003
85
US
Has anyone architected a project with multiple calendars in the same project?

Some of my team's challenge for a supply chain effort is being able to map calendars from different suppliers into the internal distributor's Gregorian/fiscal calendar for purposes of performance comparison. Each trading partner may use a different calendar that defines months based on a 4-4-5 calendar quarter or they may use a gregorian calendar as well. The goal is to be able to not only compare at the day level, but at higher levels of aggregation, such as week of year, month of year, quarter of year, etc...sounds like custom code to me, but I'd like to toss this out to see if some of you geniuses out there have solved similar problems involving reconciliation of fact tables through multiple or alternate calendars.

Also, what type of relationship and/or architecture are used to prevent looping hierarchies like these below?

+-------------Week>-Year
| |
Day>-Month>-Quarter>-Year

Any thoughts would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top