Difference between revisions of "Credit Limit Tests"

From Opentaps Wiki
Jump to navigationJump to search
 
Line 1: Line 1:
These tests verify how credit limits will be observed.  The seed data contains an account with partyId acctlimit100 with a credit limit of $100:
+
These tests verify how credit limits will be observed.  The seed data contains an account with partyId accountlimit100 with a credit limit of $100:
  
 
__TOC__
 
__TOC__

Latest revision as of 17:46, 24 September 2007

These tests verify how credit limits will be observed. The seed data contains an account with partyId accountlimit100 with a credit limit of $100:

Invoicing Only

Approve Invoice Below Credit Limit

Action

Create a sales invoice in financials with a total of $50 and set the invoice to READY.

Result

Invoice is successfully created and set to READY. In Financials > Receivables >> Balances by Customer, you can see this customer has a balance of $50.

Approve Invoice Above Credit Limit

Action

Create a second sales invoice in financials with a total of $100 and set the invoice to READY.

Result

Invoice cannot be set to ready because it would exceed credit limit.

Use Deposit to Prepay for Invoice

Action

Receive a payment from this account of $100 of type "Customer Deposit". Set it to Received. Then go back to mark the invoice as READY again.

Result

Invoice is successfully set to Ready. Customer balance is still $50.

Orders and Shipping

Shipping Order under Credit Limit

Action

Receive a payment for $50 and make sure that the customer balance is now 0 again. Create a sales order for $50 or so for customer in CRMSFA using "offline payment" method. Pack and ship order in warehouse.

Result

Order should ship successfully. Customer balance should be value of new invoice.

Shipping Order over Credit Limit

Action

Try creating another order for "offline payment" and then shipping it so that the total customer balance would exceed $100.

Result

Order should not be shippable from warehouse packing because customer credit limit is exceeded.

Credit Card Orders

Action

Create an order with a credit card as payment method for the item GZ-1005. Go to warehouse > shipping and pack this order.

Result

This order should ship successfully and be billed to the credit card.

Receive Payment and Shipping Order

Action

Go to CRMSFA > Orders to find the unshipped order. Then use [Receive Payment] to receive a check for the order. Then go to warehouse and pack and ship the order.

Result

Order should ship successfully and be paid with the check payment.