This commit is contained in:
@@ -6,24 +6,71 @@ namespace AyaNova.Models
|
||||
public class GlobalBizSettings
|
||||
{
|
||||
|
||||
//This is the replacement for most of the Global object settings in v7 which has been subdivided further in v8 into backup / ops / notification and this general biz
|
||||
//this object is only interested in Business object related settings and configuration specifically
|
||||
|
||||
|
||||
public long Id { get; set; }//this is always 1 as there is only ever one single global biz object
|
||||
public uint Concurrency { get; set; }
|
||||
|
||||
//Global settings
|
||||
//############# NOTE: OTHER AREAS THAT MUST MATCH CHANGES HERE ARE:
|
||||
//GlobalBizSettingsController::GetClientGlobalBizSettings
|
||||
//ServerGlobalBizSettings
|
||||
|
||||
//Picklist and other searches override the normal case insensitive value
|
||||
//this is precautionarily added for non latinate languages where it could be an issue
|
||||
public bool SearchCaseSensitiveOnly { get; set; }
|
||||
public bool UseInventory { get; set; }
|
||||
|
||||
|
||||
// public bool NotificationSystemActive { get; set; }
|
||||
|
||||
public GlobalBizSettings()
|
||||
{
|
||||
Id = 1;//always 1
|
||||
SearchCaseSensitiveOnly = false;
|
||||
//NO, notification system is *always* active, if they don't want email delivery that's an OPS setting NotificationSystemActive = true;
|
||||
//keeping this in case I forget and try to re-implement
|
||||
UseInventory = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
CREATE TABLE [dbo].[AGLOBAL](
|
||||
[ACREATED] [datetime] NULL,
|
||||
[AMODIFIED] [datetime] NULL,
|
||||
[ACREATOR] [uniqueidentifier] NULL,
|
||||
[AMODIFIER] [uniqueidentifier] NULL,
|
||||
[ATAXPARTPURCHASEID] [uniqueidentifier] NULL,
|
||||
[ATAXPARTSALEID] [uniqueidentifier] NULL,
|
||||
[ATAXRATESALEID] [uniqueidentifier] NULL,
|
||||
[AALLOWSCHEDULECONFLICTS] [bit] NOT NULL,
|
||||
[ALANGUAGE] [nvarchar](255) NULL,
|
||||
[AUSEREGIONS] [bit] NOT NULL,
|
||||
[AWORKORDERCLOSEDSTATUS] [uniqueidentifier] NULL,
|
||||
[AWORKORDERSUMMARYTEMPLATE] [nvarchar](500) NOT NULL,
|
||||
[AUSEINVENTORY] [bit] NOT NULL,
|
||||
[AUNITNAMEFORMAT] [smallint] NULL,
|
||||
[ASCHEDULEABLEUSERNAMEFORMAT] [smallint] NULL,
|
||||
[ACJKINDEX] [bit] NOT NULL,
|
||||
[APARTFORMAT] [smallint] NULL,
|
||||
[AWORKORDERCLOSEBYAGE] [int] NOT NULL,
|
||||
[AUSENOTIFICATION] [bit] NOT NULL,
|
||||
[ANOTIFYSMTPHOST] [nvarchar](255) NULL,
|
||||
[ANOTIFYSMTPACCOUNT] [nvarchar](255) NULL,
|
||||
[ANOTIFYSMTPPASSWORD] [nvarchar](255) NULL,
|
||||
[ANOTIFYSMTPFROM] [nvarchar](255) NULL,
|
||||
[ACOORDINATESTYLE] [smallint] NULL,
|
||||
[ADEFAULTLATITUDE] [smallint] NULL,
|
||||
[ADEFAULTLONGITUDE] [smallint] NULL,
|
||||
[ADEFAULTSERVICETEMPLATEID] [uniqueidentifier] NULL,
|
||||
[AMAXFILESIZEMB] [int] NULL,
|
||||
[ALABORSCHEDUSERDFLTTIMESPAN] [int] NOT NULL,
|
||||
[ATRAVELDFLTTIMESPAN] [int] NOT NULL,
|
||||
[ANOTIFYENCRYPTION] [nvarchar](255) NULL,
|
||||
[ASMTPRETRY] [bit] NOT NULL,
|
||||
[AFORMCUSTOM] [ntext] NULL,
|
||||
[ASIGNATURETITLE] [ntext] NULL,
|
||||
[ASIGNATUREHEADER] [ntext] NULL,
|
||||
[ASIGNATUREFOOTER] [ntext] NULL,
|
||||
[ASCHEDUSERNONTODAYSTARTTIME] [datetime] NULL,
|
||||
[AMAINGRIDAUTOREFRESH] [bit] NOT NULL
|
||||
*/
|
||||
Reference in New Issue
Block a user