


全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
用友修改ufsystem最大单据号sql语句故障1:在保存任何单据时,出现用友单据保存提示违反了primary key约束*不能在对象*中插入重复键。新增单据保存失败的情况时,在sql查询器中,执行以下语句,就能解决。故障2:不能在具有唯一索引aardrecord_pk的对象rdrecord中插入重复键的行。 不能在具有唯一索引aardrecords_pk的对象rdrecords中插入重复键的行。故障3:发货单(销售发票)不能保存,提示操作过程中发生资源共享冲突,可能单据号重复update ua_identity set ifatherid=(select max(dlid)from ufdata_008_2013.dispatchlist),ichildid=(select max(idlsid)from ufdata_008_2013.dispatchlists) where cacc_id=008 and cvouchtype=dispatch update ufsystem.ua_identity set ifatherid=(select case when max(sbvid) is not null then max(sbvid) else 0 end as id from ufdata_008_2013.salebillvouch),ichildid=(select case when max(autoid) is not null then max(autoid) else 0 end as autoid from ufdata_008_2013.salebillvouchs)where cacc_id=008 and cvouchtype=billvouch goupdate ufsystem.ua_identity set ifatherid=(select case when max(poid) is not null then max(poid) else 0 end as id from ufdata_008_2013.po_pomain),ichildid=(select max(id) as autoid from ufdata_008_2013.po_podetails)where cacc_id=008 and cvouchtype=pomain goupdate ufsystem.ua_identity set ifatherid=(select case when max(id) is not null then max(id) else 0 end as id from ufdata_008_2013.justinvouch),ichildid=(select case when max(autoid) is not null then max(autoid) else 0 end as autoid from ufdata_008_2013.justinvouchs)where cacc_id=008 and cvouchtype=jugoupdate ufsystem.ua_identity set ifatherid=(select case when max(id) is not null then max(id) else 0 end as id from ufdata_008_2013.pu_arrivalvouch),ichildid=(select case when max(autoid) is not null then max(autoid) else 0 end as autoid from ufdata_008_2013.pu_arrivalvouchs)where cacc_id=008 and cvouchtype=puarrivalgoupdate ufsystem.ua_identity set ifatherid=(select case when max(id) is not null then max(id) else 0 end as id from ufdata_008_2013.pu_appvouch),ichildid=(select case when max(autoid) is not null then max(autoid) else 0 end as autoid from ufdata_008_2013.pu_appvouchs)where cacc_id=008 and cvouchtype=puappgoupdate ufsystem.ua_identity set ifatherid=(select case when max(pbvid)is not null then max(pbvid) else 0 end as id from ufdata_008_2013.purbillvouch),ichildid=(select case when max(id) is not null then max(id) else 0 end as autoid from ufdata_008_2013.purbillvouchs)where cacc_id=008 and cvouchtype=purbillgoupdate ufsystem.ua_identity set ifatherid=(select case when max(psvid)is not null then max(psvid) else 0 end as id from ufdata_008_2013.pursettlevouch),ichildid=(select case when max(id) is not null then max(id) else 0 end as autoid from ufdata_008_2013.pursettlevouchs)where cacc_id=008 and cvouchtype=purstidgoupdate ufsystem.ua_identity set ifatherid=(select case when max(id) is not null then max(id) else 0 end as id from ufdata_008_2013.sa_quomain),ichildid=(select case when max(autoid) is not null then max(autoid) else 0 end as autoid from ufdata_008_2013.sa_quodetails)where cacc_id=008 and cvouchtype=quomaingoupdate ufsystem.ua_identity set ifatherid=(select case when max(id)is not null then max(id) else 0 end as id from ufdata_008_2013.so_somain),ichildid=(select case when max(isosid) is not null then max(isosid) else 0 end as isosid from ufdata_008_2013.so_sodetails)where cacc_id=008 and cvouchtype=somaingoupdate ufsystem.ua_identity set ifatherid=(select case when max(iid)is not null then max(iid) else 0 end as id from ufdata_008_2013.ap_closebill),ichildid=(select case when max(id)is not null then max(id) else 0 end as autoid from ufdata_008_2013.ap_closebills)where cacc_id=008 and cvouchtype=skgoupdate ufsystem.ua_identity set ifatherid=(select case when max(id)is not null then max(id) else 0 end as id from ufdata_008_2013.transvouch),ichildid=(select case when max(autoid)is not null then max(autoid) else 0 end as autoid from ufdata_008_2013.transvouchs)where cacc_id=008 and cvouchtype=trgoupdate ufsystem.ua_identity set ifatherid=(select case when max(id)is not null then max(id) else 0 end as id from ufdata_008_2013.expensevouch),ichildid=(select case when max(autoid)is not null then max(autoid) else 0 end as autoid from ufdata_008_2013.expensevouchs)where cacc_id=008 and cvoucht
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年区块链金融行业应用前景研究报告
- 2025年医疗健康行业智能医疗设备市场前景展望报告
- 国家事业单位招聘2025国家海洋标准计量中心招聘应届毕业生拟聘人员笔试历年参考题库附带答案详解
- 吉林省2025年吉林白城通榆县事业单位引进急需紧缺人才笔试历年参考题库附带答案详解
- 南宁市2025广西南宁市青秀区委政法委招聘2人笔试历年参考题库附带答案详解
- 克拉玛依市2025新疆克拉玛依市企事业单位高层次急需紧缺人才引进(493人)笔试历年参考题库附带答案详解
- 乌兰察布市2025内蒙古乌兰察布市四子王旗高层次和紧缺急需人才引进46人笔试历年参考题库附带答案详解
- 2025重庆国咨数据服务有限公司招聘18人笔试参考题库附带答案详解
- 2025甘肃张掖市发展投资集团有限公司招聘专业技术人员6人笔试参考题库附带答案详解
- 2025河南空港数字城市开发建设有限公司第一批社会招聘20人笔试参考题库附带答案详解
- 危重患者皮肤管理课件
- 2025年国防教育知识竞赛试题(附答案)
- 工伤受伤经过简述如何写
- 银行现金取款申请书
- 人事外包招聘代理合同
- 数字经济学-课件 第3章 数字技术
- AI引领时尚设计新潮-个性化需求的新一代解决方案
- 高二数学直线倾斜角与斜率同步练习题
- 2024-2030年全球及中国热障涂层(TBC)行业市场现状供需分析及市场深度研究发展前景及规划可行性分析研究报告
- 大轻质泡沫混凝土研究报告
- 室内装修工程质量保障措施方案
评论
0/150
提交评论