升���?.2.3后,新发OA生成不了手机囄����?/span>
排除�Ҏ(gu��)���Q?/span>
1、在帐套库执行下列语�?/p>
Select * from sdpo020b
2、查看下 字段 “po020b26”字�D늚�排列��序�Q�如果不是在 po020b25和po020b27之间�Q?br/>
则说明有问题�Q�需执行脚本�Q�“sdpo020b.txt�?文�g见附�?
3、若客户已经发了OA�Q�不想重新发��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