A taxpayer that is a New Jersey S corporation shall not be allowed the tax credit directly under N.J.S. 54A:1-1 et seq., but the amount of credit of a taxpayer in respect of a pro-rata share of S corporation income shall be determined by allocating to the taxpayer that proportion of the credit acquired by the New Jersey S corporation that is equal to the taxpayer's share, whether or not distributed, of the total pro-rata share of S corporation income of the New Jersey S corporation for its privilege period ending within or with the taxpayer's taxable year.
N.J.S. § 54A:4-18