[ http://issues.apache.org/jira/browse/OFBIZ-51?page=all ]

Scott Gray updated OFBIZ-51:
----------------------------

    Attachment: QuickAddVariantsSeqNum.patch

Hi Jacopo

Here's the patch for the ftl to include a seqNum field.  I've prepopulated it 
automatically, not sure if this is the best approach or whether I should only 
be populating the field when the checkbox is selected, but it seemed like a lot 
more work and wasn't sure if there was any real benefit.

I went for the 10,20,30 etc numbering as it makes more sense than 1,2,3.

Thanks for your help with this
Scott

p.s. Did you see my email questioning multiple variants for the same features? 
http://mail-archives.apache.org/mod_mbox/incubator-ofbiz-dev/200606.mbox/[EMAIL 
PROTECTED]
Can you shed any light on this?

> SequenceNum for ProdAssocs when using QuickAddVariants
> ------------------------------------------------------
>
>          Key: OFBIZ-51
>          URL: http://issues.apache.org/jira/browse/OFBIZ-51
>      Project: The Open For Business Project
>         Type: Improvement

>   Components: product
>     Versions: SVN trunk
>     Reporter: Scott Gray
>  Attachments: QuickAddVariantsSeqNum.patch, VarProdAssocSeqNum-final.patch
>
> Hi
> The attached patch inserts values in the sequenceNum field on the Variant -> 
> Virtual product associations when using the Quick Add Variants screen.  The 
> sequenceNum is generated in the same order as the feature combinations 
> displayed on screen, this seems to be the best way to sequence the ProdAssocs 
> by default and certainly (in my case at least) beats no default sequencing.
> Regards
> Scott

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to