State tax filing

Thank you! So for CA income allocation, it is not based on what is shown in the W2 correct?