Session

Contains service information, like session key, client code, etc… Syntax: {{ .Session.ClientCode }} Full list of parameters:

.Session.ClientCode
.Session.SessionKey

.Session.User.ID
.Session.User.FullName
.Session.User.EmployeeID
.Session.User.EmployeeName
.Session.User.GroupID
.Session.User.BOLoginUrl // Back office url for current user

<!-- Services May be extended in feature -->
.Session.Services.ErplyApi.URL
.Session.Services.Auth.URL
.Session.Services.AccountAdmin.URL
.Session.Services.Assignments.URL
.Session.Services.CaFa.URL
.Session.Services.PointOfSaleApi.URL
.Session.Services.UserApi.URL
.Session.Services.WMSApi.URL
.Session.Services.CrmApi.URL
.Session.Services.PricingApi.URL
.Session.Services.PimApi.URL
.Session.Services.VinApi.URL
.Session.Services.InventoryTransactionApi.URL
.Session.Services.InventoryDocumentApi.URL
.Session.Services.IntLog.URL
.Session.Services.ReportsApi.URL
.Session.Services.WebhookManager.URL
.Session.Services.EMSApi.URL
.Session.Services.EInvoiceApi.URL
.Session.Services.KvsApi.URL

.Session.Language.Code
.Session.DefaultLanguage.Code

.Session.AccountConfiguration.configurations

Some notes about specific parameters:

  • .Session.AccountConfiguration.configurations contains all erply configuration parameters
  • .Session.Language.Code two letter code of the currently set account language
  • .Session.DefaultLanguage.Code two letter code of the default account language