外购入库触发器

create trigger icstockbillentry_up on icstockbillentry
for update,insert
as
declare @finterid int,@ftrantype int
select @finterid=FInterID from inserted
select @ftrantype=FTranType from ICStockBill where FInterID=@finterid
if @ftrantype=1
begin
update a set FBatchNo=b.FN
外购入库触发器
各位大神我有个K3、wise的问题。 我在核算项目下面自定义了一个项目A,然后在外购入库单,单据体也做了一个自定义字段(取值对应开始定义的...
点击下载文档文档为doc格式
声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。如若本站内容侵犯了原著者的合法权益,可联系本站删除。
上一篇
已经是第一篇



