### Instruction:

Extract the cause and effect entities from the following sentence:
A valid NRF color code will be assigned to the setpack GTIN when all trade items are of the same color in the setpack, otherwise the NRF color code 999-assorted is assigned

### Assistant:

KEYWORD: when
VARIABLE: the NRF color code 999-assorted
CONDITION: is assigned
EFFECT_1: A valid NRF color code will be assigned to the setpack GTIN
CAUSE_1: all trade items are of the same color in the setpack
NEGATION: otherwise
EFFECT_2: the NRF color code 999-assorted is assigned

