15920: l_unique := 'Y'; /* Bug 9580651 - assigned 'Y' instead of NULL */
15921: /* Bug 9580651 - Getting the value of the profile "Allow Suppliers with duplicated TP id" */
15922: fnd_profile.get('POS_ALLOW_SUPP_DUPE_TAXPYR_ID',l_allow_dupe_taxpyr_id);
15923: if (l_allow_dupe_taxpyr_id = 'N') then
15924: pos_vendor_reg_pkg.is_taxpayer_id_unique
15925: ( p_supp_regid => -1
15926: , p_taxpayer_id => vendor_int_rec.num_1099
15927: , p_country => NULL
15928: , x_is_unique => l_unique
16057: THEN
16058:
16059: l_vendor_id_vat := NULL;
16060: l_unique := NULL;
16061: pos_vendor_reg_pkg.is_taxregnum_unique
16062: ( p_supp_regid => -1
16063: , p_taxreg_num => vendor_int_rec.vat_registration_num
16064: , p_country => null
16065: , x_is_unique => l_unique