You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
8.8 KiB
83 lines
8.8 KiB
--Add SYS_ArgumentsClass
|
|
--Select * From OTB_SYS_ArgumentClass Order by OrderByValue
|
|
--人事類別
|
|
Delete OTB_SYS_ArgumentClass Where ArgumentClassID='HRClass';
|
|
Insert into OTB_SYS_ArgumentClass(OrganizationID,ArgumentClassID,LanguageID,ArgumentClassName,OrderByValue,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate,DelStatus)
|
|
Values ('Origtek','HRClass','zh-TW','人事類別',31,'Y','','apadmin',getdate(),'',null,'N');
|
|
--會計科目類別
|
|
Delete OTB_SYS_ArgumentClass Where ArgumentClassID='ACCClass';
|
|
Insert into OTB_SYS_ArgumentClass(OrganizationID,ArgumentClassID,LanguageID,ArgumentClassName,OrderByValue,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate,DelStatus)
|
|
Values ('Origtek','ACCClass','zh-TW','科目類別',31,'Y','','apadmin',getdate(),'',null,'N');
|
|
Delete OTB_SYS_ArgumentClass Where ArgumentClassID='DCClass';
|
|
Insert into OTB_SYS_ArgumentClass(OrganizationID,ArgumentClassID,LanguageID,ArgumentClassName,OrderByValue,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate,DelStatus)
|
|
Values ('Origtek','DCClass','zh-TW','借貸類別',32,'Y','','apadmin',getdate(),'',null,'N');
|
|
--請款方式類別
|
|
Delete OTB_SYS_ArgumentClass Where ArgumentClassID='PayType';
|
|
Insert into OTB_SYS_ArgumentClass(OrganizationID,ArgumentClassID,LanguageID,ArgumentClassName,OrderByValue,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate,DelStatus)
|
|
Values ('Origtek','PayType','zh-TW','付款方式',33,'Y','','apadmin',getdate(),'',null,'N');
|
|
--請款項目
|
|
Delete OTB_SYS_ArgumentClass Where ArgumentClassID='PayItem';
|
|
Insert into OTB_SYS_ArgumentClass(OrganizationID,ArgumentClassID,LanguageID,ArgumentClassName,OrderByValue,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate,DelStatus)
|
|
Values ('Origtek','PayItem','zh-TW','請款項目',34,'Y','','apadmin',getdate(),'',null,'N');
|
|
--幣別
|
|
Delete OTB_SYS_ArgumentClass Where ArgumentClassID='CurrencyClass';
|
|
Insert into OTB_SYS_ArgumentClass(OrganizationID,ArgumentClassID,LanguageID,ArgumentClassName,OrderByValue,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate,DelStatus)
|
|
Values ('Origtek','Currency','zh-TW','幣別',35,'Y','','apadmin',getdate(),'',null,'N');
|
|
|
|
--Add SYS_Arguments
|
|
--Select * From OTB_SYS_Arguments Where ArgumentClassID='HRClass' Order by OrderByValue
|
|
--人事相關參數
|
|
Delete OTB_SYS_Arguments Where ArgumentClassID='HRClass';
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','HRClass','C','zh-TW','直接人員',1,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','HRClass','E','zh-TW','間接人員',2,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
--會計科目類別
|
|
Delete OTB_SYS_Arguments Where ArgumentClassID='ACCClass';
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','ACCClass','A','zh-TW','資產',1,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','ACCClass','L','zh-TW','負債',2,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','ACCClass','I','zh-TW','收入',3,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','ACCClass','E','zh-TW','費用',4,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','ACCClass','O','zh-TW','股東權益',5,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
|
|
Delete OTB_SYS_Arguments Where ArgumentClassID='DCClass';
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','DCClass','D','zh-TW','借方',1,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','DCClass','C','zh-TW','貸方',2,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
|
|
--寫入付款方式
|
|
Delete OTB_SYS_Arguments Where ArgumentClassID='PayType';
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','PayType','P','zh-TW','專案分期',1,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','PayType','M','zh-TW','人月請款',2,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','PayType','D','zh-TW','人日請款',3,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','PayType','H','zh-TW','人時請款',4,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
|
|
--寫入請款項目
|
|
Delete OTB_SYS_Arguments Where ArgumentClassID='PayItem';
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','PayItem','PJ','zh-TW','專案分期請款',1,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','PayItem','PM','zh-TW','專案經理費用',2,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','PayItem','SA','zh-TW','系統分析師費用',3,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','PayItem','SP','zh-TW','資深工程師費用',4,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','PayItem','PG','zh-TW','工程師費用',5,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
|
|
--幣別相關參數
|
|
Delete OTB_SYS_Arguments Where ArgumentClassID='Currency';
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','Currency','RMB','zh-TW','人民幣',1,null,null,'N','Y','','apadmin',getdate(),'',null);
|
|
Insert into OTB_SYS_Arguments(OrganizationID,ArgumentClassID,ArgumentID,LanguageID,ArgumentValue,OrderByValue,LevelOfArgument,ParentArgument,DelStatus,Effective,Memo,CreateUser,CreateDate,ModifyUser,ModifyDate)
|
|
Values ('Origtek','Currency','USD','zh-TW','美金',2,null,null,'N','Y','','apadmin',getdate(),'',null);
|