Skip to content

Free guide

Trace a repair ticket from storage to screen

Find out why a row or one of its labels is missing.

Why it matters

A mechanic scheduling a repair needs to distinguish an absent ticket from a missing part estimate.

Core concepts

Worklist membership

The page loads tickets assigned to the shop and filters them by state.

Optional details

A second lookup supplies the estimated parts date. Show an unknown date if that lookup has no result.

Try it step by step

  1. Create a fictional ticket in the waiting state.
  2. Check the shop, state and worklist filter.
  3. Compare the stored ticket and the parts lookup with what appears on screen.

Write the expected result for each test case before running it.

Worked example

A bicycle shop sees ticket B-7 on its repair desk with a blank parts date. The ticket loaded. The mechanic can now check the parts request without reopening the ticket.

Common mistake

Assuming a missing label means a record was deleted.

Practice exercise

Write one test for a missing ticket and one for a visible ticket with no parts estimate.

Check your understanding

Which lookup explains a blank parts date on a visible ticket?

  1. The parts request
  2. The shop logo
  3. The ticket count
Show answer

The parts request. Find which step supplies each visible fact.

Takeaway

Find which step supplies each visible fact.

Browse more lessons