Selling Service items
If you create a product that is a SERVICE (SV-1000 for example) and then sell one of them, how do you get an invoice from the sales screen? Normally, you ship stuff and then you get an invoice, but when you have no inventory associated with a product, you get no ship groups, etc as there is nothing to ship. If you try to quick ship, you get an error: ERROR: Could not complete the Issue OrderItemshipGrpInvRes to Shipment... I am about to modify the Ofbiz code to provide for "shipping" SERVICE items, but I cant believe that there is not already some provision for this. Can anyone provide and information? Skip
Re: Selling Service items
I was able to quick ship an order for SV-1000 with quantity 100 on trunk without any errors. On 12/05/2013 12:18 PM, Skip wrote: If you create a product that is a SERVICE (SV-1000 for example) and then sell one of them, how do you get an invoice from the sales screen? Normally, you ship stuff and then you get an invoice, but when you have no inventory associated with a product, you get no ship groups, etc as there is nothing to ship. If you try to quick ship, you get an error: ERROR: Could not complete the Issue OrderItemshipGrpInvRes to Shipment... I am about to modify the Ofbiz code to provide for "shipping" SERVICE items, but I cant believe that there is not already some provision for this. Can anyone provide and information? Skip
Re: Selling Service items
Hey Skip, I was able to accomplish it on the trunk with these steps: 1. Create a sales order for DemoCustCompany 2. Add 1 SV-1000 to the cart 3. Finalize and complete the order 4. Click "Approve Order" on order view page 5. Click "Quick Ship Entire Order" in Actions screen of order view page After step 5 a confirmation appears at the top of the page informing that a shipment was created. Two invoices are also created, one for the service and one for the demo promotion. On 12/05/2013 07:55 PM, Skip wrote: Give it a try on: https://demo-stable.ofbiz.apache.org/ordermgr/control/quickShipOrder I get exactly the same error message there as I do on my local machine. This is for a single sv-1000 to demoCustCompany. Skip -Original Message- From: Christian Carlow [mailto:christian.car...@gmail.com] Sent: Thursday, December 05, 2013 11:53 AM To: user@ofbiz.apache.org Cc: Skip Subject: Re: Selling Service items I was able to quick ship an order for SV-1000 with quantity 100 on trunk without any errors. On 12/05/2013 12:18 PM, Skip wrote: If you create a product that is a SERVICE (SV-1000 for example) and then sell one of them, how do you get an invoice from the sales screen? Normally, you ship stuff and then you get an invoice, but when you have no inventory associated with a product, you get no ship groups, etc as there is nothing to ship. If you try to quick ship, you get an error: ERROR: Could not complete the Issue OrderItemshipGrpInvRes to Shipment... I am about to modify the Ofbiz code to provide for "shipping" SERVICE items, but I cant believe that there is not already some provision for this. Can anyone provide and information? Skip
Re: Selling Service items
Here is the list of files with keyword "SERVICE_PRODUCT" that might be involved: applications/order/src/org/ofbiz/order/order/OrderServices.java applications/product/src/org/ofbiz/product/product/ProductWorker.java applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml On 12/06/2013 11:27 AM, Skip wrote: Christian Thanks for pointing this out, but I am using the "stable" version 12, not the trunk (presumably 13). If you give it a try on the Ofbiz demo web site at: https://demo-stable.ofbiz.apache.org/ordermgr/control/orderentry you get the error reported earlier. I cannot just move to version 13. This is a production system for a large company. To make that kind of leap, I have to go through a long alpha process, then a long beta process and then a long production test process. That took 3 months the last time I moved from version 9 to 12. So, I am hoping that the person who fixed this for version 13 can point me to the relevant code so I can backport the changes to version 12 and minimize the changes to just a small section of code that is more easily tested. This has obviouisly been fixed between version 12 and 13. Can someone point me to the relevant code? Thanks Skip -Original Message- From: Christian Carlow [mailto:christian.car...@gmail.com] Sent: Thursday, December 05, 2013 8:13 PM To: Skip; user@ofbiz.apache.org Subject: Re: Selling Service items Hey Skip, I was able to accomplish it on the trunk with these steps: 1. Create a sales order for DemoCustCompany 2. Add 1 SV-1000 to the cart 3. Finalize and complete the order 4. Click "Approve Order" on order view page 5. Click "Quick Ship Entire Order" in Actions screen of order view page After step 5 a confirmation appears at the top of the page informing that a shipment was created. Two invoices are also created, one for the service and one for the demo promotion. On 12/05/2013 07:55 PM, Skip wrote: Give it a try on: https://demo-stable.ofbiz.apache.org/ordermgr/control/quickShipOrder I get exactly the same error message there as I do on my local machine. This is for a single sv-1000 to demoCustCompany. Skip -Original Message- From: Christian Carlow [mailto:christian.car...@gmail.com] Sent: Thursday, December 05, 2013 11:53 AM To: user@ofbiz.apache.org Cc: Skip Subject: Re: Selling Service items I was able to quick ship an order for SV-1000 with quantity 100 on trunk without any errors. On 12/05/2013 12:18 PM, Skip wrote: If you create a product that is a SERVICE (SV-1000 for example) and then sell one of them, how do you get an invoice from the sales screen? Normally, you ship stuff and then you get an invoice, but when you have no inventory associated with a product, you get no ship groups, etc as there is nothing to ship. If you try to quick ship, you get an error: ERROR: Could not complete the Issue OrderItemshipGrpInvRes to Shipment... I am about to modify the Ofbiz code to provide for "shipping" SERVICE items, but I cant believe that there is not already some provision for this. Can anyone provide and information? Skip
Re: Selling Service items
You might also look into http://ofbiz.markmail.org/search/SERVICE_PRODUCT+list:org.apache.ofbiz.commits+order:relevance HTH Jacques On Friday, December 06, 2013 8:55 PM Christian Carlow wrote: > Here is the list of files with keyword "SERVICE_PRODUCT" that might be > involved: > > applications/order/src/org/ofbiz/order/order/OrderServices.java > applications/product/src/org/ofbiz/product/product/ProductWorker.java > applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml > applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml > > On 12/06/2013 11:27 AM, Skip wrote: >> Christian >> >> Thanks for pointing this out, but I am using the "stable" version 12, not >> the trunk (presumably 13). If you give it a try on the Ofbiz demo web site >> at: >> >> https://demo-stable.ofbiz.apache.org/ordermgr/control/orderentry >> >> you get the error reported earlier. >> >> I cannot just move to version 13. This is a production system for a large >> company. To make that kind of leap, I have to go through a long alpha >> process, then a long beta process and then a long production test process. >> That took 3 months the last time I moved from version 9 to 12. >> >> So, I am hoping that the person who fixed this for version 13 can point me >> to the relevant code so I can backport the changes to version 12 and >> minimize the changes to just a small section of code that is more easily >> tested. >> >> This has obviouisly been fixed between version 12 and 13. Can someone point >> me to the relevant code? >> >> Thanks >> Skip >> >> -Original Message- >> From: Christian Carlow [mailto:christian.car...@gmail.com] >> Sent: Thursday, December 05, 2013 8:13 PM >> To: Skip; user@ofbiz.apache.org >> Subject: Re: Selling Service items >> >> >> Hey Skip, >> >> I was able to accomplish it on the trunk with these steps: >> >> 1. Create a sales order for DemoCustCompany >> 2. Add 1 SV-1000 to the cart >> 3. Finalize and complete the order >> 4. Click "Approve Order" on order view page >> 5. Click "Quick Ship Entire Order" in Actions screen of order view page >> >> After step 5 a confirmation appears at the top of the page informing >> that a shipment was created. Two invoices are also created, one for the >> service and one for the demo promotion. >> >> On 12/05/2013 07:55 PM, Skip wrote: >>> Give it a try on: >>> >>> https://demo-stable.ofbiz.apache.org/ordermgr/control/quickShipOrder >>> >>> I get exactly the same error message there as I do on my local machine. >>> >>> This is for a single sv-1000 to demoCustCompany. >>> >>> Skip >>> >>> -Original Message- >>> From: Christian Carlow [mailto:christian.car...@gmail.com] >>> Sent: Thursday, December 05, 2013 11:53 AM >>> To: user@ofbiz.apache.org >>> Cc: Skip >>> Subject: Re: Selling Service items >>> >>> >>> I was able to quick ship an order for SV-1000 with quantity 100 on trunk >>> without any errors. >>> >>> On 12/05/2013 12:18 PM, Skip wrote: >>>> If you create a product that is a SERVICE (SV-1000 for example) and then >>>> sell one of them, how do you get an invoice from the sales screen? >>>> >>>> Normally, you ship stuff and then you get an invoice, but when you have no >>>> inventory associated with a product, you get no ship groups, etc as there >>>> is >>>> nothing to ship. If you try to quick ship, you get an error: >>>> >>>> ERROR: Could not complete the Issue OrderItemshipGrpInvRes to Shipment... >>>> >>>> I am about to modify the Ofbiz code to provide for "shipping" SERVICE >>>> items, >>>> but I cant believe that there is not already some provision for this. >>>> >>>> Can anyone provide and information? >>>> >>>> Skip