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\\"
|
||||
|
||||
9
docs/8.0/ayanova/docs/adm-global-seeds.md
Normal file
9
docs/8.0/ayanova/docs/adm-global-seeds.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# ADM-GLOBAL-SEEDS (documentation under construction)
|
||||
|
||||
Set next starting serial number for serialized objects.
|
||||
|
||||
Must be greater than 0 and less than 3 billion
|
||||
|
||||
AyaNova allows duplicate serial numbers and does not skip existing numbers when generating new ones so if you set it lower than the highest existing record you will end up with multiple objects with the same serial.
|
||||
|
||||
i.e. highest po serial is 500, set it to 490 the next po will be serial 490 and there will be two 490's etc.
|
||||
@@ -209,7 +209,7 @@ namespace AyaNova.Api.Controllers
|
||||
//assuming there is some weird edge case where people want to move beyond that max value for some reason I'm settling on a sanity check of 3 billion 3,000,000,000
|
||||
if (nextSeed == 0 || nextSeed > 3000000000)
|
||||
return BadRequest(new ApiErrorResponse(ApiErrorCode.VALIDATION_INVALID_VALUE, "nextSeed", "> 0 or < 3,000,000,000"));
|
||||
todo: help page and translation keys
|
||||
|
||||
string SequenceName = string.Empty;
|
||||
//confirm this number is not in use and set correct sequence name to alter
|
||||
switch (aType)
|
||||
|
||||
@@ -2173,5 +2173,10 @@
|
||||
"AuthConnectCompleted":"Die Zwei-Faktor-Authentifizierung ist jetzt aktiviert",
|
||||
"AuthDisableTwoFactor":"Deaktivieren Sie die Zwei-Faktor-Authentifizierung",
|
||||
"AuthTwoFactorDisabled":"Die Zwei-Faktor-Authentifizierung ist jetzt deaktiviert",
|
||||
"AuthVerifyCode":"Code überprüfen"
|
||||
"AuthVerifyCode":"Code überprüfen",
|
||||
"GlobalNextSeeds":"Stellen Sie die nächste Nummer ein",
|
||||
"NextPONumber":"Nächste Bestellung",
|
||||
"NextQuoteNumber":"Nächste Angebotsnummer",
|
||||
"NextWorkorderNumber":"Nächster Arbeitsauftrag",
|
||||
"NextPMNumber":"Nächste vorbeugende Wartung"
|
||||
}
|
||||
@@ -2173,5 +2173,10 @@
|
||||
"AuthConnectCompleted":"Two-Factor authentication is now enabled",
|
||||
"AuthDisableTwoFactor":"Disable Two-Factor authentication",
|
||||
"AuthTwoFactorDisabled":"Two-Factor authentication is now disabled",
|
||||
"AuthVerifyCode":"Verify code"
|
||||
"AuthVerifyCode":"Verify code",
|
||||
"GlobalNextSeeds":"Set next number",
|
||||
"NextPONumber":"Next purchase order",
|
||||
"NextQuoteNumber":"Next quote",
|
||||
"NextWorkorderNumber":"Next work order",
|
||||
"NextPMNumber":"Next preventive maintenance"
|
||||
}
|
||||
@@ -2173,5 +2173,10 @@
|
||||
"AuthConnectCompleted":"La autenticación de dos factores ahora está habilitada",
|
||||
"AuthDisableTwoFactor":"Deshabilitar la autenticación de dos factores",
|
||||
"AuthTwoFactorDisabled":"La autenticación de dos factores ahora está deshabilitada",
|
||||
"AuthVerifyCode":"Código de verificación"
|
||||
"AuthVerifyCode":"Código de verificación",
|
||||
"GlobalNextSeeds":"Establecer el siguiente número",
|
||||
"NextPONumber":"Siguiente orden de compra",
|
||||
"NextQuoteNumber":"Próxima cotización",
|
||||
"NextWorkorderNumber":"Siguiente orden de trabajo",
|
||||
"NextPMNumber":"Siguiente mantenimiento preventivo"
|
||||
}
|
||||
@@ -2173,5 +2173,10 @@
|
||||
"AuthConnectCompleted":"L'authentification à deux facteurs est maintenant activée",
|
||||
"AuthDisableTwoFactor":"Désactiver l'authentification à deux facteurs",
|
||||
"AuthTwoFactorDisabled":"L'authentification à deux facteurs est maintenant désactivée",
|
||||
"AuthVerifyCode":"Vérifier le code"
|
||||
"AuthVerifyCode":"Vérifier le code",
|
||||
"GlobalNextSeeds":"Définir le numéro suivant",
|
||||
"NextPONumber":"Prochaine commande d'achat",
|
||||
"NextQuoteNumber":"Numéro de devis suivant",
|
||||
"NextWorkorderNumber":"Bon de travail suivant",
|
||||
"NextPMNumber":"Prochaine maintenance préventive"
|
||||
}
|
||||
Reference in New Issue
Block a user