Project:
View Revisions: Issue #21741 | [ Back to Issue ] | ||
Summary | 0021741: Pick&Execute under some circumstances is not retrieving the selected record ID | ||
Revision | 2012-09-25 11:56 by mirurita | ||
Description | Pick&Execute under some circumstances is not retrieving the selected record ID "inpcProjectId" parameter contains header contract ID. ------------------------------------------------------ "inpissummary":"Y", "inpisactive":"Y", "inpcProjectId":"81066B364742464DB75269440E8A3B86", "inpprojectcategory":"OBHCNTR_PARENT", "inpadClientId":"23C59575B9CF467C9620760EB255B389", "C_Project_ID":"81066B364742464DB75269440E8A3B86", "inpadOrgId":"B843C30461EA4501935CB1D125C9C25A", "inpemObhcntrDocumentno":"1000004", "inpvalue":"Test1", "inpname":"Test1", "inpcBpartnerId":"A6750F0D15334FB890C254369AC750A8", "inpcBpartnerLocationId":"6518D3040ED54008A1FC0C09ED140D66", "inpdescription":null, "inpstartdate":"01-09-2012", "inpdatefinish":"31-10-2012", "inpcCurrencyId":"102", "inpcPaymenttermId":"66BA1164A7394344BB9CD1A6ECEED05D", "inpmPricelistId":"AEE66281A08F42B6BC509B8A80A33C29", "inpfinPaymentmethodId":"A97CFD2AFC234B59BB0A72189BD8FC2A", "inpsalesrepId":"C3503BEFB3CB4848A674284A656163B9", "inpresponsibleId":"6F96792A1F2142DCA3E98FE5C6570256", "inpadUserId":"6B1E8F0CA1524850AB3A7F9AE475A16F", "inpprojectstatus":"OP", "inpemObhcntrContracttotalamount":"66,00", "inpTabId":"8F9CA53965834621900034A7C378127E", "inpwindowId":"279D7835E0C648F0987B421752523387", "inpTableId":"203", "inpkeyColumnId":"C_Project_ID", "keyProperty":"id", "inpKeyName":"inpcProjectId", "keyColumnName":"C_Project_ID", "keyPropertyType":"_id_13", ------------------------------------------------------ |
||
Revision | 2012-09-25 11:50 by mirurita | ||
Description | 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 |