Difference between revisions of "Credit Limit Tests"

From Opentaps Wiki
Jump to navigationJump to search
(New page: These tests verify how credit limits will be observed. The seed data contains an account with partyId acctlimit100 with a credit limit of $100: '''Action''' Create a sales invoice in fi...)
 
m (Protected "Credit Limit Tests": Sysop page [edit=sysop:move=sysop])
(No difference)

Revision as of 21:43, 20 September 2007

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

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.

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.

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.

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.

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.

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.

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 billed to the payment.