Hi all, Jacopo,
I have noticed couple of issues that are connected to billing accounts, but
I am not so familiar with
accounting processes and I want to ask couple of question(maybe Jacopo would
give me answers).
1. After the recent re-factoring of billing accounts every order that is
created and payed with billing account
is associated to this particular account. The invoice for this order is
associate to the account too.
I was wondering how the payment for this invoice should be applied to the
invoice and billing account:
- only to the billing account;
- to the billing account and invoice;
- only to the invoice;
I think that the payment should be applied to the both, but I am not sure.
2. What is the meaning of the term "billing account available balance"? The
method that calculates this value
(getBillingAccountAvailableBalance) performs this formula:
availableBalance = accountLimit - accountBalance;
so if they are created orders with amount 200$, payed via billing
account(but the payments are not received yet)
and the account limit is 10000$
availableBalance = 200$ = 10000(limit) - 9800(billing account balance);
Is this correct? I mean the name of this value.
3. What is the meaning of the term "billing account net balance"?
4. What is the meaning of the term "amount available to capture"?
The comment of the method that calculates this amount is:
"Returns the amount of the billing account which could be captured"
the only place that this method is used is while payments are applied to
billing and there is a comment:
"when creating a new PaymentApplication, check if there is sufficient
balance in the billing account"
but the method performs this formula:
availableToCapture = accountLimit - accountNetBalance
If we use the mentioned situation:
availableToCapture = 10000; because the accountNetBalance = 0;
I think that this is a little bit confusing.
Sorry about the big amount of the questions but if someone can clarify to me
these terms, that are accepted in OFBiz,
maybe I would be able to create some issues, that would improve the billing
accounts behavior.
Regards,
Rashko Rejmer
--
View this message in context:
http://www.nabble.com/Question-about-Billing-Accounts-tf4056081.html#a11521720
Sent from the OFBiz - User mailing list archive at Nabble.com.