top of page

Makro-Prüfung, ob Verkaufsbelegerfassung auf AppDesigner-Basis eingeschaltet ist / Macro check whether sales document edit form based on AppDesigner is switched on

(alle Versionen/all versions)

Samstag, 1. Juli 2023

Hintergrund / Background

GetMandantProperty



Hintergrund / Background


In der Praxis stellt sich oft die Frage, welche Möglichkeiten in Makros vorliegen, um z.B. zu prüfen, ob der Endkunde die neue Belegerfassung auf AppDesigner-Basis eingeschaltet hat. In Abhängigkeit der Einstellung beim Endkunden müssen ggf. andere technische Wege verwendet werden, um AddOns für den Kunden umsetzen zu können.


In practice, the question often arises as to what options are available in macros, e.g. to check whether the end customer has switched on the new document edit form based on AppDesigner technology. Depending on the end user´s settings, other technical methods may have to be used in order to be able to implement addons for the customer.


GetMandantProperty


Ein einfacher Weg ist die Abfrage der Mandanten-Eigenschaft Nummer 40038. Ist diese aktiviert, dann wurde in den Einstellungen die neue Belegerfassung auf AppDesigner-Basis eingeschaltet.


A simple way is to query the mandator property number 40038. If this is activated, the new document edit form based on AppDesigner technology has been switched on in the settings.

SELECT [Mandant] , [PartnerId] , [Bezeichnung] , [Wert] FROM [dbo].[KHKMandanten] WITH (READUNCOMMITTED) WHERE [Eigenschaft] = 40038
ree



Macro:

ree


bottom of page