Cal. Rev. & Tax. Code § 17276.7
(a) The term “qualified taxpayer” as used in Section 17276.1 includes a person or entity that conducts a farming business that is directly affected by Pierce’s disease and its vectors. For purposes of this subdivision, all of the following shall apply:
(2) For purposes of this subdivision:
(A) “Net operating loss” means the loss determined under Section 172 of the Internal Revenue Code, as modified by Section 17276.1, attributable to the taxpayer’s farming business activities affected by Pierce’s disease and its vectors. That attributable loss shall be determined in accordance with Chapter 17 (commencing with Section 25101) of Part 11, modified for purposes of this subdivision, as follows:
(C) Attributable income is that portion of the taxpayer’s California source farming business income that is apportioned to the area affected by Pierce’s disease and its vectors. For that purpose, that taxpayer’s farming business income attributable to sources in this state first shall be determined in accordance with Chapter 17 (commencing with Section 25101) of Part 11. That farming business income shall be further apportioned to the area affected by Pierce’s disease and its vectors in accordance with Article 2 (commencing with Section 25120) of Chapter 17 of Part 11, modified for purposes of this subdivision as follows:
(i) Farming business income shall be apportioned to the area affected by Pierce’s disease and its vectors by multiplying the total California farming business income of the taxpayer by a fraction, the numerator of which is the property factor plus the payroll factor, and the denominator of which is two. For purposes of this paragraph:
(e)