If you have a work item open, you can associate it with a change set by dragging the work item number shown at the top of the work item to Pending Changes, and dropping it on your change set there.
The revenue of each individual unshipped line item is calculated by the LineitemRevenue stage, and summed up to determine the pending revenue for each order.