[ 
https://issues.apache.org/jira/browse/OFBIZ-7805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379421#comment-15379421
 ] 

Sharan Foga commented on OFBIZ-7805:
------------------------------------

Thanks for the link Pierre. I can confirm that it is still happening in the 
trunk. Funny thing is that when you do a receive payment from a Sales Order 
using any of the payment methods then it wont create multiple payments, but if 
you use the payment types and have part as cash and part as company check then 
it will happily create multiple payments for the Sales Order.

In practice I have never come across why anyone would want a customer to pay 
them into two different bank accounts for the same sales order. Two different 
payment types (e.g cash, credit card or cheque - fine but not two bank 
accounts). So my initial thought is that we don't need to payment method types 
there at all as they covered in the lower part of the screen including the 
original issue logged by this Jira. The process to achieve multiple payments 
(and this may cover another issue you created somewhere about multiple payments 
for financial accounts because it will summarise them) is as follows:

1- Create Sales Order
2- Receive more than one payment using the payment types (e.g cash and company 
account)
3 -Deposit the payments into the Financial Account (if you are depositing 
multiple payment types it will create a deposit transaction which is a summary 
of all the individual transactions totalled into one transaction on the 
financial account
4 - You can then reconcile them as part of the Financial Account (Bank Account)

Will do a few more tests just to consolidate this. Thanks



> Problem creating multiple payments for Sales Orders
> ---------------------------------------------------
>
>                 Key: OFBIZ-7805
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7805
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 13.07
>            Reporter: Sharan Foga
>            Assignee: Sharan Foga
>            Priority: Minor
>
> Details taken from an issue reported by Storm Trinh.
> 1. We have some financial account (ex : ABN_CHECKING, SC_CHECKING ...)
> Create Sales Order ( chosen : Mail check / Money Order) : Amount = 100$
> Receipt payment:
>     Checking Account at ABN AMRO Bank (ABN_CHECKING) with amount = 20$
>     Checking Account at Standard Chartered Bank (SC_CHECKING) with amount = 
> 80$
>     OFBiz auto create one payment with the first paymentMethodTypes have 
> amount > 0 in paymentMethodTypes list (as financial account list).
>     In example : Payment
>     + Payment Type ID = Customer Payment
>     + Payment Method Type = Company Check
>     + Payment Method Id = ABN_CHECKING
>     + Amount = 100$ ( Service get amount = OrderHeader.grandTotal = 100$)
> We reciept from 2 financial account ==> we need create 2 payment, so I think 
> it is a bug.
> Other, OFBiz not show payment at "Payment Information" with this case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to