售后技术专线:4006-6500-28
新购有特价、金蝶老客户升级金蝶云产品可以享受5折优惠,送手机、送话费,好礼不断!
【问题描述】
采购订单下查外购入库单或者点击关联信息,外购入库单序时簿界面显示空白行,但能双击打开单据。
打开外购入库单序时簿过滤界面,表格设置中勾选上【商品品牌】【商品类别】点击确认后,此时同样是显示空白行,说明关联关系表丢失了这两个字段或其中一个。
需要在数据库执行以下语句,将关联关系表ICTableRelation丢失的记录补录。
if not exists(select 1 from ICTableRelation where FTypeID=58 and FInterID=564 and FFieldName='FComBrandID')
insert into ICTableRelation (FTypeID,FInterID,FTableName,FTableNameAlias,FFieldName,FTableName11,FTableNameAlias11,FFieldName11,FLogic,FBillID,FFieldID,FMode,FIndex,FCondition,FLeftParentheses,FRightParentheses,FLogicOperator,FISConst,FConstType,FSubFilter) values (58,564,'ICStockBillEntry','u1','FComBrandID','t_Item','t1032','FItemID','*=','','',0,0,'','','','=',0,0,'')
if not exists(select 1 from ICTableRelation where FTypeID=58 and FInterID=563 and FFieldName='FComCategoryID')
insert into ICTableRelation(FTypeID,FInterID,FTableName,FTableNameAlias,FFieldName,FTableName11,FTableNameAlias11,FFieldName11,FLogic,FBillID,FFieldID,FMode,FIndex,FCondition,FLeftParentheses,FRightParentheses,FLogicOperator,FISConst,FConstType,FSubFilter) values (58,563,'ICStockBillEntry','u1','FComCategoryID','t_Item','t1031','FItemID','*=','','',0,0,'','','','=',0,0,'')
正式账套执行脚本前请先做好备份,建议待在测试账套中核实无误后再在正式账套中执行。
截屏,微信识别二维码
客服QQ:1250556403
(点击QQ号复制,添加好友)