Skip to main content
Good morning, I was hoping someone could assist me with writing a field filter.  I have a "Shipping Account" field on Quote Line Item.  What I want to filter it down by, is IF the account on the Quote shares a "Root Account Id" (meaning ultimate parent) with any other accounts, those are the accounts I want to show as selectable within the filter.

 

Help is appreciated!   
7 answers
  1. Jun 9, 2017, 4:48 PM
    Ok, Try this:

     

     I have assumed the 'Shipping Account' field on Quote line item as a Formula(Checkbox)

    field with the below formula

    IF(NOT(ISBLANK(Quote.Opportunity.Account.ParentId)),true,false)

     

    If your Shipping Account field is a Lookup(Account)

    field, then you will have to write a workflow rule field update with the below formula to update the Lookup field.

    Quote.Opportunity.Account.ParentId

    I think the checkbox formula should be enough if you are just trying to pull these records in a report.

     

    Goto your report and add a field filter on this Shipping Account filter.

     

    Shipping Account equals TRUE    (If its a checkbox formula field)

     

    or

     

    Shipping Account not equals  ' '    (If its a lookup field)

     

    Hope this is what you are looking for.

     

    Thanks!