This commit is contained in:
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -53,7 +53,7 @@
|
||||
"AYANOVA_FOLDER_USER_FILES": "c:\\temp\\RavenTestData\\userfiles",
|
||||
"AYANOVA_FOLDER_BACKUP_FILES": "c:\\temp\\RavenTestData\\backupfiles",
|
||||
"AYANOVA_FOLDER_TEMPORARY_SERVER_FILES": "c:\\temp\\RavenTestData\\tempfiles",
|
||||
"AYANOVA_SERVER_TEST_MODE": "false",
|
||||
"AYANOVA_SERVER_TEST_MODE": "true",
|
||||
"AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
|
||||
"AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-7",
|
||||
"AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_13\\bin\\"
|
||||
|
||||
@@ -1399,7 +1399,10 @@ namespace AyaNova.Biz
|
||||
//PM
|
||||
List<FormField> l = new List<FormField>();
|
||||
|
||||
//Several mandatory fields in PM header not listed here
|
||||
//Several mandatory fields in PM header not listed here
|
||||
|
||||
l.Add(new FormField { TKey = "CopyAttachments", FieldKey = "CopyAttachments" });
|
||||
l.Add(new FormField { TKey = "CopyWiki", FieldKey = "CopyWiki" });
|
||||
|
||||
l.Add(new FormField { TKey = "WorkOrderSummary", FieldKey = "WorkOrderSummary" });
|
||||
l.Add(new FormField { TKey = "Address", FieldKey = "Address" });
|
||||
|
||||
@@ -22,6 +22,10 @@ namespace AyaNova.Models
|
||||
public List<string> Tags { get; set; } = new List<string>();
|
||||
|
||||
//----
|
||||
[Required]
|
||||
public bool CopyWiki { get; set; }
|
||||
[Required]
|
||||
public bool CopyAttachments { get; set; }
|
||||
public DateTime? StopGeneratingDate { get; set; }
|
||||
[Required]
|
||||
public DaysOfWeek ExcludeDaysOfWeek { get; set; }//bit field flags set
|
||||
|
||||
@@ -1016,8 +1016,9 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
||||
+ "notes TEXT, wiki TEXT, customfields TEXT, tags VARCHAR(255) ARRAY, customerid BIGINT NOT NULL REFERENCES acustomer (id), "
|
||||
+ "projectid BIGINT REFERENCES aproject, contractid BIGINT NULL, internalreferencenumber text, "
|
||||
+ "customerreferencenumber text, customercontactname text, createddate TIMESTAMP NOT NULL, onsite BOOL NOT NULL, "
|
||||
+ "stopgeneratingdate TIMESTAMP, nextservicedate TIMESTAMP NOT NULL, generatedate TIMESTAMP NOT NULL, excludedaysofweek INTEGER NOT NULL, active BOOL NOT NULL, "
|
||||
+ "repeatunit INTEGER NOT NULL, generatebeforeunit INTEGER NOT NULL, repeatinterval INTEGER NOT NULL, generatebeforeinterval INTEGER NOT NULL, "
|
||||
+ "stopgeneratingdate TIMESTAMP, nextservicedate TIMESTAMP NOT NULL, generatedate TIMESTAMP NOT NULL, excludedaysofweek INTEGER NOT NULL,"
|
||||
+ "active BOOL NOT NULL, repeatunit INTEGER NOT NULL, generatebeforeunit INTEGER NOT NULL, repeatinterval INTEGER NOT NULL, "
|
||||
+ "generatebeforeinterval INTEGER NOT NULL, copywiki BOOL NOT NULL, copyattachments BOOL NOT NULL, "
|
||||
+ "postaddress TEXT, postcity TEXT, postregion TEXT, postcountry TEXT, postcode TEXT, address TEXT, city TEXT, region TEXT, country TEXT, latitude DECIMAL(9,6), longitude DECIMAL(9,6) "
|
||||
+ ")");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user