You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Storm Trinh (JIRA)" <ji...@apache.org> on 2015/08/17 11:57:45 UTC
[jira] [Commented] (OFBIZ-6113) Problem with Financial Account ?
[ https://issues.apache.org/jira/browse/OFBIZ-6113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699297#comment-14699297 ]
Storm Trinh commented on OFBIZ-6113:
------------------------------------
Thank Sharan Foga,
I'm sorry for my late reply.
Payment is created but it is only one payment, while we receipt form 2 payment method ==> 2 payments created.
When i trace source code, If I remember correctly, the error by method "receiveOfflinePayment" [OrderManagerEvents.java] when we call service "createPaymentFromOrder".
Specifically, finnished one payment method and return.
OrderChangeHelper.approveOrder(dispatcher, userLogin, orderId);
return "success";
Maybe, the error by check "orderPaymentPrefAndPayments" if it is not empty in service "createPaymentFromOrder".
Thank :)
> Problem with Financial Account ?
> --------------------------------
>
> Key: OFBIZ-6113
> URL: https://issues.apache.org/jira/browse/OFBIZ-6113
> Project: OFBiz
> Issue Type: Bug
> Components: accounting
> Affects Versions: Release Branch 12.04, Release Branch 13.07
> Reporter: Storm Trinh
> Assignee: Sharan Foga
>
> 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.
> 2. Problem with transaction when we use financial account.
> When we receipt with financial account,
> Payment :
> Debit = 100$ - Post To Gl Account Id Financial Account (122100)
> Credit = 100$ - Accounts Receivable (120000)
> When we use bank Bank Reconciliation, transaction is :
> Debit = 100$ - Post To Gl Account Id Financial Account (122100)
> Crebit = 100$ - Post To Gl Account Id Financial Account (122100)
> ===> In GL : Debit 122100= 200$, Credit 122100= 100$
> In fact, Debit 122100= 100$, Credit 122100 = 0$
> Thanks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)