Tā de xíngwéi yǐjīng yuèguǐ, gōngsī juédìng jiěgù tā.
His behavior had crossed the line and the company decided to fire him.
Tips
memory
越 means 'to cross/exceed' and 轨 means 'rail/track.' Imagine a train going off its tracks - that's 越轨. The metaphor extends to any behavior that 'goes off track' from accepted norms or rules.