This commit is contained in:
@@ -4,7 +4,12 @@
|
||||
|
||||
## IMMEDIATE ITEMS
|
||||
|
||||
//TODO: CHANGE TO A DEDICATED SPOT IN GLOBAL RATHER THAN INFERRING AS IT IS NOT RIGHT PRACTICALLY for reasons
|
||||
//Get the auto-id most recent values at boot time
|
||||
internal static void SetMostRecentAutoIdValuesFromDatabase(AyaNova.Models.AyContext ct)
|
||||
{
|
||||
|
||||
|
||||
todo: check attachment NOTES property is actually supported
|
||||
- case https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/2029
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace AyaNova.Biz
|
||||
// {
|
||||
//do stuff with PM
|
||||
PM o = new PM();
|
||||
o.Serial = serial ?? ServerBootConfig.WORKORDER_SERIAL.GetNext();
|
||||
o.Serial = serial ?? ServerBootConfig.PM_SERIAL.GetNext();
|
||||
|
||||
//TODO: template
|
||||
//TODO: CUSTOMER ID
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace AyaNova.Biz
|
||||
// {
|
||||
//do stuff with Quote
|
||||
Quote o = new Quote();
|
||||
o.Serial = serial ?? ServerBootConfig.WORKORDER_SERIAL.GetNext();
|
||||
o.Serial = serial ?? ServerBootConfig.QUOTE_SERIAL.GetNext();
|
||||
|
||||
//TODO: template
|
||||
//TODO: CUSTOMER ID
|
||||
|
||||
@@ -18,6 +18,8 @@ namespace AyaNova.Util
|
||||
//Get the most recent id number issued previously and start the auto-id at that level
|
||||
internal static AutoId WIDGET_SERIAL { get; set; }
|
||||
internal static AutoId WORKORDER_SERIAL { get; set; }
|
||||
internal static AutoId QUOTE_SERIAL { get; set; }
|
||||
internal static AutoId PM_SERIAL { get; set; }
|
||||
|
||||
//Diagnostic static values used during development, may not be related to config at all, this is just a convenient class to put them in
|
||||
#if (DEBUG)
|
||||
@@ -220,6 +222,7 @@ namespace AyaNova.Util
|
||||
//Get the auto-id most recent values at boot time
|
||||
internal static void SetMostRecentAutoIdValuesFromDatabase(AyaNova.Models.AyContext ct)
|
||||
{
|
||||
//TODO: CHANGE TO A DEDICATED SPOT IN GLOBAL RATHER THAN INFERRING AS IT IS NOT RIGHT PRACTICALLY for reasons
|
||||
//WIDGET SERIALS
|
||||
if (WIDGET_SERIAL == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user