用友ERP年结出现 错误信息: INSERT 语句与 COLUMN FOREIGN KEY 约束 'FK_PP_POMain_Inventory' 冲突。

年度:2015程序名:UFPPJZ:Begin模块:生产管理:生产订单最后语句:InsertIntoPP_POMain(MainId,ID,cInvCode,dStart... 年度:2015
程序名: UFPPJZ: Begin
模块:生产管理:生产订单
最后语句:Insert Into PP_POMain ( MainId, ID, cInvCode, dStartDate, dEndDate, cMemo, fQuantity,iDataFrom, cFree1, fInQuantity, cFree2, cFree3, cFree4, cFree5, cFree6, cFree7, cFree8, cFree9, cFree10, bUsed,cClose,bCheck,fTotalCheck,cBOMSoCode, bPutFromSo,cSOsIDs,cDefine22,cDefine23,cDefine24,cDefine25,cDefine26,cDefine27,cDefine28,cDefine29,cDefine30,cDefine31,cDefine32,cDefine33,cDefine34,cDefine35,cDefine36,cDefine37,iBLevel,bExpandEndB,iFromType,fincheckquantity,fhgquantity,fbhgquantity,fhgnum,fbhgnum,fybjsquantity,fybjsnum,fybjsinquan,fybjsinnum,fhginquan,fhginnum,irejid,fthquantity,fthnum,fthinquan,fthinnum,fbfquantity,fbfnum,irdautoid,iBlevelBak,bExpandendBak,fQuantityed ,bPutFromYC, iYCsIDs, fNumed, cItem_class, cItemCode, cItemName, cunitid, fNum, fInNum, finchecknum, cBatch, bNeedReCalComps, iRelationID,fMinFitPInv) select MainId, ID, cInvCode, dStartDate, dEndDate, cMemo, fQuantity,iDataFrom, cFree1, fInQuantity, cFree2, cFree3, cFree4, cFree5, cFree6, cFree7, cFree8, cFree9, cFree10, bUsed,cClose,bCheck,fTotalCheck,cBOMSoCode, bPutFromSo,cSOsIDs,cDefine22,cDefine23,cDefine24,cDefine25,cDefine26,cDefine27,cDefine28,cDefine29,cDefine30,cDefine31,cDefine32,cDefine33,cDefine34,cDefine35,cDefine36,cDefine37,iBLevel,bExpandEndB,iFromType,fincheckquantity,fhgquantity,fbhgquantity,fhgnum,fbhgnum,fybjsquantity,fybjsnum,fybjsinquan,fybjsinnum,fhginquan,fhginnum,irejid,fthquantity,fthnum,fthinquan,fthinnum,fbfquantity,fbfnum,irdautoid,iBlevelBak,bExpandendBak,fQuantityed ,bPutFromYC, iYCsIDs, fNumed, cItem_class, cItemCode, cItemName, cunitid, fNum, fInNum, finchecknum, cBatch, bNeedReCalComps, iRelationID ,fMinFitPInv from UFDATA_888_2014..PP_POMain where id=42367
错误信息: INSERT 语句与 COLUMN FOREIGN KEY 约束 'FK_PP_POMain_Inventory' 冲突。该冲突发生于数据库 'UFDATA_888_2015',表 'Inventory', column 'cInvCode'
展开
 我来答
beyondalan
2014-12-31 · 超过74用户采纳过TA的回答
知道小有建树答主
回答量:183
采纳率:50%
帮助的人:63.5万
展开全部
要插入的存货编码数据在存货档案中不存在
更多追问追答
追问
那要怎么弄啊
追答
在存货档案中直接添加不存在的存货档案!
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式