Skip to main content

JOIN-Default Brand Rep

Type: Clients

Loads all the default brand reps into a dataset so that it can be joined to other datasets.

JOIN-Default Brand Rep Bundle

Loads all the default brand reps into a dataset so that it can be joined to other datasets.

JOIN-Default Brand Rep

Summary

Loads all the default brand reps into a dataset so that it can be joined to other datasets.

For details on how this dataset is built go to Ad Brands Docs

Description

Only returns the last active Default Reps on a Brand. Each Brand 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 KeybrandIdkeyword_textKey composed of
ClientID*Brand ID
This is the field that you will join to other queries to get default brand reps.
Default DatedefaultDatedateThe date that this group of reps became active
Brand Product IDidkeyword_textKey composed of
Client IDBrand IDProduct ID
In this case the product id will always be "Default"
Default Assign In OedefaultAssignInOEkeyword_text"Y" if Assign In O.E. is set
"N" if not.
Default Rep IdsdefaultRepIdskeyword_textAn array of rep ids that are currently active
Default Rep NamesdefaultRepNameskeyword_textAn array of rep names for the the reps that are currently active
Default Rep PctsdefaultRepPctsdoubleAn array of rep percentages for the current default reps
Default Rep GroupsdefaultRepGroupskeyword_textAn array of rep group ids for the the reps that are currently active
Default Rep Id 1defaultRepId 1keyword_textCurrent active Rep 1 id
Default Rep Pct 1defaultRepPct 1doubleCurrent active Rep 1 pct
Default Rep Group 1defaultRepGroup 1keyword_textCurrent active Rep 1 group
Default Rep Name 1defaultRepName 1keyword_textCurrent active Rep 1 name
Default Rep Id 2defaultRepId 2keyword_text
Default Rep Pct 2defaultRepPct 2double
Default Rep Group 2defaultRepGroup 2keyword_text
Default Rep Name 2defaultRepName 2keyword_text
Default Rep Id 3defaultRepId 3keyword_text
Default Rep Pct 3defaultRepPct 3double
Default Rep Group 3defaultRepGroup 3keyword_text
Default Rep Name 3defaultRepName 3keyword_text
Default Rep Id 4defaultRepId 4keyword_text
Default Rep Pct 4defaultRepPct 4double
Default Rep Group 4defaultRepGroup 4keyword_text
Default Rep Name 4defaultRepName 4keyword_text
Default Inactive InddefaultInactiveIndkeyword_text