Hello Emad,

To answer your question, yes, all entities are not used in actual OFBiz
implementations but they are kept there to allow the developers to add
custom logic without the need of creating new entities as much as possible.
This is the beauty of the data model that is shipped OOTB with OFBiz.

Attribute entities in general data modelling terms are used to define the
property of an object or an element. The same is the use of Attribute
entity in the OFBiz. So, here, you can define the custom
properties/features of the party which cannot be modelled (ethically :)) in
other entities, they are put into PartyAttribute entity. You can find
Attribute entity in each data model in OFBiz such as OrderAttribute,
ProductAttribute, PartyAttribute etc. PartyTypeAttr is used in
conjunction with PartyAttribute to restrict PartyAttrubutes for based on
partyTypeId.

PartyClassification and PartyClassificationGroup entities are mostly used
in custom logics to classify the parties in groups. We can take an example
of a website which asks the user about the genre of music user likes. We
can add PartyClassificationGroups as an individual genre of music and
relate the party with the genre they like in PartyClassification entity.

Hope this helps.

Kind Regards,
--
Pritam Kute


On Wed, Oct 21, 2020 at 4:06 PM Emad Radwan <[email protected]> wrote:

> Hi Suraj,
>
> Thanks for replying. As a start, having some data for the following tables
> would really help:
>
> Party_Attribute
> PartyTypeAttr
> Party_Classification
> Party_Classification_Group
>
> I went thru the Silverston's volume 2 book on the data patterns and was
> expecting that should be a pattern on 'dynamic attributes' that are
> utilized in many places in Ofbiz or in volume 1 while discussing Products
> but couldn't find, and sadly to say that almost all similar table demo data
> are empty.
>
> Regards,
>
> Emad.
>
> On 2020/10/19 05:38:57, Suraj Khurana <[email protected]> wrote:
> > Hello Emad,
> >
> > Welcome to the OFBiz community. I hope you have tested it by loading demo
> > data as well. Sometimes, it also helps in clarifying doubts and
> > understanding seed data requirements.
> > Also, if required, you can share exact tables that you are looking for
> > details, so that ML can answer you with respect to the requirements.
> >
> > HTH.
> > --
> > Best Regards,
> > Suraj Khurana
> > Senior Technical Consultant
> >
> >
> > On Sun, Oct 18, 2020 at 3:06 PM Emad Radwan <[email protected]>
> wrote:
> >
> > > Hi There,
> > >
> > > I'm new to OfBiz and hope you help me. For better understanding of the
> > > system I need a more completed set of data that coverts all tables as
> the
> > > one provided with the seed data leaves a lot of tables blank. I
> understand
> > > that the model is based on Silverston's books and I really enjoy
> reading it
> > > but still many tables and their purpose are not mentioned there.
> Thanks in
> > > advance. All ideas are welcome.
> > >
> > > Regards,
> > >
> > > Emsd
> > >
> >
>

Reply via email to