Question on the resultant Product in Product Lookup while creating Sales Order?

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

Question on the resultant Product in Product Lookup while creating Sales Order?

Ashish Vijaywargiya-5
Hello,

Today I created a Sales Order in OFBiz. Then a question came in my mind.
Sharing the same with you all.

On the first screen I provided "DemoCustomer" in "Customer" field.
On next screen we have option to select Order Name, PO Number, Currency
& Choose Catalog (All are optional.)
This is all good.

Now suppose I selected "Demo Catalog" (remains selected as default
option) then in next screen we have option to select "Product" and its
quantity.
I see the Product Lookup shows all the products either it is associated
with "Demo Catalog" or "Test Catalog".
After this I added a new Product in the "TSTLTDADMIN" category that is
associated with the catalog "Test Catalog".
The new product is also shown in the Product Lookup.

Is it correct behavior ?
In my opinion we should only show the products that are associated with
the selected catalog (in my case I selected "Demo Catalog").

Thoughts ?

--
Ashish

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Question on the resultant Product in Product Lookup while creating Sales Order?

Pranay Pandey-2
+1

We should only show the products that are associated with the selected  
catalog.

Thanks & Regards
--
Pranay Pandey
HotWax Media | http://www.hotwaxmedia.com


On Apr 29, 2009, at 12:06 PM, Ashish Vijaywargiya wrote:

> Hello,
>
> Today I created a Sales Order in OFBiz. Then a question came in my  
> mind. Sharing the same with you all.
>
> On the first screen I provided "DemoCustomer" in "Customer" field.
> On next screen we have option to select Order Name, PO Number,  
> Currency & Choose Catalog (All are optional.)
> This is all good.
>
> Now suppose I selected "Demo Catalog" (remains selected as default  
> option) then in next screen we have option to select "Product" and  
> its quantity.
> I see the Product Lookup shows all the products either it is  
> associated with "Demo Catalog" or "Test Catalog".
> After this I added a new Product in the "TSTLTDADMIN" category that  
> is associated with the catalog "Test Catalog".
> The new product is also shown in the Product Lookup.
>
> Is it correct behavior ?
> In my opinion we should only show the products that are associated  
> with the selected catalog (in my case I selected "Demo Catalog").
>
> Thoughts ?
>
> --
> Ashish


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Question on the resultant Product in Product Lookup while creating Sales Order?

aswath narayana
+1.
A few days ago there was a similar fix for Purchase orders.  During creation
of purchase order, a Supplier is choosen.  During the selection of products,
only products from the selected supplier is displayed.

-Aswath

On Wed, Apr 29, 2009 at 1:19 PM, Pranay Pandey <
[hidden email]> wrote:

> +1
>
> We should only show the products that are associated with the selected
> catalog.
>
> Thanks & Regards
> --
> Pranay Pandey
> HotWax Media | http://www.hotwaxmedia.com
>
>
>
> On Apr 29, 2009, at 12:06 PM, Ashish Vijaywargiya wrote:
>
>  Hello,
>>
>> Today I created a Sales Order in OFBiz. Then a question came in my mind.
>> Sharing the same with you all.
>>
>> On the first screen I provided "DemoCustomer" in "Customer" field.
>> On next screen we have option to select Order Name, PO Number, Currency &
>> Choose Catalog (All are optional.)
>> This is all good.
>>
>> Now suppose I selected "Demo Catalog" (remains selected as default option)
>> then in next screen we have option to select "Product" and its quantity.
>> I see the Product Lookup shows all the products either it is associated
>> with "Demo Catalog" or "Test Catalog".
>> After this I added a new Product in the "TSTLTDADMIN" category that is
>> associated with the catalog "Test Catalog".
>> The new product is also shown in the Product Lookup.
>>
>> Is it correct behavior ?
>> In my opinion we should only show the products that are associated with
>> the selected catalog (in my case I selected "Demo Catalog").
>>
>> Thoughts ?
>>
>> --
>> Ashish
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Question on the resultant Product in Product Lookup while creating Sales Order?

Rishi Solanki
In reply to this post by Pranay Pandey-2
Same Here,
I follow the same steps and selected Demo Catalog.
I am agreed on the showing the products associating with the selected
catalog.

Lets more thoughts come as the product look up is used at many places in
OFBiz.

--
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.

On Wed, Apr 29, 2009 at 1:19 PM, Pranay Pandey <
[hidden email]> wrote:

> +1
>
> We should only show the products that are associated with the selected
> catalog.
>
> Thanks & Regards
> --
> Pranay Pandey
> HotWax Media | http://www.hotwaxmedia.com
>
>
>
> On Apr 29, 2009, at 12:06 PM, Ashish Vijaywargiya wrote:
>
>  Hello,
>>
>> Today I created a Sales Order in OFBiz. Then a question came in my mind.
>> Sharing the same with you all.
>>
>> On the first screen I provided "DemoCustomer" in "Customer" field.
>> On next screen we have option to select Order Name, PO Number, Currency &
>> Choose Catalog (All are optional.)
>> This is all good.
>>
>> Now suppose I selected "Demo Catalog" (remains selected as default option)
>> then in next screen we have option to select "Product" and its quantity.
>> I see the Product Lookup shows all the products either it is associated
>> with "Demo Catalog" or "Test Catalog".
>> After this I added a new Product in the "TSTLTDADMIN" category that is
>> associated with the catalog "Test Catalog".
>> The new product is also shown in the Product Lookup.
>>
>> Is it correct behavior ?
>> In my opinion we should only show the products that are associated with
>> the selected catalog (in my case I selected "Demo Catalog").
>>
>> Thoughts ?
>>
>> --
>> Ashish
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Question on the resultant Product in Product Lookup while creating Sales Order?

Ratnesh Upadhyay
+1

To show the products that are associated with the selected catalog.

--
Ratnesh Upadhyay

On Wed, Apr 29, 2009 at 2:14 PM, Rishi Solanki <[hidden email]>wrote:

> Same Here,
> I follow the same steps and selected Demo Catalog.
> I am agreed on the showing the products associating with the selected
> catalog.
>
> Lets more thoughts come as the product look up is used at many places in
> OFBiz.
>
> --
> Rishi Solanki
> Enterprise Software Developer
> HotWax Media Pvt. Ltd.
>
> On Wed, Apr 29, 2009 at 1:19 PM, Pranay Pandey <
> [hidden email]> wrote:
>
> > +1
> >
> > We should only show the products that are associated with the selected
> > catalog.
> >
> > Thanks & Regards
> > --
> > Pranay Pandey
> > HotWax Media | http://www.hotwaxmedia.com
> >
> >
> >
> > On Apr 29, 2009, at 12:06 PM, Ashish Vijaywargiya wrote:
> >
> >  Hello,
> >>
> >> Today I created a Sales Order in OFBiz. Then a question came in my mind.
> >> Sharing the same with you all.
> >>
> >> On the first screen I provided "DemoCustomer" in "Customer" field.
> >> On next screen we have option to select Order Name, PO Number, Currency
> &
> >> Choose Catalog (All are optional.)
> >> This is all good.
> >>
> >> Now suppose I selected "Demo Catalog" (remains selected as default
> option)
> >> then in next screen we have option to select "Product" and its quantity.
> >> I see the Product Lookup shows all the products either it is associated
> >> with "Demo Catalog" or "Test Catalog".
> >> After this I added a new Product in the "TSTLTDADMIN" category that is
> >> associated with the catalog "Test Catalog".
> >> The new product is also shown in the Product Lookup.
> >>
> >> Is it correct behavior ?
> >> In my opinion we should only show the products that are associated with
> >> the selected catalog (in my case I selected "Demo Catalog").
> >>
> >> Thoughts ?
> >>
> >> --
> >> Ashish
> >>
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Question on the resultant Product in Product Lookup while creating Sales Order?

Jacques Le Roux
Administrator
+1, yes I agree, showing only products of the selected catalog seems more appropriate

Jacques

From: "Ratnesh Upadhyay" <[hidden email]>

> +1
>
> To show the products that are associated with the selected catalog.
>
> --
> Ratnesh Upadhyay
>
> On Wed, Apr 29, 2009 at 2:14 PM, Rishi Solanki <[hidden email]>wrote:
>
>> Same Here,
>> I follow the same steps and selected Demo Catalog.
>> I am agreed on the showing the products associating with the selected
>> catalog.
>>
>> Lets more thoughts come as the product look up is used at many places in
>> OFBiz.
>>
>> --
>> Rishi Solanki
>> Enterprise Software Developer
>> HotWax Media Pvt. Ltd.
>>
>> On Wed, Apr 29, 2009 at 1:19 PM, Pranay Pandey <
>> [hidden email]> wrote:
>>
>> > +1
>> >
>> > We should only show the products that are associated with the selected
>> > catalog.
>> >
>> > Thanks & Regards
>> > --
>> > Pranay Pandey
>> > HotWax Media | http://www.hotwaxmedia.com
>> >
>> >
>> >
>> > On Apr 29, 2009, at 12:06 PM, Ashish Vijaywargiya wrote:
>> >
>> >  Hello,
>> >>
>> >> Today I created a Sales Order in OFBiz. Then a question came in my mind.
>> >> Sharing the same with you all.
>> >>
>> >> On the first screen I provided "DemoCustomer" in "Customer" field.
>> >> On next screen we have option to select Order Name, PO Number, Currency
>> &
>> >> Choose Catalog (All are optional.)
>> >> This is all good.
>> >>
>> >> Now suppose I selected "Demo Catalog" (remains selected as default
>> option)
>> >> then in next screen we have option to select "Product" and its quantity.
>> >> I see the Product Lookup shows all the products either it is associated
>> >> with "Demo Catalog" or "Test Catalog".
>> >> After this I added a new Product in the "TSTLTDADMIN" category that is
>> >> associated with the catalog "Test Catalog".
>> >> The new product is also shown in the Product Lookup.
>> >>
>> >> Is it correct behavior ?
>> >> In my opinion we should only show the products that are associated with
>> >> the selected catalog (in my case I selected "Demo Catalog").
>> >>
>> >> Thoughts ?
>> >>
>> >> --
>> >> Ashish
>> >>
>> >
>> >
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Question on the resultant Product in Product Lookup while creating Sales Order?

David E Jones-3
In reply to this post by Ashish Vijaywargiya-5

What are you proposing?

Currently products are constrained by special categories associated  
with the catalog, through the ProdCatalogCategory entity. On that  
entity there is a prodCatalogCategoryTypeId field and there are  
various options for it. If you want to limit the products that can be  
viewed, then you must setup a "View Allow" category. If you want to  
restrict the products that can be added to the cart then you must  
setup a "Purchase Allow" category.

If you don't setup those types of categories, then the catalog can be  
used to view or purchase any product, and that is how it is designed  
to function.

Are you (and everyone who commented in favour of this) saying that you  
want to change that behavior? I guess a more general question is what  
exactly (in terms of data model and default behavior for different  
data being present or missing) are you proposing to change?

I apologize for the confrontative nature of this message, but it seems  
like it is all based on a misunderstanding of how the current model  
works (which can be seen be testing with the different catalogs in the  
current demo data, or looking at the code).

-David


On Apr 29, 2009, at 12:36 AM, Ashish Vijaywargiya wrote:

> Hello,
>
> Today I created a Sales Order in OFBiz. Then a question came in my  
> mind. Sharing the same with you all.
>
> On the first screen I provided "DemoCustomer" in "Customer" field.
> On next screen we have option to select Order Name, PO Number,  
> Currency & Choose Catalog (All are optional.)
> This is all good.
>
> Now suppose I selected "Demo Catalog" (remains selected as default  
> option) then in next screen we have option to select "Product" and  
> its quantity.
> I see the Product Lookup shows all the products either it is  
> associated with "Demo Catalog" or "Test Catalog".
> After this I added a new Product in the "TSTLTDADMIN" category that  
> is associated with the catalog "Test Catalog".
> The new product is also shown in the Product Lookup.
>
> Is it correct behavior ?
> In my opinion we should only show the products that are associated  
> with the selected catalog (in my case I selected "Demo Catalog").
>
> Thoughts ?
>
> --
> Ashish

Reply | Threaded
Open this post in threaded view
|

Re: Question on the resultant Product in Product Lookup while creating Sales Order?

Jacques Le Roux
Administrator
From: "David E Jones" <[hidden email]>

> What are you proposing?
>
> Currently products are constrained by special categories associated  with the catalog, through the ProdCatalogCategory entity. On
> that  entity there is a prodCatalogCategoryTypeId field and there are  various options for it. If you want to limit the products
> that can be  viewed, then you must setup a "View Allow" category. If you want to  restrict the products that can be added to the
> cart then you must  setup a "Purchase Allow" category.
>
> If you don't setup those types of categories, then the catalog can be  used to view or purchase any product, and that is how it is
> designed  to function.
>
> Are you (and everyone who commented in favour of this) saying that you  want to change that behavior? I guess a more general
> question is what  exactly (in terms of data model and default behavior for different  data being present or missing) are you
> proposing to change?
>
> I apologize for the confrontative nature of this message, but it seems  like it is all based on a misunderstanding of how the
> current model  works (which can be seen be testing with the different catalogs in the  current demo data, or looking at the code).

Or even here
http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-catalogCategoryProductSetup
BTW I wonder if we should not add a reference to this document (and maybe some other setups) at
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Documentation+Index#OFBizDocumentationIndex-ConfigurationDocuments ? Without answers I
will do...

Jacques

> -David
>
>
> On Apr 29, 2009, at 12:36 AM, Ashish Vijaywargiya wrote:
>
>> Hello,
>>
>> Today I created a Sales Order in OFBiz. Then a question came in my  mind. Sharing the same with you all.
>>
>> On the first screen I provided "DemoCustomer" in "Customer" field.
>> On next screen we have option to select Order Name, PO Number,  Currency & Choose Catalog (All are optional.)
>> This is all good.
>>
>> Now suppose I selected "Demo Catalog" (remains selected as default  option) then in next screen we have option to select
>> "Product" and  its quantity.
>> I see the Product Lookup shows all the products either it is  associated with "Demo Catalog" or "Test Catalog".
>> After this I added a new Product in the "TSTLTDADMIN" category that  is associated with the catalog "Test Catalog".
>> The new product is also shown in the Product Lookup.
>>
>> Is it correct behavior ?
>> In my opinion we should only show the products that are associated  with the selected catalog (in my case I selected "Demo
>> Catalog").
>>
>> Thoughts ?
>>
>> --
>> Ashish
>


Reply | Threaded
Open this post in threaded view
|

Re: Question on the resultant Product in Product Lookup while creating Sales Order?

Ashish Vijaywargiya-5
In reply to this post by David E Jones-3
Thanks David for your comment on this.
Please see my comments inline:

David E Jones wrote:
>
> What are you proposing?
>

I only proposed to change the behavior of the list returned from the
"Product Lookup" form on the third screen in Sales Order Creation
process in back office application (i.e Ordermgr component).
As that lookup searches all the Product using "Product" entity and
return results using "performFind" service.
WDYT ?

> Currently products are constrained by special categories associated
> with the catalog, through the ProdCatalogCategory entity. On that
> entity there is a prodCatalogCategoryTypeId field and there are
> various options for it. If you want to limit the products that can be
> viewed, then you must setup a "View Allow" category. If you want to
> restrict the products that can be added to the cart then you must
> setup a "Purchase Allow" category.

I agree with you on the Product association with category and category
with the catalog through ProdCatalogCategory entity.
This is what I did.
 >> After this I added a new Product in the "TSTLTDADMIN" category that
is associated with the catalog "Test Catalog".

The second point that you are referring for prodCatalogCategoryTypeId
equals to "View Allow" & "Purchase Allow" are handled in Ecommerce
component and I am fine with this behavior.
>
> If you don't setup those types of categories, then the catalog can be
> used to view or purchase any product, and that is how it is designed
> to function.

Agree.

>
> Are you (and everyone who commented in favour of this) saying that you
> want to change that behavior? I guess a more general question is what
> exactly (in terms of data model and default behavior for different
> data being present or missing) are you proposing to change?
>

No I don't want to change the behavior of existing functionality.

> I apologize for the confrontative nature of this message, but it seems
> like it is all based on a misunderstanding of how the current model
> works (which can be seen be testing with the different catalogs in the
> current demo data, or looking at the code).

No apologies for this, I always take your comment positively & think
that you are helping us to move in right direction (and this is what
everybody want in their life :-) ).
Thanks once again for all your help, David.


--
Ashish

>
> -David
>
>
> On Apr 29, 2009, at 12:36 AM, Ashish Vijaywargiya wrote:
>
>> Hello,
>>
>> Today I created a Sales Order in OFBiz. Then a question came in my
>> mind. Sharing the same with you all.
>>
>> On the first screen I provided "DemoCustomer" in "Customer" field.
>> On next screen we have option to select Order Name, PO Number,
>> Currency & Choose Catalog (All are optional.)
>> This is all good.
>>
>> Now suppose I selected "Demo Catalog" (remains selected as default
>> option) then in next screen we have option to select "Product" and
>> its quantity.
>> I see the Product Lookup shows all the products either it is
>> associated with "Demo Catalog" or "Test Catalog".
>> After this I added a new Product in the "TSTLTDADMIN" category that
>> is associated with the catalog "Test Catalog".
>> The new product is also shown in the Product Lookup.
>>
>> Is it correct behavior ?
>> In my opinion we should only show the products that are associated
>> with the selected catalog (in my case I selected "Demo Catalog").
>>
>> Thoughts ?
>>
>> --
>> Ashish
>

smime.p7s (4K) Download Attachment