L3 sprint 2 2.3.1 QUO01 Territory Account Validation

Options

Hi everyone,

I am a bit confused and have been stuck for a while, how to approach the

line :" Assigned>1?: Is the account assigned to more than one territory? "

also, what is the purpose of "cf_account" line?

which modules should I reference? any ideas?

Thank you!

Answers

  • AjayM
    Options

    Hi @Ssudilovsky ,

    Assigned>1? should give you TRUE if the count of territories each account is assigned to exceeds 1. For this you first have to count number of territories each account is assigned to, at account level (a SUM by A1 account). And then you would verify if this count is greater than 1, at G4 level.

    cf_account will be used on UX page to apply conditional formatting ("cf") for those accounts which satisfy Assigned>1? condition. You would highlight those accounts in some color if they are assigned to more than one territory.


    Hope this helps you in making progress.

    Cheers!

  • @AjayM Hi thanks for responding, I guess I don't understand how a child (account) can be assigned to more than 1 parent (territory). is “Candyonse” the only account that needs to be flagged?

    Thank you!

  • AjayM
    Options

    Hi @Ssudilovsky ,

    Account to Territory assignment is done using numbered list and that's how you are able to assign same child to more than one parent. By the end of user story 2.5, you should be seeing only one account “Candyose” assigned to more than one territory.

    Cheers!