Line 626: select hz_parties_s.nextval into i_subject_party_id from dual;
622: --- If Subject Party does not exist,added this following if clause.
623: --
624: IF X_Sub_Party_Id IS NULL THEN
625: select hz_party_number_s.nextval into i_subject_party_number from dual; 626: select hz_parties_s.nextval into i_subject_party_id from dual; 627: ELSE
628: i_subject_party_id := X_Sub_Party_Id;
629: END IF;
630: