Quick Add Variants - Sequence Num - Product Assocs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Quick Add Variants - Sequence Num - Product Assocs

Scott Gray
Hi All

I was thinking about getting the quick add variants screen to apply
sequence nums to product associations they create, anyone think this is
a bad idea?

Also since the screen seems to display the proposed variants in the
correct order based on the sequence nums of the feature appls, would it
be a bit too lazy if i used the rowCount variable of the multi form as a
hidden parameter to pass on to the service as the new sequence num?  
Perhaps i should just do something similar in the bsh script.

Thanks
Scott

Reply | Threaded
Open this post in threaded view
|

Re: Quick Add Variants - Sequence Num - Product Assocs

Si Chen-2
Does it already use the sequenceNum from the ProductFeature to order  
them?  I thought it did, though I can't be sure.

I don't think it's a good idea to order them implicltly with row  
count.  Can you pass some kind of seqNum as another parameter, like  
seqNum_o_${n}?

Si


On Jun 23, 2006, at 1:45 AM, Scott Gray wrote:

> Hi All
>
> I was thinking about getting the quick add variants screen to apply  
> sequence nums to product associations they create, anyone think  
> this is a bad idea?
> Also since the screen seems to display the proposed variants in the  
> correct order based on the sequence nums of the feature appls,  
> would it be a bit too lazy if i used the rowCount variable of the  
> multi form as a hidden parameter to pass on to the service as the  
> new sequence num?  Perhaps i should just do something similar in  
> the bsh script.
>
> Thanks
> Scott


Reply | Threaded
Open this post in threaded view
|

Re: Quick Add Variants - Sequence Num - Product Assocs

Scott Gray
Hi Si

Thanks for your reply, the sequenceNum is passed from the selectable
features of the virtual to standard features of the new variants but
there is no sequencing of the prodAssocs themselves.

I think i knew the rowCount thing was a bad idea, i must have been
feeling a bit lazy.  I've added sequenceNum to the data returned from
getVariantCombinations and got it all to work, so i'll create a jira for
the patch.

Thanks
Scott

Si Chen wrote:

> Does it already use the sequenceNum from the ProductFeature to order
> them?  I thought it did, though I can't be sure.
>
> I don't think it's a good idea to order them implicltly with row
> count.  Can you pass some kind of seqNum as another parameter, like
> seqNum_o_${n}?
>
> Si
>
>
> On Jun 23, 2006, at 1:45 AM, Scott Gray wrote:
>
>> Hi All
>>
>> I was thinking about getting the quick add variants screen to apply
>> sequence nums to product associations they create, anyone think this
>> is a bad idea?
>> Also since the screen seems to display the proposed variants in the
>> correct order based on the sequence nums of the feature appls, would
>> it be a bit too lazy if i used the rowCount variable of the multi
>> form as a hidden parameter to pass on to the service as the new
>> sequence num?  Perhaps i should just do something similar in the bsh
>> script.
>>
>> Thanks
>> Scott
>
>