SELECT af.row_number,
	af.allocation_transfer_agency,
	af.agency_identifier,
	af.beginning_period_of_availa,
	af.ending_period_of_availabil,
	af.availability_type_code,
	af.main_account_code,
	af.sub_account_code,
	af.program_activity_code,
	af.object_class
FROM award_financial AS af
WHERE af.submission_id = {}
	AND NOT EXISTS (
		SELECT 1
		FROM object_class_program_activity AS op
		WHERE af.tas IS NOT DISTINCT FROM op.tas
			AND (af.program_activity_code IS NOT DISTINCT FROM op.program_activity_code
				OR COALESCE(af.program_activity_code, 0) = 0
				OR af.program_activity_code = "")
			AND af.object_class IS NOT DISTINCT FROM op.object_class
			AND af.submission_id = op.submission_id
	);
SELECT af.row_number,
	af.allocation_transfer_agency,
	af.agency_identifier,
	af.beginning_period_of_availa,
	af.ending_period_of_availabil,
	af.availability_type_code,
	af.main_account_code,
	af.sub_account_code,
	af.program_activity_code,
	af.object_class
FROM award_financial AS af
WHERE af.submission_id = {}
	AND NOT EXISTS (
		SELECT 1
		FROM object_class_program_activity AS op
		WHERE af.tas IS NOT DISTINCT FROM op.tas
			AND af.program_activity_code IS NOT DISTINCT FROM op.program_activity_code
			AND af.object_class IS NOT DISTINCT FROM op.object_class
			AND af.submission_id = op.submission_id
	);
Revert "Updated B20 to ignore blank or zero program activity code"
Revert "Updated B20 to ignore blank or zero program activity code"

This reverts commit 0515494b6382d22ef1c298b3bd31df2f9c90a9bf.
