I'm manually working through the ecommerce demo setup data to create a
new site and along the way gain more insight into the ofbiz data
structures.
When I encounter a RoleType, I want to know what effect this role has
on ofbiz. For example, the RoleType: MANAGER,
Party partyId=admin
A text search on the BUYER role type suggests that RoleType doesn't
actually do anything other than act as a label for Parties. I must be
missing something?
$ grep -r 'BUYER' *
applications/securityext/data/UserDemoData.xml:PartyRole
partyId=admin roleTypeId=BUYER/
the basic use of roles it to define before there is data available.
it also is a way of selecting certain function (roles) of a party.
The Demo data is not complete and is there to show that one of the roles
you can have is BUYER.
these are covered in the Datamodel book vol I.
chris snow sent
This is confusing me, so what about if I rephrase my question:
- I have a party, what roles should I give to the party?
I don't want to give a role if I don't know what effect that role has.
For example, I have an employee who is a manager of a small team in
my packing department. There is a
MANAGER is generic and for small company enough
you want more granuallity meand you create a
MANAGER_PACKING
Then implement it in the Facilities code and screens
then remove the MANAGER from your party and add your MANAGER_PACKING
you can also add TEAM_PACKING, for Those working in Packing.
I've have had the same confusion and I finally believe that some of them are
used in the OOTB business logic (ie: BILL_FROM_VENDOR for Purchase Invoices)
and others are intended for custom customization. Don't know if I am
right
On Sun, Sep 19, 2010 at 11:07 PM, chris snow chsnow...@gmail.com
sorry, I meant own customization
On Sun, Sep 19, 2010 at 11:16 PM, BJ Freeman bjf...@free-man.net wrote:
MANAGER is generic and for small company enough
you want more granuallity meand you create a
MANAGER_PACKING
Then implement it in the Facilities code and screens
then remove the MANAGER
BJ, there are a quite a few pre-defined roles in PartyTypeData how
will I know when to use one of the pre-defined RoleTypes and when to
create my own, unless I know exactly what the pre-defined roles do?
On Sun, Sep 19, 2010 at 10:16 PM, BJ Freeman bjf...@free-man.net wrote:
MANAGER is generic
Hi Jonatan, I think all we need is a list of the pre-defined RoleTypes
and what the impact of each RoleType has on ofbiz.
It's impossible to choose a role type without having that list!
I'm happy to create the list - I just want to make sure I'm looking in
the right place for the information
Like I said most are defined and explained in the Datamodel book.
I do admit that an artifact in webtools, like the entity and services
that shows the roles and all uses(services, widget, ftl) would make it
better.
so other than the book, doing searches is the only other way, currently.
I agree Chris look forward to you code, will be added to setup when it
gets there.
chris snow sent the following on 9/19/2010 2:28 PM:
Hi Jonatan, I think all we need is a list of the pre-defined RoleTypes
and what the impact of each RoleType has on ofbiz.
It's impossible to choose a role
Hi BJ, I'm not sure the datamodel book has been followed 100%, so I
think the safest way to work out the intention of each RoleType is to
search through the code and document my findings.
Thanks for pointing me in the right direction.
Hi BJ/Jonatan,
I have created an jira issue to discuss the documentation for
RoleType: https://issues.apache.org/jira/browse/OFBIZ-3949
Attached are some example Descriptions for RoleType - is there any
additional information that would be useful? Does the format make
sense, is it readable?
13 matches
Mail list logo