Difference between revisions of "Lockbox Tests"

From Opentaps Wiki
Jump to navigationJump to search
m (Protected "Lockbox Tests": Sysop page [edit=sysop:move=sysop])
Line 1: Line 1:
 
From a fresh database installed with demo seed data:
 
From a fresh database installed with demo seed data:
  
  1. go to /financials/control/manageLockboxBatches
+
# go to /financials/control/manageLockboxBatches
  2. upload hot-deploy/financials/data/TestLockbox.mbx
+
# upload hot-deploy/financials/data/TestLockbox.mbx
  3. open the first batch TestLockbox030
+
# open the first batch ''TestLockbox030''
  4. the first check has one application with error (Error - No Customer # - Bad Invoice #)
+
# the first check has one application with error (Error - No Customer # - Bad Invoice #)
          * create an application of the remaining 900.75$ to any customer  
+
#* create an application of the remaining 900.75$ to any customer  
  5. the second check should already be fully applied and Ready
+
#* the check is then marked as Ready
  6. the third check has two application lines
+
#* the created application displays the note ''No Invoice #''
          * none of the two should have any applied amount since one of them has an error (Lockbox Amount Greater Than Invoice Open Amount)
+
# the second check should already be fully applied and marked as Ready
          * apply 500$ and 100$ of cash discount to invoice LB0003 to completely apply the invoice
+
# the third check has two application lines
          * create an application of 500$ to LB0002
+
#* none of the two should have any applied amount since one of them has an error (Lockbox Amount Greater Than Invoice Open Amount)
          * create an application of the remaining 500$ to customer DemoLBAcct
+
#* apply 500$ and 100$ of cash discount to invoice ''LB0003'' to completely apply the invoice
          * the check and applications are Ready  
+
#* create an application of 500$ to ''LB0002''
  7. the last check is applied to DemoLBCust / LB0004
+
#* create an application of the remaining 500$ to customer DemoLBAcct
          * 1250$ should already be applied
+
#* the check and applications are Ready  
          * add 300$ of cash discount to completely apply the invoice
+
# the last check is applied to ''DemoLBCust'' / ''LB0004''
          * the check and application are both Ready
+
#* 1250$ should already be applied
  8. all checks are now Ready
+
#* the check is Ready  and the application displays a note ''Partial Payment'' meaning that the invoice still has an outstanding amount
  9. click Process Items
+
# click Process Items
  10. all checks are now applied and
+
# all checks are now applied and
          * the batch pending amount is now 0$
+
#* the batch pending amount is now 0$
          * there should be no form input to play with
+
#* there should be no more form input available
          * trying to click on Process Items results in error No line ready to process found.
+
#* 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
+
#* since we fully applied all the invoices concerned except ''LB0004'', the open amount listed in ERP Invoice Amount should be 0$ for them
  11. check invoice LB0003 for example
+
# check invoice ''LB0003'' for example
          * invoice items total is 600$
+
#* invoice items total is 600$
          * payment applied is 500$
+
#* payment applied is 500$
          * invoice is now Paid
+
#* invoice is now Paid
 +
# check invoice ''LB0004''
 +
#* invoice items total is 1550$
 +
#* payment applied is 1250$
 +
#* invoice is still Pending
 +
# go back to the ''Manage lockbox'' screen
 +
#* ''TestLockbox030'' should be listed anymore
 +
# select the batch ''TestLockbox032''
 +
# the first check has 302.15$ applied but only 300$ remains for the invoice ''LB0004''
 +
#* disable the application by setting its amount to apply to 0$
 +
#* create an application to invoice ''LB0004'' with amount to apply 300$
 +
#* the check and applications are now marked Ready
 +
# click Process Items
 +
#* the check is applied
 +
# check invoice ''LB0004''
 +
#* invoice items total is 1550$
 +
#* two payments are applied: 1250$ (from the first batch) and 300$
 +
#* invoice is now Paid

Revision as of 14:07, 15 December 2008

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
    • the check is then marked as Ready
    • the created application displays the note No Invoice #
  5. the second check should already be fully applied and marked as 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
    • the check is Ready and the application displays a note Partial Payment meaning that the invoice still has an outstanding amount
  8. click Process Items
  9. all checks are now applied and
    • the batch pending amount is now 0$
    • there should be no more form input available
    • trying to click on Process Items results in error No line ready to process found.
    • since we fully applied all the invoices concerned except LB0004, the open amount listed in ERP Invoice Amount should be 0$ for them
  10. check invoice LB0003 for example
    • invoice items total is 600$
    • payment applied is 500$
    • invoice is now Paid
  11. check invoice LB0004
    • invoice items total is 1550$
    • payment applied is 1250$
    • invoice is still Pending
  12. go back to the Manage lockbox screen
    • TestLockbox030 should be listed anymore
  13. select the batch TestLockbox032
  14. the first check has 302.15$ applied but only 300$ remains for the invoice LB0004
    • disable the application by setting its amount to apply to 0$
    • create an application to invoice LB0004 with amount to apply 300$
    • the check and applications are now marked Ready
  15. click Process Items
    • the check is applied
  16. check invoice LB0004
    • invoice items total is 1550$
    • two payments are applied: 1250$ (from the first batch) and 300$
    • invoice is now Paid