Here is the error when I try to quick ship a Product who's Product Type Id is
Service. I can post more of the log if you like. I dont get the
ProductAverageCost problem with a regular Product? BTW, I have already added a
Price Type: Average Cost, Purpose: Purchase/Initial. Do I have to link it to
Party Company?
Thanks again for the help. Michael
The Following Errors Occurred:
* ERROR: Could not complete the Sub-method used by quickShip methods to
create a shipment
[file:/C:/dev/opentaps-0.9.0/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup]
process [problem invoking the [updateShipment] service with the map named
[packedContext] containing [[shipmentId=10080, statusId=SHIPMENT_SHIPPED,
userLogin=[GenericEntity:UserLogin][createdStamp,2006-06-23
18:42:10.047(java.sql.Timestamp)][createdTxStamp,2006-06-23
18:42:09.578(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-07-07
11:29:30.326(java.sql.Timestamp)][lastUpdatedTxStamp,2006-07-07
11:29:30.326(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,ad
min(ja
va.lang.String)], locale=en_US]]: Problems with the transaction. (The current
transaction is marked for rollback, not beginning a new transaction and
aborting current operation; the rollbackOnly was caused by: Service Error
[postShipmentToGl]: No ProductAverageCost found for productId [MAXSP-OPT-0011]
and organization [Company].)]
-------------- Original message ----------------------
From: [EMAIL PROTECTED]
> Thanks for the prompt reply!
> Yes, the service is something that our company does. (Sorry for the
> ambiguity,
> I'm not referring to an ofbiz service in the ofbiz java/mini-lang/ECA sense
> of
> the term.)
> To illustrate, we sell some Products, for example we sell some computers, and
> we
> offer some Services, for example we fix your computer if it's broken. We
> charge
> for the Products and Services. So I can enter a new Product and ship it (a
> new
> PC)and enter a payment and see all the workings in the accounting books. But
> if
> I create a new Product that is a Service, does it make sense to 'ship' that
> Service? like this:
> Catalog | Main | Create New Product | <enter some info here> ... Product Type
> dropdown: I choose Service | give it a price, put it in a category and a
> catalog
> etc
>
> I place an order for that Product who's Product Type is Service. Go through
> the
> entire order process, when I finally get to the Order #WS12345 Information
> page,
> this order is still only an order, it isnt a sale, so it's not in the
> accounting
> books. What do I do next to convert this order into a sale? With a regular
> Product (Finished Good) I can ship it and it converts into a sale and I see
> it
> in the accounting books. However, with a Service, is it appropriate to 'ship'
> the service? Do I click on 'quick ship' to indicate that the service has been
> provided?
>
> Thanks for your help. Michael
>
> -------------- Original message ----------------------
> From: BJ Freeman <[EMAIL PROTECTED]>
> > need to know more about the service like is this something you do or
> > something someone else does that is not connected with ofbiz
> >
> > [EMAIL PROTECTED] sent the following on 8/3/2006 11:24 AM:
> > > Hi,
> > > How do I get a service into the books?
> > > Here are my assertions: (correct me if I'm wrong)
> > >
> > > 1) A Product must be shipped or packed before an invoice is generated and
> the
> > transaction put in the books.
> > >
> > > 2) A service (which is a special type of Product) cannot be shipped or
> packed.
> > >
> > > So I must be missing something, if the only way to get the Order into the
> > accounting books (convert it to a sale) is to ship it and a Service
> > (product)
> > cannot be shipped, then I cannot convert a Service into a sale.
> > > is there some other mechanism to get the fulfillment of a service into
> > > the
> > accounting books, ie convert a service into a sale?
> > >
> > > Thanks Michael
> > >
>
>