You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "Shane F. MacIntyre" <ma...@d33.courts.mi.gov> on 2018/11/07 18:33:01 UTC

A point in the right direction

I started looking into ofbiz because I need to create a solution for a new regulation we have at work. We are a courthouse and the state has mandated that we provide representation for individuals on a daily basis.
In a nutshell, I need to have a system where a clerk can assign a defendant to an attorney. The attorney would then have to provide counsel within 36 hours and report back that they had done so. An administrator would be able to oversee the process and verify it. Then pay the attorney for the counsel. The defendant might have multiple consultations with different attorneys/ probation officers/ drug testing facilities over the time that the case is active.

I've played around with ofbiz, adding data  using the various ootb components and I've tried the getting started tutorial, successfully adding the ofbiz demo plugin. That went fine. Now I am trying to figure out how to implement a solution. I am thinking that the Project component would be a good place to start because I can make a "Defendant"  project and add attorney / probation officer / reviewer resources, then an administrator could create phases like "Initial Counsultation, Drug Testing, etc"

Does this sound like I am on the right track? Or should I be looking at it differently?


Re: A point in the right direction

Posted by Julien NICOLAS <ju...@nereide.fr>.
Hi Shane,

I prefer to create a new component to fit my specifications instead of 
modifying the ootb component.

Why ? Because if you modify the ootb component, it will be harder to 
upgrade the OFBiz version. You'll probably have some source code 
conflict and each time you'll want to upgrade OFBiz, you'll have to 
manage it.

By creating a new plugin, you avoid this kind of problem. You can just 
create a new plugin that the controller include the Project controller, 
copy the screen.xml and you have another Project component. Identical.

When you implement specificities, you can replace screens and forms 
without modifying ootb component. And you can also use all ootb Project 
services, screen, form, etc. already done for your business.

This is the way I prefer to do ;)

HTH

Julien.

Le 07/11/2018 à 19:33, Shane F. MacIntyre a écrit :
> I started looking into ofbiz because I need to create a solution for a new regulation we have at work. We are a courthouse and the state has mandated that we provide representation for individuals on a daily basis.
> In a nutshell, I need to have a system where a clerk can assign a defendant to an attorney. The attorney would then have to provide counsel within 36 hours and report back that they had done so. An administrator would be able to oversee the process and verify it. Then pay the attorney for the counsel. The defendant might have multiple consultations with different attorneys/ probation officers/ drug testing facilities over the time that the case is active.
>
> I've played around with ofbiz, adding data  using the various ootb components and I've tried the getting started tutorial, successfully adding the ofbiz demo plugin. That went fine. Now I am trying to figure out how to implement a solution. I am thinking that the Project component would be a good place to start because I can make a "Defendant"  project and add attorney / probation officer / reviewer resources, then an administrator could create phases like "Initial Counsultation, Drug Testing, etc"
>
> Does this sound like I am on the right track? Or should I be looking at it differently?
>
>

Re: A point in the right direction

Posted by Pierre Smits <pi...@apache.org>.
Hi Shane,

Thank you for exploring and using OFbiz as your business solution, and
welcome to the project!

The project component might be quite suitable to facilitate the processes
in your organisation. However, I can image that the workload of your
organisation consists of 'cases', and therefore a 'case' would be the
project (and thus the case ID the projectId), and all the parties involved
(included the defendant) would be associated to that project or case.
Moving forward from there, the case workers (as you listed, and associated
to the case/project) could add documents (and time-entries, if that is
required) to the project.

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 Wed, Nov 7, 2018 at 7:33 PM Shane F. MacIntyre <
macintyres@d33.courts.mi.gov> wrote:

> I started looking into ofbiz because I need to create a solution for a new
> regulation we have at work. We are a courthouse and the state has mandated
> that we provide representation for individuals on a daily basis.
> In a nutshell, I need to have a system where a clerk can assign a
> defendant to an attorney. The attorney would then have to provide counsel
> within 36 hours and report back that they had done so. An administrator
> would be able to oversee the process and verify it. Then pay the attorney
> for the counsel. The defendant might have multiple consultations with
> different attorneys/ probation officers/ drug testing facilities over the
> time that the case is active.
>
> I've played around with ofbiz, adding data  using the various ootb
> components and I've tried the getting started tutorial, successfully adding
> the ofbiz demo plugin. That went fine. Now I am trying to figure out how to
> implement a solution. I am thinking that the Project component would be a
> good place to start because I can make a "Defendant"  project and add
> attorney / probation officer / reviewer resources, then an administrator
> could create phases like "Initial Counsultation, Drug Testing, etc"
>
> Does this sound like I am on the right track? Or should I be looking at it
> differently?
>
>

Re: A point in the right direction

Posted by Jacopo Cappellato <ja...@hotwaxsystems.com>.
On Thu, Nov 8, 2018 at 12:03 AM Shane F. MacIntyre <
macintyres@d33.courts.mi.gov> wrote:

> I started looking into ofbiz because I need to create a solution for a new
> regulation we have at work. We are a courthouse and the state has mandated
> that we provide representation for individuals on a daily basis.
> In a nutshell, I need to have a system where a clerk can assign a
> defendant to an attorney. The attorney would then have to provide counsel
> within 36 hours and report back that they had done so. An administrator
> would be able to oversee the process and verify it. Then pay the attorney
> for the counsel. The defendant might have multiple consultations with
> different attorneys/ probation officers/ drug testing facilities over the
> time that the case is active.
>
> I've played around with ofbiz, adding data  using the various ootb
> components and I've tried the getting started tutorial, successfully adding
> the ofbiz demo plugin. That went fine. Now I am trying to figure out how to
> implement a solution. I am thinking that the Project component would be a
> good place to start because I can make a "Defendant"  project and add
> attorney / probation officer / reviewer resources, then an administrator
> could create phases like "Initial Counsultation, Drug Testing, etc"
>
> Does this sound like I am on the right track? Or should I be looking at it
> differently?
>
>
Hi Shane,

I think that you are on the right track if you are planning to study how
data is setup by the Project component; I would also consider the "Work
Effort" component and the "Scrum" components as they all use the
"WorkEffort" data model to implement different ways to define/manage/track
tasks execution.
I doubt that any of the above components will fit all your requirements but
reviewing them will lower your learning curve; you may also want to read
some chapters of "The Data Model Resource Book vol 1" by Len Silverstone
because it describes the main concepts that have been integrated in the
OFBiz data model.

As Julian as suggested, I would then create a custom component (that may
extend and reuse any of the artifacts from other components) to build the
ui and processes that are peculiar to your organization.

Kind regards,

Jacopo

Re: A point in the right direction

Posted by Pierre Smits <pi...@apache.org>.
Hi Shane,

You only need to include entities in the entitymodel.xml of the new
component (plugin) when:

   1. you create a new entity, or
   2. you enhance (extend) an  existing entity with new fields and/or
   relations.

If you're not going to have the project component in your implementation
you should copy the project specific entities into the entitymodel.xml of
your component.

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 Mon, Nov 26, 2018 at 3:51 PM Shane F. MacIntyre <
macintyres@d33.courts.mi.gov> wrote:

> Hi Julien,
> I've created a plugin, and included the project controller in my plug in's
> controller.xml :
>         <include
> location="component://secialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml"/>
>
> Do I need to include the project enitymodel in my plug in's enitymodel.xml?
>
> TIA
>
> Shane
>
> -----Original Message-----
> From: Julien NICOLAS <ju...@nereide.fr>
> Sent: Thursday, November 8, 2018 11:18 AM
> To: user@ofbiz.apache.org
> Subject: Re: A point in the right direction
>
> Hi Shane,
>
> I prefer to create a new component to fit my specifications instead of
> modifying the ootb component.
>
> Why ? Because if you modify the ootb component, it will be harder to
> upgrade the OFBiz version. You'll probably have some source code conflict
> and each time you'll want to upgrade OFBiz, you'll have to manage it.
>
> By creating a new plugin, you avoid this kind of problem. You can just
> create a new plugin that the controller include the Project controller,
> copy the screen.xml and you have another Project component. Identical.
>
> When you implement specificities, you can replace screens and forms
> without modifying ootb component. And you can also use all ootb Project
> services, screen, form, etc. already done for your business.
>
> This is the way I prefer to do
>
> HTH
>
> Julien.
>
> Le 07/11/2018 à 19:33, Shane F. MacIntyre a écrit :
> > I started looking into ofbiz because I need to create a solution for a
> new regulation we have at work. We are a courthouse and the state has
> mandated that we provide representation for individuals on a daily basis.
> > In a nutshell, I need to have a system where a clerk can assign a
> defendant to an attorney. The attorney would then have to provide counsel
> within 36 hours and report back that they had done so. An administrator
> would be able to oversee the process and verify it. Then pay the attorney
> for the counsel. The defendant might have multiple consultations with
> different attorneys/ probation officers/ drug testing facilities over the
> time that the case is active.
> >
> > I've played around with ofbiz, adding data  using the various ootb
> components and I've tried the getting started tutorial, successfully adding
> the ofbiz demo plugin. That went fine. Now I am trying to figure out how to
> implement a solution. I am thinking that the Project component would be a
> good place to start because I can make a "Defendant"  project and add
> attorney / probation officer / reviewer resources, then an administrator
> could create phases like "Initial Counsultation, Drug Testing, etc"
> >
> > Does this sound like I am on the right track? Or should I be looking at
> it differently?
> >
> >
>

RE: A point in the right direction

Posted by "Shane F. MacIntyre" <ma...@d33.courts.mi.gov>.
Hi Julien,
I've created a plugin, and included the project controller in my plug in's controller.xml :
	<include location="component://secialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml"/>

Do I need to include the project enitymodel in my plug in's enitymodel.xml?

TIA

Shane

-----Original Message-----
From: Julien NICOLAS <ju...@nereide.fr> 
Sent: Thursday, November 8, 2018 11:18 AM
To: user@ofbiz.apache.org
Subject: Re: A point in the right direction

Hi Shane,

I prefer to create a new component to fit my specifications instead of modifying the ootb component.

Why ? Because if you modify the ootb component, it will be harder to upgrade the OFBiz version. You'll probably have some source code conflict and each time you'll want to upgrade OFBiz, you'll have to manage it.

By creating a new plugin, you avoid this kind of problem. You can just create a new plugin that the controller include the Project controller, copy the screen.xml and you have another Project component. Identical.

When you implement specificities, you can replace screens and forms without modifying ootb component. And you can also use all ootb Project services, screen, form, etc. already done for your business.

This is the way I prefer to do

HTH

Julien.

Le 07/11/2018 à 19:33, Shane F. MacIntyre a écrit :
> I started looking into ofbiz because I need to create a solution for a new regulation we have at work. We are a courthouse and the state has mandated that we provide representation for individuals on a daily basis.
> In a nutshell, I need to have a system where a clerk can assign a defendant to an attorney. The attorney would then have to provide counsel within 36 hours and report back that they had done so. An administrator would be able to oversee the process and verify it. Then pay the attorney for the counsel. The defendant might have multiple consultations with different attorneys/ probation officers/ drug testing facilities over the time that the case is active.
>
> I've played around with ofbiz, adding data  using the various ootb components and I've tried the getting started tutorial, successfully adding the ofbiz demo plugin. That went fine. Now I am trying to figure out how to implement a solution. I am thinking that the Project component would be a good place to start because I can make a "Defendant"  project and add attorney / probation officer / reviewer resources, then an administrator could create phases like "Initial Counsultation, Drug Testing, etc"
>
> Does this sound like I am on the right track? Or should I be looking at it differently?
>
>

Re: A point in the right direction

Posted by Julien NICOLAS <ju...@nereide.fr>.
Hi Shane,

I prefer to create a new component to fit my specifications instead of 
modifying the ootb component.

Why ? Because if you modify the ootb component, it will be harder to 
upgrade the OFBiz version. You'll probably have some source code 
conflict and each time you'll want to upgrade OFBiz, you'll have to 
manage it.

By creating a new plugin, you avoid this kind of problem. You can just 
create a new plugin that the controller include the Project controller, 
copy the screen.xml and you have another Project component. Identical.

When you implement specificities, you can replace screens and forms 
without modifying ootb component. And you can also use all ootb Project 
services, screen, form, etc. already done for your business.

This is the way I prefer to do

HTH

Julien.

Le 07/11/2018 à 19:33, Shane F. MacIntyre a écrit :
> I started looking into ofbiz because I need to create a solution for a new regulation we have at work. We are a courthouse and the state has mandated that we provide representation for individuals on a daily basis.
> In a nutshell, I need to have a system where a clerk can assign a defendant to an attorney. The attorney would then have to provide counsel within 36 hours and report back that they had done so. An administrator would be able to oversee the process and verify it. Then pay the attorney for the counsel. The defendant might have multiple consultations with different attorneys/ probation officers/ drug testing facilities over the time that the case is active.
>
> I've played around with ofbiz, adding data  using the various ootb components and I've tried the getting started tutorial, successfully adding the ofbiz demo plugin. That went fine. Now I am trying to figure out how to implement a solution. I am thinking that the Project component would be a good place to start because I can make a "Defendant"  project and add attorney / probation officer / reviewer resources, then an administrator could create phases like "Initial Counsultation, Drug Testing, etc"
>
> Does this sound like I am on the right track? Or should I be looking at it differently?
>
>