Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007547
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] 07. Sales managementminorN/A2009-02-13 11:322011-02-04 09:15
ReporterFrancescoFinamoreView Statuspublic 
Assigned Tormorley 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_11
OS VersionrPath LinuxDatabase version8.3.5Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007547: Ajax Grid in Create Lines From in the Sales Invoice

DescriptionWhen i launch from a Sales Invoice the process "Create lines from"
it shows a form with a grid with the multi-check column but that haven't columns resizable. How can modified the html to have the columns resizable ?
I thinked to use the grid used for example in Search of Business Partner but it haven't the first column with checkbox . Can you suggest me something ?
Thanks
TagsReleaseCandidate
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0013515)
iciordia (manager)
2009-02-16 11:53

In the following wiki documentation you have functional and technical documentation to use dynamic data grid in manual windows:

http://wiki.openbravo.com/wiki/Projects/Ajax_Grids [^]

Ismael
(0013562)
FrancescoFinamore (reporter)
2009-02-17 12:50

I read the wiki but i dont understand how read in the java class the ids that the grid turns to the main window.
(0013688)
gorka_gil (administrator)
2009-02-18 18:18

Hi Francesco,

You can take as example the bussines partner multiple selector [1], that is used for example, in sales dimensional report[2][2b].

The grid has an extra column that is a concatenation of all values to return, concatenated by '#'. This column is filled in the sql, and is splited in an array in a javascript method 'depurarSelector' in BusinessPartnerMultiple.html.

After some values are selected, and press the OK button of the selector, the values are stored in the fields specified in the onClick method, of the button that call the selector (for example in sales dimensional report):
   onclick="openMultiSearch(null, null, '../info/BusinessPartnerMultiple.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBPartnerId_IN');return false;"

In this example, the values returned by the multiple bussines partner selector will be stored in the html field with id="inpcBPartnerId_IN".

Then, if you save or print the page, this field will be send to the java/servlet, and recibed with:
   String strcBpartnerId = vars.getRequestInGlobalVariable("inpcBPartnerId_IN", "ReportSalesDimensionalAnalyzeJR|partner");


[1] src/org/openbravo/erpCommon/info/BusinessPartnerMultiple
[2] src/org/openbravo/erpCommon/ad_reports/ReportSalesDimensionalAnalyzeJR
[2b] Sales Management || Analysis Tools || Sales Dimensional Report
(0013697)
FrancescoFinamore (reporter)
2009-02-18 19:28
edited on: 2009-02-19 16:13

Thanks a lot.
The problem that i have is a little more complicated ,
in this example you start from a list reportCBPartnerId_IN on the html page.
I must start from a process so i dont have a html control where associate the procedure OpenMultiSearch , but from the process i must open the window with multiple selection. So i dont understand how read from the servlet of that process the values of rowkey that the window turn to the process.


- Issue History
Date Modified Username Field Change
2009-02-13 11:32 FrancescoFinamore New Issue
2009-02-13 11:32 FrancescoFinamore Assigned To => rafaroda
2009-02-13 16:51 rafaroda Assigned To rafaroda => pjuvara
2009-02-13 16:59 rafaroda Summary Sales Invoice => Editable grid in manual windows
2009-02-16 11:53 iciordia Note Added: 0013515
2009-02-17 12:50 FrancescoFinamore Note Added: 0013562
2009-02-17 18:36 pjuvara Status new => acknowledged
2009-02-17 18:36 pjuvara Summary Editable grid in manual windows => Ajax Grid in Create Lines From in the Sales Invoice
2009-02-17 18:37 pjuvara Tag Attached: ReleaseCandidate
2009-02-18 18:18 gorka_gil Note Added: 0013688
2009-02-18 19:28 FrancescoFinamore Note Added: 0013697
2009-02-19 16:13 FrancescoFinamore Note Edited: 0013697
2011-02-04 09:15 jpabloae Assigned To pjuvara => rmorley


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker