PIM-1494 Use scopeCode instead of channel object