Project:
View Revisions: Issue #21741 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0021741: Pick&Execute under some circumstances is not retrieving the selected record ID | ||
Revision | 2012-09-25 11:50 by mirurita | ||
Steps To Reproduce | 1) Install the following modules https://code.openbravo.com/private/eulen/org.openbravo.contract/ [^] https://code.openbravo.com/private/eulen/org.openbravo.contract.hierarchical/ [^] https://code.openbravo.com/private/eulen/org.openbravo.project.budget/ [^] 2) Go to "Budget Account Groups" window 2.1) Create new group - Name: Group1 3) Go to "Budget Account" window 3.1) Create a new budget account - Account Group: Group1 - Account Element: 10000 - Capital social 4) Go to "Contract" window 4.1) Create a header record: + Name: parent + Search Key: parent 5) Go to Lines tab and create a child record + Name: child + Search Key: child 6) Click on "Set account amount" button 7) In the pick&execute popup enter 100 as amount 8) Important: put a breakpoint on org.openbravo.project.budget.process.PickSelectLines java class line 43 9) Click on Done 10) Go to eclipse and try to retrieve the id of the contract line. jsonRequest.getString("inpcProjectId"); previous statement is returning the id of the header record. Note: header and lines tab are based on the same table (c_project). |
||
Revision | 2012-09-25 11:50 by mirurita | ||
Steps To Reproduce | 1) Install the following modules https://code.openbravo.com/private/eulen/org.openbravo.contract/ [^] https://code.openbravo.com/private/eulen/org.openbravo.contract.hierarchical/ [^] https://code.openbravo.com/private/eulen/org.openbravo.project.budget/ [^] 2) Go to "Budget Account Groups" window 2.1) Create new group - Name: Group1 3) Go to "Budget Account" window 3.1) Create a new budget account - Account Group: Group1 - Account Element: 10000 - Capital social 4) Go to "Contract" window 4.1) Create a header record: + Name: parent + Search Key: parent 5) Go to Lines tab and create a child record + Name: child + Search Key: child 6) Click on "Set account amount" button 7) In the pick&execute popup enter 100 as amount 8) Important: put a breakpoint on org.openbravo.project.budget.process.PickSelectLines java class line 43 9) Click on Done 10) Go to eclipse and try to retrieve the id of the contract line. jsonRequest.getString("inpcProjectId"); previous statement is returning the id of the header record. Note: header and lines tab are based on the same table (c_project). |
Copyright © 2000 - 2009 MantisBT Group |