Hello Pierre, Would you please create a production run on the demo system where I can see the calendar for a fixed asset? This will be of a great help as I can examine the data model from web tools.
Regards, Emad On Sat, Jun 29, 2024 at 12:35 PM Emad Radwan <[email protected]> wrote: > Thanks for your explanation. > > On Fri, Jun 28, 2024 at 8:53 PM Pierre Smits <[email protected]> > wrote: > >> Hi Emad, >> >> >> I looked at >> https://demo-trunk.ofbiz.apache.org/manufacturing/control/FindProductionRun >> but found no production run created. >> >> Then I took a look at >> https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/WorkEffort/10000 >> and found it. I trust it is yours. Or did you create the production run in >> another demo site (stable or latest)? >> >> Anyway, >> https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/WorkEffort/10000 >> is not a production run, but rather a schema definition for production runs >> to use. As you can see, no fixedAssetId has been set on the record. Which >> should be obvious, as assets are to be associated with schema tasks and/or >> production run tasks. >> >> I trust the above helps. >> >> >> >> >> Met vriendelijke groet, >> >> Pierre >> >> >> On Fri, Jun 28, 2024 at 1:49 PM Emad Radwan <[email protected]> >> wrote: >> >>> Hello Pierre, >>> >>> Please have a look at the online demo where I just created a production >>> run - # 10000 - that uses the 'PROD_MANUF' product and 'ROUTING_COST' >>> workeffort. I know that fixed asset 'WORKCENTER_COST' is involved, but when >>> I navigate to Fixed Assets-> Calendar as you mentioned I don't see the >>> created workefforts listed for today whatever the status of the production >>> run is. What am I doing wrong here? >>> >>> As for your explanation about the other resources collide, I think it >>> makes very much sense. Thanks. >>> >>> Regards, >>> Emad >>> >>> On Fri, Jun 28, 2024 at 12:21 PM Pierre Smits <[email protected]> >>> wrote: >>> >>>> Hi Emad, >>>> >>>> My apologies for this late reaction. I waited whether another community >>>> member would respond. >>>> >>>> IMO, you wouldn't need a calendar definition for each individual asset. >>>> As you can see in the Asset Management plugin when you access an >>>> asset. it has the tab calendar showing the work efforts related to that >>>> asset. What is missing in that plugin is a means to get to a calendar for >>>> all assets related work effort purpose types (WEPT_MAINTENANCE, >>>> WEPT_PRODUCTION_RUN, etc.) >>>> >>>> Similarly, in the Manufacturing plugin what you see missing is a easy >>>> means to a calendar showing running and future production runs and their >>>> tasks. >>>> >>>> As your second question, a implementing to stop creating a production >>>> run when a resource (person or equipment) is associated with a task in >>>> progress (and thus a production run in progress) is a wrong approach. >>>> Creating the project run is a planning activity. One of the tasks of a >>>> Production Manager is to ensure the optimized utilization of limited >>>> resources (persons AND equipment). And take decisions when future >>>> production run tasks collide with others vis-a-vis the resources required. >>>> >>>> In OFBiz Manufacturing, the Production Manager can adjust (estimated) >>>> start and stop times of future (non-started) task to prevent such >>>> collisions, The Production Manager can also change resources on those >>>> tasks. >>>> >>>> I trust the above helps. If you have further questions and/or remarks >>>> regarding this, please do not hesitate. >>>> Met vriendelijke groet, >>>> >>>> Pierre Smits >>>> *Proud* *contributor** of* Apache OFBiz <https://ofbiz.apache.org/> since >>>> 2008 (without privileges and banned) >>>> Proud contributor to the ASF since 2006 >>>> *Apache Directory <https://directory.apache.org>, PMC Member* >>>> >>>> Anyone could have been you, whereas I've always been anyone. >>>> >>>> >>>> On Wed, Jun 26, 2024 at 8:15 AM Emad Radwan <[email protected]> >>>> wrote: >>>> >>>>> Hello Community, >>>>> >>>>> Let me be more specific regarding the below: >>>>> >>>>> 1- Each fixed asset should have its own calendar; correct? >>>>> 2- Is there a mechanism currently to stop creating a production run >>>>> that >>>>> uses fixed assets that are in another 'running' production run? >>>>> >>>>> Regards, >>>>> Emad >>>>> >>>>> ---------- Forwarded message --------- >>>>> From: Emad Radwan <[email protected]> >>>>> Date: Sun, Jun 23, 2024 at 6:41 PM >>>>> Subject: WorkEffort, Fixed Asset and Calenndar >>>>> To: <[email protected]> >>>>> >>>>> >>>>> Hello Community, >>>>> I'm trying to understand the relationship between the above artifacts, >>>>> and >>>>> my question is, do we have calendar events for a fixed Asset when it's >>>>> used >>>>> in a manufacturing workeffort? >>>>> >>>>> To add more context, TechDataCalendar and related table data are used >>>>> when >>>>> calculating the endDate for a Routing Task but I see the code only >>>>> reading >>>>> from those tables but where is the persistence is taking place. >>>>> >>>>> The ultimate desired behavior is to be able - when navigating from >>>>> Accounting->Fixed Assets->Calendar - is to see the work happening on >>>>> the >>>>> fixed asset - the actual workeffforts - visible in the calendar. >>>>> >>>>> Is that possible? >>>>> >>>>> Regards, >>>>> Emad >>>>> >>>>
