There is one term called “ordering rule”
From IRS website:
“The order in which stock basis is increased or decreased is important. Because both the taxability of a distribution and the deductibility of a loss are dependent on stock basis, there is an ordering rule in computing stock basis. Stock basis is adjusted annually, as of the last day of the S corporation year, in the following order:
Increased for income items and excess depletion;
Decreased for distributions;
Decreased for non-deductible, non-capital expenses and depletion; and
Decreased for items of loss and deduction.”
I can't find anything in IRC, but CFR(26 CFR 1.1367-1 – Adjustments to basis of shareholder's stock in an S corporation.) said
(e) Ordering rules for taxable years beginning before January 1, 1997. For any taxable year of a corporation beginning before January 1, 1997, except as provided in paragraph (g) of this section, the adjustments required by section 1367(a) are made in the following order—
(1) Any increase in basis attributable to the income items described insection 1367(a)(1) (A) and (B) and the excess of the deductions for depletion described in section 1367(a)(1)(C);
(2) Any decrease in basis attributable to noncapital, nondeductible expenses described insection 1367(a)(2)(D) and the oil and gas depletion deduction described in section 1367(a)(2)(E);
(3) Any decrease in basis attributable to items of loss or deduction described insection 1367(a)(2) (B) and (C); and
(4) Any decrease in basis attributable to a distribution by the corporation described insection 1367(a)(2)(A).
(f) Ordering rules for taxable years beginning on or after August 18, 1998. For any taxable year of a corporation beginning on or after August 18, 1998, except as provided in paragraph (g) of this section, the adjustments required by section 1367(a) are made in the following order—
(1) Any increase in basis attributable to the income items described insection 1367(a)(1)(A) and (B), and the excess of the deductions for depletion described in section 1367(a)(1)(C);
(2) Any decrease in basis attributable to a distribution by the corporation described insection 1367(a)(2)(A);
(3) Any decrease in basis attributable to noncapital, nondeductible expenses described insection 1367(a)(2)(D), and the oil and gas depletion deduction described in section 1367(a)(2)(E); and
(4) Any decrease in basis attributable to items of loss or deduction described insection 1367(a)(2)(B) and (C).
So the one in Becker which put the distribution at the end could be the rule before 1997.
REG 90
FAR 95
AUD 98
BEC 84