|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册账号
×
本帖最后由 千签恋 于 2009-9-28 10:02 编辑
T63.3版本,已更新最新补丁和脚本。
查询采购入库单列表爆错,提示:列名'ginvpicture'无效。确定后,表体内容为空,表头位置显示记录总数。
用事件探查器跟踪后有。。。无非因为是跟这个字段有关系
这个是执行后的结果,跟软件提示一样。。
我把语句贴上。。。
大家帮忙讨论下。。。
Select '' as SelCol,ID,bRdFlag,cVouchType,cBusType,cSource,cBusCode,cWhCode,cWhName,dDate,cCode,cRdCode,cRdName,cDepCode,cDepName,cPersonCode,cPersonName,cPTCode,cPTName,cVenCode,cVenAbbName,cOrderCode,cARVCode,cBillCode,cMemo,cMaker,cHandler,cAccounter,AutoID,ID_1,cInvCode,cInvAddCode,cInvName,cInvStd,cInvM_Unit,cInvA_Unit,(case when bService=1 then '是' else '否' end) as bService,cInvCCode,iInvExchRate,(case when bInvBatch=1 then '是' else '否' end) as bInvBatch,cItemCode,iNum,iQuantity,cItem_class,cName,iUnitCost,iPrice,cItemCName,iAPrice,iPUnitCost,iPPrice,cBatch,ipresent,iavanum,iavaquantity,cVouchCode,iFlag,dSDate,iMoney,iSOutQuantity,iSOutNum,iFNum,iFQuantity,dVDate,cReplaceItem,cPosition,dVeriDate,ipurorderid,ipurarriveid,iproorderid,iarriveid,isalebillid,iMPoIds,imassdate,cInVouchCode,iId,VT_ID,dARVDate,cAssUnit,iNNum,iNQuantity,cposname,gspcheck,cbarcode,dmadedate,facost,isquantity,iarrsid,cDefine1,cDefine2,cDefine3,cDefine4,cDefine5,cDefine6,cDefine7,cDefine8,cDefine9,cDefine10,cDefine11,cDefine12,cDefine13,cDefine14,cDefine15,cDefine16,cDefine22,cDefine23,cDefine24,cDefine25,cDefine26,cDefine27,cDefine28,cDefine29,cDefine30,cDefine31,cDefine32,cDefine33,cDefine34,cDefine35,cDefine36,cDefine37,cInvDefine1,cInvDefine2,cInvDefine3,cInvDefine4,cInvDefine5,cInvDefine6,cInvDefine7,cInvDefine8,cInvDefine9,cInvDefine10,cInvDefine11,cInvDefine12,cInvDefine13,cInvDefine14,cInvDefine15,cInvDefine16,cFree1,cFree2,cFree3,cFree4,cFree5,cFree6,cFree7,cFree8,cFree9,cFree10,ufts,ccheckcode,ccheckpersoncode,ccheckpersonname,dcheckdate,crejtext,cqmintype,iTaxRate,iTaxCost,iTaxPrice,iSum,cvendefine1,cvendefine2,cvendefine3,cvendefine4,cvendefine5,cvendefine7,cvendefine8,cvendefine6,cvendefine9,cvendefine10,cvendefine11,cvendefine12,cvendefine13,cvendefine14,cvendefine15,cvendefine16,cbvendefine1,cbvendefine2,cbvendefine3,cbvendefine4,cbvendefine5,cbvendefine7,cbvendefine8,cbvendefine6,cbvendefine9,cbvendefine10,cbvendefine11,cbvendefine12,cbvendefine13,cbvendefine14,cbvendefine15,cbvendefine16,caccountpname,caccountpdate,cPayName,ginvpicture,cveninvcode,cveninvname,(NULL) as cAccountPID From zpurRkdList WHERE isnull(bPuFirst,0)<> 1 AND dDate >= '2009-01-01' AND (dDate>='2009-05-22' and dDate<='2009-05-22') and (AutoId In (407374,407375,407741,407742,407743,407744,407753,407754,407755,407756,407757,407759,407760,407761,407762,407768,407769,407770,407771,407772,407773,407774,407775,407776,408043,408049)) Order by AutoId |
|