Following up on Rishi's posting. I believe we are good entity-wise (meaning: we may be able to avoid using system property setting, with complex prefix/suffix constructs).
Product can have Attribute settings. So can ProductCategory, see [1]. We can associate products with different ProductCategory values, and have these different ProductCategory be associated with different ProductStore values through the ProductCatalog (via ProductStoreCatalog), do ensure the defaults/overrides. It may be a complex way to calculate, but the solution will be scalable. Otherwise, we can add the ProductStoreAttribute entity to simplify matters to facilitate this, and other - future - field addition requirements on ProductStore level. [1] ProductCategoryAttribute <https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=ProductCategoryAttribute> <https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=ProductCategoryAttribute> Best regards, Pierre Smits *Apache Trafodion <https://trafodion.apache.org>, Vice President* *Apache Directory <https://directory.apache.org>, PMC Member* Apache Incubator <https://incubator.apache.org>, committer *Apache OFBiz <https://ofbiz.apache.org>, contributor (without privileges) since 2008* Apache Steve <https://steve.apache.org>, committer On Sat, Mar 9, 2019 at 12:07 PM Rishi Solanki <rishisolan...@gmail.com> wrote: > +1 for having this. The only thing I would like to add go for global > setting which should be overridden by product level setting. For example; A > site may deal in industry which may require different number of days for > the different products. > Also agree with Pierre on point we should be aware of the fact that > unnecessary data model extension should be avoided. > > Question: how should we manage if we would like to have two store and for > both stores we want to have different number of days limit for return. > My Answer: While configuring the store the System property should be > configured against prefix/suffix of store id. > > Please feel free to add more details or alternative way for handling this. > > Best Regards, > -- > Rishi Solanki > Sr Manager, Enterprise Software Development > HotWax Systems Pvt. Ltd. > Direct: +91-9893287847 > http://www.hotwaxsystems.com > www.hotwax.co > > > On Sat, Mar 9, 2019 at 1:20 PM Suraj Khurana <suraj.khur...@hotwax.co> > wrote: > > > Hello, > > > > In OFBiz, we can create a return for order without checking when that > order > > is placed, it might be years long. > > IMO, we should have a field something like daysToReturn at product store > > level to allow creating return till after that much days of order > > completion. > > > > I could not find anything else relevant to this and this is a very common > > e-commerce scenario for any business. > > > > Am I missing something? > > Please share your thoughts on the same. > > > > -- > > Best Regards > > Suraj Khurana > > TECHNICAL CONSULTANT > > mobile: +91 9669750002 > > email: suraj.khur...@hotwax.co > > www.hotwax.co > > >