﻿if not Exists(SELECT * FROM information_schema.tables where Table_name = 'VoucherElectronicOffice')
begin
	create table dbo.VoucherElectronicOffice
	(
		ID	int primary key,
		Mat_ID	bigint references dbo.Matter(ID) not null,
		FC_ID	int references dbo.Finance_Cycle(ID) not null,
		Pro_ID_VahedMali	int references dbo.OTherProperties(ID) not null,
		TrackingCode	nvarchar(200) null,
		FromDate	int not null,
		ToDate	int not null,
		Description	nvarchar(1000) null,
		[Guid]	nvarchar(200) null
	)
end