OFFICIUM INSERVIO IT
Your reliable partner for your business software...
Search Results
Diese Website durchsuchen
320 Ergebnisse gefunden mit einer leeren Suche
- NetGetAppServerContext
NetGetAppServerContext <<< Sage 100 AppServer Context Objekt ermitteln / Get AppServer context object (ApplicationContext) (alle Versionen/all versions) Donnerstag, 3. Dezember 2026 Übersicht / Overview Code snippets Anwendungsbeispiel / Example how to use Minimalen "ApplicationContext" erzeugen / Create a minimal "ApplicationContext" Wo steht der ApplicationContext seitens Sage zur Verfügung? / Where is the ApplicationContext provided by Sage? Übersicht / Overview Es gibt in der Sage 100 drei verschiedene Klassen für den "ApplicationContext" . You will find three different classes for the " ApplicationContext" in the Sage 100. Sagede.ApplicationServer.OfficeLine.ApplicationContext Sagede.Shared.AppDesigner.ApplicationContext : IApplicationContext Sagede.Shared.RealTimeData.Common.ApplicationContext : IDisposable, IApplicationContext Code snippets Normalerweise ist es innerhalb von Quellcode , der ohnehin innerhalb eines Sage Applikationsserver Isolationsprozess läuft , mit folgendem Code möglich , den Applikationskontext und somit auch ein gültiges Authentifizierungstoken abzufragen. Dies betrifft den Sage Typen "Sagede.ApplicationServer.OfficeLine.ApplicationContext" . Normally, within source code that is already running inside a Sage application server isolation process, it is possible to query the application context, and thereby also a valid authentication token, using the following code. This applies to the Sage Type "Sagede.ApplicationServer.OfficeLine.ApplicationContext" . private Sagede.Core.Security.TokenAuthenticationTicket GetAuthenticationToken() { if (! (Sagede.ApplicationServer.OfficeLine.ServiceContext.Current.ApplicationContext is Sagede.ApplicationServer.OfficeLine.ApplicationContext appContext)) { const string errorText = "2023020907: Kein Applikationskontext vorhanden!"; throw new InvalidOperationException(errorText); } return ( Sagede.Core.Security.TokenAuthenticationTicket ) appContext.Ticket; } Es gibt jedoch auch Sage Code-Ereignisse oder sonstige Situationen , z.B. in eigenen isolierten Prozessen , in denen die Laufzeitumgebung sich anders darstellt und in denen stattdessen der Sage Typ "Sagede.Shared.RealTimeData.Common.ApplicationContext" benötigt wird. Nachfolgend ein Code-Pattern für Client-seitigen Code , um einen Applikationskontext zu erstellen. The following is a code pattern for client-side code to get an Application server context. /// /// Private static cache with the client-side Sage ERP application contexts per Sage ERP mandator instance (see ). /// /// The cache is a : an entry lives exactly as long as its mandator instance. /// The cached context references its mandator (property DataConnection); inside a weak table this back reference does not keep the mandator alive (ephemeron semantics). /// Keys are compared by reference identity of the mandator instance. /// private static readonly System.Runtime.CompilerServices.ConditionalWeakTable _appContexts = new System.Runtime.CompilerServices.ConditionalWeakTable(); /// /// Synchronization object for ; makes "check, remove and add" of a cache entry atomic. /// private static readonly System.Object _appContextsLock = new System.Object(); /// /// Gets a client-side Sage ERP application context for . /// /// The context is created with Sagede.OfficeLine.Shared.RealTimeData.Client.SharedFunctions.GetApplicationInfo and cached per instance (reference identity) in . /// The cache entry is released automatically together with the instance; no static reference keeps the mandator alive. /// A cached context is created again, if the current Sage ERP user of differs from the user stored in the context (for example after a user context change on the same mandator instance in the Sage ERP application server). /// /// Important: The returned instance is shared by all callers using the same instance. Do not modify it. /// Important: This is a plain client-side and not a server-side OfficeLineConnectionInfo. /// Do not use it for saving xRM business objects inside the Sage ERP application server (for example wrong project numbers for new xRM service projects); /// use the server-side context of the SData request there (Sagede.OfficeLine.ControlCenter.SDataService.Helpers.GetContext( request )). /// /// ATTENTION: Any exception is not caught, but thrown! /// /// Required: The Sage ERP mandator instance (German "Mandant"). /// /// Sage ERP application context or null, if not possible to determine. /// public static Sagede.Shared.RealTimeData.Common.ApplicationContext GetAppContext( Sagede.OfficeLine.Engine.Mandant mandator ) { if ( mandator == null ) return null; #region "Cached context still valid?" lock ( _appContextsLock ) { Sagede.Shared.RealTimeData.Common.ApplicationContext existingContext; if ( _appContexts.TryGetValue( mandator , out existingContext ) && IsAppContextUpToDate( existingContext , mandator ) ) { return existingContext; } } #endregion #region "Create new context (outside of the lock, Sage ERP may access the database here)" var bag = new Sagede.OfficeLine.Shared.ParameterBag(); bag.StringValues["ApplicationId"] = "Abf"; // TODO: Consider parameterising bag.StringValues["ApplicationTitle"] = typeof( FunctionsCommonShared ).FullName; var newAppContext = Sagede.OfficeLine.Shared.RealTimeData.Client.SharedFunctions.GetApplicationInfo( mandator , bag ); if ( newAppContext == null ) return null; newAppContext.Includes = new[] { "$children" , "SelectionPart" }; #endregion #region "Store context (replace an outdated entry)" lock ( _appContextsLock ) { Sagede.Shared.RealTimeData.Common.ApplicationContext concurrentContext; if ( _appContexts.TryGetValue( mandator , out concurrentContext ) ) { if ( IsAppContextUpToDate( concurrentContext , mandator ) ) { return concurrentContext; } _appContexts.Remove( mandator ); } _appContexts.Add( mandator , newAppContext ); } #endregion return newAppContext; } /// /// Checks whether the cached application context still matches the current state of . /// /// Checked: a context is available , and its Sage ERP user equals the current user of (case-insensitive). /// See . /// /// The cached application context; may be null. /// Required: The Sage ERP mandator instance (German "Mandant"). /// true if the cached context may be reused; otherwise false. private static bool IsAppContextUpToDate( Sagede.Shared.RealTimeData.Common.ApplicationContext appContext , Sagede.OfficeLine.Engine.Mandant mandator ) { if ( appContext == null ) return false; if ( mandator == null || mandator.Benutzer == null ) return false; return System.String.Equals( appContext.CurrentUser , mandator.Benutzer.Name , System.StringComparison.OrdinalIgnoreCase ); } Nachfolgend ein einfaches Code-Pattern, um in .net-Quellcode eine "Sagede.Shared.RealTimeData.Common.ApplicationContext" Instanz bereitzustellen , falls diese nicht auf andere Weise von Sage zur Verfügung gestellt wird. Diese Variante eignet sich für Ausführungen innerhalb eines Sage Applikationsserver-Prozesses , falls Sage selber eben keinen solchen Kontext auf andere Weise anbietet. However, there are also Sage code events or other situations, such as in custom isolated processes, where the runtime environment is different and the Sage type "Sagede.Shared.RealTimeData.Common.ApplicationContext" is needed instead. Below is a simple code pattern to provide an instance of "Sagede.Shared.RealTimeData.Common.ApplicationContext" in .net source code , in case it is not made available by Sage through other means. /// Gets an Sage ERP application context for for code on the Application server side. /// /// Note, the application context instance will only created once per unique instance! /// /// ATTENTION: Any exception is not caught, but thrown! /// /// Required: The Sage ERP mandator instance (German "Mandant"). /// /// Sage ERP application context or null, if not possible to determine. /// public static Sagede.Shared.RealTimeData.Common.ApplicationContext GetAppContext( Sagede.OfficeLine.Engine.Mandant mandator ) { if ( mandator == null ) return null; var bag = new ParameterBag(); bag.StringValues["ApplicationId"] = "Abf"; // TODO: Consider a parameter! bag.StringValues["ApplicationTitle"] = typeof( TODOYourClassNameHere ).FullName; var newAppContext = Sagede.OfficeLine.Shared.RealTimeData.Client.SharedFunctions.GetApplicationInfo( mandator , bag ); newAppContext.Includes = new[] { "$children" , "SelectionPart" }; return newAppContext; } Anmerkung zum o.g. Code , wenn dieser ausschließlich innerhalb des Sage Applikationsservers benötigt wird: Die eingangs erklärte Variante ist zwar die einfachste , um an diverse Sage Objekte zu gelangen , betrifft aber den speziellen Sage Applikationsserver Kontext , also eine andere Klasse! Ein Sage Applikationsserver Isolationsprozess ist üblicherweise nur für einen einzigen konkreten Sage Mandanten und Benutzer zuständig. Insofern ist eine Verwaltung mehrere Mandanten-Instanzen nicht zwingend notwendig! Note regarding the aforementioned code if the code is solely needed within the Sage Application Server: The initially explained approach is then the simplest way to access various Sage objects , however , this applies to the special Sage Application Server context which is a different class! A Sage application server isolation process is typically responsible for only a single specific Sage mandator instance and user . As such , managing multiple mandator instances is not strictly necessary! Anwendungsbeispiel / Example how to use var xRmProjektPos = new MySoftfolio.OfficeEdition.BusinessObjects.Dto.Position( this.Mandant , parameters.IdProjectPos ); if ( !string.IsNullOrWhiteSpace( parameters.IdProjectPosStatus ) ) { xRmProjektPos.Status = parameters.IdProjectPosStatus.ToInt16(); } if ( parameters.IdProjectPosContact != 0 ) { xRmProjektPos.Ansprechpartner = string.Empty; // Will be loaded by save method using "AnsprechpartnerHandle" ! xRmProjektPos.AnsprechpartnerHandle = parameters.IdProjectPosContact; } xRmProjektPos.Save( this._appContext ); Die Definition von "this._appContext" erfolgt einmalig im Konstruktor der Klasse, wie der nachfolgende Quellcode zeigt. "this._appContext" is defined once in the constructor of the class, as the following source code demonstrates. /// /// Initializes a new instance of the class. /// /// The Sage ERP mandator instance (German "Mandant"). /// Recommended: The Sage ERP application context, if available. protected XrmManagerBase( Sagede.OfficeLine.Engine.Mandant mandator , Sagede.Shared.RealTimeData.Common.ApplicationContext appContext ) { this._mandator = mandator ?? throw new ArgumentNullException( "mandator" ); if ( appContext == null ) { // Call the method which gets the Sage ERP application context appContext = GetAppContext( this._mandator ); } this._appContext = appContext; } Minimalen "ApplicationContext" erzeugen / Create a minimal "ApplicationContext" An vielen Stellen genügt f ür Funktionsaufrufe ein minimaler ApplicationContext , den man sich laut Sage wie folgt erzeugen kann. Dies betrifft die Klasse "Sagede.Shared.RealTimeData.Common.ApplicationContext". In many cases, a minimal ApplicationContext is sufficient for function calls , which, according to Sage, can be created as follows. This concerns the class "Sagede.Shared.RealTimeData.Common.ApplicationContext". var applicationContext = new Sagede.Shared.RealTimeData.Common.ApplicationContext { ApplicationDate = DateTime.Today, IsLegacyClient = false } Wie macht es Sage selber? How does Sage do it? // Attention: "Helpers.GetContext" writes the HTTP headers of the request (machine name, client user, application date and year) into the session of the mandator. var appContext = Sagede.OfficeLine.ControlCenter.SDataService.Helpers.GetContext( request ); // The client does not send "X-ApplicationId" on purpose (the server validates this header). Same value as the former client-side context and as Sage 100 server code (e.g. "VKBelegProvider"). if ( System.String.IsNullOrWhiteSpace( appContext.ApplicationId ) ) { appContext.ApplicationId = "Abf"; } using ( new Sagede.OfficeLine.ControlCenter.SDataService.ServiceExecutionContext() ) { ... } Wo steht der ApplicationContext seitens Sage zur Verfügung? / Where is the ApplicationContext provided by Sage? In folgenden Situationen steht bereits seitens Sage ein ApplicationContext bereit. In the following situations, an ApplicationContext is already available from Sage. Info aus Sage Developer Webcast im Zusammenhang mit Breaking Changes , wo in Sage Klassen ein vorhandener ApplicationContext abgegriffen werden kann. <<< >>>
- Sage100
Sage 100 Infos ( See the list of articles below the tag filter section - Use the tag filter section to select one or more topics which interest you! ) .net .netWinForms .netWpf Anonymisieren_Anonymise AppDesigner AppServer ApplicationContext AufgabenCenter Bankverbindungen_BankAccounts Belegdatum_ApplicationDate Belegerfassung Belegkennzeichen_DocumentTypes Benutzerfelder Berechtigungen_Permissions Blocked_Files CII CM Checklist CodeSecurity_Codesicherheit Crash DCM Database_Datenbank Deinstallation DevExpress Dokumentation_Documentation EMail ERechnung_EInvoicing ETL ETW Elster EndOfLife Error_Fehler Error_Fehler_Transaction Error_Metadata ExceptionOutOfMemory ExecuteReader Export Fiddler FrontendMsAccess GLN GetConnectionSettings HandleNew_lBelIDTan HomeOffice IGenericCommand IGenericReader Intrastat KHKAdressen_Sonderfunktion Konfiguration_config Kostenstellen LegacyCode LiveUpdate_QSP Lizenz_License Login Logs_Logging MSAccess MSAccessAddIn MSOffice MSSQL MSSQLProfiler MSSQLScript MSVBA MSWinAuthentication MSWinRegistry MSWindows Mail MainDevice MandantenAdressen Monitoring Network Ntfs Odbc Office Line.Config PDF PapierSchacht_PaperBin Passwort_Password Performance PowerShell Print_Drucken Protokollierung ReWe ReWe_Mahnungen ReWe_Verzugszinsen ReWe_Zahlungen Regiezentrum_MainMenu RemoteDesktop ReportDesigner ReportFont ReportViewerViewModel RichText (RTF) SEPA SageAdministratorTool SageApplicationServer SageDienste SageLoggingService SageNetwork SageTraceLog SchreibendeListe Security Setup Skonto SmartClient Sophos Sql StimulSoft StringResource Subscription Subskription System TSQL Timeout Tools UBL UPD_files USER_Feld UX_UI UserField_Benutzerfeld User_Benutzer VPN Voraussetzungen_requirements WaWi WebLinks WindowsServices XRechnung ZUGFeRD sp_executesql xRM 1 2 3 4 5 1 ... 1 2 3 4 5 ... 5 Sage 100 AppServer Context Objekt ermitteln / Get AppServer context object (ApplicationContext) Details Donnerstag, 3. Dezember 2026 Sage 100 Stammdaten und VK-Vorgangsdaten nach CSV exportieren und anonymisieren / Export and anonymise master data and sales process data to CSV Details Montag, 16. November 2026 Sage 100 E-Rechnung Feldzuordnungen / E-Invoicing field mappings Details Freitag, 13. November 2026 Sage 100 Druckbeispiel - alle Varianten erklärt / all printing examples from Sage explained Details Mittwoch, 11. November 2026 Sage 100 Änderungen 9.0.12.x für eigene externe Anwendungen / 9.0.12.x changes affecting own external programs Details Montag, 9. November 2026 Sage 100 Version 9.0.12.x Details Dienstag, 27. Oktober 2026 Sage 100 Performance (Konfiguration) / Common infos performance (configuration) Details Dienstag, 13. Oktober 2026 Sage 100 MS-Access Stapelspeicher-Fehler / MS-Access Out of Stack Memory error Details Samstag, 12. September 2026 Sage 100 Fehler "Die Datei file:...Schriftart.ttf ..." / Error "file: (font type).TTF' file..." Details Mittwoch, 26. August 2026 Sage 100 Logging Service Fehler / errors logging service Details Donnerstag, 2. Juli 2026 Sage 100 Intrastat-Meldungen ab sofort über das neue .core-Verfahren möglich / Intrastat declarations now possible via the new .core procedure Details Mittwoch, 24. Juni 2026 Sage 100 E-Rechnung Absender-Bankverbindungen / sender bank accounts Details Freitag, 29. Mai 2026 Sage 100 Alle Benutzerrechte löschen / Wipe all user rights Details Mittwoch, 27. Mai 2026 Sage 100 Kontextinfo über Benutzer , Maschine etc. / context info about user , machine etc. Details Dienstag, 19. Mai 2026 Sage 100 Version 9.0.11.x Details Freitag, 15. Mai 2026 Sage 100 Regiezentrum Einträge oder Kontextmenü-Einträge erscheinen nicht / main menu items or context menu items do not appear Details Donnerstag, 7. Mai 2026 Sage 100 Systemvoraussetzungen / system requirements Details Freitag, 20. März 2026 Sage 100 MS-Access Runtime Details Dienstag, 17. März 2026 Sage 100 Problem AppDesigner-Druck Optionen / problem with AppDesigner print options Details Donnerstag, 5. März 2026 Sage 100 Sage 100 - Optionen für eigene UX-Elemente im Smart Client / Options for own UX elements in the smart client Details Dienstag, 3. Februar 2026
- StatusAndCommentOnAI2026
StatusAndCommentOnAI2026 <<< KI-Risiken , die man als Entwickler und Entscheider kennen sollte / AI risks every developer and decision maker should know (alle Versionen/all versions) Mittwoch, 18. November 2026 Deutsch KI-Risiken , die man als Entscheider und Entwickler kennen sollte - insbesondere im ERP-Bereich ⚠️Wegfall der Quersubventionierung Wahrscheinliche Konsequenzen für die nächsten 3 Jahre ⚠️Quellcode-Qualität Hauptgründe , warum die AI/KI-Systeme so vorgehen Fazit / Ausblick in die Zukunft English AI Risks Every Developer and Decision Maker Should Know , especially in the ERP market ⚠️Elimination of cross-subsidisation Probable consequences for the next 3 years ⚠️Quality of the source code Main reasons why the AI systems proceed in this way Conclusion / Outlook for the future Deutsch KI-Risiken , die man als Entscheider und Entwickler kennen sollte - insbesondere im ERP-Bereich Quadratischer Rechenaufwand bei wachsendem Kontext In klassischen Transformer-Modellen steigt der Rechen- und Speicherbedarf (über den sogenannten Self-Attention-Mechanismus) nicht linear , sondern quadratisch mit der Länge des Kontexts. Wenn ein Entwickler ein komplettes Softwareprojekt in den Kontext lädt und über viele Runden hinweg iteriert , wird jede einzelne nachfolgende Anfrage überproportional teurer. Das "Lost in the Middle"-Problem bei großen Kontextfenstern sowie "Attention Dilution" und "Context Poisoning" machen das KI-Leben schwer! Selbst wenn das Kontextfenster moderner Modelle theoretisch groß genug ist und man die hohen Token-Kosten bezahlt , sinkt die Aufmerksamkeit der KI für Informationen in der Mitte großer Datenmengen massiv ab (bekannt als "Lost in the Middle"-Effekt). Man kann also nicht einfach ein ganzes Softwareprojekt in den Kontext werfen und erwarten , dass die KI alles zuverlässig berücksichtigt. Das Modell fokussiert sich primär auf den Anfang und das Ende des Prompts , übersieht dabei bestehende Hilfsklassen , Schnittstellen oder Geschäftslogik in der Mitte des Kontexts und generiert genau dadurch ungewollte Redundanzen. Beim reinen Wiederfinden von Fakten (dem sogenannten "Needle in a Haystack"-Test) haben aktuelle Spitzenmodelle von Gemini und Anthropic dieses Problem weitgehend gelöst. Sie finden einzelne Codezeilen oder Fakten selbst in riesigen Kontextfenstern von einer Million Tokens und mehr mit nahezu hundertprozentiger Zuverlässigkeit. ⚠️ Sobald die KI jedoch nicht nur eine Information suchen , sondern dutzende verteilte Informationen gleichzeitig logisch miteinander verknüpfen muss (was in größeren Projekten massiv der Fall ist!) , kehrt das Problem in Form der sogenannten "Attention Dilution" (Aufmerksamkeitsverdünnung) zurück. Konkretes Beispiel: Wenn eine gesamte komplexe Codebasis im Kontext liegt und eine Änderung an Stelle A Auswirkungen auf die Stellen B , M und Z hat , nimmt die logische Präzision der Modelle über große Kontextlängen hinweg weiterhin deutlich ab. Die beworbene maximale Kontextgröße ist daher nicht gleichzusetzen mit der effektiven Kontextgröße für komplexes Denken! Das übersehen insbesondere viele Entscheider immer wieder. Selbst in den modernsten KI-Systemen lassen sich im Bereich der Software-Entwicklung folgende äußerst unangenehme Phänomene evident feststellen: Fehlerkaskaden: Trifft ein Modell beim Entwurf des Fundaments eine leicht suboptimale Architekturentscheidung , erkennt es diesen Fehler später selten von selbst. Stattdessen baut es oft sehr aufwändigen Code um diese klare Schwachstelle / Fehler herum auf , bis das Projekt ab einer gewissen Komplexität unter seinen eigenen technischen Schulden zusammenbricht. Kontextverschmutzung (Context Poisoning): Je mehr Dateien , verworfene Zwischenschritte und Fehlermeldungen sich in einem langen Sitzungsverlauf ansammeln, desto stärker lässt sich das Modell von veralteten Annahmen im mittleren Teil des Kontexts ablenken. Lokale statt globale Optimierung: KI-Modelle sind hervorragend darin, eine unmittelbare Aufgabe zum Laufen zu bringen. Bei komplexer Softwarearchitektur geht es jedoch um langfristige Kopplung , Wartbarkeit , Sicherheitsgrenzen und zukünftige Erweiterbarkeit - also um Eigenschaften, die über den reinen Quellcode hinausgehen. Agentische Workflows und Reasoning-Modelle Moderne KI-Systeme für komplexe Entwicklungsprojekte antworten nicht mehr nur einmalig auf einen Prompt. Sie planen , schreiben Code , führen Tests aus , lesen Fehlermeldungen und korrigieren sich selbst in Schleifen. Eine einzige komplexe Aufgabe eines Entwicklers kann im Hintergrund Hunderte interne Modellaufrufe und Millionen von Tokens auslösen. ⚠️Wegfall der Quersubventionierung Bisher haben KI-Anbieter ihre Marktanteile durch Risikokapital erkauft und gehofft , dass viele Gelegenheitssurfer die wenigen Power-User quersubventionieren. Es ist ein Paradoxon: Diese Rechnung funktioniert durch wachsende Beliebtheit der Systeme nicht mehr , d.h. wenn ein einzelner Power-User bis zu 14.000 $ Kosten verursacht , aber maximal 500 $ pro Monat zahlt. Selbst Hunderte 20-$-Abos bei den KI-Anbietern können einen einzigen solchen Intensivnutzer kaum ausgleichen! Wahrscheinliche Konsequenzen für die nächsten 3 Jahre OpenAI (ChatGPT) und Anthropic wollen beispielsweise börsennotierte Unternehmen werden - Initial public offering (IPO) incoming: Harte Kontingente und Pay-as-you-go Echte Flatrates für Spitzenmodelle werden verschwinden oder auf sehr kleine Kontingente gedrosselt. Wer komplexe Projekte umsetzt, wird direkt nach Token-Verbrauch (API-Preise) oder über extrem teure Enterprise-Verträge abrechnen müssen. Dynamisches Routing und Drosselung Anbieter leiten Anfragen im Hintergrund bereits auf kleinere , billigere Modelle um , sobald ein Nutzer sein unsichtbares Tagesbudget überschreitet. Dies ist schon heute teilweise Praxis , auch wenn es viele (sogar Entwickler) nicht wahrhaben wollen! Es gibt genügend Berichte von KI-Anwendern , die das sogar verifiziert haben und teils für dieselben Aufgaben bei unterschiedlichen Ausführungstagen massiv schwankende Qualitätsergebnisse erzielten. Überlastungen und Ausfälle Da der Ausbau von Rechenzentren , spezialisierten Chips und vor allem der lokalen Stromnetze physischen Grenzen unterliegt , führen Lastspitzen zwangsläufig zu Rate-Limits (Fehlermeldungen wegen zu vieler Anfragen) , hoher Latenz oder zeitweisen Komplettausfällen der Dienste. Weitere mögliche Risiken Es wurden in der vorherigen Auflistung und Einschätzung noch nicht einmal grundlegende Risiken wie externe Schocks (Anschläge , Kriege...) berücksichtigt! Alle diese Faktoren sind unzweifelhaft mögliche weitere Gründe , warum die KI-Funktionalität im schlimmsten Fall nicht nur eingeschränkt , sondern sogar auch einmal (vermutlich nur zeitweise) komplett ausfallen könnte. ⚠️Quellcode-Qualität Die AI/KI-Quellcode-Qualität ist systembedingt oft "monolithisch" und in großen Projekten ist dringend zur Vorsicht zu raten - hier muss ein menschlicher Entwickler "Chef der Architektur" bleiben! Code , den die AI/KI-Systeme standardmäßig erzeugen , ist nur dann von der Architektur modern und austauschbar , wenn man die AI/KI dazu zwingt! Hier gibt es eindeutig massive Risiken - es wird vermehrt zu "Back to Spaghetti Code"-Szenarien kommen - vor allem durch viele "Möchtegern"-Entwickler , die nie richtig Codieren gelernt haben! Nennen wir diese einfach mal so 😁. Es muss ein "Horror-Szenario" angesprochen werden , welches wir leider in der Praxis schon festgestellt haben: Der "Möchtegern"-Entwickler ist irgendwann nicht mehr da und/oder hat keine Lust mehr und/oder blickt halt selber nicht mehr durch. Eine KI auf das gesamte Projekt "loszulassen" und die schlechte Architektur zu bereinigen , ist nicht bezahlbar oder selbst die KI ist überfordert! Konsequenz: man versucht das dann "echten" Entwicklern "aufs Auge zu drücken" - mit dem "lockeren" Hinweis: Muss in drei Stunden fertig sein - Du kannst ja KI nutzen! Das ist dann natürlich der Gipfel der "Pervertierung" des Nutzens der AI/KI-Folgen und der eigentlichen Grundidee der aktuellen KI-Systeme! Warum "KI repariert KI-Spaghetti-Code" auch technisch scheitert Ein sauberes Refactoring erfordert zwingend das Verstehen der impliziten Geschäftslogik. Wenn aber schon der ursprüngliche Code ohne saubere Architektur "zusammenkopiert" wurde , fehlt im Projekt jede verlässliche Struktur (Single Source of Truth). Versucht eine KI nun , dieses gewachsene Konstrukt im Nachhinein aufzuräumen , kann sie nicht zwischen gewollter Fachlogik (wichtigen Edge Cases) und bloßen Programmierfehlern des "Möchtegern"-Entwicklers unterscheiden. Da in solchen Projekten fast immer auch sinnvolle Unit-Tests als Sicherheitsnetz fehlen , halluziniert die KI beim Refactoring neue Zusammenhänge , löscht vermeintlich überflüssige Sonderfälle oder bricht sogar unbemerkt bestehende Funktionalitäten. Hauptgründe , warum die AI/KI-Systeme so vorgehen 1. Token-Limits und RLHF (Reinforcement Learning from Human Feedback) Sprachmodelle werden im Training oft darauf optimiert , präzise, direkte und sofort lauffähige Antworten zu geben. Da jedes generierte Token Rechenleistung (und damit Geld sowie Zeit) kostet , haben Modelle eine Art eingebauten Drang zur Kompaktheit. Wenn eine KI für eine einfache Frage unaufgefordert drei Interfaces , zwei Implementierungen, eine Factory und den Code für den Dependency-Injection-Container generiert , "explodiert" die Token-Anzahl. Zudem "beschweren" sich viele Durchschnittsnutzer (erneut , nennen wir diese mal "Möchtegern"-Entwickler 😁) im Feedback-Prozess , wenn sie statt einer schnellen Lösung plötzlich fünf verschiedene Klassen-Fragmente erhalten , die sie erst mühsam zusammenkopieren müssen. 2. Das "Copy-and-Paste"-Paradigma (Time-to-Run) Eine KI geht standardmäßig davon aus, dass der Nutzer den generierten Code direkt in eine einzelne Datei oder ein Test-Skript kopieren und sofort ausführen möchte. Monolithischer Code hat den Vorteil , dass er in sich geschlossen (self-contained) ist. Sobald Abstraktionsebenen wie Interfaces und Dependency Injection hinzukommen , verteilt sich die Logik im echten Leben auf mehrere Dateien und erfordert oft zusätzliche Konfigurationen in der Startdatei der Anwendung. Ohne das genaue Projekt-Setup des Nutzers zu kennen , wählt die KI den Weg des geringsten Widerstands. 3. Beschränkung durch die Trainingsdaten - das übersehen fast alle , die AI/KI-Systeme bewerten! Ein gigantischer Teil der Trainingsdaten von Sprachmodellen stammt von Plattformen wie Stack Overflow , aus Tutorials , Blogs oder aus kleineren GitHub-Skripten. In solchen Quellen wird fast immer das konkrete Problem isoliert und so kurz wie möglich dargestellt (Minimal Reproducible Example). Komplexe Enterprise-Architekturen , bei denen konsequent nach SOLID-Prinzipien , mit sauberer Dependency Injection und strikter Trennung von Verantwortlichkeiten (Separation of Concerns) gearbeitet wird , sind in kurzen Frage-Antwort-Foren stark unterrepräsentiert. Die KI reproduziert also den typischen "Tutorial-Stil". 4. Fehlender Kontext über die Gesamtarchitektur Um sinnvolle Interfaces und Abhängigkeiten zu entwerfen , muss man wissen, welche Teile der Software sich in Zukunft wahrscheinlich ändern werden , wie der Lebenszyklus der Objekte aussieht (Singleton, Transient, Scoped) und welche Komponenten für Unit-Tests gemockt werden müssen. Da der KI bei einem einzelnen Prompt dieser architektonische Gesamtkontext fehlt , vermeidet sie spekulative Abstraktionen (ganz im Sinne des YAGNI-Prinzips: "You Ain't Gonna Need It") und liefert lieber die direkte Implementierung. Fazit / Ausblick in die Zukunft In kleineren Projekten und für einzelne Problemstellungen KI einzusetzen , ist nicht nur okay , sondern wettbewerbstechnisch unbedingt nötig . In speziellen Feldern , wie beispielsweise unserer ERP-Praxis wird aber dann (Kunde kommt vom "Hölzchen aufs Stöckchen") ganz schnell über die Zeit ein undurchsichtiges "Gewusel" an Code daraus , wenn keine "echten" Entwickler am Werk sind , die kein gutes Architektur-Muster beherrschen. Es entsteht Code mit Redundanzen bei teilweise denselben Parametern etc. Berücksichtigt man die kommenden massiven Preiserhöhungen bei KI-Systemen (es wird kommen!) , die möglichen Qualitätsschwankungen und - im schlimmsten Falle - Ausfälle von zahlreichen KI-Systemen , dann ergeben massive Probleme. Diese Probleme kann man durch einen intelligenten Einsatz von KI im Vorfeld massiv minimieren! English AI Risks Every Developer and Decision Maker Should Know , especially in the ERP market Quadratic computational complexity with growing context In classic Transformer models , the computational and memory requirements (via the so-called self-attention mechanism) do not increase linearly , but quadratically with the length of the context. When a developer loads an entire software project into the context and iterates over many rounds , each subsequent request becomes disproportionately more expensive. The "Lost in the Middle" problem with large context windows , also "Attention Dilution" and "Context Poisoning" make the AI life hard! Even if the context window of modern models is theoretically large enough and one pays the high token costs , the AI's attention to information in the middle of large amounts of data drops massively (known as the "Lost in the Middle" effect). Therefore , one cannot simply throw an entire software project into the context and expect the AI to reliably take everything into account. The model focuses primarily on the beginning and the end of the prompt , overlooking existing helper classes , interfaces , or business logic in the middle of the context , and thereby generates unwanted redundancies. When it comes to the pure retrieval of facts (the so-called "Needle in a Haystack" test) , current cutting-edge models from Gemini and Anthropic have largely solved this problem. They locate individual lines of code or facts even within vast context windows of one million tokens and more with almost one hundred per cent reliability. ⚠️ However , as soon as the AI not only has to search for a single piece of information , but must logically link dozens of distributed pieces of information simultaneously (which is massively the case in larger projects!) , the problem returns in the form of so-called "attention dilution". Concrete example: If an entire complex codebase resides in the context and a change at location A has an impact on locations B , M and Z , the logical precision of the models continues to decrease significantly across large context lengths. The advertised maximum context size is therefore not to be equated with the effective context size for complex reasoning! Many decision-makers in particular repeatedly overlook this. Even in the most modern AI systems , the following extremely unpleasant phenomena can be evidently observed in the field of software development: Error cascades: If a model makes a slightly suboptimal architectural decision when designing the foundation , it rarely recognises this mistake on its own later. Instead , it often builds very elaborate code around this clear weak point / error , until the project collapses under its own technical debt once it reaches a certain level of complexity. Context poisoning: The more files , discarded intermediate steps and error messages accumulate over a long session history , the more strongly the model gets distracted by outdated assumptions in the middle section of the context. Local rather than global optimisation: AI models are brilliant at getting an immediate task up and running. However , complex software architecture is about long-term coupling , maintainability , security boundaries and future extensibility - in other words , properties that go beyond pure source code. Agentic workflows and reasoning models Modern AI systems for complex development projects no longer respond just once to a prompt. They plan , write code , execute tests , read error messages , and correct themselves in loops. A single complex task from a developer can trigger hundreds of internal model calls and millions of tokens in the background. ⚠️Elimination of cross-subsidisation Previously , AI providers bought their market shares through venture capital and hoped that many casual users would cross-subsidise the few power users. It is a paradox: Due to the growing popularity of the systems, this calculation no longer works, i.e. when a single power user causes up to $14,000 in cost s, but pays a maximum of $500 per month. Even hundreds of $20 subscriptions with the AI providers can hardly compensate for a single such intensive user! Probable consequences for the next 3 years OpenAI (ChatGPT) and Anthropic , for example , want to become publicly listed companies - Initial Public Offering (IPO) incoming: Hard quotas and pay-as-you-go True flat rates for top models will disappear or be throttled to very small quotas. Anyone implementing complex projects will have to bill directly according to token consumption (API prices) or via extremely expensive enterprise contracts. Dynamic routing and throttling Providers are already redirecting requests in the background to smaller, cheaper models as soon as a user exceeds their invisible daily budget. This is already partially practised today , even if many (including developers) do not want to admit it! There are plenty of reports from AI users who have even verified this and sometimes achieved massively fluctuating quality results for the exact same tasks on different execution days. Overloads and outages Since the expansion of data centres , specialised chips , and above all local power grids is subject to physical limits , peak loads inevitably lead to rate limits (error messages due to too many requests) , high latency , or temporary complete outages of the services. Further potential risks In the previous list and assessment , fundamental risks such as external shocks (attacks, wars...) were not even taken into account! All of these factors are undoubtably potential further reasons why , in the worst-case scenario , AI functionality might not only be restricted , but could at some point even fail completely (for a certain time at least). ⚠️Quality of the source code Source code quality is often "monolithic" and urgent caution is advised in large projects - here , a human developer must remain "head of architecture"! Code that the AI systems generate by default is only modern and interchangeable in terms of architecture if you force the AI to make it so! There are clearly massive risks here - "back to spaghetti code" scenarios will increasingly occur - especially due to many "wannabe" developers who never learned to code properly! Let's call them "wannabe" developers - for the sake of the argument 😁. Let's address a "Horror scenario" , which we unfortunately already encountered in your line of work: The above-mentioned "wannabe" developer is eventually no longer there and/or no longer feels like it and/or simply loses track themselves. "Unleashing" an AI on the entire project to clean up the poor architecture is suddenly unaffordable . Consequence: People then try to palm this off onto "real" developers - with the "casual" remark: Must be finished in three hours - after all, you can use AI! That is , of course , the pinnacle of "perverting" the benefits and the whole principle of current AI! Why "AI repairs AI spaghetti code" also fails technically A clean refactoring strictly requires understanding the implicit business logic. However , if the original code was already copied together without a clean architecture , the project lacks any reliable structure (Single Source of Truth). If an AI now tries to clean up this organically grown construct retrospectively , it cannot distinguish between intended domain logic (important edge cases) and mere programming errors made by the "wannabe" developer. Since meaningful unit tests as a safety net are almost always missing in such projects as well , the AI hallucinates new connections during refactoring , deletes supposedly superfluous special cases , or even breaks existing functionalities unnoticed. Main reasons why the AI systems proceed in this way 1. Token limits and RLHF (Reinforcement Learning from Human Feedback) During training , language models are often optimised to give concise , direct , and immediately executable answers. Because every generated token costs computing power (and thus money and time) , models have a kind of built-in urge for compactness. If an AI generates three interfaces , two implementations , a factory , and the code for the dependency injection container unprompted for a simple question , the token count "explodes". In addition, many average users (again , let's call those "wannabe" developers for the sake of the argument 😁) "complain" during the feedback process when , instead of a quick solution , they suddenly receive five different class fragments that they first have to laboriously copy together. 2. The "copy-and-paste" paradigm (Time-to-Run) By default , an AI assumes that the user wants to copy the generated code directly into a single file or test script and execute it immediately. Monolithic code has the advantage of being self-contained. As soon as abstraction layers such as interfaces and dependency injection are added, the logic in real life is distributed across multiple files and often requires additional configuration in the application's startup file. Without knowing the exact project setup of the user , the AI chooses the path of least resistance. 3. Limitation by training data - almost everyone evaluating AI systems overlooks this! A gigantic proportion of the training data for language models comes from platforms like Stack Overflow , tutorials , blogs , or smaller GitHub scripts. In such sources , the specific problem is almost always isolated and presented as briefly as possible (Minimal Reproducible Example). Complex enterprise architectures that consistently follow SOLID principles , clean dependency injection , and strict separation of concerns are heavily underrepresented in short Q&A forums. Thus , the AI reproduces the typical "tutorial style". 4. Lack of context regarding the overall architecture To design meaningful interfaces and dependencies , one must know which parts of the software are likely to change in the future , what the lifecycle of the objects looks like (Singleton , Transient , Scoped) , and which components need to be mocked for unit tests. Because the AI lacks this overall architectural context in a single prompt , it avoids speculative abstractions (very much in the spirit of the YAGNI principle: " You Ain't Gonna Need It ") and prefers to deliver the direct implementation. Conclusion / Outlook for the future Using AI in smaller projects and for individual problems is not only okay , but absolutely necessary to remain competitive . However , in highly specialised fields , such as our ERP practice for example (where the client constantly digresses from one minor detail to the next) , it very quickly turns into an opaque "tangle" of code over time if no "real" developers who master good architectural patterns are at work. The result is code with redundancies, sometimes with the exact same parameters , etc. If one takes into account the upcoming massive price increases for AI systems - mark our words - it will happen - the possible fluctuations in quality , and - in the worst case - outages of numerous AI systems , massive problems will arise. These problems can be massively minimised in advance through the intelligent use of AI! <<< >>>
- MSnet
Microsoft .net ( See the list of articles below the tag filter section - Use the tag filter section to select one or more topics which interest you! ) AssemblyBinding Async Azure Bulk CLR Compiler Compiler_Warnings Debugging Delete DevOps Exchange Exe Fiddler File FileName FileStream Formatting Framework481 FusionLogging Fuslogvw.exe Import JetBrains_Rider KI_AI Komprimieren MSGraph MSSQL MSTest Merge Network NuGet PDF Performance PowerShell ProcessMonitor Security Setup_Installation StreamReader StreamWriter TFS TSQL TeamExplorer Tools UnitTesting Update VisualStudio Wasserzeichen_Watermarks WinForms XML ZIP sp_executesql 1 2 1 ... 1 2 ... 2 KI-Risiken , die man als Entwickler und Entscheider kennen sollte / AI risks every developer and decision maker should know Details Mittwoch, 18. November 2026 Performant mehrere Datensätze auf einmal aktualisieren / Quickly update several records at once Details Samstag, 25. Juli 2026 ZIP-Packen und Entpacken / ZIP compressing and extraction Details Mittwoch, 3. Juni 2026 PowerShell Script um Termine über MS-Graph auszulesen / PowerShell script to read appointments via MS-Graph Details Samstag, 23. Mai 2026 Aktion im Hintergrund ausführen / Execute action in background Details Mittwoch, 6. Mai 2026 PDF Datei um Xml-Datei und Wasserzeichen ergänzen / Add XML file and watermark to PDF file Details Dienstag, 28. April 2026 Performanter Bulk-MERGE tausender Datensätze / performant bulk merge of thousands of records Details Donnerstag, 12. März 2026 Visual Studio 2026 - erstes Release / First release Details Samstag, 28. Februar 2026 Compiler-Warnungen feinsteuern / Fine-tuning compiler warnings Details Freitag, 27. Februar 2026 Tool "Process monitor" (procmon) - Löschen von Dateien überwachen / monitor file deletion Details Dienstag, 7. Oktober 2025 Visual Studio 2022 - Team Explorer - Projects Details Freitag, 21. März 2025 Assembly Bindungsprobleme eingrenzen / Narrow down assembly binding problems Details Samstag, 9. März 2024 WinForms in einer 64-Bit Welt / WinForms in a 64-Bit world Details Freitag, 1. März 2024 Visual Studio 2022 - Major Update v17.7 - Performance + Features Details Freitag, 18. August 2023 Tool "Jetbrains Rider" - MS-UnitTests (MSTest) Details Dienstag, 8. August 2023 .net Framework 4.8.1 verfügbar / .net Framework 4.8.1 available Details Freitag, 7. Juli 2023 Beispiel für schnelles Lesen und Schreiben von Dateien / Example of fast reading and writing of files Details Sonntag, 2. Juli 2023 Tool "Fiddler" Details Donnerstag, 25. Mai 2023 NuGet Kommandozeile / NuGet command line Details Donnerstag, 25. Mai 2023 Tool TSQL Text-Formatter - Tool sp_executesql Details Donnerstag, 25. Mai 2023
- SalesProcessDataExportToCsv
SalesProcessDataExportToCsv <<< Sage 100 Stammdaten und VK-Vorgangsdaten nach CSV exportieren und anonymisieren / Export and anonymise master data and sales process data to CSV (alle Versionen/all versions) Montag, 16. November 2026 Deutsch Hintergrund Ansatz per SQL für drei der Anforderungen Voraussetzungen im SQL-Server SQL Anonymisierung Export der Daten von SQL nach CSV Beispiel T-SQL-Scripte Deutsch Hintergrund Sehr häufig muss man Daten der Sage 100 auswerten und teilweise bietet sich dafür der Einsatz von LLMs / KI-Systemen an. In der Sage 100 hat man dabei gleich vier wesentliche Anforderungen und "Hürden": Daten müssen in einer für ein LLM performant lesbaren Form vorliegen Daten müssen anonymisiert sein , wenn notwendig Daten in der Sage 100 können über mehrere Tabellen verteilt sein Ein LLM benötigt Informationen über den Zusammenhang der Daten (Skills zum Datenmodell) Ansatz per SQL für drei der Anforderungen Per SQL lassen sich drei der Anforderungen mit relativ überschaubarem Aufwand erledigen , wenn man bereit ist , zu anonymisierende Felder manuell anzugeben. Verfügt man über Skills zum Datenmodell , dann lassen sich von einer KI dynamisch SQL-Anweisungen erstellen , um die gewünschten Daten zu extrahieren. Voraussetzungen im SQL-Server Damit ein performanter Datenexport per CSV erfolgen kann , sind gewisse Voraussetzungen im SQL-Server notwendig. Diese haben wir nachfolgend zusammengefasst: https://www.officium-inservio.com/ms-sql/xpcmdshell SQL Anonymisierung Diese haben wir in folgendem Artikel beschrieben. https://www.officium-inservio.com/ms-sql/anonymisedata Intelligenter Aufbau des Exports durch Einsatz eines LLM Erfahrene Sage Techpartner haben sich sicherlich im Laufe der Jahre das Datenmodell des Sage 100 ERP-Systems selber ausführlich dokumentiert. Wir haben uns über die Jahre eine entsprechende Knowledgebase in einer MS-SQL-Datenbank aufgebaut , die wir leicht in Markdown-Dateien exportieren können. Markdown-Dateien werden hervorragend und einfach von KI-Systemen verstanden und können als Skill adaptiert werden. Damit kann man einer KI das Datenmodell mitgeben und mit den o.g. genannten SQL-Funktionen den Export in CSV-Dateien durchführen. Sollten Sie Interesse an diesen Skills haben , können Sie uns gerne kontaktieren! Export der Daten von SQL nach CSV Der Export wird mit SQL-Bordmitteln ausgeführt und die Dateien landen sofort im angegebenen Verzeichnis auf der SQL-Server-Maschine (o.g. Voraussetzungen beachten). Dabei haben wir die Datenmodell Skills der Sage 100 der KI mitgegeben und dann lediglich die SQL-SELECT-Anweisungen so generieren lassen , dass schützenswerte Feldinhalte sofort anonymisiert ausgegeben werden. Der Rest ist dann Boilerplate-Funktion des MS-SQL-Servers. Beispiel T-SQL-Scripte Nachfolgend ein vollständiges T-SQL-Beispielscript , welches alle relevanten SQL-Tabellen für einen Verkaufsvorgang in CSV-Dateien exportiert. ⚠️Wichtige Anmerkungen: Wir haben im vorliegenden Kundenfall bewusst Chargen und Seriennummern nicht anonymisiert - diese werden beim Kunden teilweise als Referenzen / Nachschlage-Schlüssel in Anpassungen verwendet. Natürlich sollte man generell keine Fremdschlüssel , z.B. Stammdaten-Verweise , anonymisieren. Dies entzieht der KI die Fähigkeit , die Datenzusammenhänge zu prüfen , wenn man auch zugehörige anonymisierte Stammdaten bereitstellt. Stammdaten: Sage100_SQL_Data_Anonymise_Masterdata_V1.sql .txt TXT herunterladen • 148KB Verkaufsbelegdaten: Sage100_SQL_Data_Anonymise_KHKVK_V2.sql .txt TXT herunterladen • 53KB <<< >>>
- MSSQL
Microsoft SQL ( See the list of articles below the tag filter section - Use the tag filter section to select one or more topics which interest you! ) Anonymise_Anonymisieren BEX_Software CarriageReturn ChangeDataCapture ChangeTracking Csv DataTools_SSDT DataType_Text DataType_VarChar(Max) DataType_conversion Datatable DateOnly DatePart DateTime DateTimeFromParts DateTime_Odbc_Format Debug Debugger Dependencies Encode ExecutionPlans ExtendedEvents Format Function Gaps Html Idera Import Like LineFeed Locking Login Odbc Performance Permission_rights_Berechtigungen Refresh Role SQLManagementStudio_SSMS SQLProfiler Sage100 SanScreen SearchText SqlFormatter SquareBrackets Storedprocedure StringSplit Strukturvergleich_CompareStructure Synonym TemporalTables TextRemove TimeStamp Tools Tracing Trigger Update View VisualStudio With(Readuncommitted) / With(Nolock) Xml Zeilenumbruch bcp bulk db_datareader lead merge sp_executesql xp_cmdshell 1 2 1 ... 1 2 ... 2 Daten effizient anonymisieren / Anonymise data efficiently Details Donnerstag, 12. November 2026 SSMS Query Output Limits Details Mittwoch, 9. September 2026 Performant mehrere Datensätze auf einmal aktualisieren / Quickly update several records at once Details Freitag, 24. Juli 2026 T-SQL "Tracing" (Extended Events) Details Donnerstag, 30. April 2026 Performanter Bulk-MERGE tausender Datensätze / performant bulk merge of thousands of records Details Donnerstag, 12. März 2026 Änderungsverfolgung deaktivieren / Disable change tracking Details Dienstag, 27. Januar 2026 Temporal Tables (System-Versioned) Daten-Änderungsverfolgung / tracking data changes Details Mittwoch, 9. April 2025 Möglichkeiten der Änderungsverfolgung im Überblick / Overview options for change tracking Details Mittwoch, 9. April 2025 Änderungsverfolgung / Change Tracking Details Donnerstag, 16. Januar 2025 WITH(Readuncommitted) / WITH(Nolock) - Fluch oder Segen? / Blessing or curse? Details Samstag, 11. Mai 2024 Alle SQL-Sichten einer Datenbank aktualisieren / Refresh all SQL views of a database Details Montag, 5. Februar 2024 Lücken in Nummernkreisen finden / find gaps in number ranges Details Donnerstag, 24. August 2023 xp_cmdshell richtig einsetzen / use xp_cmdshell correctly Details Sonntag, 2. Juli 2023 Bulk Import CSV-Daten mit bcp Tool / Bulk import CSV data with bcp tool Details Freitag, 30. Juni 2023 Login und Rollenzuordnung / login and add to role Details Freitag, 23. Juni 2023 SQL String-Zusammenbau für Datum und Uhrzeit / Build Sql string for date and time Details Dienstag, 6. Juni 2023 Tool TSQL Text-Formatter - Tool sp_executesql Details Donnerstag, 25. Mai 2023 String sicher für Xml/Html codieren / Encode string safely for Xml/Html Details Sonntag, 1. Januar 2023 Automatische Konvertierung "text" -> "varchar(max)". / Automatic conversion "text" -> "varchar(max)". Details Sonntag, 1. Januar 2023 Prozedur: Datentabelle als Html / Procedure: Datatable as Html Details Freitag, 30. Dezember 2022
- Sage100V907Printing
Wichtige Info zum Status Druckumstellung weg von MS-Access / Important info about status of print redesign without MS-Access <<< Sage 100 Version 9.0.7.x - Drucken/Printing 2. März 2024 Sage Wichtige Info zum Status Druckumstellung weg von MS-Access / Important info about status of print redesign without MS-Access Siehe / see www.officium-inservio.com MSAccessRemoval2 9.0.7 - Builds * - 2024
- ediVKBelegerfassungEKBelegerfassungClearMessages
ediVKBelegerfassungEKBelegerfassungClearMessages <<< Verkaufsbelegerfassung/Einkaufsbelegerfassung Nachrichten zurücksetzen / Reset messages in sales or purchase document editor 9.0.x Dienstag, 30. Juni 2026 Deutsch Hintergrund In der Sage 100-Belegerfassung (Einkauf/Verkauf) finden sich sehr häufig Anpassungen , die Meldungen aus DCMs heraus im unteren Nachrichtenteil der Erfassungsmaske darstellen. Ansicht in Belegerfassung Währen dem Arbeiten können hier sehr viele Meldungen entstehen. Bei programmierten Abläufen aus DCMs heraus ist es wichtig , eine Möglichkeit zu haben , diese Nachrichtenkette zurückzusetzen und das Nachrichtenfeld zu leeren. Lösung Sage hat dafür eine bestimmte Notation eingeführt , mit der man aus DCMs heraus der UX/UI ein Flag mitgeben kann , welches die AppDesigner-Oberfläche instruiert , die Nachrichten zurückzusetzen. using Sagede.OfficeLine.Engine; using Sagede.OfficeLine.Shared.Customizing; public bool Entry(IDcmContext context) { switch (context.ListId) { case DcmDefinitionManager.DcmListId.VKBelegProxyServiceCall: var myContext = context as Sagede.OfficeLine.Wawi.BelegProxyEngine.DcmContextBelegProxyServiceCall; ... myContext.Beleg.Bag.ShortValues[RepresentationInformationTagsManager.Tag_ClearOldMessages] = -1; Man kann somit in der "Bag"-Property des Beleges , die eine Parameter-Auflistung darstellt , einen entsprechend benannten Boolean-Wert setzen. Sage verarbeitet diesen Rückgabewert an verschiedenen DCM-Stellen (nicht an allen!) der Belegerfassung und setzt entsprechend die Nachrichtenliste zurück! <<< >>>
- UpdStim7
9.0.5 - Build 7216 - 18.04.2023 <<< Sage 100 - 9.0 - Update StimulSoft -> 2023.1.5 9.0.5 - Build 7216 - 18.04.2023 63179 Verbesserungen Berichtsdruck AppDesigner / Improvements report printing AppDesigner Deutsch StimulSoft Bibliotheken wurden von Sage auf Version 2023.1.5 aktualisiert. Bestehende eigene Lösungen, die diese Bibliotheken referenzieren, müssen i.d.R. neu compiliert werden, sofern die Report-Instanzen von Sage-Methoden abgerufen werden. Ansonsten schlägt das Deserialisieren der Report-Instanzen im Quellcode fehl. English StimulSoft libraries have been updated to version 2023.1.5 by Sage. Existing custom solutions that reference these libraries usually have to be recompiled if the report instances are called by Sage methods. Otherwise the deserialization of the report instances in the source code fails. <<< >>>
- ErrorMsAccess2bEntry
ErrorMsAccess2bEntry <<< Sage 100 Fehler "bEntry" nicht gefunden / Error "bEntry" not found (alle Versionen/all versions) Dienstag, 23. August 2022 Deutsch Fehlermeldungen/Situation Konsequenzen Microsoft Access Probleme und Lösungsansätze im Detail Sage Kommentar Deutsch Fehlermeldungen/Situation Fehlermeldungen im Sage Administrator und MS-Access crashs beim Starten der Sage 100. Funktion bEntry nicht gefunden Am häufigsten entsteht der Crash des Sage Administrator Tools i.d.R. nach der Anlage der Datenbank und beim Übertragen von Datensätzen in die neu anglegte Datenbank! Teilweise kommt auch eineMeldung wie diese , bevor das Sage Administrator Tool dann ganz crashed und der Prozess von Windows beendet wird. Konsequenzen #1 Datenbankanlagen Im Sage Administrator können keine Demo-Datenbanken erstellt werden. Das Problem tritt jeweils sporadisch an unterschiedlicher Stelle beim Vorbereiten von SQL-Tabellen auf. Als mögliche Interrim-Lösung kann man die gewünschte Demo-Datenbank von einem anderen System / aus einer Sicherung über das SQL-Management Studio installieren und dann manuell im Sage Administrator einbinden. #2 Fehlermeldungen beim Start Sage 100 Beim Starten eines Sage 100 Frontends, z.B. Warenwirtschaft, versucht Sage plötzlich alle AddIns zu deinstallieren. Während dieses Deregistrierungsprozesses stürzt MS-Access nicht deterministisch / bei einem zufälligen AddIn ab. MSAccess-Frontend-Prozess der Sage ERP. Die Sage Frontends stürzen beim Registrieren der AddIns beim Starten sporadisch ab. Es hilft aktuell nur, die Sage Frontends immer wieder neu zu starten, solange, bis alle AddIn-Registrierungen abgeschlossen sind. Danach sollte man die jeweiligen Applikationsdateien "OLAbfApp.mdb" und "OLReWeApp.mdb" mit allen durchgeführten Registrierungen sichern und zukünftig als Basis verwenden. Microsoft Access Probleme und Lösungsansätze im Detail Man kann eine Reparatur von Microsoft Access Office bzw. der zugehörgen Database Engine versuchen. Außerdem sollte man prüfen , ob ggf. MS-Office- bzw. MS-Access-"Mischkonstellationen" auf der Maschine vorliegen. D.h. , dass z.B. teilweise x86- und x64-Komponenten von MS-Office und/oder MS-Access parallel installiert sind. Solche "Mischkonstellationen" können laut Microsoft ebenfalls zu Problemen führen. Es gilt , sich den Technologie-Stack der Sage 100 vor Augen zu führen: Grundlegende Basis ist MS-Access 2019. Die Sage 100 basiert derzeit auf 32-Bit Laufzeitumgebungen (x86) und nicht 64-Bit (x64). "Mischkonstellationen" bzw. "Mischinstallationen" verschiedener MS-Office-Versionen und/oder Microsoft Access-Datenbankversionen / Access Database Engines sollte vermieden werden. Der zuletzt durch ein Setup oder durch Windows Updates ausgerollte Stand verändert entscheidend das Laufzeitverhalten der Applikationen. Unter Umständen muss daher der für die Sage 100 passende Stand am Ende nochmal installiert bzw. "repariert" werden. Beispielansicht: Analyse der installierten Microsoft Access Database Engine kommt heraus , dass eine "Mischkonstellation" von Office-Komponenten vorliegt. Beispielansicht: Analyse einer anderen Umgebung mit derselben "bEntry"-Fehlermeldung: Hier war eine falsche Microsoft Access Database Engine installiert. Diese wurde deinstalliert und danach wurde die 32-Bit-Office-Installation repariert. Danach waren die Probleme behoben. Bei "Mischkonstellationen": 64-bit Teile deinstallieren (die Sage 100 benötigt 32 Bit! ). Über Einstellungen / Apps / Filter auf "Access", dann mittels "Ändern" und "Reparieren" die Reparatur-Funktion von Microsoft anstoßen. Anmerkung: dabei wird auch eine komplette Neuinstallation angeboten - diese kann man ignorieren und dann nochmals "Reparieren" auswählen! Sage Kommentar Das Problem ist auch von Sage in der Vergangenheit mehrfach ausführlich bestätigt worden. Zitat Sage aus KDB-Beitrag (211664): Wir haben das Problem untersucht. Feststellen konnten wir, dass das Problem offensichtlich durch Microsoft-Updates verursacht wird, die wir aber nicht exakt lokalisieren können. Erkenntnis ist, dass der Fehler nur in Click-To-Run-Installation aufzutreten scheint und nicht auf allen solchen Rechnern auftritt. Ursache ist kein spezielles Live-Update der Sage 100. Das Problem tritt auch im Auslieferungsstand auf. Als Workaround kann versucht werden, die Sage 100 mehrfach zu starten und die Meldungen immer zu bestätigen Zitat Sage: In Zusammenarbeit mit Microsoft konnten wir feststellen dass der Fehler durch Aktualisierung von MS Office auf das Build 15028.20160 (Version 2203, March 30, 2022) ausgelöst wird.Betroffene Benutzer können auf das Build 14931.20120 (Version 2202, February 28, 2022) gehen und das automatische Update verhindern.Eine Anleitung finden Sie hier: How to revert to an earlier version of Office ( microsoft.com ) Ein Fall von Anfang 2022 Neuere Office- bzw- MS-Access-Updates verwenden, in denen das Problem von Microsoft gefixed wurde. <<< >>>
- AppDes9
8.1.2 - Build 2159 - 17.09.2019 <<< Sage 100 - 8.1 - AppDesigner Makros/macros 8.1.2 - Build 2159 - 17.09.2019 25699 Wird in einem Makro ein weiteres aufgerufen, werden die lokalen Variable gemeinsam genutzt / If another macro is called, the local variables are shared Deutsch Wird in einem Makro ein weiteres aufgerufen, werden die lokalen Variable gemeinsam genutzt. Es gibt dafür nur einen Fall, nämlich den, wenn in einem Makro eine Funktionaufgerufen wird, die ein Makro ausführt. Anwendungsfall: Mehrfach genutzte Makro-Teile werden in eine unsichtbare Funktion des Kontextmenüs ausgelagert und dann nur noch an diesen Stellen aufgerufen. Erforderliche Aktionen: Soweit ein solcher Aufruf bereits genutzt wird, kann es zu Nebenwirkungen kommen, wenn in den beiden Makros gleichnamige Variablen verwendet werden. Dies ist zu prüfen! English If another macro is called, the local variables are shared. There is only one case for this: when a function that executes a macro is called in a macro. Use case: Macro parts used more than once are moved to an invisible context menu function and then only called at these points. Required actions: If such a call is already being used, there may be side effects if variables of the same name are used in the two macros. This should be checked! <<< >>>
- UpdDevEx1
9.0.4 - Build 6352 - 25.05.2022 <<< Sage 100 - 9.0 - Update DevExpress -> Version 21.2.4 9.0.4 - Build 6352 - 25.05.2022 46743 Verbesserungen diverser UX/UI-Funktionen / Improvements to various UX/UI functions Deutsch DevExpress Bibliotheken wurden von Sage auf Version 21.2.4 aktualisiert. Bestehende eigene Lösungen, die diese Bibliotheken referenzieren, müssen i.d.R. neu compiliert werden. English DevExpress libraries have been updated to version 21.2.4 by Sage. Existing custom solutions that reference these libraries usually have to be recompiled. <<< >>>

