Billing Account Tests

From Opentaps Wiki
Revision as of 01:11, 13 September 2007 by Sichen (talk | contribs) (New page: __TOC__ ===Create a new billing account=== '''Action''' Go to Financials > Receivables > Create New Billing Account and create a new billing account '''Result''' You should be able to...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Create a new billing account

Action

Go to Financials > Receivables > Create New Billing Account and create a new billing account

Result

You should be able to find the account you just created. The initial net balance should be zero and the available balance should be account limit - net balance.

When you start creating a sales order for the account, it should show up as a payment method available if the accountLimit is greater than zero.

Create a store credit refund

Action

Use order manager to create and complete a return for "store credit."

Result

You should be able to find the billing account in Financials > Receivables > Find Billing Account. It should also be available for making sales orders.

Action

Also try refunding to an existing billing account.

Result

Financials > Receives >> View Billing Accounts should show that refund on the billing account's transaction history and it should increase its available balance.

Create a sales order w/ billing account

Action

Create a sales order with the billing account.

Result

The order should be automatically approved. You should see it in the list of pending orders. The account's net balance should not be affected, but its available balance should be reduced.

Ship and invoice an order w/ billing account

Action

Ship and invoice the order with the billing account.


Result A Payment with the billing account should be made to the order. The billing account's net should be reduced and will now be equal to the available balance from #3 above. The pending order should disappear from view. The invoice should show up on the transaction history. Financials > Customer Statement and > Balances by Customer should still be the same: the customer has actually not put new money into your company, so his outstanding balance is the same.

Receive payment to billing account

Action

Financials > Find Billing Account > view billing account > Receive Payment.

Result

You should see the billing account net balance be lower (if zero or negative, more negative) and available balance increase by the amount of the payment. The payment should show on the history of transactions with correct type and paymentId. Financials > Customer Statement should and Balances by Customer should show the customer's balance being reduced.

Pay outstanding sales invoice w/ billing account

Action

Use Financials > Find Billing Account > view billing account > Pay Invoice.

Result

Effect should be same as "Ship and invoice order with billing account" above.

Billing account transaction history

Action

Use Financials > Find Billing Account > view billing account to view the billing account.

Result

Whenever view billing account, there should be a transaction history showing all past payments and invoices and net balance and available balance, which should add up to the one displayed on the header.

Balance limit test

Action

Try applying an amount greater than the billing account's *available* balance to pay for an invoice.

Result

You should get an error