WorkEffort question

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

WorkEffort question

Bilgin Ibryam
Hi ofbizians,

I am looking at WorkEfforts and i am little confused. I see that orders, quotes, requests can be associated to WorkEfforts. This is what i need. My question is why this connection (for example OrderHeaderWorkEffort enity) do not use fromDate - thruDate pattern ? If i delete an order from workeffort it is removed from OrderHeaderWorkEffort entity and it is not logged anywhere that this order was associated to this workeffort.
I checked in Data Model book but could not see anything related to this entity. May be i am missing something obvious.
Any help is appreciated.

Bilgin Ibryam
Reply | Threaded
Open this post in threaded view
|

Re: WorkEffort question

Jacques Le Roux
Administrator
This is done thru the WorkEffortAssoc isn'it ?

Jacques

De : "Bilgin Ibryam" <[hidden email]>

>
> Hi ofbizians,
>
> I am looking at WorkEfforts and i am little confused. I see that orders,
> quotes, requests can be associated to WorkEfforts. This is what i need. My
> question is why this connection (for example OrderHeaderWorkEffort enity) do
> not use fromDate - thruDate pattern ? If i delete an order from workeffort
> it is removed from OrderHeaderWorkEffort entity and it is not logged
> anywhere that this order was associated to this workeffort.
> I checked in Data Model book but could not see anything related to this
> entity. May be i am missing something obvious.
> Any help is appreciated.
>
> Bilgin Ibryam
> --
> View this message in context: http://www.nabble.com/WorkEffort-question-tf4641185.html#a13255721
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: WorkEffort question

Bilgin Ibryam

Jacques,

Not WorkEffortAssoc , i am asking about OrderHeaderWorkEffort entity.
It has only two fields :
        <field name="orderId" type="id-ne"></field>
        <field name="workEffortId" type="id-ne"></field>

This entity is populated from WorkEffort->Orders screen. There you can add order Ids to the current workeffort. But there is also a delete button, which removes this workEffort <-->OrderHeader association.
If we add from thru dates to this entity, we can keep the associated orders history.
Before creating a jira issue, i wanted to ask is there a special reason for not adding from-thru date fields to  OrderHeaderWorkEffort entity?

Any feedback is appreciated.
Reply | Threaded
Open this post in threaded view
|

Re: WorkEffort question

David E Jones

On Oct 20, 2007, at 6:48 PM, Bilgin Ibryam wrote:

>
>
> Jacques,
>
> Not WorkEffortAssoc , i am asking about OrderHeaderWorkEffort entity.
> It has only two fields :
>         <field name="orderId" type="id-ne"></field>
>         <field name="workEffortId" type="id-ne"></field>
>
> This entity is populated from WorkEffort->Orders screen. There you  
> can add
> order Ids to the current workeffort. But there is also a delete  
> button,
> which removes this workEffort <-->OrderHeader association.
> If we add from thru dates to this entity, we can keep the  
> associated orders
> history.
> Before creating a jira issue, i wanted to ask is there a special  
> reason for
> not adding from-thru date fields to  OrderHeaderWorkEffort entity?
>
> Any feedback is appreciated.
This probably isn't what you're looking for, but is the real answer  
to the question:

What would it mean to have (or what would you do with) from/thru  
dates on that entity?

That's why they aren't there.

-David


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

Re: WorkEffort question

Bilgin Ibryam

David,
>What would it mean to have (or what would you do with) from/thru
>dates on that entity?

I want to create workEffort (tasks) to users, then to associate orders to this task, meaning this person with this task is responsible for taking care (= completing the order, and RECEIVING PAYMENTS for the order invoices) of these orders. But at some point i want to know which orders are ready and could be removed from task (workEffort). Inserting from thru dates, i can track which orders were associated and when removed (completed) from task.
This is why i need from thru dates and even statusId fields in OrderHeaderWorkEffort.

Donot understand me wrong. I am not saying that these fields should be added. I am just asking what is the purpose of this entity and "is it a good idea to add these fields and commit back to ofbiz" ?

Thanks for commenting and your time.
Reply | Threaded
Open this post in threaded view
|

Re: WorkEffort question

Bilgin Ibryam
In reply to this post by Bilgin Ibryam
May be someone can give me an idea, how can i associate orders and created invoices to a person who should be responsible for completing the orders and receiving the payments to invoices. For now i guess only through creating workeffort and using OrderHeaderWorkEffort to assign orders ?

Any comments are appreciated.
Reply | Threaded
Open this post in threaded view
|

Re: WorkEffort question

Jacopo Cappellato
In reply to this post by Bilgin Ibryam
Bilgin Ibryam wrote:

>
> David,
>> What would it mean to have (or what would you do with) from/thru
>> dates on that entity?
>
> I want to create workEffort (tasks) to users, then to associate orders to
> this task, meaning this person with this task is responsible for taking care
> (= completing the order, and RECEIVING PAYMENTS for the order invoices) of
> these orders. But at some point i want to know which orders are ready and
> could be removed from task (workEffort).

What about using one task per order? In this way when the task is
completed-->the order is ready too; you can group together many tasks
associating them to one work effort (if you need it).

Does it make sense?

Jacopo

> Inserting from thru dates, i can
> track which orders were associated and when removed (completed) from task.
> This is why i need from thru dates and even statusId fields in
> OrderHeaderWorkEffort.
>
> Donot understand me wrong. I am not saying that these fields should be
> added. I am just asking what is the purpose of this entity and "is it a good
> idea to add these fields and commit back to ofbiz" ?
>
> Thanks for commenting and your time.

Reply | Threaded
Open this post in threaded view
|

Re: WorkEffort question

Bilgin Ibryam

Jacopo,

I also had this in mind but was not sure that it is a good idea. (Also i was afraid to manipulate so many  tasks :)
Now i am sure that this is the right way. I should create a main task, and child tasks for every order associated to the main task.

Thansks Jacopo