Login  Register

[jira] Updated: (OFBIZ-51) SequenceNum for ProdAssocs when using QuickAddVariants

Posted by Nicolas Malin (Jira) on Jun 27, 2006; 10:48am
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-51-SequenceNum-for-ProdAssocs-when-using-QuickAddVariants-tp168764p168767.html

     [ 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/%3c449FAB20.3010703@...%3e
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