Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010424Openbravo ERP09. Financial managementpublic2009-08-28 11:472015-03-20 15:28
rajagopal 
dmiguelez 
highmajoralways
scheduledopen 
20Cent OS 5.2
pi 
pi 
Core
No
0010424: Clicks on the "Journal Entry 1" link of BOM Production leading to reach Work Effort window instead of BOM Production Window
Click on the "Journal Entry 1"( on G/L Journal page ) link of BOM Production leading to reach Work Effort window instead of BOM Production Window.
1. Login as Openbravo Admin.
2. Go to [ Warehouse Management || Transactions || Bill of Materials Production || BOM Production].
3. Create the new BOM Production document.
4. Click on "Create/ Post Production" after successfully datas.
5. Then click on post button.
6. You will reach to [ Financial Management || Accounting || Analysis Tools || General Ledger Journal || General Ledger Journal ]
7. Where you can find the link called "Journal entry 1" on the GL Journal page.
8. Click on the link will lead us to reach [ Production Management || Transactions || Work Effort || Work Effort ], Instead of [Warehouse Management || Transactions || Bill of Materials Production || BOM Production ]

This is the issue.
  
No tags attached.
Issue History
2009-08-28 11:47rajagopalNew Issue
2009-08-28 11:47rajagopalAssigned To => rafaroda
2009-08-28 12:09rajagopalNote Added: 0019250
2009-08-28 12:21rajagopalNote Edited: 0019250
2009-08-28 12:23rajagopalNote Edited: 0019250
2009-08-28 12:39rafarodaAssigned Torafaroda => dalsasua
2009-08-28 12:39rafarodaPrioritynormal => high
2009-08-28 12:39rafarodaStatusnew => scheduled
2009-08-28 12:39rafarodaCategory04. Warehouse management => 09. Financial management
2009-09-10 09:50rafarodaNote Added: 0019687
2011-07-20 18:18dalsasuaAssigned Todalsasua => jonalegriaesarte
2011-10-29 21:50psarobeTypedefect => design defect
2012-09-13 10:43jonalegriaesarteAssigned Tojonalegriaesarte => dmiguelez
2015-03-20 15:25ngarciaIssue Monitored: networkb
2015-03-20 15:28ngarciaTriggers an Emergency Pack => No

Notes
(0019250)
rajagopal   
2009-08-28 12:09   
(edited on: 2009-08-28 12:23)
"Work Effort" and "Bill of material production" document has same base document type as MMP with isSoTrx is N for both. We need to make sure with business people it is valid scenario that having same base doc type with isSoTrx is N for the above two different case. The below is some typical data from document type.

(0019687)
rafaroda   
2009-09-10 09:50   
Links and code generated in General Ledger Journal when posting Work Effort and Bill of Materials Production is:

WORK EFFORT

http://vmubuntu:8888/openbravo/ad_reports/ReportGeneralLedgerJournal.html?Command=DIRECT&inpTable=325&inpRecord=DDB9644866734B5682BC9A02F488387E&inpOrg=1000000# [^]

<a class="LabelLink LabelLink_focus" onmouseout="window.status='';return true;" onmouseover="window.status='General Ledger Journal';return true;" onclick="submitPage('DEFAULT', document.frmSecondary, 'DDB9644866734B5682BC9A02F488387E', '325', 'MMP');return false;" href="#">
                          Journal entry <span id="functionCalculateOrderJournal">1</span></a>

BOM PRODUCTION

http://vmubuntu:8888/openbravo/ad_reports/ReportGeneralLedgerJournal.html?Command=DIRECT&inpTable=325&inpRecord=1581032E2ED44716B7775B3946121020&inpOrg=1000000# [^]

<a class="LabelLink" onmouseout="window.status='';return true;" onmouseover="window.status='General Ledger Journal';return true;" onclick="submitPage('DEFAULT', document.frmSecondary, '1581032E2ED44716B7775B3946121020', '325', 'MMP');return false;" href="#">
                          Journal entry <span id="functionCalculateOrderJournal">1</span></a>

Both rely in the same 'M_Production' table with ID = 325 and the link always navigates to 'Work Effort'. In Application Dictionary, for M_Production (MaterialMgmtProductionTransaction) table, Work Effort is defined as the PO Window and Bill of Materials Production as the (Sales) Window. As Raj explains, it navigates to Work Effort because Production (MMP) document type is ISSoTRX=N.