升?.2.3后,新发OA生成不了(jin)手机囄?/span>
排除Ҏ(gu)Q?/span>
1、在帐套库执行下列语?/p>
Select * from sdpo020b
2、查看下 字段 “po020b26”字D늚排列序Q如果不是在 po020b25和po020b27之间Q?br/>
则说明有问题Q需执行脚本Q“sdpo020b.txt?文g见附?
3、若客户已经发了(jin)OAQ不想重新发P则需在帐套库执行下列脚本Q这个视数据量大,执行旉相应加长Q:(x)
Declare @po00402 varchar(40),
@po00403 varchar(40),
@po00418 varchar(40)
Declare sdpo004_cur Cursor For
Select po00402,po00403,po00418 From sdpo004_AllRecord Where Not Exists(
Select 1 From sdpo100 Where po10011=po00418) And Not Exists(
Select 1 From sdcf011 Where cf01105=po00418) And Not Exists(
Select 1 From sdcf027 Where cf02707=po00418) order by po00402
Open sdpo004_cur
Fetch Next From sdpo004_cur Into @po00402,@po00403,@po00418
While @@Fetch_Status<>-1
Begin
Exec InsertToImage @po00402, @po00403, @po00418
Fetch Next From sdpo004_cur Into @po00402,@po00403,@po00418
End
Close sdpo004_cur
Deallocate sdpo004_cur