Exchange Rates

From UG

(Difference between revisions)
Jump to: navigation, search
(SOW 2)
Line 9: Line 9:
== Business Needs and Requirements ==
== Business Needs and Requirements ==
-
 
-
== SOW 0 ==
 
-
See [[#Solution]] and next.
 
-
 
-
== SOW 1 ==
 
-
'''[http://ct.jaguarfreight.com/mantis/view.php?id=2812 0002812]: bugs/changes:''' <span style="text-decoration:line-through">1) bug: Two GBP currencies listed in the system</span> '''2) add archive feature for currencies'''
 
-
 
-
=== Core Requirements ===
 
-
 
-
Archiving feature has the following on Currencies Tab:
 
-
* add Archive/Restore and Replace buttons and "Hide archived" checkbox with appropriate functionality for [http://ct.jaguarfreight.com/wiki/Archive_%28Feature%29#New_2012_standard new 2012 standard]
 
-
** "Archive" button: get user confirm, mark as archived with image
 
-
** "Restore" button: get user confirm, remove "archived" mark
 
-
** "Replace" button: get user confirm, "merge" two items into one
 
-
** "Hide archived" checkbox:
 
-
*** if checked then don't display archived Currencies in table,
 
-
*** if unchecked then display all
 
-
* add column with a garbage can to mark archived items in table of Currencies
 
-
 
-
=== Related Functionality ===
 
-
 
-
* Provide recording (and displaying) of all archive-related actions with Currencies in System Log
 
-
* For every place in the system where currency is appearing:
 
-
** if currency is tagged as archived then it should not appear on the list
 
-
 
-
== SOW 2 ==
 
-
'''[http://ct.jaguarfreight.com/mantis/view.php?id=3577 0003577]:''' add Currency Code validation to prevent duplication of Currencies
 
-
 
-
=== Core Requirements ===
 
-
 
-
We need some sort of validation of what user enters to make sure it's not a duplicate.
 
-
* Example: '''gbp''' ''(in lower case)'' & '''GBP''' ''(in upper case)'' are the same so the system should not allow it to be saved because its a duplicate.
 
-
 
-
=== Solution ===
 
-
* Every Currency Abbreviation should be '''unique''' in CT2.
 
-
* System should provide entering of Currency Abbreviation in '''CAPITAL''' letters only.
 
-
* Validation should work upon '''creating and editing''' of Currency ''(in Add/Edit Currency window)''.
 
-
* Comparison should include '''archived''' Currencies also.
 
-
 
-
=== Related Functionality ===
 
-
* [[#SOW 1 |Archive feature for Currencies]] will be done under mantis [http://ct.jaguarfreight.com/mantis/view.php?id=2812 2812]
 
<br><hr><br>
<br><hr><br>
Line 66: Line 25:
[[Category:AccAdmin]]
[[Category:AccAdmin]]
-
== '''Currencies''' ==
+
=== '''Currencies''' ===
-
=== Summary ===
+
==== Summary ====
Here is a table of currencies that can be used for calculations in the CT2. This table is shared by '''all''' Jaguar offices.
Here is a table of currencies that can be used for calculations in the CT2. This table is shared by '''all''' Jaguar offices.
-
=== User Interface and Functionality ===
+
==== User Interface and Functionality ====
* See example on [[#Figure 1: Manage Currencies. View and Edit. | Figure 1]]
* See example on [[#Figure 1: Manage Currencies. View and Edit. | Figure 1]]
* Typical CT2 interface.
* Typical CT2 interface.
-
=== View All Table ===
+
==== View All Table ====
* attributes listed:  
* attributes listed:  
Line 87: Line 46:
: none
: none
-
=== Add ===
+
==== Add ====
* Click "Add".
* Click "Add".
* Form in Pop-up will appear
* Form in Pop-up will appear
* All fields are blank
* All fields are blank
-
=== Edit ===
+
==== Edit ====
* Select one item on the list and click "Edit"
* Select one item on the list and click "Edit"
* Form in Pop-up will appear.
* Form in Pop-up will appear.
-
=== Remove ===
+
==== Remove ====
* Select one item on the list and click "Remove"
* Select one item on the list and click "Remove"
* System presents message:  
* System presents message:  
Line 103: Line 62:
:: '' "You cannot delete this Currency as it is used in the system. [OK]" ''
:: '' "You cannot delete this Currency as it is used in the system. [OK]" ''
-
=== Entities and Attributes ===
+
==== Entities and Attributes ====
Currency entity has the following attributes:
Currency entity has the following attributes:
Line 118: Line 77:
: - ''example'': US Dollars
: - ''example'': US Dollars
-
=== Special Cases and Misc ===
+
==== Special Cases and Misc ====
-
=== Look And Feel ===
+
==== Look And Feel ====
-
=== Figures ===
+
==== Figures ====
-
==== Figure 1: Manage Currencies. View and Edit. ====
+
===== Figure 1: Manage Currencies. View and Edit. =====
[[File:Manage_Currencies.JPG]]
[[File:Manage_Currencies.JPG]]
-
=== DB ===
+
==== DB ====
[[Tbl Currency]]
[[Tbl Currency]]
-
== '''Exchange Rates and View Exchange Rates''' ==
+
=== '''Exchange Rates and View Exchange Rates''' ===
-
 
+
==== Summary ====
-
=== Summary ===
+
Exchange Rate is a number assigned to an ordered pair of currencies (Currency1, Currency2). Example: (USD, GBP, 0.63).
Exchange Rate is a number assigned to an ordered pair of currencies (Currency1, Currency2). Example: (USD, GBP, 0.63).
  In finance, the '''exchange rates''' between two currencies specifies how much one currency is worth in terms of the other [http://en.wikipedia.org/wiki/Exchange_rate (wiki)].
  In finance, the '''exchange rates''' between two currencies specifies how much one currency is worth in terms of the other [http://en.wikipedia.org/wiki/Exchange_rate (wiki)].
Each Jaguar Office has its own Exchange Rates.
Each Jaguar Office has its own Exchange Rates.
-
=== User Interface and Functionality ===
+
==== User Interface and Functionality ====
CT2 User can view and edit the Exchange Rates on the separate tabs of [[Currencies And Exchange Rates Home]]:
CT2 User can view and edit the Exchange Rates on the separate tabs of [[Currencies And Exchange Rates Home]]:
* View - on View Exchange Rates tab
* View - on View Exchange Rates tab
* Edit - on Exchange Rates tab
* Edit - on Exchange Rates tab
-
==== View ====
+
===== View =====
* For each currency '''X''' in the system displays all pairs (currency '''Y''', exchange rate from X to Y ) for current office. See [[#Figure 1: View Exchange Rates. | Figure 1]]
* For each currency '''X''' in the system displays all pairs (currency '''Y''', exchange rate from X to Y ) for current office. See [[#Figure 1: View Exchange Rates. | Figure 1]]
* columns:
* columns:
Line 149: Line 107:
** Exchange Rate
** Exchange Rate
-
==== Edit ====
+
===== Edit =====
* see [[#Figure 2: Manage Exchange Rates. | Figure 2]]
* see [[#Figure 2: Manage Exchange Rates. | Figure 2]]
* steps:
* steps:
Line 162: Line 120:
: ''(In other words, if '''X''' is set then '''Y''' will be automatically re-calculated as '''Y=1/X'''. And vice versa).''
: ''(In other words, if '''X''' is set then '''Y''' will be automatically re-calculated as '''Y=1/X'''. And vice versa).''
-
=== Entities and Attributes ===
+
==== Entities and Attributes ====
* Currency From
* Currency From
Line 176: Line 134:
: integer from 0 to 99
: integer from 0 to 99
-
=== Special Cases and Misc ===
+
==== Special Cases and Misc ====
-
=== Look And Feel ===
+
==== Look And Feel ====
-
=== Figures ===
+
==== Figures ====
-
==== Figure 1: View Exchange Rates. ====
+
===== Figure 1: View Exchange Rates. =====
[[File:View Exchange Rates.JPG]]
[[File:View Exchange Rates.JPG]]
-
==== Figure 2: Manage Exchange Rates. ====
+
===== Figure 2: Manage Exchange Rates. =====
[[File:Manage Exchange Rates.JPG]]
[[File:Manage Exchange Rates.JPG]]
-
=== DB ===
+
==== DB ====
See [[Tbl Currency Exchange Rate]]
See [[Tbl Currency Exchange Rate]]
-
== '''Exchange Rates History''' ==
+
=== '''Exchange Rates History''' ===
-
=== Info ===
+
==== Info ====
[http://mantis.jaguarfreight.com/mantis/view.php?id=tbd tbd]
[http://mantis.jaguarfreight.com/mantis/view.php?id=tbd tbd]
-
=== Business Needs and Requirements ===
+
==== Business Needs and Requirements ====
=== Technical Specification ===
=== Technical Specification ===
-
==== Summary ====
+
===== Summary =====
'''Exchange Rates History''' is the report that contains all changes of Exchange Rates.
'''Exchange Rates History''' is the report that contains all changes of Exchange Rates.
-
==== User Interface and Functionality ====
+
===== User Interface and Functionality =====
* See example on [[#Figure 1: Exchange Rates History.  | Figure 1]]
* See example on [[#Figure 1: Exchange Rates History.  | Figure 1]]
* Typical CT2 interface:
* Typical CT2 interface:
Line 206: Line 164:
: - Sorting of table proceeds by "Date and Time" column, in ascending order.
: - Sorting of table proceeds by "Date and Time" column, in ascending order.
-
==== Entities and Attributes ====
+
===== Entities and Attributes =====
Exchange Rates History entity has the following attributes:
Exchange Rates History entity has the following attributes:
* '''Operator Name'''
* '''Operator Name'''
Line 237: Line 195:
: - ''example:'' 1.50
: - ''example:'' 1.50
-
==== Special Cases and Misc ====
+
===== Special Cases and Misc =====
-
==== Look And Feel ====
+
===== Look And Feel =====
-
==== Figures ====
+
===== Figures =====
-
===== Figure 1: Exchange Rates History. =====
+
====== Figure 1: Exchange Rates History. ======
[[File:Exchange Rates History.JPG]]
[[File:Exchange Rates History.JPG]]
-
=== History ===
+
==== History ====
-
=== Non Critical Bugs and RFC ===
+
==== Non Critical Bugs and RFC ====
-
=== DB ===
+
==== DB ====
-
== '''Client Company Exchange Rates''' ==
+
=== '''Client Company Exchange Rates''' ===
-
=== Info ===
+
==== Info ====
[http://mantis.jaguarfreight.com/mantis/view.php?id=tbd tbd]
[http://mantis.jaguarfreight.com/mantis/view.php?id=tbd tbd]
-
=== Business Needs and Requirements ===
+
==== Business Needs and Requirements ====
-
=== Technical Specification ===
+
==== Technical Specification ====
-
==== Summary ====
+
===== Summary =====
Client Exchange Rate is a number assigned to an ordered triple of (Client Company, Currency1, Currency2). ''Example'': (Coty, USD, GBP, 0.63).  
Client Exchange Rate is a number assigned to an ordered triple of (Client Company, Currency1, Currency2). ''Example'': (Coty, USD, GBP, 0.63).  
Each Jaguar Office has its own Client Exchange Rates.
Each Jaguar Office has its own Client Exchange Rates.
-
==== User Interface and Functionality ====
+
===== User Interface and Functionality =====
CT2 User can manage the Client Exchange Rates on the special tab of [[Currencies And Exchange Rates Home]] - Client Company Exchange Rates. See [[#Figure 1: Manage Client Company Exchange Rates. | Figure 1]].
CT2 User can manage the Client Exchange Rates on the special tab of [[Currencies And Exchange Rates Home]] - Client Company Exchange Rates. See [[#Figure 1: Manage Client Company Exchange Rates. | Figure 1]].
-
===== View =====
+
====== View ======
* attributes listed:  
* attributes listed:  
: all, see [[#Entities and Attributes | Entities and Attributes]]
: all, see [[#Entities and Attributes | Entities and Attributes]]
Line 272: Line 230:
: none  
: none  
-
===== Add =====
+
====== Add ======
* Click "Add".
* Click "Add".
* Form in Pop-up will appear
* Form in Pop-up will appear
* All fields are blank by default
* All fields are blank by default
-
===== Edit =====
+
====== Edit ======
* Select one item on the list and click "Edit"
* Select one item on the list and click "Edit"
* Form in Pop-up will appear.
* Form in Pop-up will appear.
Line 283: Line 241:
NOTE: Unlike the general [[# http://mantis.jaguarfreight.com/wiki/Manage_/_View_Exchange_Rates_(CER) | Exchange Rates]], (re)defining exchange rate from X to Y wouldn't automatically (re)define exchange rate from Y to X. It means that setting (Client Company, Currency1, Currency2) will not automatically set (Client Company, Currency2, Currency1).
NOTE: Unlike the general [[# http://mantis.jaguarfreight.com/wiki/Manage_/_View_Exchange_Rates_(CER) | Exchange Rates]], (re)defining exchange rate from X to Y wouldn't automatically (re)define exchange rate from Y to X. It means that setting (Client Company, Currency1, Currency2) will not automatically set (Client Company, Currency2, Currency1).
-
===== Remove =====
+
====== Remove ======
* Select one or more items on the list and click "Remove"
* Select one or more items on the list and click "Remove"
* System presents message:  
* System presents message:  
Line 289: Line 247:
* Clicking of the "OK" button confirms the removing of selected Rates. Clicking of the "Cancel" button cancels the removing.
* Clicking of the "OK" button confirms the removing of selected Rates. Clicking of the "Cancel" button cancels the removing.
-
==== Entities and Attributes ====
+
===== Entities and Attributes =====
* '''Client Company'''
* '''Client Company'''
Line 303: Line 261:
: real number with 2 decimal places
: real number with 2 decimal places
-
==== Special Cases and Misc ====
+
===== Special Cases and Misc =====
-
==== Look And Feel ====
+
===== Look And Feel =====
-
==== Figures ====
+
===== Figures =====
-
===== Figure 1: Manage Client Company Exchange Rates. =====
+
====== Figure 1: Manage Client Company Exchange Rates. ======
[[File:Manage Client Specific Exchange Rates.JPG]]
[[File:Manage Client Specific Exchange Rates.JPG]]
-
=== History ===
+
==== History ====
-
=== Non Critical Bugs and RFC ===
+
==== Non Critical Bugs and RFC ====
-
=== DB ===
+
==== DB ====
 +
 
 +
== Change Requests ==
 +
 
 +
=== SOW 0 ===
 +
See [[#Solution]] and next.
 +
 
 +
=== SOW 1 ===
 +
'''[http://ct.jaguarfreight.com/mantis/view.php?id=2812 0002812]: bugs/changes:''' <span style="text-decoration:line-through">1) bug: Two GBP currencies listed in the system</span> '''2) add archive feature for currencies'''
 +
 
 +
==== Core Requirements ====
 +
 
 +
Archiving feature has the following on Currencies Tab:
 +
* add Archive/Restore and Replace buttons and "Hide archived" checkbox with appropriate functionality for [http://ct.jaguarfreight.com/wiki/Archive_%28Feature%29#New_2012_standard new 2012 standard]
 +
** "Archive" button: get user confirm, mark as archived with image
 +
** "Restore" button: get user confirm, remove "archived" mark
 +
** "Replace" button: get user confirm, "merge" two items into one
 +
** "Hide archived" checkbox:
 +
*** if checked then don't display archived Currencies in table,
 +
*** if unchecked then display all
 +
* add column with a garbage can to mark archived items in table of Currencies
 +
 
 +
==== Related Functionality ====
 +
 
 +
* Provide recording (and displaying) of all archive-related actions with Currencies in System Log
 +
* For every place in the system where currency is appearing:
 +
** if currency is tagged as archived then it should not appear on the list
 +
 
 +
=== SOW 2 ===
 +
'''[http://ct.jaguarfreight.com/mantis/view.php?id=3577 0003577]:''' add Currency Code validation to prevent duplication of Currencies
 +
 
 +
==== Core Requirements ====
 +
 
 +
We need some sort of validation of what user enters to make sure it's not a duplicate.
 +
* Example: '''gbp''' ''(in lower case)'' & '''GBP''' ''(in upper case)'' are the same so the system should not allow it to be saved because its a duplicate.
 +
 
 +
==== Solution ====
 +
* Every Currency Abbreviation should be '''unique''' in CT2.
 +
* System should provide entering of Currency Abbreviation in '''CAPITAL''' letters only.
 +
* Validation should work upon '''creating and editing''' of Currency ''(in Add/Edit Currency window)''.
 +
* Comparison should include '''archived''' Currencies also.
 +
 
 +
==== Related Functionality ====
 +
* [[#SOW 1 |Archive feature for Currencies]] will be done under mantis [http://ct.jaguarfreight.com/mantis/view.php?id=2812 2812]

Revision as of 21:22, 18 June 2012


Contents

Info

Scope:

This covers "Currencies and Exchange Rates" admin part of Accounting component.

Business Needs and Requirements




Solution

See interface on Fig below.

File:Currencies And Exchange Rates Home.JPG

Location: Acc > Currencies and Exchange Rates

Office specific or Global?

  • These components (except Manage Currencies!) are office specific - see an "Office" dropdown

Currencies

Summary

Here is a table of currencies that can be used for calculations in the CT2. This table is shared by all Jaguar offices.

User Interface and Functionality

  • See example on Figure 1
  • Typical CT2 interface.

View All Table

  • attributes listed:
all, see Entities and Attributes
  • sort by:
name
  • paging:
none

Add

  • Click "Add".
  • Form in Pop-up will appear
  • All fields are blank

Edit

  • Select one item on the list and click "Edit"
  • Form in Pop-up will appear.

Remove

  • Select one item on the list and click "Remove"
  • System presents message:
"Are you sure you want to delete all selected Currencies? [Y, N]"
  • If currency is already in use then System presents message:
"You cannot delete this Currency as it is used in the system. [OK]"

Entities and Attributes

Currency entity has the following attributes:

  • Abbreviation
- meaning: currency code, this will show up on invoices, etc
- format: 3 chars, caps, letters only
- example: USD
- unique
  • Name
- meaning: full currency name
- format: 0 to 50 chars, mixed case
- example: US Dollars

Special Cases and Misc

Look And Feel

Figures

Figure 1: Manage Currencies. View and Edit.

File:Manage_Currencies.JPG

DB

Tbl Currency

Exchange Rates and View Exchange Rates

Summary

Exchange Rate is a number assigned to an ordered pair of currencies (Currency1, Currency2). Example: (USD, GBP, 0.63).

In finance, the exchange rates between two currencies specifies how much one currency is worth in terms of the other (wiki).

Each Jaguar Office has its own Exchange Rates.

User Interface and Functionality

CT2 User can view and edit the Exchange Rates on the separate tabs of Currencies And Exchange Rates Home:

  • View - on View Exchange Rates tab
  • Edit - on Exchange Rates tab
View
  • For each currency X in the system displays all pairs (currency Y, exchange rate from X to Y ) for current office. See Figure 1
  • columns:
    • Currency From (X)
    • Currency To (Y)
    • Exchange Rate
Edit
  • select "Currency From:" from the dropdown list
  • edit whole and decimal parts for required Currency To
  • click "Save All Changes"
  • (re)defining exchange rate from X to Y would automatically (re)define exchange rate from Y to X
(In other words, if X is set then Y will be automatically re-calculated as Y=1/X. And vice versa).

Entities and Attributes

  • Currency From
available currencies in the system
  • Currency To
available currencies in the system
  • whole part of exchange rate
integer from 0 to 9999999
  • decimal part of exchange rate
integer from 0 to 99

Special Cases and Misc

Look And Feel

Figures

Figure 1: View Exchange Rates.

File:View Exchange Rates.JPG

Figure 2: Manage Exchange Rates.

File:Manage Exchange Rates.JPG

DB

See Tbl Currency Exchange Rate

Exchange Rates History

Info

tbd

Business Needs and Requirements

Technical Specification

Summary

Exchange Rates History is the report that contains all changes of Exchange Rates.

User Interface and Functionality
  • See example on Figure 1
  • Typical CT2 interface:
- Output HTML table uses standart ZK Paging feature. Each page contains 20 lines.
- Sorting of table proceeds by "Date and Time" column, in ascending order.
Entities and Attributes

Exchange Rates History entity has the following attributes:

  • Operator Name
- meaning: Name of CT2 User who made the change of Exchange Rate
- format: First Name + Last Name
- example: Marc Selter
  • Date and Time
- meaning: Date and Time of change
- format: datetime stamp (with Time Zone)
- example: 10-Aug-2010 09:35 AM
  • Client Company
- meaning: The name of the Client Company for which made this change
- format: string
- example: ABA Packaging
  • Currency From
- meaning: name of base currency
- format: abbreviated currency code
- example: GBP
  • Currency To
- meaning: name of calculated currency
- format: abbreviated currency code
- example: USD
  • Old Rate
- meaning: Exchange Rate value before changing
- format: real number with 2 decimal places
- example: 2.00
  • New Rate
- meaning: Exchange Rate value after changing
- format: real number with 2 decimal places
- example: 1.50
Special Cases and Misc
Look And Feel
Figures
Figure 1: Exchange Rates History.

File:Exchange Rates History.JPG

History

Non Critical Bugs and RFC

DB

Client Company Exchange Rates

Info

tbd

Business Needs and Requirements

Technical Specification

Summary

Client Exchange Rate is a number assigned to an ordered triple of (Client Company, Currency1, Currency2). Example: (Coty, USD, GBP, 0.63).

Each Jaguar Office has its own Client Exchange Rates.

User Interface and Functionality

CT2 User can manage the Client Exchange Rates on the special tab of Currencies And Exchange Rates Home - Client Company Exchange Rates. See Figure 1.

View
  • attributes listed:
all, see Entities and Attributes
  • sort by:
Client Company
  • paging:
none
Add
  • Click "Add".
  • Form in Pop-up will appear
  • All fields are blank by default
Edit
  • Select one item on the list and click "Edit"
  • Form in Pop-up will appear.

NOTE: Unlike the general Exchange Rates, (re)defining exchange rate from X to Y wouldn't automatically (re)define exchange rate from Y to X. It means that setting (Client Company, Currency1, Currency2) will not automatically set (Client Company, Currency2, Currency1).

Remove
  • Select one or more items on the list and click "Remove"
  • System presents message:
"Are you sure you want to delete all selected Client Company Exchange Rates?"
  • Clicking of the "OK" button confirms the removing of selected Rates. Clicking of the "Cancel" button cancels the removing.
Entities and Attributes
  • Client Company
available Client Companies in the system
  • Currency From
available Currencies in the system
  • Currency To
available Currencies in the system
  • Rate
real number with 2 decimal places
Special Cases and Misc
Look And Feel
Figures
Figure 1: Manage Client Company Exchange Rates.

File:Manage Client Specific Exchange Rates.JPG

History

Non Critical Bugs and RFC

DB

Change Requests

SOW 0

See #Solution and next.

SOW 1

0002812: bugs/changes: 1) bug: Two GBP currencies listed in the system 2) add archive feature for currencies

Core Requirements

Archiving feature has the following on Currencies Tab:

  • add Archive/Restore and Replace buttons and "Hide archived" checkbox with appropriate functionality for new 2012 standard
    • "Archive" button: get user confirm, mark as archived with image
    • "Restore" button: get user confirm, remove "archived" mark
    • "Replace" button: get user confirm, "merge" two items into one
    • "Hide archived" checkbox:
      • if checked then don't display archived Currencies in table,
      • if unchecked then display all
  • add column with a garbage can to mark archived items in table of Currencies

Related Functionality

  • Provide recording (and displaying) of all archive-related actions with Currencies in System Log
  • For every place in the system where currency is appearing:
    • if currency is tagged as archived then it should not appear on the list

SOW 2

0003577: add Currency Code validation to prevent duplication of Currencies

Core Requirements

We need some sort of validation of what user enters to make sure it's not a duplicate.

  • Example: gbp (in lower case) & GBP (in upper case) are the same so the system should not allow it to be saved because its a duplicate.

Solution

  • Every Currency Abbreviation should be unique in CT2.
  • System should provide entering of Currency Abbreviation in CAPITAL letters only.
  • Validation should work upon creating and editing of Currency (in Add/Edit Currency window).
  • Comparison should include archived Currencies also.

Related Functionality

Personal tools