Codeunit 4030 "Client Type Management"
System Application · System.Environment
Across versions
- BC23-30present
Neighbourhood 140 connected objects and pages
System Application · System.Environment · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
| SingleInstance | true |
Procedures
GetCurrentClientType(): ClientType: Gets the current type of the client being used by the caller, e.g. Phone, Web, Tablet etc.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 4032 “Client Type Mgt. Impl.” (1 call:
GetCurrentClientType → GetCurrentClientType)
Called by
- Codeunit 1309 “O365 Getting Started Mgt.” (6 calls:
AreUserToursEnabled → GetCurrentClientType,CheckOrLaunchWizard → GetCurrentClientType,GetPageToStart → GetCurrentClientType, …) - Codeunit 1430 “Role Center Notification Mgt.” (4 calls:
IsTrialExtendedNotificationEnabled → GetCurrentClientType,IsTrialExtendedSuspendedNotificationEnabled → GetCurrentClientType,IsTrialNotificationEnabled → GetCurrentClientType, …) - Page 39 “General Journal” (4 calls:
OnAfterGetCurrRecord → GetCurrentClientType,OnInit → GetCurrentClientType,OnOpenPage → GetCurrentClientType, …) - Page 253 “Sales Journal” (3 calls:
OnInit → GetCurrentClientType,OnOpenPage → GetCurrentClientType,SetApprovalStateForBatch → GetCurrentClientType) - Page 254 “Purchase Journal” (3 calls:
OnInit → GetCurrentClientType,OnOpenPage → GetCurrentClientType,SetApprovalStateForBatch → GetCurrentClientType) - Codeunit 40 “LogInManagement” (2 calls:
CompanyClose → GetCurrentClientType,CompanyOpen → GetCurrentClientType) - Codeunit 8800 “Custom Layout Reporting” (2 calls:
IsBackground → GetCurrentClientType,IsWebClient → GetCurrentClientType) - Codeunit 9022 “Pmt. Rec. Journals Launcher” (2 calls:
OpenJournal → GetCurrentClientType,OpenList → GetCurrentClientType) - Codeunit 9651 “Document Report Mgt.” (2 calls:
ApplyUpgradeToReports → GetCurrentClientType,ProcessUpgradeLog → GetCurrentClientType) - Page 1834 “Teams Individual Deployment” (2 calls:
LoadTopBanners → GetCurrentClientType,OnInit → GetCurrentClientType) - Page 201 “Job Journal” (2 calls:
OnAfterGetCurrRecord → GetCurrentClientType,OnOpenPage → GetCurrentClientType) - Page 255 “Cash Receipt Journal” (2 calls:
OnOpenPage → GetCurrentClientType,SetApprovalStateForBatch → GetCurrentClientType) - Page 256 “Payment Journal” (2 calls:
OnOpenPage → GetCurrentClientType,SetApprovalStateForBatch → GetCurrentClientType) - Page 40 “Item Journal” (2 calls:
OnAfterGetRecord → GetCurrentClientType,OnOpenPage → GetCurrentClientType) - Page 4813 “Intrastat Report Subform” (2 calls:
OnAfterGetCurrRecord → GetCurrentClientType,OnOpenPage → GetCurrentClientType) - Page 5159 “Sales Order Archive” (2 calls:
OnAfterGetCurrRecord → GetCurrentClientType,OnAfterGetRecord → GetCurrentClientType) - Page 5162 “Sales Quote Archive” (2 calls:
OnAfterGetCurrRecord → GetCurrentClientType,OnAfterGetRecord → GetCurrentClientType) - Page 5164 “Purchase Quote Archive” (2 calls:
OnAfterGetCurrRecord → GetCurrentClientType,OnAfterGetRecord → GetCurrentClientType) - Page 5167 “Purchase Order Archive” (2 calls:
OnAfterGetCurrRecord → GetCurrentClientType,OnAfterGetRecord → GetCurrentClientType) - Page 610 “IC General Journal” (2 calls:
OnOpenPage → GetCurrentClientType,SetControlAppearanceFromBatch → GetCurrentClientType) - Page 6711 “OData Setup Wizard” (2 calls:
EditInExcelVisible → GetCurrentClientType,LoadTopBanners → GetCurrentClientType) - Page 7351 “Movement Worksheet” (2 calls:
OnNewRecord → GetCurrentClientType,OnOpenPage → GetCurrentClientType) - Page 99000823 “Output Journal” (2 calls:
OnAfterGetRecord → GetCurrentClientType,OnOpenPage → GetCurrentClientType) - Page 99000846 “Consumption Journal” (2 calls:
OnAfterGetRecord → GetCurrentClientType,OnOpenPage → GetCurrentClientType) - Table 1309 “O365 Getting Started” (2 calls:
AlreadyShown → GetCurrentClientType,MarkAsShown → GetCurrentClientType) - Codeunit 10 “Type Helper” (1 call:
GetUserClientTypeOffset → GetCurrentClientType) - Codeunit 1391 “Calculate Trial Balance” (1 call:
OnRun → GetCurrentClientType) - Codeunit 1432 “Satisfaction Survey Impl.” (1 call:
IsMobileDevice → GetCurrentClientType) - Codeunit 1535 “Approvals Mgmt.” (1 call:
IsBackground → GetCurrentClientType) - Codeunit 2 “Company-Initialize” (1 call:
CompanyInitializeOnAfterLogin → GetCurrentClientType) - Codeunit 249 “VAT Registration Log Mgt.” (1 call:
IsAPIClientType → GetCurrentClientType) - Codeunit 280 “My Records Demo Setup” (1 call:
SetupMyRecords → GetCurrentClientType) - Codeunit 397 “Mail” (1 call:
GetEmailAddressFromActiveDirectory → GetCurrentClientType) - Codeunit 431 “IC Outbox Export” (1 call:
IsWebClient → GetCurrentClientType) - Codeunit 4359 “Custom Agent Profile Mgt” (1 call:
IsWebClient → GetCurrentClientType) - Codeunit 50 “SaaS Log In Management” (1 call:
ShouldShowTermsAndConditions → GetCurrentClientType) - Codeunit 5320 “Exchange Web Services Client” (1 call:
InitializeOnClient → GetCurrentClientType) - Codeunit 5377 “Webhook Management” (1 call:
IsCurrentClientTypeAllowed → GetCurrentClientType) - Codeunit 7499 “Item From Picture” (1 call:
GetNewFromPictureActionVisible → GetCurrentClientType) - Codeunit 7772 “Azure OpenAI Impl” (1 call:
GuiCheck → GetCurrentClientType) - Codeunit 850 “Cash Flow Forecast Handler” (1 call:
ShowNotification → GetCurrentClientType) - Codeunit 8812 “Customer Statement Subscr” (1 call:
OnBeforeSaveReportAsPDF → GetCurrentClientType) - Codeunit 9017 “Azure AD User Mgmt. Impl.” (1 call:
OnRun → GetCurrentClientType) - Codeunit 9520 “Mail Management” (1 call:
IsBackground → GetCurrentClientType) - Codeunit 9561 “Document Sharing Impl.” (1 call:
ShareEnabled → GetCurrentClientType) - Codeunit 9655 “Init. Server Printer Table” (1 call:
GetLocalDefaultPrinter → GetCurrentClientType) - Page 1020 “Job G/L Journal” (1 call:
OnOpenPage → GetCurrentClientType) - Page 104 “Account Schedule” (1 call:
OnOpenPage → GetCurrentClientType) - Page 1050 “Additional Fee Setup” (1 call:
OnOpenPage → GetCurrentClientType) - Page 1108 “Cost Journal” (1 call:
OnOpenPage → GetCurrentClientType) - and 89 more: data/code/graph/29/calls.json
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Client Type Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.