David,
I did do the search. Yes, I know the "Production Run to Order Item link" has to do with entity
WorkOrderItemFulfillment. Which is why I mentioned that I "noticed that the only way workEfforts
are attached to sales orders are when a customer confirms an order". I just was so tired I didn't
complete that sentence. I meant to tie workEffort to sales order items, not sales orders. I made
the corrections in my 2nd (or 3rd) post stating "consider that I meant 'sales order items' when I
say 'sales orders'".
Sorry to have split the post into 3 parts like that. Confusing. I was squeezing the last ounces of
energy before I fell asleep. Even the subject title is wrong. Should be "Can we link WorkEffort to
sales order items?".
Let me clarify my post(s) in this thread.
I know for a fact that the only place a WorkOrderItemFulfillment is created is when a customer
(from storefront) confirms and order (confirmOrder service). I haven't confirmed for what types of
products OFBiz will create a WorkOrderItemFulfillment entry. But I know enough for now, knowing
that a WorkOrderItemFulfillment entry is not created elsewhere. Was hoping someone would say "it's
not there! and here's how I'd recommend extending OFiz...".
(Gee, WorkOrderItemFulfillment is such a mouthful. If not for Emacs auto-complete, I'd be so...
finger-tied?)
Can someone who's dealt with manufacturing industries tell me whether it's correct to link
WorkEffort to OrderItem? (Phew, at least that's easier than WorkOrderItemFulfillment).
David, I'm just curious, and this is no reflection on your part at all. Do you (or do you even
have time) to look through a poster's posts to get a feel for where the poster is coming from
before responding in the right context? Not that you should have any obligation to at all! You
certainly sound very very busy. I'm just curious.
Jonathon
David E. Jones wrote:
The best place to find anything like this is to start with the data
model... You can either search the entitymodel*.xml files, or use the
Entity Reference pages in the WebTools webapp.
Anyway, for this the entity you'd want to look at is
"WorkOrderItemFulfillment". Just do a text search across the source tree
to see everything related to it. Especially once you're used to the
OFBiz framework patterns (easily learned of by reviewing the Framework
Introduction videos a few times) this is a fast and easy way to get a
summary of functionality related to certain data elements.
-David
On Jan 13, 2007, at 11:04 AM, Jonathon -- Improov wrote:
Sigh, I must be getting sleepy. Let me try again.
I want users to easily see that a workEffort (ShowProductionRun) ties
to a Sales Order, and vice versa (orderview). I believe this is just a
matter of changing the UI at EditProductionRun.ftl and the
corresponding EditProductionRun.bsh. Maybe above the label "Order
Items", we have label "Sales Order".
More than the above, I would like a workEffort to tie to Sales Order
Items. A single Sales Order may contain a myriad of different products
that require different routings to manufacture. And I'm pretty sure
each workEffort can only be created for ONE product, not a bag or
collection of different products.
Can the above be done?
Jonathon
Jonathon -- Improov wrote:
Sorry, correction.
I need to attach workEfforts to sales order items. I know I can
attach workEfforts to sales orders. So, for my previous post in this
thread, consider that I meant "sales order items" when I say "sales
orders".
Are workEfforts and production runs one and the same?
Jonathon
Jonathon -- Improov wrote:
I noticed that the only way workEfforts are attached to sales orders
are when a customer confirms an order.
Is there a way to attach workEfforts or production runs to sales
orders?
Jonathon