Lockbox Tests
From Opentaps Wiki
Revision as of 12:59, 15 December 2008 by Jwickers (talk | contribs) (Protected "Lockbox Tests": Sysop page [edit=sysop:move=sysop])
From a fresh database installed with demo seed data:
1. go to /financials/control/manageLockboxBatches
2. upload hot-deploy/financials/data/TestLockbox.mbx
3. open the first batch TestLockbox030
4. the first check has one application with error (Error - No Customer # - Bad Invoice #)
* create an application of the remaining 900.75$ to any customer
5. the second check should already be fully applied and Ready
6. the third check has two application lines
* none of the two should have any applied amount since one of them has an error (Lockbox Amount Greater Than Invoice Open Amount)
* apply 500$ and 100$ of cash discount to invoice LB0003 to completely apply the invoice
* create an application of 500$ to LB0002
* create an application of the remaining 500$ to customer DemoLBAcct
* the check and applications are Ready
7. the last check is applied to DemoLBCust / LB0004
* 1250$ should already be applied
* add 300$ of cash discount to completely apply the invoice
* the check and application are both Ready
8. all checks are now Ready
9. click Process Items
10. all checks are now applied and
* the batch pending amount is now 0$
* there should be no form input to play with
* trying to click on Process Items results in error No line ready to process found.
* since we fully applied all the invoices concerned, the open amount listed in ERP Invoice Amount should be 0$ for all invoices
11. check invoice LB0003 for example
* invoice items total is 600$
* payment applied is 500$
* invoice is now Paid