Skip to main content

JOIN-Ad Brand Product Groups

Type: Clients

Brand reps by Product group overrides

JOIN-Ad Brand Product Groups Bundle

Brand reps by Product group overrides

JOIN-Ad Brand Product Groups

Summary

Loads all the override brand reps defined for Product Groups into a dataset so that it can be joined to other datasets.

Description

Only returns the last active Product Group Reps on a Brand. Each Brand Product Group Key can have up to four default reps. We return a set of fields that return information about the array of reps that are currently active. Default Rep Ids Default Rep Names Default Rep Pct Default Rep Group We also split the fields so each rep gets its own column. Default Rep Id 1 Default Rep Name 1 Default Rep Pct 1 Default Rep Group 1 etc.

Fields

LabelAliasTypeHiddenDescription
Brand Product Group Keyidkeyword_textKey composed of
ClientIdBrandIdProductGroupID
This is the field that you will join to other queries to get product group brand reps
Brand KeybrandKeykeyword_textKey composed of ClientID*Brand ID
Brand Product Group Inactive IndbrandProductGroupInactiveIndkeyword_text"Y" = Inactive Brand
Brand Product Group DatebrandProductGroupDatekeyword_textThe date that this group of reps became active
Brand Product Group Rep IdsbrandProductGroupRepIdskeyword_textAn array of rep ids for the the reps that are currently active
Brand Product Group Rep PctsbrandProductGroupRepPctsdoubleAn array of rep pcts for the the reps that are currently active
Brand Product Group Rep GroupsbrandProductGroupRepGroupskeyword_textAn array of rep group ids for the the reps that are currently active
Brand Product Group Rep NamesbrandProductGroupRepNameskeyword_textAn array of rep names for the the reps that are currently active
Brand Product Group Rep Id 1brandProductGroupRepId 1keyword_textCurrent active Rep 1 id
Brand Product Group Rep Pct 1brandProductGroupRepPct 1doubleCurrent active Rep 1 pct
Brand Product Group Rep Group 1brandProductGroupRepGroup 1keyword_textCurrent active Rep 1 group
Brand Product Group Rep Name 1brandProductGroupRepName 1keyword_textCurrent active Rep 1 name
Brand Product Group Rep Id 2brandProductGroupRepId 2keyword_text
Brand Product Group Rep Pct 2brandProductGroupRepPct 2double
Brand Product Group Rep Group 2brandProductGroupRepGroup 2keyword_text
Brand Product Group Rep Name 2brandProductGroupRepName 2keyword_text
Brand Product Group Rep Id 3brandProductGroupRepId 3keyword_text
Brand Product Group Rep Pct 3brandProductGroupRepPct 3double
Brand Product Group Rep Group 3brandProductGroupRepGroup 3keyword_text
Brand Product Group Rep Name 3brandProductGroupRepName 3keyword_text
Brand Product Group Rep Id 4brandProductGroupRepId 4keyword_text
Brand Product Group Rep Pct 4brandProductGroupRepPct 4double
Brand Product Group Rep Group 4brandProductGroupRepGroup 4keyword_text
Brand Product Group Rep Name 4brandProductGroupRepName 4keyword_text