Skip to content

Instantly share code, notes, and snippets.

@kevinold
Created March 25, 2011 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kevinold/886994 to your computer and use it in GitHub Desktop.
Save kevinold/886994 to your computer and use it in GitHub Desktop.
Gist to run on jsfiddle.net via http://jsfiddle.net/gh/gist/jquery/1.3/886994/
In the box below type something like "all" or "exp" and the multi-select will be limited to options with a string matching your entry.
I have this working in Firefox 3.6, but it does not work in IE, Safari or Chrome. I am looking for help with this.
<br>
<br>
<input value="Start typing to search the list below ..." size="30" id="filter_available" style='color:#ccc'>
<br>
<br>
<select name="_valueavailable" size="20" multiple="multiple" id="_valueavailable">
<option title=" (USD)" value="2_Money-USD">Expenses - All expenses (USD)</option>
<option title=" (GBP)" value="2_Money-GBP">Expenses - All expenses (GBP)</option>
<option title=" (EUR)" value="2_Money-EUR">Expenses - All expenses (EUR)</option>
<option title="Money from receipts on approved and archived envelopes (USD)" value="te_approved_Money-USD">Expenses - Approved (USD)</option>
<option title="Money from receipts on approved and archived envelopes (GBP)" value="te_approved_Money-GBP">Expenses - Approved (GBP)</option>
<option title="Money from receipts on approved and archived envelopes (EUR)" value="te_approved_Money-EUR">Expenses - Approved (EUR)</option>
<option title="Count of approved receipts" value="te_approved_ticket_count">Expenses - Approved receipt count</option>
<option title="Money from receipts on open envelopes (USD)" value="te_open_Money-USD">Expenses - Open (USD)</option>
<option title="Money from receipts on open envelopes (GBP)" value="te_open_Money-GBP">Expenses - Open (GBP)</option>
<option title="Money from receipts on open envelopes (EUR)" value="te_open_Money-EUR">Expenses - Open (EUR)</option>
<option title="Count of open receipts" value="te_open_ticket_count">Expenses - Open receipt count</option>
<option title="Quantity from receipts" value="te_Quantity">Expenses - Quantity</option>
<option title="Count of receipts" value="te_ticket_count">Expenses - Receipt count</option>
<option title="Money from receipts on rejected envelopes (USD)" value="te_rejected_Money-USD">Expenses - Rejected (USD)</option>
<option title="Money from receipts on rejected envelopes (GBP)" value="te_rejected_Money-GBP">Expenses - Rejected (GBP)</option>
<option title="Money from receipts on rejected envelopes (EUR)" value="te_rejected_Money-EUR">Expenses - Rejected (EUR)</option>
<option title="Count of rejected receipts" value="te_rejected_ticket_count">Expenses - Rejected receipt count</option>
<option title="Money from receipts on submitted envelopes (USD)" value="te_submitted_Money-USD">Expenses - Submitted (USD)</option>
<option title="Money from receipts on submitted envelopes (GBP)" value="te_submitted_Money-GBP">Expenses - Submitted (GBP)</option>
<option title="Money from receipts on submitted envelopes (EUR)" value="te_submitted_Money-EUR">Expenses - Submitted (EUR)</option>
<option title="Count of submitted receipts" value="te_submitted_ticket_count">Expenses - Submitted receipt count</option>
<option title="Money from receipts (USD)" value="te_Money-USD">Expenses - Total (USD)</option>
<option title="Money from receipts (GBP)" value="te_Money-GBP">Expenses - Total (GBP)</option>
<option title="Money from receipts (EUR)" value="te_Money-EUR">Expenses - Total (EUR)</option>
<option title="" value="6">Expenses - lklklkjklkjk</option>
<option title="Count of agreements" value="tb_agreement_count">Invoices - Agreement count</option>
<option title="Money from agreements (USD)" value="tb_agreement_Money-USD">Invoices - Agreement total (USD)</option>
<option title="Money from agreements (GBP)" value="tb_agreement_Money-GBP">Invoices - Agreement total (GBP)</option>
<option title="Money from agreements (EUR)" value="tb_agreement_Money-EUR">Invoices - Agreement total (EUR)</option>
<option title="Money from all charges (USD)" value="tb_all_Money-USD">Invoices - All (USD)</option>
<option title="Money from all charges (GBP)" value="tb_all_Money-GBP">Invoices - All (GBP)</option>
<option title="Money from all charges (EUR)" value="tb_all_Money-EUR">Invoices - All (EUR)</option>
<option title="Count of charges. Respects the &#39;Charges to include&#39; setting" value="tb_slip_count">Invoices - Charge count</option>
<option title="Days from Hourly charges. Respects the &#39;Charges to include&#39; setting" value="tb_days">Invoices - Days from Hourly charges</option>
<option title="Days from Other rate charges. Respects the &#39;Charges to include&#39; setting" value="tb_other_days">Invoices - Days from Other rate charges</option>
<option title="Money from Expenses charges. Respects the &#39;Charges to include&#39; setting (USD)" value="tb_expenses_Money-USD">Invoices - Expenses (USD)</option>
<option title="Money from Expenses charges. Respects the &#39;Charges to include&#39; setting (GBP)" value="tb_expenses_Money-GBP">Invoices - Expenses (GBP)</option>
<option title="Money from Expenses charges. Respects the &#39;Charges to include&#39; setting (EUR)" value="tb_expenses_Money-EUR">Invoices - Expenses (EUR)</option>
<option title="Days exported from charges. Respects the &#39;Charges to include&#39; setting" value="tb_export_days">Invoices - Exported days</option>
<option title="Hours exported from charges. Respects the &#39;Charges to include&#39; setting" value="tb_export_Hours">Invoices - Exported hours</option>
<option title="Exported quantity from expense item, product and other rate charges. Respects the &#39;Charges to include&#39; setting" value="tb_export_Quantity">Invoices - Exported quantity</option>
<option title="Exported money from charges. Respects the &#39;Charges to include&#39; setting (USD)" value="tb_export_Money-USD">Invoices - Exported total (USD)</option>
<option title="Exported money from charges. Respects the &#39;Charges to include&#39; setting (GBP)" value="tb_export_Money-GBP">Invoices - Exported total (GBP)</option>
<option title="Exported money from charges. Respects the &#39;Charges to include&#39; setting (EUR)" value="tb_export_Money-EUR">Invoices - Exported total (EUR)</option>
<option title="Money from Fees charges. Respects the &#39;Charges to include&#39; setting (USD)" value="tb_fees_Money-USD">Invoices - Fees (USD)</option>
<option title="Money from Fees charges. Respects the &#39;Charges to include&#39; setting (GBP)" value="tb_fees_Money-GBP">Invoices - Fees (GBP)</option>
<option title="Money from Fees charges. Respects the &#39;Charges to include&#39; setting (EUR)" value="tb_fees_Money-EUR">Invoices - Fees (EUR)</option>
<option title="Hours from Hourly charges. Respects the &#39;Charges to include&#39; setting" value="tb_Hours">Invoices - Hours from Hourly charges</option>
<option title="Hours from Other rate charges. Respects the &#39;Charges to include&#39; setting" value="tb_other_Hours">Invoices - Hours from Other rate charges</option>
<option title="Outstanding balance from invoices. Respects the &#39;Charges to include&#39; setting (USD)" value="tb_outstanding_Money-USD">Invoices - Outstanding (USD)</option>
<option title="Outstanding balance from invoices. Respects the &#39;Charges to include&#39; setting (GBP)" value="tb_outstanding_Money-GBP">Invoices - Outstanding (GBP)</option>
<option title="Outstanding balance from invoices. Respects the &#39;Charges to include&#39; setting (EUR)" value="tb_outstanding_Money-EUR">Invoices - Outstanding (EUR)</option>
<option title="Quantity from expense item, product and other rate charges. Respects the &#39;Charges to include&#39; setting" value="tb_Quantity">Invoices - Quantity</option>
<option title="Money from charges appearing on an invoice (USD)" value="tb_invoiced_Money-USD">Invoices - Total invoiced (USD)</option>
<option title="Money from charges appearing on an invoice (GBP)" value="tb_invoiced_Money-GBP">Invoices - Total invoiced (GBP)</option>
<option title="Money from charges appearing on an invoice (EUR)" value="tb_invoiced_Money-EUR">Invoices - Total invoiced (EUR)</option>
<option title="Money from charges. Respects the &#39;Charges to include&#39; setting (USD)" value="tb_Money-USD">Invoices - Total (USD)</option>
<option title="Money from charges. Respects the &#39;Charges to include&#39; setting (GBP)" value="tb_Money-GBP">Invoices - Total (GBP)</option>
<option title="Money from charges. Respects the &#39;Charges to include&#39; setting (EUR)" value="tb_Money-EUR">Invoices - Total (EUR)</option>
<option title="Money from recognition transactions minus cost of the approved hours from time entries (USD)" value="pm_actual_revenue_task_margin_Money-USD">Projects - Actual revenue margin (USD)</option>
<option title="Money from recognition transactions minus cost of the approved hours from time entries (GBP)" value="pm_actual_revenue_task_margin_Money-GBP">Projects - Actual revenue margin (GBP)</option>
<option title="Money from recognition transactions minus cost of the approved hours from time entries (EUR)" value="pm_actual_revenue_task_margin_Money-EUR">Projects - Actual revenue margin (EUR)</option>
<option title="Days from tasks" value="pm_days">Projects - All assigned days</option>
<option title="Hours from tasks" value="pm_Hours">Projects - All assigned hours</option>
<option title="Hours from task assignments divided by hours from the default company work schedule" value="pm_assign_fte">Projects - Assigned FTE</option>
<option title="Hours from task assignments divided by hours from the default company work schedule. Values appear in red for an FTE value greater than zero for a generic and an FTE value greater than one for a regular resource. This emphasis occurs only on the user/resource primary rows or subtotal rows and makes it easy to quickly identify staffing shortfalls. The values are identical to their non-emphasized counterparts" value="pm_assign_fte_hilite">Projects - Assigned FTE (emphasized)</option>
<option title="Hours from tasks substituting hours from time entries for task assignments occuring before the report execution date divided by hours from default company work schedule" value="pm_assign_fte_actuals">Projects - Assigned FTE with actuals</option>
<option title="Hours from tasks substituting hours from time entries for task assignments occuring before the report execution date divided by hours from default company work schedule. Values appear in red for an FTE value greater than zero for a generic and an FTE value greater than one for a regular resource. This emphasis occurs only on the user/resource primary rows or subtotal rows and makes it easy to quickly identify staffing shortfalls. The values are identical to their non-emphasized counterparts" value="pm_assign_fte_actuals_hilite">Projects - Assigned FTE with actuals (emphasized)</option>
<option title="Days from task assignments substituting days from time entries for task assignments occuring before the report execution date" value="pm_assign_days_actuals">Projects - Assigned days with actuals</option>
<option title="Hours from task assignments substituting hours from time entries for task assignments occuring before the report execution date" value="pm_assign_hours_actuals">Projects - Assigned hours with actuals</option>
<option title="Base work schedule days minus days from task assignments and thus available for task assignment" value="pm_available_assign_base_days">Projects - Available base work schedule days for assignment</option>
<option title="Base work schedule hours minus hours from task assignments and thus available for task assignment" value="pm_available_assign_base_hours">Projects - Available base work schedule hours for assignment</option>
<option title="Work schedule days minus days from task assignments and thus available for task assignment" value="pm_available_assign_days">Projects - Available work schedule days for assignment</option>
<option title="Work schedule hours minus hours from task assignments and thus available for task assignment" value="pm_available_assign_hours">Projects - Available work schedule hours for assignment</option>
<option title="Average amount of project budget transactions (USD)" value="pm_project_budget_average_Money-USD">Projects - Average project budget transaction (USD)</option>
<option title="Average amount of project budget transactions (GBP)" value="pm_project_budget_average_Money-GBP">Projects - Average project budget transaction (GBP)</option>
<option title="Average amount of project budget transactions (EUR)" value="pm_project_budget_average_Money-EUR">Projects - Average project budget transaction (EUR)</option>
<option title="Money from all charges minus recognition transactions. Value will never be less than zero (USD)" value="pm_defrev_slip_minus_recognized_Money-USD">Projects - Deferred Revenue (USD)</option>
<option title="Money from all charges minus recognition transactions. Value will never be less than zero (GBP)" value="pm_defrev_slip_minus_recognized_Money-GBP">Projects - Deferred Revenue (GBP)</option>
<option title="Money from all charges minus recognition transactions. Value will never be less than zero (EUR)" value="pm_defrev_slip_minus_recognized_Money-EUR">Projects - Deferred Revenue (EUR)</option>
<option title="Money from project billing transactions (USD)" value="pm_project_billing_Money-USD">Projects - Project billing (USD)</option>
<option title="Money from project billing transactions (GBP)" value="pm_project_billing_Money-GBP">Projects - Project billing (GBP)</option>
<option title="Money from project billing transactions (EUR)" value="pm_project_billing_Money-EUR">Projects - Project billing (EUR)</option>
<option title="Money from Expenses project billing transactions (USD)" value="pm_project_billing_expenses_Money-USD">Projects - Project billing - Expenses (USD)</option>
<option title="Money from Expenses project billing transactions (GBP)" value="pm_project_billing_expenses_Money-GBP">Projects - Project billing - Expenses (GBP)</option>
<option title="Money from Expenses project billing transactions (EUR)" value="pm_project_billing_expenses_Money-EUR">Projects - Project billing - Expenses (EUR)</option>
<option title="Money from Fees project billing transactions (type Time or Fixed) (USD)" value="pm_project_billing_fees_Money-USD">Projects - Project billing - Fees (USD)</option>
<option title="Money from Fees project billing transactions (type Time or Fixed) (GBP)" value="pm_project_billing_fees_Money-GBP">Projects - Project billing - Fees (GBP)</option>
<option title="Money from Fees project billing transactions (type Time or Fixed) (EUR)" value="pm_project_billing_fees_Money-EUR">Projects - Project billing - Fees (EUR)</option>
<option title="Money from project billing transactions minus Money from charges to which those project billing transactions have been written (USD)" value="pm_project_billing_difference_Money-USD">Projects - Project billing amount difference (USD)</option>
<option title="Money from project billing transactions minus Money from charges to which those project billing transactions have been written (GBP)" value="pm_project_billing_difference_Money-GBP">Projects - Project billing amount difference (GBP)</option>
<option title="Money from project billing transactions minus Money from charges to which those project billing transactions have been written (EUR)" value="pm_project_billing_difference_Money-EUR">Projects - Project billing amount difference (EUR)</option>
<option title="Days from project billing transactions generated from time billing rules" value="pm_project_billing_days">Projects - Project billing days</option>
<option title="Hours from project billing transactions generated from time billing rules" value="pm_project_billing_Hours">Projects - Project billing hours</option>
<option title="Project billing transaction count" value="pm_project_billing_transaction_count">Projects - Project billing transaction count</option>
<option title="Money from project budget transactions (USD)" value="pm_project_budget_Money-USD">Projects - Project budget (USD)</option>
<option title="Money from project budget transactions (GBP)" value="pm_project_budget_Money-GBP">Projects - Project budget (GBP)</option>
<option title="Money from project budget transactions (EUR)" value="pm_project_budget_Money-EUR">Projects - Project budget (EUR)</option>
<option title="Project budget allocations divided by total associated project budget transactions" value="pm_project_budget_allocation_percent">Projects - Project budget allocation (%)</option>
<option title="Money from project budget allocation transactions (USD)" value="pm_project_budget_allocation_Money-USD">Projects - Project budget allocation (money) (USD)</option>
<option title="Money from project budget allocation transactions (GBP)" value="pm_project_budget_allocation_Money-GBP">Projects - Project budget allocation (money) (GBP)</option>
<option title="Money from project budget allocation transactions (EUR)" value="pm_project_budget_allocation_Money-EUR">Projects - Project budget allocation (money) (EUR)</option>
<option title="Project budget count" value="pm_project_budget_count">Projects - Project budget count</option>
<option title="Hours from task assignments times hourly loaded cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the Daily task assignment transaction&#39; and &#39;user current loaded cost&#39; (USD)" value="pm_projected_cost_Money-USD">Projects - Projected assignment cost (USD)</option>
<option title="Hours from task assignments times hourly loaded cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the Daily task assignment transaction&#39; and &#39;user current loaded cost&#39; (GBP)" value="pm_projected_cost_Money-GBP">Projects - Projected assignment cost (GBP)</option>
<option title="Hours from task assignments times hourly loaded cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the Daily task assignment transaction&#39; and &#39;user current loaded cost&#39; (EUR)" value="pm_projected_cost_Money-EUR">Projects - Projected assignment cost (EUR)</option>
<option title="Days from charge projections which were generated using billing rules. The charge projections have the charge projection type: Billed according to billing rule" value="pm_slip_projection_days">Projects - Projected billable days [rules]</option>
<option title="Hours from charge projections which were generated using billing rules. The charge projections have the charge projection type: Billed according to billing rule" value="pm_slip_projection_Hours">Projects - Projected billable hours [rules]</option>
<option title="Money from charge projections which were generated using billing rules. The charge projections have the charge projection type: &#39;Billed according to billing rule&#39; (USD)" value="pm_slip_projection_Money-USD">Projects - Projected billing [rules] (USD)</option>
<option title="Money from charge projections which were generated using billing rules. The charge projections have the charge projection type: &#39;Billed according to billing rule&#39; (GBP)" value="pm_slip_projection_Money-GBP">Projects - Projected billing [rules] (GBP)</option>
<option title="Money from charge projections which were generated using billing rules. The charge projections have the charge projection type: &#39;Billed according to billing rule&#39; (EUR)" value="pm_slip_projection_Money-EUR">Projects - Projected billing [rules] (EUR)</option>
<option title="Money from charge projections minus hours from charge projections times hourly loaded cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the charge projection transaction&#39; and &#39;user current loaded cost&#39; (USD)" value="pm_slip_projection_margin_Money-USD">Projects - Projected billing margin [rules] (USD)</option>
<option title="Money from charge projections minus hours from charge projections times hourly loaded cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the charge projection transaction&#39; and &#39;user current loaded cost&#39; (GBP)" value="pm_slip_projection_margin_Money-GBP">Projects - Projected billing margin [rules] (GBP)</option>
<option title="Money from charge projections minus hours from charge projections times hourly loaded cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the charge projection transaction&#39; and &#39;user current loaded cost&#39; (EUR)" value="pm_slip_projection_margin_Money-EUR">Projects - Projected billing margin [rules] (EUR)</option>
<option title="Hours from charge projections which were generated using billing rules. The charge projections have one of the following charge projection types: Billed according to billing rule; Time not billed, no matching billing rule; Time not billed, non-billable task; Portion of time exceeding cap not billed; Time not billed, time completely exceeded cap, do not bill excess and Time not billed, time completely exceeded cap, no more matching billing rules times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the charge projection transaction&#39; and &#39;user current loaded cost&#39; (USD)" value="pm_slip_projection_cost_Money-USD">Projects - Projected cost [rules] (USD)</option>
<option title="Hours from charge projections which were generated using billing rules. The charge projections have one of the following charge projection types: Billed according to billing rule; Time not billed, no matching billing rule; Time not billed, non-billable task; Portion of time exceeding cap not billed; Time not billed, time completely exceeded cap, do not bill excess and Time not billed, time completely exceeded cap, no more matching billing rules times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the charge projection transaction&#39; and &#39;user current loaded cost&#39; (GBP)" value="pm_slip_projection_cost_Money-GBP">Projects - Projected cost [rules] (GBP)</option>
<option title="Hours from charge projections which were generated using billing rules. The charge projections have one of the following charge projection types: Billed according to billing rule; Time not billed, no matching billing rule; Time not billed, non-billable task; Portion of time exceeding cap not billed; Time not billed, time completely exceeded cap, do not bill excess and Time not billed, time completely exceeded cap, no more matching billing rules times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the charge projection transaction&#39; and &#39;user current loaded cost&#39; (EUR)" value="pm_slip_projection_cost_Money-EUR">Projects - Projected cost [rules] (EUR)</option>
<option title="Hours from charge projections which were generated using billing rules except those hours from charge projections with the following charge projection type: Time not billed, no matching billing rule; Time not billed, non-billable task; Portion of time exceeding cap not billed; Time not billed, time completely exceeded cap, do not bill excess and Time not billed, time completely exceeded cap, no more matching billing rules times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the charge projection transaction&#39; and &#39;user current loaded cost&#39; (USD)" value="pm_slip_projection_excess_cost_Money-USD">Projects - Projected cost of unbillable hours [rules] (USD)</option>
<option title="Hours from charge projections which were generated using billing rules except those hours from charge projections with the following charge projection type: Time not billed, no matching billing rule; Time not billed, non-billable task; Portion of time exceeding cap not billed; Time not billed, time completely exceeded cap, do not bill excess and Time not billed, time completely exceeded cap, no more matching billing rules times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the charge projection transaction&#39; and &#39;user current loaded cost&#39; (GBP)" value="pm_slip_projection_excess_cost_Money-GBP">Projects - Projected cost of unbillable hours [rules] (GBP)</option>
<option title="Hours from charge projections which were generated using billing rules except those hours from charge projections with the following charge projection type: Time not billed, no matching billing rule; Time not billed, non-billable task; Portion of time exceeding cap not billed; Time not billed, time completely exceeded cap, do not bill excess and Time not billed, time completely exceeded cap, no more matching billing rules times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the charge projection transaction&#39; and &#39;user current loaded cost&#39; (EUR)" value="pm_slip_projection_excess_cost_Money-EUR">Projects - Projected cost of unbillable hours [rules] (EUR)</option>
<option title="from charge projections which were generated using billing rules. The charge projections have one of the following charge projection types: Billed according to billing rule; Time not billed, no matching billing rule; Time not billed, non-billable task; Portion of time exceeding cap not billed; Time not billed, time completely exceeded cap, do not bill excess and Time not billed, time completely exceeded cap, no more matching billing rules" value="pm_slip_projection_cost_days">Projects - Projected cost-basis days [rules]</option>
<option title="Hours from charge projections which were generated using billing rules. The charge projections have one of the following charge projection types: Billed according to billing rule; Time not billed, no matching billing rule; Time not billed, non-billable task; Portion of time exceeding cap not billed; Time not billed, time completely exceeded cap, do not bill excess and Time not billed, time completely exceeded cap, no more matching billing rules" value="pm_slip_projection_cost_Hours">Projects - Projected cost-basis hours [rules]</option>
<option title="The difference between money billed and money recognized from recognition projections (USD)" value="pm_revenue_projection_deferred_Money-USD">Projects - Projected deferred revenue [rules] (USD)</option>
<option title="The difference between money billed and money recognized from recognition projections (GBP)" value="pm_revenue_projection_deferred_Money-GBP">Projects - Projected deferred revenue [rules] (GBP)</option>
<option title="The difference between money billed and money recognized from recognition projections (EUR)" value="pm_revenue_projection_deferred_Money-EUR">Projects - Projected deferred revenue [rules] (EUR)</option>
<option title="Money from recognition projections which were generated using recognition rules. The recognition projections have one of the following recognition projection types: Revenue from an &#39;As billed&#39; recognition rule; Revenue from an &#39;Fixed fee&#39; recognition rule; Revenue from an &#39;Percent complete&#39; recognition rule; Revenue from an &#39;Incurred vs. forecast&#39; recognition rule and (USD)" value="pm_revenue_projection_Money-USD">Projects - Projected revenue [rules] (USD)</option>
<option title="Money from recognition projections which were generated using recognition rules. The recognition projections have one of the following recognition projection types: Revenue from an &#39;As billed&#39; recognition rule; Revenue from an &#39;Fixed fee&#39; recognition rule; Revenue from an &#39;Percent complete&#39; recognition rule; Revenue from an &#39;Incurred vs. forecast&#39; recognition rule and (GBP)" value="pm_revenue_projection_Money-GBP">Projects - Projected revenue [rules] (GBP)</option>
<option title="Money from recognition projections which were generated using recognition rules. The recognition projections have one of the following recognition projection types: Revenue from an &#39;As billed&#39; recognition rule; Revenue from an &#39;Fixed fee&#39; recognition rule; Revenue from an &#39;Percent complete&#39; recognition rule; Revenue from an &#39;Incurred vs. forecast&#39; recognition rule and (EUR)" value="pm_revenue_projection_Money-EUR">Projects - Projected revenue [rules] (EUR)</option>
<option title="Money from recognition projections which were generated using recognition rules minus cost of the hours from bookings. The recognition projections have one of the following recognition projection types: Revenue from an &#39;As billed&#39; recognition rule; Revenue from an &#39;Fixed fee&#39; recognition rule; Revenue from an &#39;Percent complete&#39; recognition rule; Revenue from an &#39;Incurred vs. forecast&#39; recognition rule and (USD)" value="pm_projected_revenue_book_margin_Money-USD">Projects - Projected revenue booking margin [rules] (USD)</option>
<option title="Money from recognition projections which were generated using recognition rules minus cost of the hours from bookings. The recognition projections have one of the following recognition projection types: Revenue from an &#39;As billed&#39; recognition rule; Revenue from an &#39;Fixed fee&#39; recognition rule; Revenue from an &#39;Percent complete&#39; recognition rule; Revenue from an &#39;Incurred vs. forecast&#39; recognition rule and (GBP)" value="pm_projected_revenue_book_margin_Money-GBP">Projects - Projected revenue booking margin [rules] (GBP)</option>
<option title="Money from recognition projections which were generated using recognition rules minus cost of the hours from bookings. The recognition projections have one of the following recognition projection types: Revenue from an &#39;As billed&#39; recognition rule; Revenue from an &#39;Fixed fee&#39; recognition rule; Revenue from an &#39;Percent complete&#39; recognition rule; Revenue from an &#39;Incurred vs. forecast&#39; recognition rule and (EUR)" value="pm_projected_revenue_book_margin_Money-EUR">Projects - Projected revenue booking margin [rules] (EUR)</option>
<option title="Revenue minus the cost (USD)" value="pm_revenue_projection_margin_Money-USD">Projects - Projected revenue margin [rules] (USD)</option>
<option title="Revenue minus the cost (GBP)" value="pm_revenue_projection_margin_Money-GBP">Projects - Projected revenue margin [rules] (GBP)</option>
<option title="Revenue minus the cost (EUR)" value="pm_revenue_projection_margin_Money-EUR">Projects - Projected revenue margin [rules] (EUR)</option>
<option title="Hours from charge projections which were generated using billing rules except those hours from charge projections with the following charge projection type: Billed according to billing rule" value="pm_slip_projection_excess_days">Projects - Projected unbillable days [rules]</option>
<option title="Hours from charge projections which were generated using billing rules except those hours from charge projections with the following charge projection type: Billed according to billing rule" value="pm_slip_projection_excess_Hours">Projects - Projected unbillable hours [rules]</option>
<option title="Recognition projection count" value="pm_revenue_projection_count">Projects - Recognition projection count</option>
<option title="Days from Recognition projections" value="pm_revenue_projection_days">Projects - Recognition projection time (Days)</option>
<option title="Hours from Recognition projections" value="pm_revenue_projection_Hours">Projects - Recognition projection time (Hours)</option>
<option title="Recognition transaction count" value="pm_recognized_revenue_transaction_count">Projects - Recognition transaction count</option>
<option title="Days from recognition transactions" value="pm_recognized_revenue_transaction_days">Projects - Recognition transaction time (Days)</option>
<option title="Hours from recognition transactions" value="pm_recognized_revenue_transaction_Hours">Projects - Recognition transaction time (Hours)</option>
<option title="Money from recognition transactions (USD)" value="pm_recognized_revenue_Money-USD">Projects - Recognized revenue (USD)</option>
<option title="Money from recognition transactions (GBP)" value="pm_recognized_revenue_Money-GBP">Projects - Recognized revenue (GBP)</option>
<option title="Money from recognition transactions (EUR)" value="pm_recognized_revenue_Money-EUR">Projects - Recognized revenue (EUR)</option>
<option title="Money from recognition transactions generated from Expense item charges (USD)" value="pm_E_recognized_revenue_Money-USD">Projects - Recognized revenue from Expense item charges (USD)</option>
<option title="Money from recognition transactions generated from Expense item charges (GBP)" value="pm_E_recognized_revenue_Money-GBP">Projects - Recognized revenue from Expense item charges (GBP)</option>
<option title="Money from recognition transactions generated from Expense item charges (EUR)" value="pm_E_recognized_revenue_Money-EUR">Projects - Recognized revenue from Expense item charges (EUR)</option>
<option title="Count of tasks assignments" value="pm_assignment_count">Projects - Task assignment count</option>
<option title="Money from recognition transactions minus money from all charges. Value will never be less than zero (USD)" value="pm_wip_recognized_minus_slip_Money-USD">Projects - Work-in-Progress (USD)</option>
<option title="Money from recognition transactions minus money from all charges. Value will never be less than zero (GBP)" value="pm_wip_recognized_minus_slip_Money-GBP">Projects - Work-in-Progress (GBP)</option>
<option title="Money from recognition transactions minus money from all charges. Value will never be less than zero (EUR)" value="pm_wip_recognized_minus_slip_Money-EUR">Projects - Work-in-Progress (EUR)</option>
<option title="" value="1">Projects - extended test</option>
<option title="Count of purchase items" value="po_purchase_item_count">Purchases - Purchase item count</option>
<option title="Quantity from purchase items" value="po_Quantity">Purchases - Quantity</option>
<option title="Quantity fulfilled from purchase items" value="po_Quantity_fulfilled">Purchases - Quantity fulfilled</option>
<option title="Quantity payable from purchase items" value="po_Quantity_payable">Purchases - Quantity payable</option>
<option title="Money from purchase items (USD)" value="po_Money-USD">Purchases - Total (USD)</option>
<option title="Money from purchase items (GBP)" value="po_Money-GBP">Purchases - Total (GBP)</option>
<option title="Money from purchase items (EUR)" value="po_Money-EUR">Purchases - Total (EUR)</option>
<option title="Hours from bookings divided by hours per day as specified in the report definition" value="rm_all_days">Resources - All staffed days</option>
<option title="Hours from bookings" value="rm_all">Resources - All staffed hours</option>
<option title="" value="rm_available_fte_forecast">Resources - Available FTE forecast</option>
<option title="Days staffed minus base work schedule days" value="rm_available_book_base_days">Resources - Available base work schedule days for booking</option>
<option title="Hours staffed minus base work schedule hours" value="rm_available_book_base_hours">Resources - Available base work schedule hours for booking</option>
<option title="Days staffed minus work schedule days" value="rm_available_book_days">Resources - Available work schedule days for booking</option>
<option title="Hours staffed minus work schedule hours" value="rm_available_book_hours">Resources - Available work schedule hours for booking</option>
<option title="Target days excluding schedule exceptions" value="rm_target_base_days">Resources - Base target days</option>
<option title="Target hours excluding schedule exceptions" value="rm_target_base_hours">Resources - Base target hours</option>
<option title="Base target hours divided by Base work schedule hours" value="rm_target_base_utilization">Resources - Base target utilization</option>
<option title="Days from user work schedule excluding schedule exceptions" value="rm_base_days">Resources - Base work schedule days</option>
<option title="Hours from user work schedule excluding schedule exceptions" value="rm_base_hours">Resources - Base work schedule hours</option>
<option title="Count of bookings" value="rm_assignment_count">Resources - Booking assignment count</option>
<option title="The percentage of the user&#39;s work schedule hours written to task assignments" value="rm_assigned">Resources - Percent assigned utilization</option>
<option title="The percentage of the user&#39;s work schedule hours written to task assignments substituting hours from time entries for task assignments occuring before the report execution date" value="rm_assigned_actuals">Resources - Percent assigned utilization with actuals</option>
<option title="The percentage of a user&#39;s work schedule hours that have been written to booking assignments" value="rm_booked">Resources - Percent booked utilization</option>
<option title="The percentage of a user&#39;s work schedule hours that have been written to booking assignments substituting hours from time entries for booking assignments occuring before the report execution date" value="rm_booked_actuals">Resources - Percent booked utilization with actuals</option>
<option title="The percentage of a user&#39;s work schedule hours that have not been written to booking assignments and are therefore available to be booked" value="rm_availability">Resources - Percent booking availability</option>
<option title="The percentage of a user&#39;s work schedule hours that have not been booked to booking assignments (substituting hours from time entries for booking assignments occuring before the report execution date) and are therefore available to be booked" value="rm_availability_actuals">Resources - Percent booking availability with actuals</option>
<option title="The percentage of a user&#39;s work schedule, base work schedule or timesheet hours which have been recorded as time entries on timesheets" value="rm_historical">Resources - Percent historical utilization</option>
<option title="The percentage of a user&#39;s work schedule or base work schedule hours that have been translated into hourly charges" value="rm_realization">Resources - Percent realization</option>
<option title="Hours from user work schedule excluding schedule exceptions times hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;user loaded cost on the date of the transaction&#39; and &#39;user current loaded cost&#39; (USD)" value="rm_projected_base_schedule_hours_cost_Money-USD">Resources - Projected base work schedule cost (USD)</option>
<option title="Hours from user work schedule excluding schedule exceptions times hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;user loaded cost on the date of the transaction&#39; and &#39;user current loaded cost&#39; (GBP)" value="rm_projected_base_schedule_hours_cost_Money-GBP">Resources - Projected base work schedule cost (GBP)</option>
<option title="Hours from user work schedule excluding schedule exceptions times hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;user loaded cost on the date of the transaction&#39; and &#39;user current loaded cost&#39; (EUR)" value="rm_projected_base_schedule_hours_cost_Money-EUR">Resources - Projected base work schedule cost (EUR)</option>
<option title="Hours from booking assignments times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the booking assignment transaction&#39; and &#39;user current loaded cost&#39; (USD)" value="rm_projected_cost_Money-USD">Resources - Projected booking cost (USD)</option>
<option title="Hours from booking assignments times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the booking assignment transaction&#39; and &#39;user current loaded cost&#39; (GBP)" value="rm_projected_cost_Money-GBP">Resources - Projected booking cost (GBP)</option>
<option title="Hours from booking assignments times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the booking assignment transaction&#39; and &#39;user current loaded cost&#39; (EUR)" value="rm_projected_cost_Money-EUR">Resources - Projected booking cost (EUR)</option>
<option title="Base work schedule hours minus work schedule hours times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;user loaded cost on the date of the transaction&#39; and &#39;user current loaded cost&#39; (USD)" value="rm_projected_schedule_exception_cost_Money-USD">Resources - Projected schedule exception cost (USD)</option>
<option title="Base work schedule hours minus work schedule hours times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;user loaded cost on the date of the transaction&#39; and &#39;user current loaded cost&#39; (GBP)" value="rm_projected_schedule_exception_cost_Money-GBP">Resources - Projected schedule exception cost (GBP)</option>
<option title="Base work schedule hours minus work schedule hours times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;user loaded cost on the date of the transaction&#39; and &#39;user current loaded cost&#39; (EUR)" value="rm_projected_schedule_exception_cost_Money-EUR">Resources - Projected schedule exception cost (EUR)</option>
<option title="Hours from user work schedule times hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;user loaded cost on the date of the transaction&#39; and &#39;user current loaded cost&#39; (USD)" value="rm_projected_schedule_hours_cost_Money-USD">Resources - Projected work schedule cost (USD)</option>
<option title="Hours from user work schedule times hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;user loaded cost on the date of the transaction&#39; and &#39;user current loaded cost&#39; (GBP)" value="rm_projected_schedule_hours_cost_Money-GBP">Resources - Projected work schedule cost (GBP)</option>
<option title="Hours from user work schedule times hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;user loaded cost on the date of the transaction&#39; and &#39;user current loaded cost&#39; (EUR)" value="rm_projected_schedule_hours_cost_Money-EUR">Resources - Projected work schedule cost (EUR)</option>
<option title="The quantity of users assigned to the job code" value="rm_job_code_quantity_on_staff">Resources - Quantity on staff (Periodic)</option>
<option title="Base work schedule days minus work schedule days" value="rm_schedule_exception_days">Resources - Schedule exception days</option>
<option title="Base work schedule hours minus work schedule hours" value="rm_schedule_exception_hours">Resources - Schedule exception hours</option>
<option title="Hours from booking assignments divided by hours from the default company work schedule" value="rm_book_fte">Resources - Staffed FTE</option>
<option title="Hours from booking assignments divided by hours from the default company work schedule. Values appear in red for an FTE value greater than zero for a generic and an FTE value greater than one for a regular resource. This emphasis occurs only on the user/resource primary rows or subtotal rows and makes it easy to quickly identify staffing shortfalls. The values are identical to their non-emphasized counterparts" value="rm_book_fte_hilite">Resources - Staffed FTE (emphasized)</option>
<option title="" value="rm_booked_fte_forecast">Resources - Staffed FTE forecast</option>
<option title="" value="rm_booked_fte_forecast_hilite">Resources - Staffed FTE forecast (emphasized)</option>
<option title="Hours from booking assignments divided by work schedule hours. For user rows, work schedule hours are from user work schedule. For department rows, work schedule hours from the combined work schedules of the users in the department. For job code rows, work schedule hours from the work schedule of the FTE generic defined for the job code" value="rm_booked_fte_utilization">Resources - Staffed FTE utilization</option>
<option title="Hours from booking assignments substituting hours from time entries for booking assignments occuring before the report execution date divided by hours from the default company work schedule" value="rm_book_fte_actuals">Resources - Staffed FTE with actuals</option>
<option title="Hours from booking assignments substituting hours from time entries for booking assignments occuring before the report execution date divided by hours from the default company work schedule.Values appear in red for an FTE value greater than zero for a generic and an FTE value greater than one for a regular resource. This emphasis occurs only on the user/resource primary rows or subtotal rows and makes it easy to quickly identify staffing shortfalls. The values are identical to their non-emphasized counterparts" value="rm_book_fte_actuals_hilite">Resources - Staffed FTE with actuals (emphasized)</option>
<option title="Days from booking assignments substituting days from time entries for booking assignments occuring before the report execution date" value="rm_book_days_actuals">Resources - Staffed days with actuals</option>
<option title="Hours from booking assignments substituting hours from time entries for booking assignments occuring before the report execution date" value="rm_book_hours_actuals">Resources - Staffed hours with actuals</option>
<option title="Days from booking assignments minus days from task assignments" value="rm_booked_assigned_differential_days">Resources - Staffed/Assigned days differential</option>
<option title="Hours from booking assignments minus hours from task assignments" value="rm_booked_assigned_differential_Hours">Resources - Staffed/Assigned hours differential</option>
<option title="Target days" value="rm_target_days">Resources - Target days</option>
<option title="Target hours" value="rm_target_hours">Resources - Target hours</option>
<option title="Target hours divided by Work schedule hours" value="rm_target_utilization">Resources - Target utilization</option>
<option title="" value="rm_weight_available_fte_forecast">Resources - Weighted Available FTE forecast</option>
<option title="Hours from booking assignments divided by hours from the default company work schedule. Weighted hours are the result of multiplying the original hours by the project&#39;s probability of closing" value="rm_weight_book_fte">Resources - Weighted Staffed FTE</option>
<option title="Hours from booking assignments divided by hours from the default company work schedule. Weighted hours are the result of multiplying the original hours by the project&#39;s probability of closing. Values appear in red for an FTE value greater than zero for a generic and an FTE value greater than one for a regular resource. This emphasis occurs only on the user/resource primary rows or subtotal rows and makes it easy to quickly identify staffing shortfalls. The values are identical to their non-emphasized counterparts" value="rm_weight_book_fte_hilite">Resources - Weighted Staffed FTE (emphasized)</option>
<option title="" value="rm_weight_booked_fte_forecast">Resources - Weighted Staffed FTE forecast</option>
<option title="" value="rm_weight_booked_fte_forecast_hilite">Resources - Weighted Staffed FTE forecast (emphasized)</option>
<option title="Hours from booking assignments divided by work schedule hours. For user rows, work schedule hours are from user work schedule. For department rows, work schedule hours from the combined work schedules of the users in the department. For job code rows, work schedule hours from the work schedule of the FTE generic defined for the job code" value="rm_weight_booked_fte_utilization">Resources - Weighted Staffed FTE utilization</option>
<option title="The percentage of a user&#39;s work schedule hours that have been written to booking assignments. Weighted hours are the result of multiplying the original hours by the project&#39;s probability of closing" value="rm_weight_booked">Resources - Weighted percent booked utilization</option>
<option title="The percentage of a user&#39;s work schedule hours that have been written to booking assignments substituting hours from time entries for booking assignments occuring before the report execution date. Weighted hours are the result of multiplying the original hours by the project&#39;s probability of closing" value="rm_weight_booked_actuals">Resources - Weighted percent booked utilization with actuals</option>
<option title="The percentage of a user&#39;s work schedule hours that do not appear on booking assignments and are therefore available to be booked. Weighted hours are the result of multiplying the original hours by the project&#39;s probability of closing" value="rm_weight_availability">Resources - Weighted percent booking availability</option>
<option title="The percentage of a user&#39;s work schedule hours that do not appear on booking assignments (substituting hours from time entries for booking assignments occuring before the report execution date) and are therefore available to be booked. Weighted hours are the result of multiplying the original hours by the project&#39;s probability of closing" value="rm_weight_availability_actuals">Resources - Weighted percent booking availability with actuals</option>
<option title="User work schedule count" value="rm_schedule_count">Resources - Work schedule count</option>
<option title="Days from user work schedule" value="rm_schedule_days">Resources - Work schedule days</option>
<option title="Hours from user work schedule" value="rm_schedule_hours">Resources - Work schedule hours</option>
<option title="Hours from time entries times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (USD)" value="ta_all_projected_cost_Money-USD">Timesheets - All actual cost (USD)</option>
<option title="Hours from time entries times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (GBP)" value="ta_all_projected_cost_Money-GBP">Timesheets - All actual cost (GBP)</option>
<option title="Hours from time entries times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (EUR)" value="ta_all_projected_cost_Money-EUR">Timesheets - All actual cost (EUR)</option>
<option title="Hours from time entries times current user loaded hourly cost (USD)" value="ta_all_current_cost_Money-USD">Timesheets - All current user cost (USD)</option>
<option title="Hours from time entries times current user loaded hourly cost (GBP)" value="ta_all_current_cost_Money-GBP">Timesheets - All current user cost (GBP)</option>
<option title="Hours from time entries times current user loaded hourly cost (EUR)" value="ta_all_current_cost_Money-EUR">Timesheets - All current user cost (EUR)</option>
<option title="Days from time entries" value="ta_all_days">Timesheets - All days</option>
<option title="Hours from time entries" value="ta_all">Timesheets - All hours</option>
<option title="Days from schedule request entries" value="ta_all_schedule_request_days">Timesheets - All schedule request days</option>
<option title="Hours from schedule request entries" value="ta_all_schedule_request">Timesheets - All schedule request hours</option>
<option title="Hours from time entries on approved and archived timesheets times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (USD)" value="ta_approved_projected_cost_Money-USD">Timesheets - Approved actual cost (USD)</option>
<option title="Hours from time entries on approved and archived timesheets times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (GBP)" value="ta_approved_projected_cost_Money-GBP">Timesheets - Approved actual cost (GBP)</option>
<option title="Hours from time entries on approved and archived timesheets times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (EUR)" value="ta_approved_projected_cost_Money-EUR">Timesheets - Approved actual cost (EUR)</option>
<option title="Hours from time entries on approved and archived timesheets times current user loaded hourly cost (USD)" value="ta_approved_current_cost_Money-USD">Timesheets - Approved current user cost (USD)</option>
<option title="Hours from time entries on approved and archived timesheets times current user loaded hourly cost (GBP)" value="ta_approved_current_cost_Money-GBP">Timesheets - Approved current user cost (GBP)</option>
<option title="Hours from time entries on approved and archived timesheets times current user loaded hourly cost (EUR)" value="ta_approved_current_cost_Money-EUR">Timesheets - Approved current user cost (EUR)</option>
<option title="Days from time entries on approved and archived timesheets" value="ta_approved_days">Timesheets - Approved days</option>
<option title="Hours from time entries on approved and archived timesheets" value="ta_approved">Timesheets - Approved hours</option>
<option title="Days from schedule request entries on approved and archived schedule requests" value="ta_approved_schedule_request_days">Timesheets - Approved schedule request days</option>
<option title="Hours from schedule request entries on approved and archived schedule requests" value="ta_approved_schedule_request">Timesheets - Approved schedule request hours</option>
<option title="Count of approved time entries" value="ta_approved_task_count">Timesheets - Approved time entry count</option>
<option title="Hours from time entries on approved and archived timesheets that have been written to charges" value="ta_billed_days">Timesheets - Billed days</option>
<option title="Hours from time entries on approved and archived timesheets that have been written to charges" value="ta_billed">Timesheets - Billed hours</option>
<option title="Hours from time entries on open timesheets times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (USD)" value="ta_open_projected_cost_Money-USD">Timesheets - Open actual cost (USD)</option>
<option title="Hours from time entries on open timesheets times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (GBP)" value="ta_open_projected_cost_Money-GBP">Timesheets - Open actual cost (GBP)</option>
<option title="Hours from time entries on open timesheets times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (EUR)" value="ta_open_projected_cost_Money-EUR">Timesheets - Open actual cost (EUR)</option>
<option title="Hours from time entries on open timesheets times current user loaded hourly cost (USD)" value="ta_open_current_cost_Money-USD">Timesheets - Open current user cost (USD)</option>
<option title="Hours from time entries on open timesheets times current user loaded hourly cost (GBP)" value="ta_open_current_cost_Money-GBP">Timesheets - Open current user cost (GBP)</option>
<option title="Hours from time entries on open timesheets times current user loaded hourly cost (EUR)" value="ta_open_current_cost_Money-EUR">Timesheets - Open current user cost (EUR)</option>
<option title="Days from time entries on open timesheets" value="ta_open_days">Timesheets - Open days</option>
<option title="Hours from time entries on open timesheets" value="ta_open">Timesheets - Open hours</option>
<option title="Days from schedule request entries on open schedule requests" value="ta_open_schedule_request_days">Timesheets - Open schedule request days</option>
<option title="Hours from schedule request entries on open schedule requests" value="ta_open_schedule_request">Timesheets - Open schedule request hours</option>
<option title="Count of open time entries" value="ta_open_task_count">Timesheets - Open time entry count</option>
<option title="Hours from time entries that have been written to charges divided by time entries on approved and archived timesheets" value="ta_percentage_billed">Timesheets - Percentage of time billed</option>
<option title="Hours from time entries that have not been written to charges divided by time entries on approved and archived timesheets" value="ta_percentage_unbilled">Timesheets - Percentage of time un-billed</option>
<option title="Hours from time entries on rejected timesheets times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (USD)" value="ta_rejected_projected_cost_Money-USD">Timesheets - Rejected actual cost (USD)</option>
<option title="Hours from time entries on rejected timesheets times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (GBP)" value="ta_rejected_projected_cost_Money-GBP">Timesheets - Rejected actual cost (GBP)</option>
<option title="Hours from time entries on rejected timesheets times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (EUR)" value="ta_rejected_projected_cost_Money-EUR">Timesheets - Rejected actual cost (EUR)</option>
<option title="Hours from time entries on rejected timesheets times current user loaded hourly cost (USD)" value="ta_rejected_current_cost_Money-USD">Timesheets - Rejected current user cost (USD)</option>
<option title="Hours from time entries on rejected timesheets times current user loaded hourly cost (GBP)" value="ta_rejected_current_cost_Money-GBP">Timesheets - Rejected current user cost (GBP)</option>
<option title="Hours from time entries on rejected timesheets times current user loaded hourly cost (EUR)" value="ta_rejected_current_cost_Money-EUR">Timesheets - Rejected current user cost (EUR)</option>
<option title="Days from time entries on rejected timesheets" value="ta_rejected_days">Timesheets - Rejected days</option>
<option title="Hours from time entries on rejected timesheets" value="ta_rejected">Timesheets - Rejected hours</option>
<option title="from schedule request entries on rejected schedule requests." value="ta_rejected_schedule_request_days">Timesheets - Rejected schedule request days</option>
<option title="Hours from schedule request entries on rejected schedule requests" value="ta_rejected_schedule_request">Timesheets - Rejected schedule request hours</option>
<option title="Count of rejected time entries" value="ta_rejected_task_count">Timesheets - Rejected time entry count</option>
<option title="Hours from time entries on submitted timesheets times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (USD)" value="ta_submitted_projected_cost_Money-USD">Timesheets - Submitted actual cost (USD)</option>
<option title="Hours from time entries on submitted timesheets times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (GBP)" value="ta_submitted_projected_cost_Money-GBP">Timesheets - Submitted actual cost (GBP)</option>
<option title="Hours from time entries on submitted timesheets times loaded hourly cost. Loaded hourly cost is defined as the first defined loaded cost in the following order: &#39;task loaded cost&#39;, &#39;project loaded cost&#39;, &#39;user loaded cost on the date of the task transaction&#39; and &#39;user current loaded cost&#39; (EUR)" value="ta_submitted_projected_cost_Money-EUR">Timesheets - Submitted actual cost (EUR)</option>
<option title="Hours from time entries on submitted timesheets times current user loaded hourly cost (USD)" value="ta_submitted_current_cost_Money-USD">Timesheets - Submitted current user cost (USD)</option>
<option title="Hours from time entries on submitted timesheets times current user loaded hourly cost (GBP)" value="ta_submitted_current_cost_Money-GBP">Timesheets - Submitted current user cost (GBP)</option>
<option title="Hours from time entries on submitted timesheets times current user loaded hourly cost (EUR)" value="ta_submitted_current_cost_Money-EUR">Timesheets - Submitted current user cost (EUR)</option>
<option title="Days from time entries on submitted timesheets" value="ta_submitted_days">Timesheets - Submitted days</option>
<option title="Hours from time entries on submitted timesheets" value="ta_submitted">Timesheets - Submitted hours</option>
<option title="Days from schedule request entries on submitted schedule requests" value="ta_submitted_schedule_request_days">Timesheets - Submitted schedule request days</option>
<option title="Hours from schedule request entries on submitted schedule requests" value="ta_submitted_schedule_request">Timesheets - Submitted schedule request hours</option>
<option title="Count of submitted time entries" value="ta_submitted_task_count">Timesheets - Submitted time entry count</option>
<option title="Count of time entries" value="ta_task_count">Timesheets - Time entry count</option>
<option title="Days from time entries on approved and archived timesheets that have not been written to charges" value="ta_unbilled_days">Timesheets - Un-billed days</option>
<option title="Hours from time entries on approved and archived timesheets that have not been written to charges" value="ta_unbilled">Timesheets - Un-billed hours</option>
<option title="" value="7">kdo test utilzation number</option>
</select>
// http://fiddle.jshell.net/FAkEK/25/
// via http://stackoverflow.com/questions/2031740/hide-select-option-in-ie-using-jquery
/*
$.fn.hideOption = function() {
this.each(function() {
$(this).wrap('<span>').hide()
});
}
$.fn.showOption = function() {
this.each(function() {
var opt = $(this).find('option').show();
$(this).replaceWith(opt)
});
}*/
/*
// http://fiddle.jshell.net/FAkEK/27/
// via http://work.arounds.org/issue/96/option-elements-do-not-hide-in-IE/
$.fn.hideOption = function() {
this.each(function() {
if ($(this).is('option') && (!$(this).parent().is('span'))) {
$(this).wrap('<span>').hide()
}
});
}
$.fn.showOption = function() {
this.each(function() {
if (this.nodeName.toLowerCase() === 'option') {
var p = $(this).parent(),
o = this;
$(o).show();
$(p).replaceWith(o)
} else {
var opt = $('option', $(this));
$(this).replaceWith(opt);
opt.show();
}
});
}*/
Namespace('OA.picker_filter', {
'init': function () {
this.sel = jQuery('#_valueavailable');
this.optiontags = jQuery('#_valueavailable').children();
var placeholder = 'Start typing to search the list below ...';
jQuery('#filter_available').click(function(e) {
var field = jQuery(this);
if (field.val() === placeholder) {
field.val('').css('color', '#000');
}
});
jQuery('#filter_available').blur(function(e) {
var field = jQuery(this);
if (field.val() === '') {
field.val(placeholder).css('color', '#ccc');
}
});
// build the input box
this.input = jQuery('#filter_available').bind("keydown", function( e ){
// prevent the enter key from submitting the form / closing the widget
if( e.which === 13 ){
return false;
}
}).bind("keyup", this._handler);
this._updateCache();
},
'_updateCache': function () {
/*var isOptgroup = this.optiontags[0].tagName === "OPTGROUP" || false;*/
//console.dir(this.input);
this.cache = this.optiontags.map(function(){
var self = jQuery(this);
// account for optgroups
/*if( isOptgroup ){*/
/*self = self.children();*/
/*}*/
// see _create() in jquery.multiselect.js around line 96
if( !self.val().length ){
return null;
}
return self.map(function(){
return this.innerHTML.toLowerCase();
}).get();
}).get();
},
'_handler': function( e ){
//var term = jQuery.trim( this.input[0].value.toLowerCase() ),
var term = jQuery.trim( OA.picker_filter.input[0].value.toLowerCase() ),
optiontags = OA.picker_filter.optiontags,
cache = OA.picker_filter.cache;
//console.log('term is: ' + term);
//console.log('option tags is: ' + optiontags);
/*
var sel = document.getElementsByTagName("select")[0],
opts = [];
// Extract the elements into an array
for (var i=sel.options.length-1; i >= 2; i--)
opts.push(sel.removeChild(sel.options[i]));
// Sort them
opts.sort(function (a, b) {
return a.innerHTML.localeCompare(b.innerHTML);
});
// Put them back into the <select>
while(opts.length)
sel.appendChild(opts.shift());
*/
if( term ){
/* loop through option's
var matches = jQuery.each(optiontags, function () {
if (jQuery(this).selector(":contains('')")
});*/
// Clear <option> stating no matches if there is one
jQuery('#_valueavailable').find("[value=no_matches]").remove();
var regex = new RegExp(term, 'gi');
jQuery(this).trigger( "filter", e, jQuery.map(cache, function(v,i){
if ( v.search(regex) === -1 ){
optiontags.eq(i).remove();
} else {
OA.picker_filter.sel.append(optiontags.eq(i));
}
return null;
}));
// If all <option>'s are deleted, add one stating there were no matches
var cur_optiontags = jQuery('#_valueavailable').children();
if (cur_optiontags.length === 0)
OA.picker_filter.sel.append('<option value="no_matches" disabled="disabled">No matches</option>');
/*var regex = new RegExp('\\b' + term, 'i');
jQuery(this).trigger( "filter", e, jQuery.map(cache, function(v,i){
if( v.search(regex) !== -1 ){
var html = optiontags.eq(i).html();
html = html.replace(/<\/?[^>]+>/gi, ''); // remove any html tags
var newhtml = html.replace( new RegExp( '\\b(' + term + ')', "gi" ), "<b>$1</b>" );
//console.log('new html: ' + newhtml);
optiontags.eq(i).html(newhtml).showOption();
return optiontags.get(i);
}
return null;
}));*/
} else {
//restore select
OA.picker_filter.sel.append(OA.picker_filter.optiontags);
//while(OA.picker_filter.optiontags.length)
// OA.picker_filter.sel.appendChild(OA.picker_filter.optiontags.shift())
}
}
});
OA.picker_filter.init();
name: Multiselect search
description: Need to get multiselect search working in Chrome, IE and Safari
authors:
- Kevin Old
resources:
- https://github.com/smith/namespacedotjs/raw/a64c08aafe64fa34aa1fbc156d6dcd27acf9cad6/Namespace.js
normalize_css: no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment