/*K3中如何注册同一个单据内部的操作插件
@2008.dec 23
例如在购货发票内的求和操作,注册插件如下过程
*/
SELECT * FROM ICTransactionType WHERE FName like '%购货发票%' /*FID=75*/
--找到正确的位置,一般选findex为0时,若未占用
select * from t_thirdpartycomponent where ftypedetailid=75 and findex=0
delete from t_thirdpartycomponent where ftypedetailid=75 and findex=0
--注册
insert into t_ThirdPartyComponent(FTypeID,FTypeDetailID,FIndex,FComponentName,FComponentSrv)
values(0,75,0,'pay.Pay_Procurement','')