ClientType Option Type
Version: Available or changed with runtime version 1.0.
Represents the type of the client executing the operation.
Members
Member | Description |
---|---|
Background | A background session. |
ChildSession | A child session. |
Desktop | A desktop client. |
Management | A management client. |
NAS | A NAS client. |
OData | A NAS client. |
Phone | Microsoft Dynamics Business Central Phone client. |
SOAP | A SOAP client. |
Tablet | Microsoft Dynamics Business Central Tablet client. |
Web | Microsoft Dynamics Business Central Web client. |
Windows | Microsoft Dynamics Business Central Windows client. |
Current | Microsoft Dynamics Business Central Windows client. |
Default | The default client. |
ODataV4 | A ODataV4 client. |
Api | An API client. |
Teams | Microsoft Teams client. |
Remarks
Some of these client types don't allow AL code that interacts with the user, such as using the methods Dialog.Open
, Dialog.Update
, Window.Open
, Window.Update
, or System.Error
.
If the same codeunit needs to run both in the UI and also in the background (in a scheduled task or with a job queue entry), or in a web service call (SOAP/OData/API), then use if GuiAllowed() then
calls to encapsulate AL code that interacts with the user. For more information, see System.GuiAllowed() Method.
See also
System.GuiAllowed() Method
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru