Hi Muhammad

If the 'Quick Ship Entire Order' button is still not appearing in the
Actions box (NOTE: When it is displayed it will be above the 'View/Edit
Delivery Schedule Info' button) then I would suggest that you check that the
amount that you received was equal to or more than the Sales Order amount.

I think there are some minor rounding problems so check that the amount that
you entered for the payment received equals (or is more than) the total
Sales Order amount. If the amount received is less than the Sales Order
amount then the 'Quick Ship Entire Order' button wont display. If necessary
you can receive another payment for the same sales order by pressing the
'Receive Payment' button again.

It's only when you press the 'Quick Ship Entire Order' button that the main
3 accounting transactions are triggered. These are as follows:

1. Sales Shipment 
2. Sales Invoice
3. Payment Applied 

The invoice for the sales order isnt generated until the Sales Order is
shipped so this is why you cant apply the payment.  

You should be able to confirm a payment even if the invoice hasnt yet been
created so it sounds like there could be a possible bug that needs to be
reported. 

On a general note – if you are getting errors about your GL accounts not
being defined then it sounds like you need to verify your accounting and
general ledger setup. I've been writing some documentation about OFBiz
accounting setup and some of the default transactions on the wiki that might
help. See links below.:

http://docs.ofbiz.org/display/OFBIZ/Default+Accounting+Transactions
http://docs.ofbiz.org/display/OFBIZ/11+General+Ledger

Thanks
Sharan

Muhammad Aamir wrote:
> 
> Thanks again Sharan.
> 
> I did what you said and was able to receive payment successfully. However,
> I
> still didn't see any action/link for shipment. When I checked GL, the
> trasnaction was there. I saw Payment as well but it was not confirmed.
> When
> I tried to confirm, it said that the payment was no applied. (Also why
> there
> is no invoice?)
> 
> Another weird thing I noticed is that when I tried to receive payment, it
> gave me an error that GL account is not defined and transaction is rolled
> back. However, in order header I noticed that payment received entry was
> created, although no accounting transaction was created. My question is
> that
> why data can be corrupted that easily, if a transaction was rolled back,
> it
> should not save any thing but in this case it seems that payment receival
> entry was created and then GL code exception occurs and it couldn't
> rollback
> the payment receival entry.
> 
> Thanks
> Muhammad Aamir
> 
> On Mon, Mar 30, 2009 at 5:35 AM, Sharan-F <[email protected]> wrote:
> 
>>
>> 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.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-do-Shipment-for-Sales-Order-tp22694492p22792716.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to