Hi Muhammad Your error message 'Failed to create Payment: Cannot get the ProductStore for the order header' is caused by something missing in your store setup. I did a test and managed to get this message appearing on my version of OFBiz too.
The 'Pay to Party Id' for your product store is blank so the system doesnt know how to handle to payment (it knows the customer but doesnt know who's going to receive the payment). You should be able to fix it as follows: 1. Go to 'Stores' tab in Catalog Manager 2. Select your store 3. A list of the configuration details for your store will be displayed 4. Go to the the 'Payments' part of the screen and click on the '+' to show the extra details 5. In the 'Pay to Party Id' make sure that this is 'Company' (Company is the default OFBiz company) 6. Press the 'Update' button Although you will now be able to receive the payment for your sales order – it will be better if you create a completely new sales order. This is because the data for your original sales order will be a little corrupted. What I mean here is that if you look at your order in Order Manager / Order List you may notice that the 'Bill From Party' and the 'Bill to Party' for that order are the same – and it shouldnt be. This was caused by not having the 'Pay to party id' setup. Also the sales order numbering sequence will be wrong as it didnt take any of the prefixes from the 'Company' accounting setup record. Hope this helps. Thanks Sharan BJ Freeman wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > sorry missed your using the trunk. > have you installed the demo data, or using only the seed data. > > > Muhammad Aamir sent the following on 3/29/2009 9:19 AM: >> Thanks a lot for replying. >> >> I tried what you said. However, when I tried to receive the payment and >> entered the amount as cash and pressed save button, it gave me following >> error: >> >> Failed to create Payment: Cannot get the ProductStore for the order >> header >> >> I clicked the back button and review the Sales order. Product store was >> there in the header, and I noticed the following in the Payment History >> box: >> >> A new line in status history: Received - 2009-03-29 18:24:47.106 By - >> [admin] >> >> and >> >> Max Amount: 10.00 Max Amount: 1000 [Received] >> >> Also, there is not accounting transaction or invoice created after that. >> >> Regards >> Muhammad Aamir >> >> >> >> >> >> >> On Sun, Mar 29, 2009 at 8:44 AM, Sharan-F <[email protected]> wrote: >> >>> Hi Muhammad >>> >>> The default OFBiz Sales Order process is based on the customer paying >>> you >>> before you ship the products. This means that normally for a standard >>> Sales >>> Order the 'Quick Ship Entire Order' button will not be displayed in the >>> action box until you have flagged that you have received the payment >>> from >>> the customer. >>> >>> (Note: There are some cases where the button is displayed but you need >>> to >>> have setup an billing agreement in OFBiz for that customer.) >>> >>> >>> Why dont you try this test: >>> >>> 1. Create a Sales Order >>> 2. Approve the Sales Order >>> 3. Press the 'Receive Payment' button on the Sales Order Screen >>> 4. Enter that you have received the full Sales Order amount in Cash >>> 5. Go back to the Sales Order screen >>> 6. You should find that the 'Quick Ship Entire Order' button is now >>> displayed in the Action box >>> >>> Hope this helps. >>> >>> Thanks >>> Sharan >>> >>> jacques.le.roux wrote: >>>> Attachments are not going through on Apache MLs. You may create a Jira >>>> issue or attach on the Nabble forum >>>> >>>> Jacques >>>> >>>> From: "Muhammad Aamir" <[email protected]> >>>>> OFBiz trunk. >>>>> >>>>> On Thu, Mar 26, 2009 at 11:12 PM, Jacques Le Roux < >>>>> [email protected]> wrote: >>>>> >>>>>> Are you sure you are using plain *Apache OFBiz* and not one of its >>> forks >>>>>> (ie Opentaps or Neogia) ? >>>>>> >>>>>> Jacques >>>>>> >>>>>> From: "Muhammad Aamir" <[email protected]> >>>>>> >>>>>> Thanks Pratik for the response. >>>>>>> There is no such link, actually Action box is not there where I >>>>>>> could >>>>>>> find >>>>>>> it. >>>>>>> >>>>>>> (Note: the screen shot is attached in first mail) >>>>>>> >>>>>>> Regards >>>>>>> >>>>>>> On Wed, Mar 25, 2009 at 7:54 AM, Pratik Khera >>>>>>> <[email protected]>wrote: >>>>>>> >>>>>>> Hello Aamir , >>>>>>>> There is a Label named as "Quick Ship Entire >>> Order" >>>>>>>> in >>>>>>>> Order View Screens on Order Detail Page.You can ship your order >>>>>>>> from >>>>>>>> here >>>>>>>> itself.Also there will be an option named as "New Shipment For >>>>>>>> Ship >>>>>>>> Group", >>>>>>>> you can also ship your order from here. >>>>>>>> >>>>>>>> Regards >>>>>>>> Pratik Khera >>>>>>>> >>>>>>>> >>>>>>>> Muhammad Aamir wrote: >>>>>>>> >>>>>>>> I created a sales order and then approved, but I couldn't figure >>>>>>>> out >>>>>>>> how >>>>>>>>> to ship to order items. There is no link in Sales Order screen for >>>>>>>>> the >>>>>>>>> shipment. (However I noticed that the inventory item have been >>>>>>>>> reserved >>>>>>>>> for >>>>>>>>> the order/shipment). >>>>>>>>> >>>>>>>>> Regards >>>>>>>>> Muhammad Aamir >>>>>>>>> >>>>>>>>> >>>>>>>> >>>> >>>> >>> -- >>> View this message in context: >>> http://www.nabble.com/How-to-do-Shipment-for-Sales-Order-tp22694492p22764663.html >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >>> >> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFJz/2crP3NbaWWqE4RAsnHAKCbrGXI7ObSeOtMGUBRS6lmL46PSgCcDvMH > 9+RW7PiTh3Sok1wHW4sep2I= > =/Rtb > -----END PGP SIGNATURE----- > > -- View this message in context: http://www.nabble.com/How-to-do-Shipment-for-Sales-Order-tp22694492p22775393.html Sent from the OFBiz - User mailing list archive at Nabble.com.
