--为了分销传入外部凭证号把长度从30改为50 lid 2005-3-15
alter table dbo.GL_accvouch alter column coutno_id nvarchar(50)
--摘要把长度从60改为120 xzq 2005-4-4
alter table dbo.GL_accvouch alter column cdigest nvarchar(120)
--accinfomation表增加两条记录 lid 2005-4-6
delete AccInformation Where cSysID='GL' and cname='IntKmRefFilter'--因为脚本要求可能重新执行不出错,所以加此句
Insert into AccInformation(csysid,cid,cname,ccaption,ctype,cvalue,cdefault,bvisible,benable)
values(N'GL',N'99',N'IntKmRefFilter',N'科目参照过滤',N'Integer',N'0',N'0',1,1)
delete AccInformation Where cSysID='GL' and cname='iBudgetCtlType'--因为脚本要求可能重新执行不出错,所以加此句
Insert into AccInformation(csysid,cid,cname,ccaption,ctype,cvalue,cdefault,bvisible,benable)
values('GL','100','iBudgetCtlType',N'财务分析预算控制类型','Integer','','',0,0)
--gl_qcuserdef把字段cDirec类型从nchar(2)改为nvarchar(2) xzq 2005-4-4
alter table dbo.gl_qcuserdef alter column cDirec nvarchar(2)
--增加语种字段
IF Not exists (select syscolumns.name from syscolumns inner join sysobjects on syscolumns.id=sysobjects.id where syscolumns.name='LocaleId' and sysobjects.name='GL_mybooktype')
Alter table GL_mybooktype Add LocaleId NVARCHAR(32) NOT NULL Default('zh-CN')