Alter PROCEDURE [dbo].[st_KIT_updateStockSendMaterial]
( @SupplyNO VARCHAR(20), --供应商编号 @RawNO VARCHAR(30), --原料编号 @StaCode VARCHAR(10), --工作中心 @State INT, --状态 @NUM DECIMAL(20,3), --投料重量 @Unit VARCHAR(5), --单位 @StateDesc VARCHAR(20), --状态描述 @Remark VARCHAR(500),--备注 @CreateMan VARCHAR(20) --创建人)ASBEGIN BEGIN TRAN BEGIN TRY COMMIT END TRY BEGIN CATCH ROLLBACK declare @ErrorMessage nvarchar(4000); declare @ErrorSeverity int; declare @ErrorState int; select @ErrorMessage = ERROR_MESSAGE(), @ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE(); raiserror (@ErrorMessage, @ErrorSeverity, @ErrorState); END CATCHEND