Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0034260 | Openbravo ERP | 09. Financial management | public | 2016-10-21 06:35 | 2016-12-16 18:38 |
|
Reporter | pradeepvarma | |
Assigned To | markmm82 | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR17Q1 | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0034260: Currency not getting selected based on the organization selected in Simple G/L Journal |
Description | The currency is by defualt set to a default currency when a new record is created in the simple g/l journal window.
And when a different organization is selected the currency is not changed based on the organization selected. |
Steps To Reproduce | 1. Log in to any livebuild instance
2. Open the simple g/l journal record.
-> Default orgn select will be a Spanish orgn and the currency will by EUR.
3. Change the organization to US East cost and check the currency will still remain as EUR.
4. The video for the same is attached here with. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0022296 | | closed | markmm82 | The field currency should be updated with the currency of the general ledger configuration while entering a G/L Journal Header | related to | defect | 0033798 | | scheduled | nonofrancisco | General Ledger is not updated when organization changes | related to | design defect | 0032441 | | closed | Triage Omni OMS | Organization and Currency fields are showing the last saved value as default value in Simple G/L Journal window |
|
Attached Files | currency_of_organization_simple_gl_journal.mp4 (1,315,010) 2016-10-21 06:35 https://issues.openbravo.com/file_download.php?file_id=9938&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2016-10-21 06:35 | pradeepvarma | New Issue | |
2016-10-21 06:35 | pradeepvarma | Assigned To | => Triage Finance |
2016-10-21 06:35 | pradeepvarma | File Added: currency_of_organization_simple_gl_journal.mp4 | |
2016-10-21 06:35 | pradeepvarma | Modules | => Core |
2016-10-21 06:35 | pradeepvarma | Triggers an Emergency Pack | => No |
2016-10-21 13:01 | egoitz | Resolution time | => 1478214000 |
2016-10-21 13:22 | aferraz | Relationship added | related to 0022296 |
2016-10-24 17:53 | aferraz | Assigned To | Triage Finance => markmm82 |
2016-10-25 17:09 | markmm82 | Status | new => scheduled |
2016-11-03 20:07 | aferraz | Relationship added | related to 0033798 |
2016-11-03 20:09 | aferraz | Resolution time | 1478214000 => |
2016-11-03 20:09 | aferraz | Severity | major => minor |
2016-11-08 13:17 | psanjuan | Note Added: 0091235 | |
2016-11-09 11:11 | psanjuan | Note Added: 0091262 | |
2016-11-09 11:12 | psanjuan | Note Edited: 0091262 | bug_revision_view_page.php?bugnote_id=0091262#r13589 |
2016-11-09 11:24 | psanjuan | Note Edited: 0091262 | bug_revision_view_page.php?bugnote_id=0091262#r13590 |
2016-11-09 11:35 | psanjuan | Note Edited: 0091262 | bug_revision_view_page.php?bugnote_id=0091262#r13591 |
2016-11-09 11:39 | psanjuan | Note Edited: 0091262 | bug_revision_view_page.php?bugnote_id=0091262#r13592 |
2016-11-09 11:44 | psanjuan | Note Added: 0091264 | |
2016-11-09 12:06 | psanjuan | Note Edited: 0091264 | bug_revision_view_page.php?bugnote_id=0091264#r13594 |
2016-11-09 12:07 | psanjuan | Note Edited: 0091264 | bug_revision_view_page.php?bugnote_id=0091264#r13595 |
2016-11-09 12:08 | psanjuan | Note Edited: 0091262 | bug_revision_view_page.php?bugnote_id=0091262#r13596 |
2016-11-09 12:08 | psanjuan | Note Edited: 0091262 | bug_revision_view_page.php?bugnote_id=0091262#r13597 |
2016-11-09 12:09 | psanjuan | Note Edited: 0091264 | bug_revision_view_page.php?bugnote_id=0091264#r13598 |
2016-11-09 12:11 | psanjuan | Note Added: 0091268 | |
2016-11-09 12:18 | psanjuan | Note Edited: 0091268 | bug_revision_view_page.php?bugnote_id=0091268#r13600 |
2016-11-09 12:20 | psanjuan | Note Edited: 0091268 | bug_revision_view_page.php?bugnote_id=0091268#r13601 |
2016-11-09 12:21 | psanjuan | Note Added: 0091269 | |
2016-11-09 12:21 | psanjuan | Note Edited: 0091268 | bug_revision_view_page.php?bugnote_id=0091268#r13602 |
2016-11-09 12:21 | psanjuan | Note Edited: 0091269 | bug_revision_view_page.php?bugnote_id=0091269#r13604 |
2016-11-09 12:22 | psanjuan | Note Added: 0091270 | |
2016-11-09 12:43 | hgbot | Checkin | |
2016-11-09 12:43 | hgbot | Note Added: 0091276 | |
2016-11-09 12:43 | hgbot | Status | scheduled => resolved |
2016-11-09 12:43 | hgbot | Resolution | open => fixed |
2016-11-09 12:43 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c5a35b41929c37703e651e7775bb0e85881f0725 [^] |
2016-11-09 12:44 | hgbot | Checkin | |
2016-11-09 12:44 | hgbot | Note Added: 0091277 | |
2016-11-09 12:45 | aferraz | Review Assigned To | => aferraz |
2016-11-09 12:45 | aferraz | Note Added: 0091279 | |
2016-11-09 12:45 | aferraz | Status | resolved => closed |
2016-11-09 12:45 | aferraz | Fixed in Version | => 3.0PR17Q1 |
2016-12-16 18:38 | hudsonbot | Checkin | |
2016-12-16 18:38 | hudsonbot | Note Added: 0092602 | |
2016-12-16 18:38 | hudsonbot | Checkin | |
2016-12-16 18:38 | hudsonbot | Note Added: 0092603 | |
2017-06-07 09:00 | ngarcia | Relationship added | related to 0032441 |
Notes |
|
|
Issue verified as.
As F&B International Group Admin role set below values as default session values:
Organization : F&B España
Warehouse: España Region Norte
Language : English.
Check "Set as Default", and then press "Apply".
Go to Simple G/L Journal window and create a new one.
Verify that default organization shown is not F&B España but F&B US Inc and the currency is EUR.
Change it to F&B España. Change it to F&B US and check that currency remains as EUR.
This is not correct. Issue verified. |
|
|
(0091262)
|
psanjuan
|
2016-11-09 11:11
(edited on: 2016-11-09 12:08) |
|
Test Plan
Test case 1
As F&B International Group Admin role set
Organization = F&B España
Warehouse = España Region Norte
Language = English
as default values.
Press Apply
Go to Simple G/L Journal and create a new one.
Check that F&B España organization is selected, same as Currency = EUR.
Enter a Description and Save.
Close the window.
Go to Profile and set as default:
Organization = F&B US
Warehouse = US East Cost
Language = English
Press Apply.
Go to Simple G/L Journal and create a new one.
Check that F&B US organization is selected, same as Currency = USD
Enter a Description and Save.
Close the window.
Go to Profile and set as default:
Organization = F&B España - Region Norte.
Warehouse = España Region Norte
Language = English
Press Apply.
Go to Simple G/L Journal and create a new one.
Check that F&B España Region Norte organization is selected, same as Currency = EUR
Change Organization to F&B US.
Check that Currency changes to USD
Change Organization to F&B España without saving.
Check that Currency changes to EUR.
Change Organization to F&B US East Coast without saving.
Check that Currency changes to USD
Test case 2 - USD General Ledger while posting in EUR currency.
Change Organization to F&B España without saving.
Check that currency changes to EUR.
Select General Ledger to F&B International Group US Dollar
Check that currency remains as EUR.
Go to Lines and enter two lines as:
Account 1110 Debit Amount = 100.00 (EUR). Check General Ledger Currency Debit = 120.00 USD (100.00 EUR * 1.2 EUR to USD rate)
Account 1130 Credit Amount = 100.00 (EUR). Check General Ledger Currency Credit = 120.00 USD (100.00 EUR * 1.2 EUR to USD rate)
Complete and post
Verify there is only one journal entries report for F&B International Group US Dollar as shown below:
120.00 (1110) Debit
120.00 (1130) Credit
|
|
|
(0091264)
|
psanjuan
|
2016-11-09 11:44
(edited on: 2016-11-09 12:09) |
|
Test Case 3 EUR General Ledger while posting in EUR
Go to Simple G/L Journal and create a new one.
Check that F&B España organization is selected, same as currency = EUR
Check that F&B España US Euro General Ledger is selected.
Enter a description.
Go to lines and create a two new lines with below setup:
10300 account - 100.00 EUR (debit)
10340 account - 100.00 EUR (Credit)
Complete and Post.
Verify there is only one journal entries report for F&B España EUR as shown below:
100.00 (1110) Debit
100.00 (1130) Credit
|
|
|
(0091268)
|
psanjuan
|
2016-11-09 12:11
(edited on: 2016-11-09 12:21) |
|
Test Case 4 - Multi-General Ledger while posting in EUR
Go to Simple G/L Journal and create a new one.
Check that F&B España is selected, Currency = EUR.
Enter a Description. Check Multi-General Ledger.
Go to lines and create a two new lines with below setup:
line one - select a G/L item - 100.00 EUR (debit)
line two - select a G/L item - 100.00 EUR (Credit)
Complete and Post.
Verify there are two journal entries reports, one for each General Ledger Account, as G/L Items setup has two accounts one for each General Ledger.
For F&B España EUR as shown below:
100.00 (1110) Debit
100.00 (1130) Credit
For F&B Interantional USD as shown below:
120.00 (1110) Debit
120.00 (1130) Credit
|
|
|
|
Test Case 5 - Multi-General Ledger while posting in USD
Go to Simple G/L Journal and create a new one.
Check that F&B España is selected, Currency = EUR. Change currency to USD.
Enter a Description. Check Multi-General Ledger.
Go to lines and create a two new lines with below setup:
line one - select a G/L item - 100.00 USD (debit)
line two - select a G/L item - 100.00 USD (Credit)
Complete and Post.
Verify there are two journal entries reports, one for each General Ledger Account, as G/L Items setup has two accounts one for each General Ledger.
For F&B España EUR as shown below:
83.33 (1110) Debit
83.33 (1130) Credit
For F&B Interantional USD as shown below:
100.00 (1110) Debit
100.00 (1130) Credit
|
|
|
|
Test Plan above verified.
Issue can be code reviewed and closed. |
|
|
(0091276)
|
hgbot
|
2016-11-09 12:43
|
|
Repository: erp/devel/pi
Changeset: c5a35b41929c37703e651e7775bb0e85881f0725
Author: Mark <markmm82 <at> gmail.com>
Date: Fri Nov 04 09:23:33 2016 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/c5a35b41929c37703e651e7775bb0e85881f0725 [^]
Fixes issue 34260: Currency selected based on org in Simple G/L Journal
When a different organization is selected the currency is changed based on the organization selected.
---
M src-db/database/sourcedata/AD_COLUMN.xml
M src/org/openbravo/erpCommon/ad_callouts/SL_Journal_Period.java
---
|
|
|
(0091277)
|
hgbot
|
2016-11-09 12:44
|
|
Repository: erp/devel/pi
Changeset: e0bcd0b2606d2c69623d2d21cd1bb59e1ac2118c
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Nov 09 11:12:18 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e0bcd0b2606d2c69623d2d21cd1bb59e1ac2118c [^]
Related to issue 34260: Code review improvements
Change GL_JournalBatch | AD_Org_ID default value to login organization.
Change GL_Journal | AD_Org_ID default value to login organization in Simple G/L Journal window and to parent organization in G/L Journal window.
Add callout also to GL_JournalBatch | AD_Org_ID column.
Use OBCurrencyUtils.getOrgCurrency to get organization's currency in SL_Journal_Period.java.
---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src/org/openbravo/erpCommon/ad_callouts/SL_Journal_Period.java
---
|
|
|
|
|
|
|
|
|
|
|