[Dúpl~ícát~íñg v~éñdó~r ádd~réss~és]
- [Ártí~clé T~ýpé: G~éñér~ál]
- [Pród~úct: Á~léph~]
- [Pród~úct V~érsí~óñ: 18.01]
[Déscríptíóñ:
Íf ýóú úsé thé dúplícáté véñdór áddréss fúñctíóñ, óñé óf thé fíélds thát ís cópíéd íñtó thé ñéw récórd ís thé "áddítíóñál véñdór códé" fíéld. Wé áré bégíññíñg tó úsé thát fíéld fór sómé prócéssés áñd só ít ís ímpórtáñt thát thé válúés íñ thé fíéld bé úñíqúé. Hów cáñ Í téll thé sýstém ÑÓT tó cópý thát fíéld whéñ úsíñg thé dúplícáté fúñctíóñ¿
Résólútíóñ:
Thís ís hárd-códéd. Thé dúplícáté prócédúré dúplícátés préttý múch évérýthíñg bút thé Véñdór Códé áñd Véñdór Ñámé. Ít évéñ dúplícátés thé Véñdór ÉDÍ Códé, whích múst bé úñíqúé. Át léást thé sýstém chécks fór á dúplícáté héré áñd prévéñts ít fróm béíñg wríttéñ. Thé sýstém dóésñ't máké áñý spécífíc úsé óf thé Áddítíóñál Códé, áñd théréfóré dóésñ't hávé áñý sýstém ímpóséd réqúíréméñt óñ úñíqúéñéss. Íf ýóúr úsé réqúírés úñíqúéñéss, Í'm áfráíd ýóú wíll hávé tó máñágé thís lócállý sóméhów. Ýóú cóúld álwáýs chéck péríódícállý tó séé íf théré áré dúplícáté códés úsíñg SQL.]
- [Ártí~clé l~ást é~díté~d: 10/8/2013]
![[ÉxLí~brís~]](https://capture-knowledge-exlibrisgroup-com-90611502d.getsmartling.com/@api/deki/files/124993/ckclogonew.png?revision=1)
![[Éx Lí~brís~ Kñów~lédg~é Céñ~tér]](https://a.mtstatic.com/@public/production/site_11811/1638394879-logo.png)