所有的单据都不能审核 提示有重复值,
- 浏览:598 - 发布时间:2008-01-08 00:00:00.0
问题版本: |
803-U8.52 |
问题模块: |
818-报账中心 |
所属行业: |
0-通用 |
问题状态: |
1-UU通注册用户 |
关 键 字: |
所有的单据都不能审核 提示有重复值, |
适用产品: |
852 |
补 丁 号: |
|
开放状态: |
0-UU通注册用户 |
原问题号: |
|
提交时间: |
2008-1-8 |
问题名称: |
所有的单据都不能审核 提示有重复值, |
问题现象: |
调拨单等单据审核提示 不能在具有唯一索引aa_rdrocords_pk的对象rdrecords中插入重复键的行 |
原因分析: |
1. --事件探查器跟踪发现 -- Insert Into ufdata_001_2005..Rdrecords(id,cinvcode,cbarcode,cfree1,cfree2,cfree3,cfree4,cfree5,cfree6,cfree7,cfree8, cfree9,cfree10,inquantity,innum,cbatch,cassunit,dmadedate,inum,iquantity,iunitcost,iprice,ipunitcost,ipprice,dvdate, cpo |
解决方案: |
1.-- select * from ua_identity where cacc_id = 001 and cVouchtype = 'rd' --iFatherID = 234295 iChildID = 1601709 -- select max(id) from ufdata_001_2005..rdrecords --489878 -- selexct max(id) from ufdata_001_2005..rdrecord --489878 2.备份数据 \\lisheng(1 | |