Paycheck Tests

From Opentaps Wiki
Revision as of 23:12, 4 September 2007 by Sichen (talk | contribs) (New page: __TOC__ ==Finding Paychecks== '''Action'' Go to Financials > Employees and click on [Find Paycheck] Try using Payment ID of "DEMOPAYCHECK1", Pay to Party of "DemoEmployee", or Payment M...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Finding Paychecks

'Action

Go to Financials > Employees and click on [Find Paycheck] Try using Payment ID of "DEMOPAYCHECK1", Pay to Party of "DemoEmployee", or Payment Method of "Primary Checking Account" and click on [Find Paycheck]

Result

You should see a list of paychecks which includes DEMOPAYCHECK1

Action

Click on [Find Paycheck] without any conditions set

Result

You should see a list of all paychecks in the system be able to paginate through the list.

View a Paycheck

Action

Click on DEMOPAYCHECK1 after finding it

Result

You should see the paycheck of type "California Paycheck" which mirrors the items, due to parties, and amounts set up in hot-deploy/financials/data/DemoPaycheck.xml

Print Paycheck

Action

Click on [Print as Check] from the view DEMOPAYCHECK1 screen.

Result

You should see a PDF of a three-part check show up. The amount of the check should be the net amount of $2,510. The check should be made out to "Demo Employee" and show the address of the Demo Employee. The two lower parts of the check should repeat the following:

  • Gross amount of $5,000
  • Line by line listing of the withholdings as shown in DemoPaycheck.xml
  • Net amount of $2,510.