[
https://issues.apache.org/jira/browse/OFBIZ-5428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13867854#comment-13867854 ]
Christian Carlow commented on OFBIZ-5428:
-----------------------------------------
Does anyone know of a way to add a field to a auto-entity-fields form widget that doesn't exist in the entity and have it be part of the parameters submitted? I'm trying to add support for QuoteItem quantity range by adding a quantity2 field to the form to accept the upper limit of a range but the field is not submitted with the other parameters because it is not considered part of the QuoteItem entity.
I added logic to automatically create new QuanttiyBreak records if a quantity range is specified that does not yet exist in QuantityBreak but it is dependent on the quantity2 field being submitted. Removing the auto-entity-fields tag allows for the quantity2 field to be submitted but requires all of the other fields to be assigned the controls they were automatically assigned to with the auto-entity-fields tag (in other words I have to specify that the workEffortId field is supposed to be a lookup and have to know the name of the Lookup target and have to do that will all the others).
> Add ability to quote quantity ranges
> ------------------------------------
>
> Key: OFBIZ-5428
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5428> Project: OFBiz
> Issue Type: Improvement
> Reporter: Christian Carlow
>
> OFBiz should be improved to allow for quoting of quantity ranges. Separate prices could be assigned to each quantity range of a quote item.
> An entity such as QuoteItemQtyRangePrice could be used to store such information and should include a seqNumber field for controlling the order the ranges should appear for things such as reports.
> The button that allows for quotes to be turned into orders would have to be changed to account for quantity ranges if the functionality is to exist for them as well.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)