eWay-CRM Database Schema
⇧ Table dbo.EWA_UnifiedRelations
Archive of deleted records from EWR_ObjectRelations.
Object ID: 2089058478; Created: May 18, 2008, 17:25:31; Modified: September 24, 2021, 20:10:27
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
ItemGUID1
uniqueidentifier
☐
GUID of the first item.
ItemGUID2
uniqueidentifier
☐
GUID of the second item.
ObjectTypeID1
tinyint
☐
ObjectTypeID of the first item.
ObjectTypeID2
tinyint
☐
ObjectTypeID of the second item.
RelationDataGUID
uniqueidentifier
☐
Each pair of relations has common information saved here.
RelationType
varchar (30)
☐
Type of the relation, standard type relation is GENERAL.
Direction
int
☐
For one-to-many relations. Standard relation has Direction = 0, one-to-many is saved with 1 and 2.
DeletedDate
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) DateTime when the record was deleted.
◆ ArchiveID
bigint
☐
IDENTITY Primary key of the table.
RelationTypeID
smallint
☒
Relation type ID.
⇧ Table dbo.EWD_Actions
WorkFlow actions
Object ID: 2137058649; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
ObjectTypeID
tinyint
☒
⇨ dbo.EWE_ObjectTypes .ObjectTypeID ObjectTypeID of the module where the action is applied - for actions that are not part of a workflow.
Xml
nvarchar (max)
☒
XML definition of the action.
FileAs
nvarchar (256)
☒
Text description of the action.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
FlowGUID
uniqueidentifier
☒
⇨ dbo.EWF_Flows .ItemGUID Item identificator of flow.
StatusGUID
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Unique identifier of workflow status which triggers the action.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_AdditionalFields
List of additional fields for customized modules
Object ID: 219147826; Created: May 18, 2008, 18:05:06; Modified: February 06, 2023, 20:18:36
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
ObjectTypeID
tinyint
☐
⇨ dbo.EWE_ObjectTypes .ObjectTypeID ObjectTypeID of the module where the additional field will be used.
FieldID
smallint
☐
IDENTITY Field number - increased automatically.
Name
nvarchar (256)
☐
Name of the field.
Type
tinyint
☐
0: TextBox, 1: ComboBox, 2: NumericBox, 3: Relation, 4: CheckBox, 5: LinkTextBox, 6: DateEdit, 7: MemoBox, 8: MultiSelectComboBox.
Comment
nvarchar (255)
☒
Tooltip of the field.
Data
nvarchar (max)
☒
Data specific for each type of the field.
ModifiedByGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
CreatedByGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
FileAs
nvarchar (256)
☒
Text description of the record.
Rank
int
☒
Position of item in the list.
Category
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of item category in EnumValues.
GeneralSection
bit
☐
DEFAULT ((1)) Indicates whether the field will be displayed in the General Additional Fields section.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
smallint
☐
COMPUTED Alias for the FieldID column.
⇧ Table dbo.EWD_AuthClients
Table with OAuth clients.
Object ID: 256329019; Created: September 03, 2020, 20:39:25; Modified: October 05, 2020, 12:08:08
Name
Type
NULL
Comment
◆ ID
int
☐
IDENTITY Identifier of the record.
Enabled
bit
☐
Specifies if client is enabled.
ClientID
nvarchar (200)
☐
Unique ID of the client.
ClientName
nvarchar (200)
☐
Client display name.
ClientSecret
nvarchar (250)
☒
Client secret.
Flow
int
☐
Specifies allowed flow for client (either AuthorizationCode = 0, Implicit = 1, Hybrid = 2, ClientCredentials = 3, ResourceOwner = 4, AuthorizationCodeWithProofKey = 6, HybridWithProofKey = 7).
AccessTokenLifetime
int
☐
Lifetime of access token in seconds (defaults to 300 seconds / 5 minutes).
AuthorizationCodeLifetime
int
☐
Lifetime of authorization code in seconds (defaults to 300 seconds / 5 minutes).
AbsoluteRefreshTokenLifetime
int
☐
Maximum lifetime of a refresh token in seconds. Defaults to 2592000 seconds / 30 days.
SlidingRefreshTokenLifetime
int
☐
Sliding lifetime of a refresh token in seconds. Defaults to 1296000 seconds / 15 days.
RefreshTokenUsage
int
☐
ReUse = 0 (when refreshing the token, the lifetime of the refresh token will be renewed) or OneTime = 1 (the refresh token handle will be updated when refreshing tokens).
RefreshTokenExpiration
int
☐
Sliding = 0 or Absolute = 1 (the refresh token will expire on a fixed point in time).
AccessTokenType
int
☐
Jwt = 0 or Reference = 1.
RedirectUri
nvarchar (2000)
☐
Redirect URI allowed for the client.
⇧ Table dbo.EWD_AuthConsents
Object ID: 1141136102; Created: May 28, 2020, 20:34:27
Name
Type
NULL
Comment
◆ SubjectID
uniqueidentifier
☐
◆ ClientID
nvarchar (200)
☐
Scopes
nvarchar (2000)
☐
⇧ Table dbo.EWD_AuthTokens
Table with authorization tokens.
Object ID: 1545993530; Created: May 06, 2020, 21:50:05; Modified: May 25, 2021, 10:02:27
Name
Type
NULL
Comment
◆ Key
nvarchar (128)
☐
◆ TokenType
smallint
☐
SubjectID
uniqueidentifier
☒
ClientID
nvarchar (200)
☐
JsonCode
nvarchar (max)
☐
Expiry
datetimeoffset
☐
Date and time of expiration.
⇧ Table dbo.EWD_BinaryData
Table of binary saved documents and e-mails. Connect to EWD_Documents or EWD_Emails with common ItemGUID.
Object ID: 53575229; Created: May 18, 2008, 17:25:31; Modified: November 21, 2022, 20:30:56
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
Identifier of the database record.
Revision
int
☐
Revision of the document - zero based.
Data
image
☒
Binary stored data of the file.
Extension
nvarchar (10)
☒
Extension of the file.
FileSize
bigint
☒
Size of the file.
UploadedSize
bigint
☒
Uploaded size of the file.
IsCompressed
bit
☐
DEFAULT ((0)) Determines whether file is compressed.
CompressedSize
bigint
☒
Size of compressed record.
◆ ID
int
☐
IDENTITY Identifier of record.
StoredInFileSystem
bit
☐
DEFAULT ((0)) Determines whether record is stored in File System.
Created
datetimeoffset
☐
Date when the record was created in the database.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
FileSystemStorageRelativePath
char (7)
☒
Relative path to where is file stored on file system.
⇧ Table dbo.EWD_Bonuses
Bonuses for users
Object ID: 69575286; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:32
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☒
Text description of the record.
Price
decimal (18, 2)
☒
Requested amount.
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Status of the record.
Note
nvarchar (max)
☒
Additional text information.
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Previous status of the record.
PriceDefaultCurrency
decimal (18, 2)
☒
Price in default currency.
PriceParentCurrency
decimal (18, 2)
☒
Price in currency of the parent object.
CurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of currency from EnumValues.
PriceChanged
date
☐
Date when the price of bonus was changed last time.
Private
bit
☐
DEFAULT ((0)) Determines whether the record of bonus is private. Default is no.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Calendar
Object ID: 1120723045; Created: September 11, 2009, 16:50:38; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☒
Text description of the record.
Location
nvarchar (256)
☒
Location of the appointment.
StartDate
smalldatetime
☒
Start date.
EndDate
smalldatetime
☒
End date.
AllDayEvent
bit
☒
Determines whether the appointment is all day event.
Note
nvarchar (max)
☒
Additional text information.
BusyStatus
int
☒
Status of appointment item: Free, Tentative. Busy, OutOfOffice, WorkingElsewhere.
Private
bit
☐
DEFAULT ((0)) Determines whether the appointment item is private. Default is no.
Sensitivity
int
☐
DEFAULT ((0)) Level of importance: High, Low, Normal.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_CapacityNotes
Object ID: 101575400; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:32
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
Title
nvarchar (256)
☒
Title.
Body
nvarchar (256)
☒
Additional text info.
IconIndex
int
☒
Icon index.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
CreatedByGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_CapacityNoteTypes
Object ID: 117575457; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:32
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
Index
int
☒
Index.
NameEN
nvarchar (50)
☒
Name identifier.
DescriptionEN
nvarchar (255)
☒
Description identifier.
PictureBase64
text
☒
Associated picture encoded in base64.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
CreatedByGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Carts
Object ID: 1641772906; Created: January 18, 2011, 16:33:09; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☒
Text description of the record.
ID
int
☒
ID of record.
EffectiveFrom
date
☒
Date from that the item is effective.
ValidUntil
date
☒
Date until that the item is valid.
Active
bit
☒
DEFAULT ((0)) Determines whether the item is active.
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Type of the record.
PriceTotal
decimal (18, 3)
☒
Total price.
Paid
decimal (18, 3)
☒
Paid amount.
ForPayment
decimal (18, 3)
☒
Amount for payment.
CurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of currency from EnumValues.
VAT
decimal (18, 3)
☒
VAT amount.
PriceTotalExcludingVAT
decimal (18, 3)
☒
Total price without VAT amount.
GoodsInCartCount
int
☒
Number of goods in cart.
Note
nvarchar (max)
☒
Additional text information.
PriceTotalDefaultCurrency
decimal (18, 3)
☒
Total price in default currency.
PriceTotalParentCurrency
decimal (18, 3)
☒
Total price in currency of the parent object.
ForPaymentDefaultCurrency
decimal (18, 3)
☒
Amount for payment in default currency.
ForPaymentParentCurrency
decimal (18, 3)
☒
Amount for payment in currency of the parent object.
PaidDefaultCurrency
decimal (18, 3)
☒
Paid amount in default currency.
PaidParentCurrency
decimal (18, 3)
☒
Paid amount in currency of the parent object.
PaidChanged
date
☐
Date of latest change of paid amount.
PriceTotalChanged
date
☐
Date of latest change of total price.
PriceTotalExcludingVATDefaultCurrency
decimal (18, 3)
☒
PriceTotalExcludingVAT in default currency.
PriceTotalExcludingVATParentCurrency
decimal (18, 3)
☒
PriceTotalExcludingVAT in currency of the parent object.
VATDefaultCurrency
decimal (18, 3)
☒
VAT amount in default currency.
VATParentCurrency
decimal (18, 3)
☒
VAT amount in currency of the parent object.
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Status of the record.
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Previous status of the record.
TaxableSupplyDate
date
☒
VAT tax date.
Server_MoneyS3InvoiceNumber
nvarchar (64)
☒
Invoice number in MoneyS3.
Server_MoneyS3InvoiceNumberUniqueHelper
uniqueidentifier
☒
COMPUTED Substitute unique identifier, when Server_MoneyS3GUID is null.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
AccountingCaseDate
date
☒
Date of accounting transaction.
PaymentDate
date
☒
Day of payment.
Server_PohodaDataSourceType
bit
☐
DEFAULT ((0)) Specifies Pohoda data source. 0 = FA, 1 = OBJ.
PurchaseExpenses
decimal (18, 3)
☐
DEFAULT ((0)) Purchase expenses.
PurchaseExpensesDefaultCurrency
decimal (18, 3)
☒
Purchase expenses in default currency.
PurchaseExpensesParentCurrency
decimal (18, 3)
☒
Purchase expenses in currency of the parent object.
PurchaseExpensesChanged
date
☐
Date of last change of purchase expenses.
Profit
decimal (18, 3)
☐
DEFAULT ((0)) Total price excluding VAT lowered by purchase expenses.
ProfitDefaultCurrency
decimal (18, 3)
☒
Total price excluding VAT lowered by purchase expenses in default currency.
ProfitParentCurrency
decimal (18, 3)
☒
Total price excluding VAT lowered by purchase expenses in currency of the parent object.
ProfitChanged
date
☐
Date of last change of profit.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_MoneyS3SourceIdentifier
nvarchar (256)
☒
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Companies
Companies list
Object ID: 149575571; Created: May 18, 2008, 17:25:31; Modified: February 06, 2023, 20:18:36
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Note
nvarchar (max)
☒
Additional text information.
Reversal
decimal (18, 2)
☒
Turnover.
CompanyName
nvarchar (256)
☒
Name of the company.
Department
nvarchar (256)
☒
Department of the company.
AccountNumber
nvarchar (256)
☒
Account number.
EmployeesCount
int
☒
Number of employees.
VatNumber
nvarchar (256)
☒
VAT number.
Address1Street
nvarchar (256)
☒
Billing address street.
Address1City
nvarchar (256)
☒
Billing address city.
Address1State
nvarchar (256)
☒
Billings address state.
Address1Country
nvarchar (256)
☒
Billings address country.
Address1PostalCode
nvarchar (256)
☒
Billing address ZIP.
Address2Street
nvarchar (256)
☒
Physical address street.
Address2City
nvarchar (256)
☒
Physical address city.
Address2State
nvarchar (256)
☒
Physical address state.
Address2Country
nvarchar (256)
☒
Physical address country.
Address2PostalCode
nvarchar (256)
☒
Physical address ZIP.
Address3Street
nvarchar (256)
☒
Other address street.
Address3City
nvarchar (256)
☒
Other address city.
Address3State
nvarchar (256)
☒
Other address state.
Address3Country
nvarchar (256)
☒
Other address country.
Address3PostalCode
nvarchar (256)
☒
Other addresses ZIP.
ImportanceEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Importance of the company.
FirstContactEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID First contact.
FileAs
nvarchar (256)
☒
Text description of the record.
Purchaser
bit
☒
Indicates whether the company is our customer.
Suppliers
bit
☒
Indicates whether the company is our vendor.
IdentificationNumber
nvarchar (256)
☒
Identification number.
Email
nvarchar (256)
☒
Email address.
Phone
nvarchar (256)
☒
Business phone.
ICQ
nvarchar (256)
☒
ICQ nickname.
Fax
nvarchar (256)
☒
Fax number.
Skype
nvarchar (256)
☒
Skype name.
Address2POBox
nvarchar (256)
☒
Physical address PO Box.
Address1POBox
nvarchar (256)
☒
Billing address PO Box.
Address3POBox
nvarchar (256)
☒
Other address PO Box.
WebPage
nvarchar (256)
☒
Homepage of the company.
MSN
nvarchar (256)
☒
MSN contact.
LineOfBusiness
nvarchar (256)
☒
Industry of the company.
MailingListEmail
bit
☒
Determines whether the company wants to be get marketing info by e-mail.
MailingListOther
bit
☒
Determines whether the company wants to get marketing info in another way.
MailingListOtherValue
nvarchar (256)
☒
Determines how the company wants to get marketing info.
Mobile
nvarchar (256)
☒
Mobile phone number.
af_17
nvarchar (255)
☒
SalePriceGUID
uniqueidentifier
☒
⇨ dbo.EWD_SalePrices .ItemGUID Identifier of sale price.
AdditionalDiscount
decimal (18, 4)
☒
DEFAULT ((0)) Global discount in percents.
ID
bigint
☐
IDENTITY Numeric identifier of company.
Server_MoneyS3GUID
uniqueidentifier
☒
Unique identifier of item from system MoneyS3.
Server_MoneyS3GUIDUniqueHelper
uniqueidentifier
☒
COMPUTED Substitute unique identifier, when Server_MoneyS3GUID is null.
Address1CountryEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the country in billing address.
Address2CountryEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the country in physical address.
Address3CountryEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the country in other address.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
Competitor
bit
☒
Determines whether the company is competitor.
PhoneNormalized
varchar (256)
☒
Normalized business phone number.
MobileNormalized
varchar (256)
☒
Normalized mobile number.
LastActivity
date
☒
Date of the last activity.
NextStep
date
☒
Date of the next step.
EmailOptOut
bit
☐
DEFAULT ((0)) Value indicating whether the company wants be excluded from marketing lists.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Company type identificator.
Server_MoneyS3SourceIdentifier
nvarchar (256)
☒
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
Server_ID
bigint
☐
COMPUTED Alias for the ID column.
⇧ Table dbo.EWD_Contacts
List of contacts
Object ID: 165575628; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:32
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
BusinessAddressCity
nvarchar (256)
☒
City of the business address.
BusinessAddressCountry
nvarchar (256)
☒
Country of the business address.
BusinessAddressPostalCode
nvarchar (256)
☒
ZIP of the business address.
BusinessAddressState
nvarchar (256)
☒
State of the business address.
BusinessAddressStreet
nvarchar (256)
☒
Street of the business address.
Email1Address
nvarchar (256)
☒
First email address.
LastName
nvarchar (256)
☒
Contact last name.
FirstName
nvarchar (256)
☒
Contact first name.
HomeAddressCity
nvarchar (256)
☒
City of the home address.
HomeAddressCountry
nvarchar (256)
☒
Country of the home address.
HomeAddressPostalCode
nvarchar (256)
☒
Postal code of the home address.
HomeAddressState
nvarchar (256)
☒
State of the home address.
HomeAddressStreet
nvarchar (256)
☒
Street of the home address.
MiddleName
nvarchar (256)
☒
Contact middle name.
Note
nvarchar (max)
☒
Additional text information.
OtherAddressCity
nvarchar (256)
☒
City of the other address.
OtherAddressCountry
nvarchar (256)
☒
Country of the other address.
OtherAddressPostalCode
nvarchar (256)
☒
Postal code of the other address.
OtherAddressState
nvarchar (256)
☒
State of the other address.
OtherAddressStreet
nvarchar (256)
☒
Street of the other address.
Title
nvarchar (256)
☒
Job title.
WebPage
nvarchar (256)
☒
Web page.
FileAs
nvarchar (1280)
☒
Text description of the record.
Email3Address
nvarchar (256)
☒
Second email address.
Email2Address
nvarchar (256)
☒
Third email address.
ImportanceEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Importance.
TelephoneNumber1
nvarchar (256)
☒
Business phone.
TelephoneNumber2
nvarchar (256)
☒
Home phone.
TelephoneNumber4
nvarchar (256)
☒
Other phone number.
TelephoneNumber3
nvarchar (256)
☒
Mobile phone.
OtherAddressPOBox
nvarchar (256)
☒
PO Box of the other address.
Prefix
nvarchar (256)
☒
Title.
BusinessAddressPOBox
nvarchar (256)
☒
PO Box of the business address.
Suffix
nvarchar (256)
☒
Suffix.
MSN
nvarchar (256)
☒
MSN contact.
ICQ
nvarchar (256)
☒
ICQ nickanme.
Skype
nvarchar (256)
☒
Skype name.
HomeAddressPOBox
nvarchar (256)
☒
PO Box of the home address.
PrefixEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the prefix.
SuffixEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the suffix.
TelephoneNumber5
nvarchar (256)
☒
Second business phone.
TelephoneNumber6
nvarchar (256)
☒
Business fax.
Department
nvarchar (256)
☒
Department.
BusinessAddressCountryEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the country of the business address.
HomeAddressCountryEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the country of the home address.
OtherAddressCountryEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the country of the other address.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
TelephoneNumber1Normalized
varchar (256)
☒
Normalized business phone.
TelephoneNumber2Normalized
varchar (256)
☒
Normalized home phone.
TelephoneNumber3Normalized
varchar (256)
☒
Normalized other phone number.
TelephoneNumber4Normalized
varchar (256)
☒
Normalized mobile phone.
TelephoneNumber5Normalized
varchar (256)
☒
Normalized second business phone.
TelephoneNumber6Normalized
varchar (256)
☒
Normalized business fax.
DoNotSendNewsletter
bit
☐
DEFAULT ((0)) Do not send newsletter to the contact.
ProfilePicture
varbinary (max)
☒
Profile picture of the contact.
ProfilePictureWidth
int
☐
DEFAULT ((0)) Width of the profile picture.
ProfilePictureHeight
int
☐
DEFAULT ((0)) Height of the profile picture.
LastActivity
date
☒
Date of a last activity.
NextStep
date
☒
Date of the next step.
Company
nvarchar (256)
☒
Name of company.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Company type identificator.
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_CurrencyExchangeRates
Object ID: 1997354280; Created: February 03, 2014, 21:07:17; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
InputCurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the input currency.
OutputCurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the output currency.
Rate
decimal (18, 3)
☒
Rate from input currency to output currency.
From
smalldatetime
☒
Rate is valid from this date.
To
smalldatetime
☒
Rate is valid to this date.
Valid
bit
☐
If the rate is valid today.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Documents
List of saved documents, connected to EWD_BinaryData with common ItemGUID
Object ID: 1924201905; Created: August 08, 2008, 18:09:14; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
FileAs
nvarchar (128)
☒
Text description of the record.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
DocName
nvarchar (118)
☒
Name of the document without extension.
Extension
nvarchar (9)
☒
Extension of the document without dot.
CreationTime
datetime
☒
Time when the document has been created.
LastWriteTime
datetime
☒
Time when the document has been changed.
DocSize
bigint
☐
Size of the document in bytes.
ImportanceEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Importance.
DocTypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Type of the document.
Note
nvarchar (max)
☒
Additional text information.
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Status of the record.
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Previous status of the record.
af_13
decimal (18, 3)
☒
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
Preview
varbinary (max)
☒
Binary image preview of the document.
PreviewWidth
int
☐
DEFAULT ((0)) Image width of the preview.
PreviewHeight
int
☐
DEFAULT ((0)) Image height of the preview.
GDPR
bit
☐
DEFAULT ((0)) Value indicating whether is record GDPR relevant.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Emails
List of saved e-mails, connected to EWD_BinaryData with common ItemGUID
Object ID: 197575742; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:32
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
FileAs
nvarchar (256)
☒
Text description of the record.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Subject
nvarchar (256)
☒
Subject.
SenderEmailAddress
nvarchar (256)
☒
Email address of the sender.
SentOn
datetime
☒
Time when the email was sent.
ReceivedTime
datetime
☒
Time when the email was received.
AttachmentsCount
int
☐
Number of attachments.
To
nvarchar (max)
☒
Recipients addresses.
Cc
nvarchar (max)
☒
Addresses of users in carbon copy.
Note
nvarchar (max)
☒
Additional text information.
ImportanceEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Importance.
Checksum
int
☒
Computed hash value. Not used anymore.
MessageId
varchar (256)
☒
Message identifier.
Hash
char (32)
☒
Specifies the hash code calculated from Subject, SenderEmailAddress, To and SentOn.
ConversationIndex
varchar (896)
☒
String that indicates the relative position of the item within the conversation thread, comming from Outlook.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
EmailFileExtension
nvarchar (9)
☐
DEFAULT ('.msg') Required extension of the saved email file. It should be same as the extension in corresponding BinaryData record.
SentMailGUID
uniqueidentifier
☐
DEFAULT (newid()) Unique identifier of the e-mail sent inside Exchange.
GDPR
bit
☐
DEFAULT ((0)) Value indicating whether is record GDPR relevant.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
FileSize
bigint
☐
Size of the email in bytes.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_EnumTypes
Enumerators names, connected with ItemGUID to EWD_EnumValues.EnumType
Object ID: 229575856; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
EnumName
nvarchar (50)
☐
Name of the enumeration.
System
bit
☐
DEFAULT ((1)) Indicates whether the record is a system record.
FileAs
nvarchar (256)
☒
Text description of the record.
AllowEditVisibility
bit
☐
DEFAULT ((0)) Allows users to edit visibility of the enumeration values.
AllowEditLastActivity
bit
☐
DEFAULT ((0)) Indicates whether a user is able to edit if an enum value is included in the last activity calculation.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
RequireDefaultValue
bit
☐
DEFAULT ((0)) Value indicating whether is enumeration default value required.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_EnumValues
List of values of specified enumerator - connected with EnumType to EWD_EnumTypes.ItemGUID
Object ID: 245575913; Created: May 18, 2008, 17:25:31; Modified: June 05, 2023, 20:28:25
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☐
Text description of the record.
EnumType
uniqueidentifier
☐
⇨ dbo.EWD_EnumTypes .ItemGUID Identifier of the enumeration.
Rank
int
☐
DEFAULT ((1)) Position of item in the list.
en
nvarchar (256)
☐
Translation to English.
cs
nvarchar (256)
☐
DEFAULT ('N/A') Translation to Czech.
IsSystem
bit
☐
DEFAULT ((0)) Indicates whether the record is a system record.
Visible
bit
☐
DEFAULT ((1)) Allows item to be visible in the application.
de
nvarchar (256)
☐
DEFAULT ('N/A') Translation to German.
ru
nvarchar (256)
☐
DEFAULT ('N/A') Translation to Russian.
sk
nvarchar (256)
☐
DEFAULT ('N/A') Translation to Slovak.
no
nvarchar (256)
☐
DEFAULT ('N/A') Translation to Norwegian.
IncludeInLastActivityCalculation
bit
☐
DEFAULT ((0)) Indicates whether an enum value is included in last activity calculation.
Default
bit
☐
DEFAULT ((0)) Value indicating whether is value default value for EnumerationType.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
IsCompletedState
bit
☒
Indicates whether the enum value represents a completed state.
IsLostState
bit
☒
Indicates whether the enum value represents a lost state.
⇧ Table dbo.EWD_Features
Object ID: 1264580139; Created: July 03, 2017, 22:41:11; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Id of the specific record.
ItemVersion
int
☐
DEFAULT ((1)) Version number, increased after each record change.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was created on the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was changed for the last time on the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was created on the server database.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was changed for the last time on the server database.
FileAs
nvarchar (256)
☒
Feature name.
Active
bit
☐
DEFAULT ((0)) Value determines whether the feature is active.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_GlobalSettings
Object ID: 1108198998; Created: July 31, 2008, 12:59:44; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Name
nvarchar (256)
☐
Name of the global setting.
Value
nvarchar (max)
☒
Value of the global setting.
Category
uniqueidentifier
☐
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of category.
Visible
bit
☐
DEFAULT ((1)) Allows item to be visible in the administration interface.
Type
tinyint
☐
DEFAULT ((0)) 0: String, 1: Bit, 2: Integer, 3: Float, 4: MultiString, 5: ComboBox, 6: CheckedComboBox, 7: GroupsCheckedComboBox, 8: LastActivityCheckedComboBox, 9: TimeInterval.
AvailableValues
nvarchar (max)
☒
List of available values in format '{key1=value1}{key2=value2}'. Works only with ComboBox and CheckedComboBox.
en
nvarchar (256)
☒
English translation.
cs
nvarchar (256)
☒
Czech translation.
de
nvarchar (256)
☒
German translation.
ru
nvarchar (256)
☒
Russian translation.
sk
nvarchar (256)
☒
Slovak translation.
no
nvarchar (256)
☒
Norwegian translation.
MinValue
int
☒
Value indicating minimum value of numeric settings which will be required by validation process.
MaxValue
int
☒
Value indicating maximum value of numeric settings which will be required by validation process.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
IsLegacy
bit
☐
DEFAULT ((0)) Settings marked as legacy will be removed in future.
FeatureGUID
uniqueidentifier
☒
⇨ dbo.EWD_Features .ItemGUID Identifier of the related feature.
Rank
int
☒
Position of item in the list.
KbUrlShortCode
nchar (5)
☒
Short code for the KB help link.
DependsOn
nvarchar (256)
☒
⇨ dbo.EWD_GlobalSettings .Name Name of the GS that needs to be "active" to make this GS visible.
DependsOnValue
nvarchar (max)
☒
Value that needs to be in the dependand GS.
UnlimitedValue
nvarchar (max)
☒
Value indicating that the GS in unlimited.
DisabledValue
nvarchar (max)
☒
Value indicating that the GS is disabled.
DependsOnValueInverted
bit
☒
When the value is 1 the GS will be "visible" when the value of dependand GS does not equal DependsOnValue value.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Goals
Object ID: 192980014; Created: December 10, 2014, 15:07:52; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☒
Text description of the record.
GoalTypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of goal’s type item in EnumValues.
Note
nvarchar (max)
☒
Additional text information.
StartDate
date
☒
Star date of the goal.
EndDate
date
☒
End date of the goal.
TurnoverGoal
decimal (18, 2)
☒
Revenue goal.
TurnoverActual
decimal (18, 2)
☒
Actual revenue of the goal.
TurnoverCompleted
decimal (18, 4)
☒
Percent completed from the revenue goal.
ProfitGoal
decimal (18, 2)
☒
Profit goal.
ProfitActual
decimal (18, 2)
☒
Actual profit of the goal.
ProfitCompleted
decimal (18, 4)
☒
Percent completed from the profit goal.
CurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the goal currency.
TurnoverGoalDefaultCurrency
decimal (18, 2)
☒
Revenue in default currency.
ProfitGoalDefaultCurrency
decimal (18, 2)
☒
Profit in default currency.
TurnoverGoalChanged
date
☐
Date when the revenue was changed last time.
ProfitGoalChanged
date
☐
Date when the profit was changed last time.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Goods
Object ID: 1689773077; Created: January 18, 2011, 16:33:10; Modified: January 11, 2023, 20:14:58
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☐
Text description of the record.
Code
nvarchar (64)
☐
Code of the product.
SaleCurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the sale currency.
PurchaseCurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the purchase currency.
UnitEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the unit.
PurchasePrice
decimal (18, 3)
☒
Purchase price.
SalePrice
decimal (18, 3)
☒
List price.
Note
nvarchar (max)
☒
Additional text information.
Structure
nvarchar (256)
☒
Warehouse location.
PriceListGroupGUID
uniqueidentifier
☒
⇨ dbo.EWD_PriceListGroups .ItemGUID Guid of the price list group.
IsPriceSum
bit
☐
DEFAULT ((0)) Indicates whether the price is sum of the sub-items.
Description
nvarchar (256)
☒
Additional description.
InventoryQuantity
decimal (18, 2)
☐
DEFAULT ((0)) Quantity of the product in stock.
SalePriceDefaultCurrency
decimal (18, 3)
☒
List price in default currency.
SalePriceChanged
date
☐
Date when list price was changed last time.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
PurchasePriceDefaultCurrency
decimal (18, 3)
☒
Purchase price in default currency.
PurchasePriceChanged
date
☐
Date when purchase price was changed last time.
VATRate
decimal (5, 4)
☒
VAT rate in percent.
VATIncluded
bit
☐
DEFAULT ((0)) Indicates whether VAT is included in the price.
Picture
varbinary (max)
☒
Product picture.
PictureWidth
int
☐
DEFAULT ((0)) Width of the product picture.
PictureHeight
int
☐
DEFAULT ((0)) Height of the product picture.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Product type identificator.
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_GoodsInCart
Object ID: 1769773362; Created: January 18, 2011, 16:33:10; Modified: April 14, 2023, 09:03:02
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☐
Text description of the record.
Code
nvarchar (64)
☐
Code of the product.
SaleCurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the sale currency.
PurchaseCurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the purchase currency.
UnitEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the unit.
PurchasePrice
decimal (18, 3)
☒
Purchase price.
SalePrice
decimal (18, 3)
☒
Sale price.
Quantity
decimal (18, 3)
☒
Quantity.
Note
nvarchar (max)
☒
Additional text information.
PriceTotal
decimal (18, 3)
☒
Total price.
Structure
nvarchar (256)
☒
Warehouse locatio.
ListPrice
decimal (18, 3)
☒
List price.
Discount
decimal (18, 4)
☒
Discount in percent.
HierarchyInSet
nvarchar (68)
☐
Hierarchy in set: [PARENT_GOOD_CODE]\[CHILD_GOOD_CODE].
IsFromSet
bit
☒
DEFAULT ((0)) Indicates whether the item is a set item.
ParentGUID
uniqueidentifier
☒
⇨ dbo.EWD_GoodsInCart .ItemGUID GUID of the parent item.
Rank
int
☐
Position of the item in the list.
IsPriceSum
bit
☐
DEFAULT ((0)) Indicates whether the price is sum of the sub-items.
IncludeInCartPrice
bit
☐
DEFAULT ((1)) Indicates whether the price will be used to calculate total price of the cart.
ListPriceCustomized
bit
☐
DEFAULT ((0)) Indicates whether the list price has been modified by the user.
Description
nvarchar (256)
☒
Additional description.
ChildItemsCount
int
☐
DEFAULT ((0)) Number of child items.
VATRate
decimal (5, 4)
☒
Rate of VAT in percent.
PriceTotalExcludingVAT
decimal (18, 3)
☒
Total price without VAT amount.
VATTotal
decimal (18, 3)
☒
Total VAT amount.
SalePriceExcludingVAT
decimal (18, 3)
☒
Sale price without VAT amount.
VAT
decimal (18, 3)
☒
VAT amount.
PurchasePriceDefaultCurrency
decimal (18, 3)
☒
Purchase price in default currency.
PurchasePriceParentCurrency
decimal (18, 3)
☒
Purchase price in currency of the parent object.
PurchasePriceChanged
date
☐
Date when the purchase price was changed for the last time.
SalePriceDefaultCurrency
decimal (18, 3)
☒
Sale price in default currency.
SalePriceParentCurrency
decimal (18, 3)
☒
Sales price in currency of the parent object.
SalePriceChanged
date
☐
Date when the sale price of good was changed for the last time.
PriceTotalDefaultCurrency
decimal (18, 3)
☒
Total price in default currency.
PriceTotalParentCurrency
decimal (18, 3)
☒
Total price in currency of the parent object.
PriceTotalChanged
date
☐
Date when the total price of good was changed for the last time.
ListPriceDefaultCurrency
decimal (18, 3)
☒
List price in default currency.
ListPriceParentCurrency
decimal (18, 3)
☒
List price in currency of the parent object.
ListPriceChanged
date
☐
Date when the list price of good was changed last time.
PriceTotalExcludingVATDefaultCurrency
decimal (18, 3)
☒
Total price without VAT amount in default currency.
PriceTotalExcludingVATParentCurrency
decimal (18, 3)
☒
Total price without VAT amount in currency of the parent object.
VATTotalDefaultCurrency
decimal (18, 3)
☒
Total VAT amount in default currency.
VATTotalParentCurrency
decimal (18, 3)
☒
Total VAT amount in currency of the parent object.
SalePriceExcludingVATDefaultCurrency
decimal (18, 3)
☒
Sale price without VAT amount in default currency.
SalePriceExcludingVATParentCurrency
decimal (18, 3)
☒
Sale price without VAT amount in currency of the parent object.
VATDefaultCurrency
decimal (18, 3)
☒
VAT amount in default currency.
VATParentCurrency
decimal (18, 3)
☒
VAT amount in currency of the parent object.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
Server_PohodaDataSourceType
bit
☐
DEFAULT ((0)) Specifies Pohoda data source. 0 = FA, 1 = OBJ.
JoinedToGUID
uniqueidentifier
☒
⇨ dbo.EWD_GoodsInCart .ItemGUID GUID of the related item.
PurchasePriceTotal
decimal (18, 3)
☒
Total purchase price.
PurchasePriceTotalDefaultCurrency
decimal (18, 3)
☒
Total purchase price in default currency.
PurchasePriceTotalParentCurrency
decimal (18, 3)
☒
Total purchase price in currency of the parent object.
PurchasePriceTotalChanged
date
☐
Date when the total purchase price of good was changed for the last time.
VATIncluded
bit
☐
DEFAULT ((0)) Indicates whether VAT is included in the ListPrice.
Picture
varbinary (max)
☒
Product picture.
PictureWidth
int
☐
DEFAULT ((0)) Width of the product picture.
PictureHeight
int
☐
DEFAULT ((0)) Height of the product picture.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Product type identificator.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_GoodsInSet
Object ID: 1460916276; Created: November 26, 2012, 13:00:54; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Server_PohodaId
int
☒
Unique identifier of this item in system Pohoda.
ParentGUID
uniqueidentifier
☐
⇨ dbo.EWD_Goods .ItemGUID GUID of the parent product.
ChildGUID
uniqueidentifier
☐
⇨ dbo.EWD_Goods .ItemGUID GUID of the child product.
Quantity
decimal (18, 2)
☒
Quantity.
Rank
int
☒
Position of the item.
Price
decimal (18, 3)
☒
Price of the product.
IsRegular
bit
☐
DEFAULT ((0)) Indicates whether the item is a set or not.
Server_PohodaIdUniqueHelper
uniqueidentifier
☒
COMPUTED Substitute unique identifier, when the Server_PohodaId is null.
CurrencyEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of currency from EnumValues.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
IncludeInCart
bit
☐
DEFAULT ((1)) Value indicating whether should be product into bookkeeping along with parent.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Groups
List of groups of users. Each group can have its own permissions
Object ID: 277576027; Created: May 18, 2008, 17:25:31; Modified: June 05, 2023, 20:28:25
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
ResponsibilityDescription
nvarchar (256)
☒
Description of the responsibility.
FileAs
nvarchar (256)
☐
Text description of the record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
IsAdmin
bit
☐
DEFAULT ((0)) Indicates whether the group is Administrators group.
GroupName
nvarchar (256)
☐
Name of the group.
Description
nvarchar (max)
☒
Description.
IsPM
bit
☐
DEFAULT ((0)) One group has to be marked as Project Managers - special unique relation (RelationType SUPERVISOR) between projects and users is created for each project.
System
bit
☐
DEFAULT ((0)) System group cannot be deleted.
IsRole
bit
☐
DEFAULT ((0)) Indicates that the group is a role.
IsCategory
bit
☐
DEFAULT ((0)) Indicates that the group is category.
DisallowControlModulePermissions
bit
☐
DEFAULT ((0)) Indicates that the user won't be able to change group's module permissions.
DisallowControlColumnPermissions
bit
☐
DEFAULT ((0)) Indicates that the user won't be able to change group's column permissions.
IsOutlookCategory
bit
☐
DEFAULT ((0)) Indicates that the group is Outlook category.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
DisallowControlUserAssignment
bit
☐
DEFAULT ((0)) Indicates that the administrator won't be able to add or remove users from the group.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
ColorEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Group Color.
⇧ Table dbo.EWD_History
Object ID: 1817018200; Created: March 05, 2018, 21:11:38; Modified: June 05, 2023, 20:28:21
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Id of the specific record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was changed for the last time on the local database.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was changed for the last time on the server database.
ModifiedItemGUID
uniqueidentifier
☐
Identifier of changed item .
ObjectTypeID
tinyint
☐
⇨ dbo.EWE_ObjectTypes .ObjectTypeID ID of the module of changed item.
ColumnName
nvarchar (128)
☒
Name of column which value changed.
ClientID
bigint
☐
⇨ dbo.EWE_ClientVersions .ID
PrevValueGUID
uniqueidentifier
☒
Previous unique identifier value.
NewValueGUID
uniqueidentifier
☒
New unique identifier value.
PrevValueVarChar
nvarchar (256)
☒
Previous variable characters value.
NewValueVarChar
nvarchar (256)
☒
New variable characters value.
PrevValueVarCharMax
nvarchar (max)
☒
Previous variable characters value.
NewValueVarCharMax
nvarchar (max)
☒
New variable characters value.
PrevValueBit
bit
☒
Previous bit value.
NewValueBit
bit
☒
New bit value.
PrevValueInt
int
☒
Previous integer value.
NewValueInt
int
☒
New integer value.
PrevValueBigInt
bigint
☒
NewValueBigInt
bigint
☒
PrevValueDecimal
decimal (19, 4)
☒
Previous decimal value.
NewValueDecimal
decimal (19, 4)
☒
New decimal value.
PrevValueDateTime
datetime
☒
Previous date time value.
NewValueDateTime
datetime
☒
New date time value.
PrevValueVarBinary
varbinary (max)
☒
Previous binary value.
NewValueVarBinary
varbinary (max)
☒
New date binary value.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
SID
uniqueidentifier
☒
⇨ dbo.EWD_LoginHistory .ItemGUID Session ID which was used by the client that made the change.
⇧ Table dbo.EWD_Children
Users children
Object ID: 133575514; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:32
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
LastName
nvarchar (256)
☒
Last name.
PersonalIdentificationNumber
nvarchar (256)
☒
Personal ID.
MiddleName
nvarchar (256)
☒
Middle name.
FirstName
nvarchar (256)
☒
First name.
Agreement
bit
☒
Agreement with personal information handling.
Prefix
nvarchar (256)
☒
Prefix.
Birthdate
date
☒
Brithdate.
Note
nvarchar (max)
☒
Additional text information.
FileAs
nvarchar (256)
☒
Text description of the record.
Suffix
nvarchar (256)
☒
Suffix.
PrefixEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of item prefix.
SuffixEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of item suffix.
Private
bit
☐
DEFAULT ((0)) Determines whether the record is private. Default is no.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_IndividualDiscounts
Object ID: 1849773647; Created: January 18, 2011, 16:33:11; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Price
decimal (18, 3)
☒
Price amount.
Discount
decimal (18, 4)
☒
Discount in percent.
Companies_INDIVIDUALDISCOUNT
uniqueidentifier
☒
⇨ dbo.EWD_Companies .ItemGUID Guid of the company.
Goods_INDIVIDUALDISCOUNT
uniqueidentifier
☒
⇨ dbo.EWD_Goods .ItemGUID Guid of the product.
PriceListGroupGUID
uniqueidentifier
☒
⇨ dbo.EWD_PriceListGroups .ItemGUID Guid of the price list group.
CurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the currency.
PriceDefaultCurrency
decimal (18, 3)
☒
Price amount in default currency.
PriceChanged
date
☐
Date when the price of individual discount was changed for the last time.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_ItemChanges
Changes for synchronization - items in this table are synchronized automaticaly
Object ID: 231671873; Created: May 18, 2008, 18:17:44; Modified: January 08, 2023, 20:39:17
Name
Type
NULL
Comment
◆ ChangeID
bigint
☐
IDENTITY Identity column.
ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ObjectTypeID
tinyint
☐
⇨ dbo.EWE_ObjectTypes .ObjectTypeID ObjectTypeID of the changed record.
Removed
bit
☐
DEFAULT ((0)) Indicates whether the record was removed or not.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
FileAs
nvarchar (1280)
☒
Text description of the record.
ModifiedByGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemVersion
int
☒
Version number of the database record. Increments with each update.
⇧ Table dbo.EWD_Journal
Calls, meetings, notes, events and changes related to projects
Object ID: 309576141; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Note
nvarchar (max)
☒
Additional text information.
EventStart
smalldatetime
☐
DEFAULT (getdate()) Start time.
EventEnd
smalldatetime
☐
DEFAULT (getdate()) End time.
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Type of the record.
ImportanceEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Importance.
FileAs
nvarchar (256)
☒
Text description of the record.
System
bit
☒
DEFAULT ((0)) System items cannot be changed by the user.
ChangedField
nvarchar (256)
☒
Name of the changed field.
FieldValue
nvarchar (256)
☒
New value.
PrevFieldValue
nvarchar (256)
☒
Old value.
Calendar_ORIGIN
uniqueidentifier
☒
⇨ dbo.EWD_Calendar .ItemGUID GUID of the connected appointment item.
CalendarEntryID
varchar (140)
☒
Appointment EntryID from Outlook.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
EmailCampaignResponseType
tinyint
☒
Sent = 1, Delivered = 2, Viewed = 3, Logout = 4, NotDelivered = 5, LinkOpened = 6, MarkedAsSpam = 7.
Phone
nvarchar (256)
☒
Phone number of related phone call.
PhoneNormalized
varchar (256)
☒
Normalized phone number of related phone call.
GDPR
bit
☐
DEFAULT ((0)) Value indicating whether is record GDPR relevant.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Knowledge
Users knowledges
Object ID: 325576198; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
TitleEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Title identifier.
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Type of the record.
LevelEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Level identifier.
Note
nvarchar (max)
☒
Additional text information.
FileAs
nvarchar (256)
☒
Text description of the record.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Layouts
Object ID: 1720861693; Created: October 19, 2016, 22:19:25; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☒
Text description of the record.
ObjectTypeID
tinyint
☐
⇨ dbo.EWE_ObjectTypes .ObjectTypeID ObjectTypeID of the module for which is layout designed.
Definition
nvarchar (max)
☐
Layout definition.
Default
bit
☐
DEFAULT ((0)) Value determines whether layout is a default layout.
System
bit
☐
DEFAULT ((0)) Value determines whether layout is a system layout and therefore not editable.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_LayoutsModels
Layout Models, for each item type must exist just one Layout definition
Object ID: 2012599004; Created: January 07, 2019, 21:01:25; Modified: January 09, 2023, 20:36:54
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
ObjectTypeID
tinyint
☐
⇨ dbo.EWE_ObjectTypes .ObjectTypeID ObjectTypeID of the module for which is layout designed.
LayoutGUID
uniqueidentifier
☐
⇨ dbo.EWD_Layouts .ItemGUID Identifier of the form layout definition.
ItemTypeGUID
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the enum value which represents a type of the item.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Leads
Object ID: 1248723501; Created: September 11, 2009, 16:59:49; Modified: December 22, 2022, 20:35:54
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☒
Text description of the record.
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Status of the record.
LeadOriginEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the source.
ReceiveDate
date
☒
Date received.
Email
nvarchar (256)
☒
Email address.
Phone
nvarchar (256)
☒
Telephone number.
Note
nvarchar (max)
☒
Additional text information.
Customer
nvarchar (256)
☒
Name of company.
ContactPerson
nvarchar (256)
☒
Name of contact person.
HID
int
☒
Number identifier of the lead.
Probability
decimal (18, 4)
☒
Probability of the achievement.
Price
decimal (18, 2)
☒
Price of the lead.
EstimatedEnd
date
☒
Estimated end of the lead.
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Previous status of the record.
Street
nvarchar (256)
☒
Street of contact address.
Zip
nvarchar (256)
☒
ZIP code of contact address.
City
nvarchar (256)
☒
City of contact address.
PriceDefaultCurrency
decimal (18, 2)
☒
Price of lead in default currency.
CurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of currency.
PriceChanged
date
☐
Date when the price of lead was changed for the last time.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
PhoneNormalized
varchar (256)
☒
Normalized telephone number.
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Type of the record.
LastActivity
date
☒
Date of a the last activity.
NextStep
date
☒
Date of the next step.
EstimatedValue
decimal (18, 3)
☒
Estimated value calculated from estimated revenue and probability.
EstimatedValueDefaultCurrency
decimal (18, 3)
☒
Estimated value in default currency.
EmailOptOut
bit
☐
DEFAULT ((0)) Value indicating whether the lead should be excluded from marketing lists.
CountryEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the country.
State
nvarchar (256)
☒
State name.
POBox
nvarchar (256)
☒
PO Box.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
CompletedDate
date
☒
Date when lead was marked as completed.
LostDate
date
☒
Date when lead was marked as lost.
⇧ Table dbo.EWD_LoginHistory
Object ID: 544720993; Created: August 28, 2008, 16:04:31; Modified: January 26, 2023, 20:17:43
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
Created
datetimeoffset
☐
Login time.
UserHostID
nvarchar (50)
☒
Client ID.
Successful
bit
☐
Indicates whether the login was successful.
UserHostAddress
varchar (45)
☒
IP host address of the remote client.
UserHostName
varchar (200)
☒
Name of the host.
UserGUID
uniqueidentifier
☐
Identifier of the user.
SID
uniqueidentifier
☒
Session GUID.
TimeZone
nvarchar (32)
☒
Time zone identifier.
IsFullSync
bit
☒
Indicates whether the client runs full sync.
ProxyAddress
varchar (45)
☒
Proxy address provided during login.
ClientID
bigint
☐
Client version ID.
⇧ Table dbo.EWD_Mappings
Object ID: 1644949332; Created: November 20, 2015, 22:09:54; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
SynchronizationType
tinyint
☐
Type of synchronization 3rd party software.
SynchronizationObjectName
nvarchar (256)
☐
Synchronization object name.
Field
nvarchar (256)
☐
Field in eWay-CRM described by [FolderName].[FieldName].
MappedField
nvarchar (256)
☐
3rd party software field description.
System
bit
☐
DEFAULT ((0)) Default mapping which cannot be changed by user.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Marketing
Object ID: 86291367; Created: March 16, 2011, 10:25:15; Modified: December 18, 2022, 20:19:32
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☐
Text description of the record.
ID
int
☒
Number identifier of item.
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Type of the record.
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Status of the record.
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Previous status of the record.
EstimatedStart
date
☒
Estimated start of the marketing campaign.
EstimatedEnd
date
☒
Estimated end of the marketing campaign.
Budget
decimal (18, 2)
☒
Budget of the marketing campaign.
EstimatedResponses
int
☒
Estimated amount of responses.
EstimatedRevenues
decimal (18, 2)
☒
Estimated revenues.
RealStart
date
☒
Real start of the marketing campaign.
RealEnd
date
☒
Real end of the marketing campaign.
Expenses
decimal (18, 2)
☒
Expenses of the marketing campaign.
FinalResponses
int
☒
Final amount of responses.
FinalRevenues
decimal (18, 2)
☒
Final revenues.
Note
nvarchar (max)
☒
Additional text information.
EmailCampaignHash
varchar (50)
☒
Email campaign has (emailkampane.cz).
EmailsSent
int
☒
Number of sent emails.
EmailsDelivered
int
☒
Number of delivered emails.
EmailsViewed
int
☒
Number of viewed emails.
PeopleUnsubscribed
int
☒
Number of unsubscribed people.
TargetGroup
int
☒
Target group.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
EmailCampaignContactListChanged
bit
☐
DEFAULT ((0)) Date when the ContactList was changed during the last check.
EmailsMarkedAsSpam
int
☒
Count of emails marked as spam.
EmailCampaignEmailSent
datetime
☒
Date of email sent via Emailkampane.cz.
LastResponsesDownloadTime
datetime
☒
Date of last statistics download from emailkampane.cz.
ResponsesDownloadCount
int
☒
Emailkampane.cz statistics download counter.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_MarketingList
Object ID: 326292222; Created: March 16, 2011, 10:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Contact
nvarchar (256)
☒
Contact name.
Company
nvarchar (256)
☒
Company name.
Email1Address
nvarchar (256)
☒
Email address of contact.
Phone
nvarchar (256)
☒
Phone number of contact.
AddressPostalCode
nvarchar (256)
☒
Postal code of contact address.
AddressCity
nvarchar (256)
☒
City of the contact address.
AddressStreet
nvarchar (256)
☒
Street of the contact address.
MarketingGUID
uniqueidentifier
☒
⇨ dbo.EWD_Marketing .ItemGUID GUID of connected marketing campaign item.
FolderName
nvarchar (50)
☒
⇨ dbo.EWE_ObjectTypes .FolderName Folder name for source of the contact.
FirstName
nvarchar (256)
☒
First name of the contact.
LastName
nvarchar (256)
☒
Last name of the contact.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
LeadGUID
uniqueidentifier
☒
⇨ dbo.EWD_Leads .ItemGUID GUID of the lead.
ContactGUID
uniqueidentifier
☒
⇨ dbo.EWD_Contacts .ItemGUID GUID of the contact.
CompanyGUID
uniqueidentifier
☒
⇨ dbo.EWD_Companies .ItemGUID GUID of the company.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_MarketingListSources
Object ID: 422292564; Created: March 16, 2011, 10:25:38; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Definition
nvarchar (max)
☒
SQL script definition.
FileAs
nvarchar (256)
☒
Text description of the record.
en
nvarchar (256)
☐
DEFAULT ('N/A') English translation.
cs
nvarchar (256)
☐
DEFAULT ('N/A') Czech translation.
de
nvarchar (256)
☐
DEFAULT ('N/A') German translation.
ru
nvarchar (256)
☐
DEFAULT ('N/A') Russian translation.
System
bit
☐
DEFAULT ((0)) Determines whether the item is system or not.
sk
nvarchar (256)
☐
DEFAULT ('N/A') Slovak translation.
no
nvarchar (256)
☐
DEFAULT ('N/A') Norwegian translation.
Active
bit
☐
DEFAULT ((1)) Value indicating whether the marketing list source is active.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_ObjectTypesOptions
Object ID: 1755113989; Created: March 21, 2018, 12:49:26; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Id of the specific record
ItemVersion
int
☐
DEFAULT ((1)) Version number, increased after each record change
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID FK: ItemGUID, EWD_Users - owner
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID FK: ItemGUID, EWD_Users - creator
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID FK: ItemGUID, EWD_Users - last changing user
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was created on the local database
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was changed for the last time on the local database
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was created on the server database
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was changed for the last time on the server database
ObjectTypeID
tinyint
☐
⇨ dbo.EWE_ObjectTypes .ObjectTypeID
TrackHistory
bit
☐
DEFAULT ((0)) Value indicating whether item has activity history tracking enabled.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
PrivateItemsEnabled
bit
☐
DEFAULT ((0)) Value indicating whether Private items are enabled for the module.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Payments
Object ID: 1070171108; Created: June 17, 2014, 21:27:47; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Date
date
☐
Date of payment.
Paid
decimal (18, 3)
☒
Paid amount.
PaidDefaultCurrency
decimal (18, 3)
☒
Default currency of payment.
PaidParentCurrency
decimal (18, 3)
☒
Payment currency of the parent object.
CurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the currency.
Server_PohodaId
int
☐
Unique identifier of this item in system Pohoda.
Server_PohodaIdUniqueHelper
uniqueidentifier
☒
COMPUTED Substitute unique identifier, when the Server_PohodaId is null.
FileAs
nvarchar (256)
☒
Text description of the record.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_PriceListGroups
Object ID: 177435706; Created: January 24, 2013, 15:08:15; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☒
Text description of the record.
Server_PohodaId
int
☒
Unique identifier of this item in system Pohoda.
Note
nvarchar (max)
☒
Additional text information.
Server_PohodaIdUniqueHelper
uniqueidentifier
☒
COMPUTED Substitute unique identifier, when the Server_PohodaId is null.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Prices
Object ID: 418673135; Created: July 28, 2017, 22:44:31; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Id of the specific record.
ItemVersion
int
☐
DEFAULT ((1)) Version number, increased after each record change.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID FK: ItemGUID, EWD_Users - owner.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID FK: ItemGUID, EWD_Users - creator.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID FK: ItemGUID, EWD_Users - last changing user.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was created on the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was changed for the last time on the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was created on the server database.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was changed for the last time on the server database.
SalePriceGUID
uniqueidentifier
☐
⇨ dbo.EWD_SalePrices .ItemGUID GUID from EWD_SalesPrices, type of sale’s price.
GoodsItemGUID
uniqueidentifier
☐
⇨ dbo.EWD_Goods .ItemGUID GUID from EWD_Goods.
Price
decimal (18, 3)
☒
Sale price.
CurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of currency in EnumValues.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_ProjectAssignments
Object ID: 341576255; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
WeekNumber
int
☐
Week number.
Year
int
☐
Year number.
AssignmentHours
decimal (18, 2)
☐
Assigned hours.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
CreatedByGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Projects
List of projects
Object ID: 791673868; Created: June 19, 2008, 18:11:48; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Note
nvarchar (max)
☒
Additional text information.
Price
decimal (18, 2)
☒
Price.
ProjectEnd
date
☒
Project end.
ProjectStart
date
☒
Project start.
ProjectName
nvarchar (256)
☒
Name of the project.
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Type of the record.
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Status of the record.
FileAs
nvarchar (256)
☒
Text description of the record.
PeopleExpenses
decimal (18, 2)
☒
People expenses.
ProjectRealEnd
date
☒
Real end.
EstimatedPrice
decimal (18, 2)
☒
Estimated price.
HID
int
☒
Project ID.
ProjectOriginEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier origin.
PaymentTypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Payment type identifier.
OtherExpenses
decimal (18, 2)
☒
Other expenses.
Margin
decimal (18, 4)
☒
Margin.
PaymentMaturity
int
☒
Payment maturity.
InvoicePaymentDate
date
☒
Payment date.
InvoiceIssueDate
date
☒
Invoice date.
EstimatedMargin
decimal (18, 4)
☒
Estimated margin.
EstimatedPeopleExpenses
decimal (18, 2)
☒
Estimated people expenses.
EstimatedOtherExpenses
decimal (18, 2)
☒
Estimated other expenses.
LicensesCount
int
☒
Number of licenses.
LicensePrice
decimal (18, 2)
☒
Price per license.
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Previous status of the record.
ShowInCaplan
bit
☒
DEFAULT ((1)) Indicates whether the project is visible in the CaPlan application.
af_14
nvarchar (255)
☒
EstimatedWorkHours
int
☒
Estimated work hours on project.
TotalWorkHours
decimal (18, 3)
☒
Total work hours on project.
EstimatedPeopleExpensesDefaultCurrency
decimal (18, 2)
☒
Estimated people expenses in default currency.
EstimatedOtherExpensesDefaultCurrency
decimal (18, 2)
☒
Estimated other expenses in default currency.
EstimatedPriceDefaultCurrency
decimal (18, 2)
☒
Estimated price of project in default currency.
PeopleExpensesDefaultCurrency
decimal (18, 2)
☒
People’s expenses in default currency.
OtherExpensesDefaultCurrency
decimal (18, 2)
☒
Other expenses in default currency.
PriceDefaultCurrency
decimal (18, 2)
☒
Price of project in default currency.
CurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the currency.
EstimatedPeopleExpensesChanged
date
☐
Date and time when was EstimatedPeopleExpensesDefaultCurrency changed.
EstimatedOtherExpensesChanged
date
☐
Date and time when was EstimatedOtherExpensesDefaultCurrency changed.
OtherExpensesChanged
date
☐
Date and time when was OtherExpensesDefaultCurrency changed.
EstimatedPriceChanged
date
☐
Date and time when was OtherExpensesDefaultCurrency changed.
PriceChanged
date
☐
Date and time, when was PriceDefaultCurrency changed.
LicensePriceChanged
date
☐
Date and time, when was LicensePriceDefaultCurrency changed.
LicensePriceDefaultCurrency
decimal (18, 2)
☒
Price of License in default currency.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
LastActivity
date
☒
Date of the last activity.
NextStep
date
☒
Date of the next step.
Profit
decimal (18, 3)
☒
Project actual profit.
ProfitDefaultCurrency
decimal (18, 3)
☒
Project actual profit in default currency.
EstimatedProfit
decimal (18, 3)
☒
Project estimated profit.
EstimatedProfitDefaultCurrency
decimal (18, 3)
☒
Project estimated profit in default currency.
PeopleExpensesChanged
date
☐
Date and time, when was OtherExpensesDefaultCurrency changed.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_QueuedJobs
Object ID: 2081090850; Created: August 10, 2015, 22:08:47; Modified: May 25, 2021, 10:02:27
Name
Type
NULL
Comment
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
◆ ID
bigint
☐
IDENTITY Number identifier of item.
Name
varchar (256)
☒
Name of the SQL stored procedure.
Parameters
nvarchar (max)
☒
Parameters of the stored procedure.
BatchStart
datetimeoffset
☒
Date and time when the batch started.
IsError
bit
☒
Indicates whether the job finished with error.
ErrorMessage
nvarchar (max)
☒
Error message.
⇧ Table dbo.EWD_RecurrencePatterns
Object ID: 1972878791; Created: June 14, 2018, 20:20:57; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Id of the specific record
ItemVersion
int
☐
DEFAULT ((1)) Version number, increased after each record change
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID FK: ItemGUID, EWD_Users - owner
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID FK: ItemGUID, EWD_Users - creator
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID FK: ItemGUID, EWD_Users - last changing user
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was created on the local database
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was changed for the last time on the local database
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was created on the server database
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was changed for the last time on the server database
TaskGUID
uniqueidentifier
☐
⇨ dbo.EWD_Tasks .ItemGUID Unique identificator of related task
RecurrenceType
tinyint
☐
Recurrence type
Interval
int
☒
Recurrence interval
Instance
tinyint
☒
Recurrence instance
DayOfWeekMask
tinyint
☒
Days of week mask used for recurrence
DayOfMonth
tinyint
☒
Day of month of ocurrence
MonthOfYear
tinyint
☒
Month of year of ocurrence
Regenerate
bit
☒
Value indicating whether task should be regenerate after being completed
NoEndDate
bit
☒
Value indicating whether end date of recurrence is set
Occurrences
int
☒
Number of occurrences
PatternStartDate
date
☒
Start date of recurrence
PatternEndDate
date
☒
End date of recurrence
EndKind
tinyint
☐
Value indicating kind of recurrence pattern end.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Reports
Table of reports definitions, not shown on any form - should be in Administrator UI soon.
Object ID: 608721221; Created: September 04, 2008, 19:58:32; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☒
Text description of the record.
Category
uniqueidentifier
☐
Category identifier.
Name
varchar (128)
☐
Name of the report.
Description
nvarchar (256)
☒
Detailed description.
Definition
nvarchar (max)
☒
XML definition of the report (contents of the RDL file).
Data
nvarchar (max)
☒
Additional data.
Active
bit
☐
DEFAULT ((1)) Value indicating whether the report is active.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_RevisionsHistory
Object ID: 742293704; Created: May 27, 2011, 14:16:57; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
Revision
int
☐
DEFAULT ((1)) Number of the revision.
DocumentGUID
uniqueidentifier
☐
⇨ dbo.EWD_Documents .ItemGUID GUID of the related document.
FileAs
nvarchar (256)
☒
Text description of the record.
FileSize
bigint
☐
Size of the document file in bytes.
FileCreationTime
datetime
☒
Creation date and time.
FileLastWriteTime
datetime
☒
Date and time of the last document change.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Salaries
Users salaries
Object ID: 437576597; Created: May 18, 2008, 17:25:31; Modified: February 01, 2023, 20:34:08
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
GrossSalary
decimal (18, 2)
☒
Gross salary.
Note
nvarchar (max)
☒
Additional text information.
ValidTo
date
☒
Valid to.
MealTickets
bit
☒
Meal tickets.
SupergrossSalary
decimal (18, 2)
☐
DEFAULT ((0)) Supergross salary.
Default
bit
☒
Just one default salary can exist in a time.
ValidFrom
date
☐
Valid from.
FileAs
nvarchar (256)
☒
Text description of the record.
WorkLoadEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID WorkLoad identifier.
SalaryTypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Salary type identifier.
Workload
int
☒
Week work hours.
GrossSalaryDefaultCurrency
decimal (18, 2)
☒
Amount of gross salary in default currency.
SupergrossSalaryDefaultCurrency
decimal (18, 2)
☒
Amount of super gross salary in default currency.
CurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of currency.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
AdditionalCosts
decimal (18, 2)
☐
DEFAULT ((0)) Amount of additional costs.
AdditionalCostsDefaultCurrency
decimal (18, 2)
☒
Amount of additional costs in default currency.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_SalePrices
Object ID: 1591012749; Created: May 28, 2013, 06:56:39; Modified: January 11, 2023, 20:14:58
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☒
Text description of the record.
Note
nvarchar (max)
☒
Additional text information.
Discount
decimal (18, 4)
☒
Discount in percent.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Sessions
Object ID: 453576654; Created: May 18, 2008, 17:25:31; Modified: November 09, 2022, 16:52:51
Name
Type
NULL
Comment
◆ SID
uniqueidentifier
☐
GUID identifier.
UserGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID GUID of the user.
Created
datetimeoffset
☐
Date and time of session creation.
LastActivity
datetimeoffset
☐
Date and time of session last activity.
ClientVersion
nvarchar (50)
☒
Client version.
UserHostAddress
varchar (45)
☒
IP host address of the remote client.
UserHostId
varchar (50)
☒
Unique identification of the remote client.
Success
bit
☐
DEFAULT ((1)) Value indicating whether was login successful.
UserHostName
varchar (200)
☒
Name of the host.
TimeZone
nvarchar (32)
☒
Time zone identifier.
IsFullSync
bit
☒
Indicates whether the client runs full sync.
ProxyAddress
varchar (45)
☒
Proxy address provided during login.
⇧ Table dbo.EWD_SqlObjects
SQL definition of objects needed in local database.
Object ID: 1495676376; Created: June 23, 2008, 13:20:26; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
FileAs
nvarchar (256)
☐
Text description of the record.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Name
nvarchar (256)
☐
Name of the object.
Type
int
☐
1: Table, 2: View, 3: Procedure, 4: Function, 5: Trigger.
Script
nvarchar (max)
☐
Script definition.
Rank
int
☐
Position of the item.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Tasks
Object ID: 759673754; Created: June 18, 2008, 18:39:18; Modified: February 01, 2023, 20:34:08
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Body
nvarchar (max)
☒
Body of task.
Complete
bit
☐
DEFAULT ((0)) Determines whether the task is completed.
DueDate
date
☒
Due date of the task.
Importance
int
☒
Number identifier of the importance (0, 1, 2).
PercentComplete
int
☒
Percents of task completion.
StartDate
date
☒
Start date of task.
Status
int
☒
Number identifier of task status (0, 1, 2, 3).
Subject
nvarchar (256)
☒
Subject of task.
FileAs
nvarchar (1280)
☒
Text description of the record.
Level
int
☐
DEFAULT ((1)) Level of task (1 .. 8).
RTFBody
nvarchar (max)
☒
RTF version of the task body.
TeamTask
bit
☒
DEFAULT ((0)) Indicates whether the task i team task.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
Sensitivity
int
☐
DEFAULT ((0)) Number identifier of task sensitivity (0, 1, 2).
Categories
nvarchar (max)
☒
Contains data from the Outlook's TaskItem Categories field.
ActualWorkHours
decimal (18, 3)
☒
Summarization of related work sheets duration.
EstimatedWorkHours
decimal (18, 3)
☒
Taks estimated efford value from Outlook.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
TypeEn
uniqueidentifier
☒
DEFAULT ('F8622121-6206-47DE-9A3A-C7DC7E9AF92A') ⇨ dbo.EWD_EnumValues .ItemGUID Workflow type identificator.
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Workflow previous status identificator.
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
PercentCompleteDecimal
decimal (5, 4)
☒
Percents of task completion.
Reminder
bit
☐
DEFAULT ((0)) Value indicating whether is reminder active.
ReminderDate
smalldatetime
☒
Date of task reminder.
ImportanceEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Level of task importance.
CompletedDate
date
☒
Date when task was completed.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_TeamRoles
Description of team members roles.
Object ID: 501576825; Created: May 18, 2008, 17:25:31; Modified: January 26, 2023, 20:17:48
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
RelationDataGUID
uniqueidentifier
☐
⇨ dbo.EWR_UnifiedRelations .RelationDataGUID GUID of the RelationData of the relation between project and user.
GroupGUID
uniqueidentifier
☐
⇨ dbo.EWD_Groups .ItemGUID Related group identifier.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Training
Users trainings
Object ID: 533576939; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Date
date
☒
Date.
TitleEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Title identifier.
GradeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Grade identifier.
Result
nvarchar (256)
☒
Result.
Note
nvarchar (max)
☒
Additional text information.
FileAs
nvarchar (256)
☒
Text description of the record.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_UserLicensingBundles
History of user license assignments.
Object ID: 813323499; Created: June 10, 2022, 17:18:04; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
LicensingBundles
nvarchar (256)
☒
Comma delimited codes of licensing bundles assigned to this user.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier of a relation.
⇧ Table dbo.EWD_UserNamesHistory
Object ID: 1709418055; Created: December 04, 2019, 20:16:49; Modified: September 24, 2021, 20:10:24
Name
Type
NULL
Comment
◆ ID
bigint
☐
IDENTITY Record identifier.
UserGUID
uniqueidentifier
☐
The user identifier.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was created in database.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
UserName
nvarchar (100)
☐
Previous user UserName.
⇧ Table dbo.EWD_Users
eWay users
Object ID: 549576996; Created: May 18, 2008, 17:25:31; Modified: March 05, 2023, 20:17:30
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
UserName
nvarchar (100)
☐
Login name.
Server_Password
char (32)
☒
Hashed password.
FirstName
nvarchar (256)
☒
First user name.
MiddleName
nvarchar (256)
☒
Middle user name.
Suffix
nvarchar (50)
☒
Suffix.
FileAs
nvarchar (1280)
☒
Text description of the record.
Active
bit
☐
DEFAULT ((0)) Indicates whether the user is active or not.
MobilePhoneNumber
nvarchar (256)
☒
Mobile number.
Email1Address
nvarchar (256)
☒
First email address.
BusinessPhoneNumber
nvarchar (256)
☒
Telephone number.
BankAccount
nvarchar (256)
☒
Bank account.
BirthPlace
nvarchar (256)
☒
Birth place.
Note
nvarchar (max)
☒
Additional text information.
HomeAddressPostalCode
nvarchar (256)
☒
Postal code of user's home address.
IDCardNumber
nvarchar (256)
☒
ID card number.
Birthdate
date
☒
Birthday.
IdentificationNumber
nvarchar (256)
☒
ID.
HomeAddressCountry
nvarchar (256)
☒
Country of user's home address.
HomeAddressState
nvarchar (256)
☒
State of user's home address.
HealthInsurance
nvarchar (256)
☒
Health insurance.
Prefix
nvarchar (256)
☒
Prefix.
HolidayLength
decimal (5, 2)
☒
Holiday length.
LastName
nvarchar (256)
☒
Last name.
PersonalIdentificationNumber
nvarchar (256)
☒
Personal ID.
MSN
nvarchar (256)
☒
MSN contact.
ICQ
nvarchar (256)
☒
ICQ nickname.
HomeAddressStreet
nvarchar (256)
☒
Street of user's home address.
Email2Address
nvarchar (256)
☒
Second email address.
HomeAddressCity
nvarchar (256)
☒
City of user's home address.
Skype
nvarchar (256)
☒
Skype name.
HomeAddressPOBox
nvarchar (256)
☒
POBox of user's home address.
FamilyStatusEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Family status identifier.
SalaryDateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Salary date identifier.
TransportMode
nvarchar (256)
☒
Transport mode.
TravelDistance
nvarchar (256)
☒
Travel distance.
TimeAccessibility
nvarchar (256)
☒
Time accessibility.
IsHRManager
bit
☒
Obsolete, but used for costs calculation or in CaPlan. Should be deleted in near future.
IsProjectManager
bit
☒
Obsolete, but used for costs calculation or in CaPlan. Should be deleted in near future.
ShowInCaplan
int
☒
Obsolete, but used for costs calculation or in CaPlan. Should be deleted in near future.
PrefixEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the prefix.
SuffixEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the suffix.
WorkdayStartTime
nchar (5)
☐
DEFAULT ('09:00') Hour when the user workday begins.
RemainingDaysOfHoliday
decimal (5, 2)
☒
DEFAULT ((0)) Number of remaining holiday days for the current year.
Server_OutlookAccess
bit
☐
DEFAULT ((0)) Indicates whether the user has access to Outlook client.
Server_WebAccess
bit
☐
DEFAULT ((0)) Indicates whether the user has access to WebAccess client.
Server_LastLogin
datetimeoffset
☒
Date and time of last user login on server.
Server_LastActivity
datetimeoffset
☒
Date and time of last user server activity.
HomeAddressCountryEn
uniqueidentifier
☐
DEFAULT ('E130FB18-0950-4D21-8D96-13387D519DD7') ⇨ dbo.EWD_EnumValues .ItemGUID GUID of user's home address country.
MobilePhoneNumberNormalized
varchar (256)
☒
Normalized mobile.
BusinessPhoneNumberNormalized
varchar (256)
☒
Normalized phone number.
Server_MobileAccess
bit
☐
DEFAULT ((0)) Indicates whether the user has access to Mobile client.
IsSystem
bit
☐
DEFAULT ((0)) Value indicating whether the user is a system uer.
JobTitle
nvarchar (256)
☒
Job title of the user.
ProfilePicture
varbinary (max)
☒
Profile picture of the user.
ProfilePictureWidth
int
☐
DEFAULT ((0)) Width of the profile picture.
ProfilePictureHeight
int
☐
DEFAULT ((0)) Height of the profile picture.
Server_AccountLockedTime
datetimeoffset
☒
Value indicating whether was account locked and when.
Server_ForcePasswordChange
bit
☐
DEFAULT ((0)) Value indicating whether is change of user password forced.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_LicensingBundles
nvarchar (256)
☒
Comma delimited codes of licensing bundles assigned to this user.
Server_AuthTokensRevokedTime
datetimeoffset
☒
Value indicating when the auth tokens were revoked for the user.
IsApiUser
bit
☐
DEFAULT ((0)) Value indicating whether the user is API user.
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID
Server_PasswordLastChanged
datetimeoffset
☒
Last time when the password was changed for the user.
Server_AssignedContactsAndCompanies
nvarchar (20)
☒
Contains cached info about the currently assigned edition of this feature to this user. This information is redundant to EWD_Users.Server_LicensingBundles and must be written only together with that column.
Server_AssignedSales
nvarchar (20)
☒
Contains cached info about the currently assigned edition of this feature to this user. This information is redundant to EWD_Users.Server_LicensingBundles and must be written only together with that column.
Server_AssignedMarketing
nvarchar (20)
☒
Contains cached info about the currently assigned edition of this feature to this user. This information is redundant to EWD_Users.Server_LicensingBundles and must be written only together with that column.
Server_AssignedProjects
nvarchar (20)
☒
Contains cached info about the currently assigned edition of this feature to this user. This information is redundant to EWD_Users.Server_LicensingBundles and must be written only together with that column.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_UserSettings
Object ID: 1216723387; Created: September 11, 2009, 16:58:08; Modified: April 17, 2023, 20:17:24
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
Name
nvarchar (64)
☐
Name.
Value
nvarchar (max)
☒
Value.
Path
nvarchar (256)
☐
Path.
FileAs
nvarchar (256)
☒
Text description of the record.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Vacation
Users vacations.
Object ID: 565577053; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
StartDate
smalldatetime
☒
Start.
EndDate
smalldatetime
☒
End.
Place
nvarchar (256)
☒
Place.
Note
nvarchar (max)
☒
Additional text information.
TypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Type of the record.
FileAs
nvarchar (256)
☒
Text description of the record.
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Status of the record.
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Previous status of the record.
Duration
decimal (5, 2)
☒
Duration in days.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_Version
Object ID: 1556916618; Created: November 26, 2012, 13:00:54; Modified: September 29, 2022, 20:12:46
Name
Type
NULL
Comment
◆ ID
int
☐
IDENTITY Number identifier of version.
eWay
varchar (20)
☒
eWay-CRM version identifier.
AvailableVersionApproved
bit
☒
This bit specifies whether the available version was already allowed/denied/not seen by the administrator.
AvailableWebServiceVersion
varchar (20)
☒
This bit specifies whether the available version was already allowed/denied/not seen by the administrator.
AvailableOutlookClientVersion
varchar (20)
☒
This bit specifies whether the available version was already allowed/denied/not seen by the administrator.
AvailableVersionChangeLogLink
nvarchar (1024)
☒
Link to translated web page containing change log and support for eWay upgrade.
AvailableVersionReleaseDate
date
☒
This is the date when the available version was created in the LS. It is the release date of the particular version.
eWayChecksum
char (32)
☒
Checksum of the client installation file.
WebService
varchar (20)
☒
PrevFingerprint
nvarchar (256)
☒
If not null, the column contains the fingerprint which was successfully used for getting the LK the last time. If the fingerprint stored here differs from the current fingerprint of the machine, both the previous and the new are sent to the LS to tell it that the server changed its parameters.
IsAzureAdLogin
bit
☒
Indicates whether Azure AD login is used.
ContactsAndCompanies
varchar (20)
☒
Edition of Contacts and Companies.
BusinessType
varchar (20)
☒
Business type.
Sales
varchar (20)
☒
Edition of Sales.
Projects
varchar (20)
☒
Edition of Projects.
Marketing
varchar (20)
☒
Edition of Marketing.
⇧ Table dbo.EWD_WebAccess2Options
Object ID: 689437530; Created: March 06, 2013, 15:20:49; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
Key
nvarchar (768)
☒
Key.
Type
nvarchar (768)
☒
Type.
Value
nvarchar (max)
☐
Value.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
⇧ Table dbo.EWD_WebAccessOptions
Object ID: 581577110; Created: May 18, 2008, 17:25:31; Modified: May 06, 2021, 09:20:02
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OptionName
nvarchar (50)
☒
Name of option.
OptionValue
nvarchar (256)
☒
Value of option.
OwnerGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
⇧ Table dbo.EWD_WebServiceTasks
Object ID: 281285749; Created: March 05, 2023, 20:17:30; Modified: March 05, 2023, 20:17:30
Name
Type
NULL
Comment
◆ TaskGUID
uniqueidentifier
☐
Identifier of the web service task.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
FailedDate
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when task failed.
Name
nvarchar (256)
☐
Task name.
Parameters
nvarchar (max)
☐
Task parameters.
ErrorDescription
nvarchar (max)
☐
Description of the task error.
AdditionalData
nvarchar (max)
☒
ID
bigint
☐
IDENTITY
⇧ Table dbo.EWD_WorkCommitments
Object ID: 597577167; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
WeekNumber
int
☐
Weeknumber of commitment.
Year
int
☐
Year of commitment.
WorkCommitment
int
☐
Committed hours.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
CreatedByGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☒
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_WorkReports
Users worked hours
Object ID: 613577224; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
FileAs
nvarchar (256)
☒
Text description of the record.
Subject
nvarchar (256)
☒
Subject.
Date
date
☐
Date.
Duration
decimal (18, 3)
☒
Duration in hours.
Note
nvarchar (max)
☒
Additional text information.
Rate
decimal (18, 2)
☒
Costs of the item.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
WorkReportEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Type of the record.
ImportanceEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Importance.
FromTime
smalldatetime
☐
From.
ToTime
smalldatetime
☐
To.
DayTypeEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Day type identifier.
Overtime
bit
☒
Indicates whether the item is overtime.
Calendar_ORIGIN
uniqueidentifier
☒
⇨ dbo.EWD_Calendar .ItemGUID Related item from EWD_Calendar.
Year
int
☒
Year.
Month
tinyint
☒
Month.
CalendarEntryID
varchar (140)
☒
EntryID of the related appointment from Outlook.
RateDefaultCurrency
decimal (18, 2)
☒
Default currency rate.
RateParentCurrency
decimal (18, 2)
☒
Parent currency rate.
CurrencyEn
uniqueidentifier
☐
DEFAULT ('8D70FEA5-8370-4923-97F5-8667707B4802') ⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the currency.
StateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Status of the record.
PrevStateEn
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Previous status of the record.
Private
bit
☐
DEFAULT ((0)) Determines whether the item is private. Default is no.
RateAdditional
decimal (18, 2)
☒
Additional costs.
RateAdditionalDefaultCurrency
decimal (18, 2)
☒
Additional costs in default currency.
RateAdditionalParentCurrency
decimal (18, 2)
☒
Additional costs in parent currency.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Picture
varbinary (max)
☒
PictureWidth
smallint
☐
DEFAULT ((0))
PictureHeight
smallint
☐
DEFAULT ((0))
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWD_WrongClientVersions
List of not allowed client versions for current data structure.
Object ID: 596197174; Created: July 15, 2008, 11:27:21; Modified: November 26, 2012, 13:00:38
Name
Type
NULL
Comment
◆ ClientVersion
nvarchar (50)
☐
Client version.
⇧ Table dbo.EWD_XsltTransformations
Object ID: 1881773761; Created: January 18, 2011, 16:33:11; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (256)
☒
Text description of the record.
LangCode
nchar (2)
☒
DEFAULT (N'cs') Language code (cs, en, ru, de, no, sk).
Definition
nvarchar (max)
☒
XML definition of the template.
Namespace
nvarchar (128)
☐
DEFAULT ('urn:eway:document-schemas:proposal') Namespace of the template.
ObjectTypeID
tinyint
☐
DEFAULT ((70)) ⇨ dbo.EWE_ObjectTypes .ObjectTypeID ObjectTypeID of the module where the transformation will be used.
TransformationVersion
int
☒
DEFAULT ((1)) Version of the transformation.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWE_ClientVersions
Object ID: 1612493469; Created: February 28, 2018, 20:21:12; Modified: November 21, 2022, 20:30:57
Name
Type
NULL
Comment
◆ ID
bigint
☐
IDENTITY Id of the specific record.
ClientVersion
nvarchar (50)
☐
Client version.
Created
datetimeoffset
☒
Date and time when the version was used for the first time.
Type
tinyint
☐
OutlookClient: 0, WebAccess: 1, WebService: 2, AdministrationApp: 3, PHPClient: 4,
UnitTests: 5, MobileClient (deprecated): 6, IdentityServer: 7, PowerBI: 8, Other: 9, QuickBooks: 10, Office365OutlookAddin: 11, ThreeCX: 12, Zapier: 13, TimeClock: 14,
WordPressContactForm7: 15, SignUp: 16, iPhoneApp: 17, AndroidApp: 18, AdministrationWebApp: 19.
⇧ Table dbo.EWE_ColumnPermissions
Permissions for specified columns.
Object ID: 645577338; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
GroupGUID
uniqueidentifier
☐
⇨ dbo.EWD_Groups .ItemGUID Related group identifier.
ObjectTypeID
tinyint
☐
⇨ dbo.EWE_ObjectTypes .ObjectTypeID ObjectTypeID of the module where the column permission is applied.
ColumnName
nvarchar (255)
☐
Column name.
FileAs
nvarchar (256)
☒
Text description of the record.
Type
tinyint
☐
DEFAULT ((0)) 0: None, 1: All, 2: Own, 3: Readonly, 4: Invisible.
Mandatory
tinyint
☐
DEFAULT ((0)) 0: None, 1: Mandatory, 2: Optional, 3: Unique.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
IsMandatoryEditable
bit
☐
DEFAULT ((1)) Value indicating whether is module permission system and therefore not editable.
IsTypeEditable
bit
☐
DEFAULT ((1)) Value indicating whether user is able to change Type.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWE_Holidays
Object ID: 1424724128; Created: November 12, 2009, 16:43:38; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
FileAs
nvarchar (50)
☐
Text description of the record.
Date
date
☐
Date of holiday.
CalcFunction
nvarchar (50)
☒
Name of SQL function, which calculates date of holiday.
CountryEn
uniqueidentifier
☐
DEFAULT ('E130FB18-0950-4D21-8D96-13387D519DD7') ⇨ dbo.EWD_EnumValues .ItemGUID Country identifier.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWE_ModulePermissions
Permissions for a group on a specified module.
Object ID: 661577395; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
FileAs
nvarchar (256)
☒
Text description of the record.
GroupGUID
uniqueidentifier
☐
⇨ dbo.EWD_Groups .ItemGUID Related group identifier.
ObjectTypeID
tinyint
☐
⇨ dbo.EWE_ObjectTypes .ObjectTypeID ObjectTypeID of the module where the module permission is applied.
View
varchar (16)
☐
NONE, OWN, RELATED, GROUP, INHERITED, ALL.
Edit
varchar (16)
☐
NONE, OWN, RELATED, GROUP, INHERITED, ALL.
Delete
varchar (16)
☐
NONE, OWN, RELATED, GROUP, INHERITED, ALL.
Create
varchar (16)
☐
ALL, NONE.
Export
varchar (16)
☐
DEFAULT ('ALL') ALL, NONE, OWN.
RowsRestriction
int
☐
DEFAULT ((0)) Number of allowed rows.
IsSystem
bit
☐
DEFAULT ((0)) Value indicating whether is module permission system and therefore not editable.
History
varchar (16)
☐
DEFAULT ('ALL') ALL, NONE, OWN.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWE_ObjectTypes
List of every modules in eWay
Object ID: 304720138; Created: August 21, 2008, 15:00:40; Modified: April 26, 2022, 21:19:07
Name
Type
NULL
Comment
◆ ObjectTypeID
tinyint
☐
IDENTITY ID of the module.
FolderName
nvarchar (50)
☐
Folder name.
TableName
nvarchar (50)
☐
Name of corresponding table in server database.
ReadOnly
bit
☐
Indicates whether the module is readonly.
FullTextEnabled
bit
☒
Indicates whether fulltext is enabled on this module.
Customizable
bit
☐
DEFAULT ((1)) Additional fields can be added or not.
IsModule
bit
☒
Indicates whether users may define permission on this module.
PrivateItemsEnabled
bit
☐
DEFAULT ((0)) Value indicating whether module supports Private items.
SupportsFileAs
bit
☐
DEFAULT ((1)) Indicates whether module uses FileAs column.
Active
bit
☐
DEFAULT ((1)) Value indicating whether the module is active.
GDPR
bit
☐
DEFAULT ((0)) Value indicating whether modul supports GDPR logic.
GDPRHistory
bit
☐
DEFAULT ((0)) Value indicating whether item has GDPR history.
SupportsItemChanges
bit
☐
DEFAULT ((1)) Indicates whether module uses ItemVersion column and so can be synchronized between clients.
Categorizable
bit
☐
DEFAULT ((1)) Indicates whether module is allowing to categorize records.
Linkable
bit
☐
DEFAULT ((1)) Indicates whether the module allows being linked to other records using relational additional field.
SupportsWorkflow
bit
☐
DEFAULT ((0)) Indicates whether module can display workflow panel.
TypeEnumGUID
uniqueidentifier
☒
⇨ dbo.EWD_EnumTypes .ItemGUID If not null, references to EWD_EnumTypes.ItemGUID and determines the enum type of the module TypeEn (DocTypeEn or other) field.
⇧ Table dbo.EWE_RelationDirections
Helper table for UnifiedRelations.
Object ID: 1601622436; Created: February 02, 2023, 20:15:36; Modified: March 24, 2023, 09:22:17
Name
Type
NULL
Comment
◆ Direction
tinyint
☐
◆ Position
tinyint
☐
⇧ Table dbo.EWE_SuspendedTriggers
Table with suspended triggers.
Object ID: 554562601; Created: July 14, 2022, 11:41:06; Modified: July 14, 2022, 11:41:06
Name
Type
NULL
Comment
◆ ProcedureName
varchar (256)
☐
Name of the suspended procedure.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Reason
nvarchar (max)
☐
Reason of the suspension.
⇧ Table dbo.EWF_Flows
Possible state changes in WorkFlows
Object ID: 709577566; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
ModelGUID
uniqueidentifier
☐
⇨ dbo.EWF_Models .ItemGUID GUID of the workflow model.
ParentStatusGUID
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the parent status.
ChildStatusGUID
uniqueidentifier
☐
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the child status.
Roundtrip
bit
☐
DEFAULT ((0)) Indicates whether the flow allows step back.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWF_History
History of states changes for each WF
Object ID: 725577623; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
ParentStatusGUID
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the source status.
ChildStatusGUID
uniqueidentifier
☐
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the destination status.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWF_Models
WorkFlow Models, for each WF must exist just one Model
Object ID: 741577680; Created: May 18, 2008, 17:25:31; Modified: December 18, 2022, 20:19:33
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
EnumTypeGUID
uniqueidentifier
☐
⇨ dbo.EWD_EnumTypes .ItemGUID Identifier of the enumeration with corresponding workflow statuses.
FileAs
nvarchar (256)
☒
Text description of the record.
ParentType
uniqueidentifier
☒
⇨ dbo.EWD_EnumValues .ItemGUID Identifier of the enum value which represents a type of the item.
IsSystem
bit
☐
DEFAULT ((0)) Determines whether the item is system model.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
IsUsingFlows
bit
☐
DEFAULT ((1)) Value indicating whether is workflow using flows or not.
AllowEditItems
bit
☐
DEFAULT ((1)) Indicates whether users can edit workflow statuses and flows.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWR_EnumValuesRelations
Object ID: 316436797; Created: October 06, 2017, 22:53:45; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Id of the specific record
ItemVersion
int
☐
DEFAULT ((1)) Version number, increased after each record change
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID FK: ItemGUID, EWD_Users - owner
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID FK: ItemGUID, EWD_Users - creator
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID FK: ItemGUID, EWD_Users - last changing user
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was created on the local database
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was changed for the last time on the local database
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was created on the server database
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date when the record was changed for the last time on the server database
EnumValueGUID
uniqueidentifier
☐
⇨ dbo.EWD_EnumValues .ItemGUID
RelatedItemGUID
uniqueidentifier
☐
FieldName
nvarchar (256)
☐
ObjectTypeID
tinyint
☒
⇨ dbo.EWE_ObjectTypes .ObjectTypeID ObjectTypeID of the items.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWR_ItemCopyRelations
Table of relations between source item and copied item
Object ID: 2001754534; Created: April 28, 2015, 21:13:36; Modified: January 09, 2023, 20:36:53
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
CreatedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who created the record.
ModifiedByGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Identifier of the user who updated the record for the last time.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
CopyFrom
uniqueidentifier
☐
Source item identifier.
CopyTo
uniqueidentifier
☐
Target item identifier.
ObjectTypeID
tinyint
☐
⇨ dbo.EWE_ObjectTypes .ObjectTypeID ObjectTypeID of the items.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
Server_ID
bigint
☐
IDENTITY Sortable unique identifier.
⇧ Table dbo.EWR_UnifiedRelations
Table of all relations between modules. Each relation is created by pair of relations with opposite ItemGUID1 and ItemGUID2
Object ID: 900198257; Created: July 29, 2008, 16:56:03; Modified: March 24, 2023, 09:22:17
Name
Type
NULL
Comment
◆ ItemGUID
uniqueidentifier
☐
Identifier of the database record.
ItemVersion
int
☐
DEFAULT ((1)) Version number of the database record. Increments with each update.
ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been created in the local database.
ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record has been updated in the local database.
Server_ItemCreated
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was created on the server.
Server_ItemChanged
datetimeoffset
☐
DEFAULT (sysdatetimeoffset()) Date and time when the record was updated on the server.
ItemGUID1
uniqueidentifier
☐
GUID of the first item.
ItemGUID2
uniqueidentifier
☐
GUID of the second item.
ObjectTypeID1
tinyint
☐
⇨ dbo.EWE_ObjectTypes .ObjectTypeID ObjectTypeID of the first item.
ObjectTypeID2
tinyint
☐
⇨ dbo.EWE_ObjectTypes .ObjectTypeID ObjectTypeID of the second item.
RelationDataGUID
uniqueidentifier
☐
Each pair of relations has common information saved here.
Direction
tinyint
☐
For one-to-many relations. Standard relation has Direction = 0, one-to-many is saved with 1 and 2.
OwnerGUID
uniqueidentifier
☐
⇨ dbo.EWD_Users .ItemGUID Owner of the database record.
ItemState
tinyint
☐
COMPUTED Value is alway zero. It is used for compatibility with local databases.
RelationTypeID
smallint
☐
Relation type ID.
RelationType
varchar (30)
☒
COMPUTED
Server_ID
bigint
☐
IDENTITY Sortable unique identifier of a relation.
⇧ Table dbo.schema_migrations
Object ID: 614293248; Created: May 03, 2011, 13:47:44; Modified: October 03, 2013, 21:41:36
Name
Type
NULL
Comment
◆ version
bigint
☐
⇧ View dbo.EWR_ObjectRelations
Object ID: 18788566; Created: September 24, 2021, 20:10:19
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
ItemVersion
int
☐
ItemCreated
datetimeoffset
☐
ItemChanged
datetimeoffset
☐
Server_ItemCreated
datetimeoffset
☐
Server_ItemChanged
datetimeoffset
☐
ItemGUID1
uniqueidentifier
☐
ItemGUID2
uniqueidentifier
☐
ObjectTypeID1
tinyint
☐
ObjectTypeID2
tinyint
☐
RelationDataGUID
uniqueidentifier
☐
Direction
int
☐
OwnerGUID
uniqueidentifier
☐
ItemState
tinyint
☒
RelationTypeID
smallint
☐
RelationType
varchar (30)
☒
⇧ View dbo.vw_BusinessHours
Object ID: 186796073; Created: May 06, 2015, 08:08:20
Name
Type
NULL
Comment
DayInWeek
int
☒
DayInWeekName
nvarchar (30)
☒
hh_From
int
☐
mm_From
int
☐
hh_To
int
☐
mm_To
int
☐
⇧ View dbo.vw_CalculateProjectsPricesWorkReports
Object ID: 955618943; Created: July 27, 2016, 22:19:58
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_Company2Contact
List of companies and related contacts - for reports.
Object ID: 1892201791; Created: August 08, 2008, 12:08:03; Modified: March 06, 2013, 11:24:10
Name
Type
NULL
Comment
CompanyGUID
uniqueidentifier
☒
CompanyName
nvarchar (256)
☐
AccountNumber
nvarchar (256)
☒
TaxNumber
nvarchar (256)
☒
Department
nvarchar (256)
☒
IdentificationNumber
nvarchar (256)
☒
Note
ntext
☒
Phone
nvarchar (256)
☒
WebPage
nvarchar (256)
☒
POBox
nvarchar (256)
☒
Email
nvarchar (256)
☒
Fax
nvarchar (256)
☒
FirstContact
nvarchar (50)
☒
BusinessActivities
nvarchar (256)
☒
Importance
nvarchar (50)
☒
Suppliers
bit
☒
Purchaser
bit
☒
Address1Street
nvarchar (256)
☒
Address1City
nvarchar (256)
☒
Address1State
nvarchar (256)
☒
Address1Country
nvarchar (256)
☒
Address1PostalCode
nvarchar (256)
☒
Address2Street
nvarchar (256)
☒
Address2City
nvarchar (256)
☒
Address2State
nvarchar (256)
☒
Address2Country
nvarchar (256)
☒
Address2PostalCode
nvarchar (256)
☒
Address3Street
nvarchar (256)
☒
Address3City
nvarchar (256)
☒
Address3State
nvarchar (256)
☒
Address3Country
nvarchar (256)
☒
Address3PostalCode
nvarchar (256)
☒
ContactGUID
uniqueidentifier
☐
BusinessAddressCity
nvarchar (256)
☒
BusinessAddressCountry
nvarchar (256)
☒
BusinessAddressPostalCode
nvarchar (256)
☒
BusinessAddressState
nvarchar (256)
☒
BusinessAddressStreet
nvarchar (256)
☒
Email1Address
nvarchar (256)
☒
FamilyName
nvarchar (256)
☒
FirstName
nvarchar (256)
☒
HomeAddressCity
nvarchar (256)
☒
HomeAddressCountry
nvarchar (256)
☒
HomeAddressPostalCode
nvarchar (256)
☒
HomeAddressState
nvarchar (256)
☒
HomeAddressStreet
nvarchar (256)
☒
JobTitle
nvarchar (256)
☒
MiddleName
nvarchar (256)
☒
ContactNote
text
☒
OtherAddressCity
nvarchar (256)
☒
OtherAddressCountry
nvarchar (256)
☒
OtherAddressPostalCode
nvarchar (256)
☒
OtherAddressState
nvarchar (256)
☒
OtherAddressStreet
nvarchar (256)
☒
TelephoneNumber1
nvarchar (256)
☒
TelephoneNumber2
nvarchar (256)
☒
TelephoneNumber3
nvarchar (256)
☒
TelephoneNumber4
nvarchar (256)
☒
Title
nvarchar (256)
☒
ContactWebPage
nvarchar (256)
☒
FileAs
nvarchar (256)
☒
TEL
nvarchar (4000)
☒
⇧ View dbo.vw_DataIntegrity_Dupl_Customer
Object ID: 112719454; Created: August 14, 2008, 15:37:22; Modified: March 06, 2013, 11:24:09
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
ItemCreated
datetime
☐
RelationDataGUID
uniqueidentifier
☐
Customer
nvarchar (256)
☒
Owner
nvarchar (256)
☒
⇧ View dbo.vw_DataIntegrity_Dupl_Supervisor
Object ID: 128719511; Created: August 14, 2008, 15:37:22; Modified: March 06, 2013, 11:24:09
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
ItemCreated
datetime
☐
RelationDataGUID
uniqueidentifier
☐
Owner
nvarchar (256)
☒
Supervisor
nvarchar (256)
☒
⇧ View dbo.vw_DataIntegrity_Dupl_WR_Project
Object ID: 144719568; Created: August 14, 2008, 15:37:22; Modified: March 06, 2013, 11:24:09
Name
Type
NULL
Comment
WRGUID
uniqueidentifier
☐
FileAs
nvarchar (256)
☒
ItemCreated
datetime
☐
RelationDataGUID
uniqueidentifier
☐
ProjectName
nvarchar (256)
☒
Owner
nvarchar (256)
☒
⇧ View dbo.vw_DataIntegrity_Dupl_WR_User
Object ID: 160719625; Created: August 14, 2008, 15:37:22; Modified: March 06, 2013, 11:24:09
Name
Type
NULL
Comment
WRGUID
uniqueidentifier
☐
FileAs
nvarchar (256)
☒
ItemCreated
datetime
☐
RelationDataGUID
uniqueidentifier
☐
Owner
nvarchar (256)
☒
Person
nvarchar (256)
☒
⇧ View dbo.vw_DataIntegrity_Not_Saved_Documents
Object ID: 176719682; Created: August 14, 2008, 15:37:22; Modified: March 06, 2013, 11:24:09
Name
Type
NULL
Comment
Owner
nvarchar (256)
☒
DocName
nvarchar (256)
☒
Extension
nvarchar (128)
☒
CreationTime
datetime
☒
⇧ View dbo.vw_DataIntegrity_Not_Saved_Emails
Object ID: 192719739; Created: August 14, 2008, 15:37:22; Modified: March 06, 2013, 11:24:09
Name
Type
NULL
Comment
Owner
nvarchar (256)
☒
FileAs
nvarchar (256)
☒
ItemCreated
datetime
☐
Subject
nvarchar (256)
☒
⇧ View dbo.vw_DefaultEnumValues
Object ID: 795774538; Created: January 10, 2018, 07:56:29; Modified: January 10, 2018, 07:56:29
Name
Type
NULL
Comment
EnumType
uniqueidentifier
☐
⇧ View dbo.vw_DoNotRecalculateOtherCurrencyPricesItems
Object ID: 941050934; Created: December 21, 2016, 22:24:57
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☒
FolderName
varchar (50)
☒
⇧ View dbo.vw_ExpenseCarts
Object ID: 1557098275; Created: January 26, 2023, 20:17:49
Name
Type
NULL
Comment
ProjectGUID
uniqueidentifier
☒
FolderName
nvarchar (50)
☒
FileAs
nvarchar (256)
☒
CartItemGUID
uniqueidentifier
☐
CartTypeItemGUID
uniqueidentifier
☒
AmountExcludingVAT
decimal (38, 3)
☒
AmountExcludingVATParentCurrency
decimal (38, 3)
☒
AmountExcludingVATDefaultCurrency
decimal (38, 3)
☒
PurchaseExpensesParentCurrency
decimal (38, 3)
☒
PurchaseExpensesDefaultCurrency
decimal (38, 3)
☒
TaxableSupplyDate
date
☒
AccountingCaseDate
date
☒
⇧ View dbo.vw_GroupRelations
Object ID: 363382051; Created: March 24, 2023, 09:22:17; Modified: March 24, 2023, 09:22:17
Name
Type
NULL
Comment
GroupGUID
uniqueidentifier
☐
ItemGUID
uniqueidentifier
☐
ObjectTypeID
tinyint
☐
Cnt
bigint
☒
⇧ View dbo.vw_HUB_Relations
Object ID: 299381823; Created: March 24, 2023, 09:22:17; Modified: March 24, 2023, 09:22:17
Name
Type
NULL
Comment
ParentItemGUID
uniqueidentifier
☐
ItemGUID
uniqueidentifier
☐
ObjectTypeID
tinyint
☐
Cnt
bigint
☒
⇧ View dbo.vw_IncomeCarts
Object ID: 1541098218; Created: January 26, 2023, 20:17:49
Name
Type
NULL
Comment
ProjectGUID
uniqueidentifier
☒
FolderName
nvarchar (50)
☒
CartItemGUID
uniqueidentifier
☐
CartTypeItemGUID
uniqueidentifier
☒
AmountExcludingVAT
decimal (38, 3)
☒
AmountDefaultCurrency
decimal (38, 3)
☒
CurrencyEn
uniqueidentifier
☐
AmountExcludingVATParentCurrency
decimal (38, 3)
☒
AmountExcludingVATDefaultCurrency
decimal (38, 3)
☒
PurchaseExpensesParentCurrency
decimal (38, 3)
☒
PurchaseExpensesDefaultCurrency
decimal (38, 3)
☒
ForPaymentParentCurrency
decimal (38, 6)
☒
ForPaymentDefaultCurrency
decimal (38, 6)
☒
ValidUntil
date
☒
EffectiveFrom
date
☒
TaxableSupplyDate
date
☒
AccountingCaseDate
date
☒
IsProjectCartType
int
☐
⇧ View dbo.vw_InheritedRelations
Object ID: 379382108; Created: March 24, 2023, 09:22:17; Modified: March 24, 2023, 09:22:17
Name
Type
NULL
Comment
ParentItemGUID
uniqueidentifier
☐
ParentObjectTypeID
tinyint
☐
ItemGUID
uniqueidentifier
☐
ObjectTypeID
tinyint
☐
Cnt
bigint
☒
⇧ View dbo.vw_LastWeekCapacityAssignment
View returns all active users and there last assignment in Caplan - used for reporrt
Object ID: 1220199397; Created: August 01, 2008, 10:55:40; Modified: March 06, 2013, 11:24:09
Name
Type
NULL
Comment
USERNAME
nvarchar (256)
☒
ACTIVE
bit
☒
LastWeek
int
☒
Year
int
☐
⇧ View dbo.vw_MonthlyTotals
Total worked hours per month by user - used for counting costs from month salary (hour rate is month salary / monthly hours).
Object ID: 1957582012; Created: May 18, 2008, 17:47:38; Modified: March 06, 2013, 11:24:10
Name
Type
NULL
Comment
TotalDuration
float (53, 0)
☒
ItemGUID
uniqueidentifier
☐
period
int
☒
⇧ View dbo.vw_MonthlyTotals_Projects
Object ID: 720721620; Created: September 05, 2008, 13:39:03; Modified: March 06, 2013, 11:24:09
Name
Type
NULL
Comment
TotalDuration
float (53, 0)
☒
ProjectName
nvarchar (256)
☒
Period
int
☒
⇧ View dbo.vw_Notes_Attendance_x_Project
Used in Leads report for searching project start date from Journal and Work reports.
Object ID: 1719677174; Created: June 25, 2008, 13:50:44; Modified: March 06, 2013, 11:24:10
Name
Type
NULL
Comment
ProjectGUID
uniqueidentifier
☐
Type
nvarchar (61)
☒
Start
datetime
☒
Subject
nvarchar (4000)
☒
Duration
float (53, 0)
☒
UserFullName
nvarchar (256)
☒
⇧ View dbo.vw_NotifyAboutTasks
Object ID: 389888756; Created: January 29, 2015, 21:58:17
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_NotifyTeamAboutNewDocumentInProject
Object ID: 497436846; Created: February 22, 2013, 08:09:27; Modified: March 06, 2013, 11:24:09
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_NotifyTeamAboutNewEmailInProject
Object ID: 465436732; Created: February 22, 2013, 08:09:27; Modified: March 06, 2013, 11:24:09
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_NotifyTeamAboutNewJournalInProject
Object ID: 2084918499; Created: January 24, 2013, 15:08:14; Modified: March 06, 2013, 11:24:10
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_NotifyUsersAboutNewDocumentInCompany
Object ID: 579533148; Created: June 07, 2013, 21:07:45
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_NotifyUsersAboutNewDocumentInContact
Object ID: 595533205; Created: June 07, 2013, 21:07:45
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_NotifyUsersAboutNewDocumentInLead
Object ID: 433436618; Created: February 22, 2013, 08:09:27; Modified: March 06, 2013, 11:24:09
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_NotifyUsersAboutNewEmailInCompany
Object ID: 1737109279; Created: July 01, 2013, 21:07:58
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_NotifyUsersAboutNewEmailInContact
Object ID: 1753109336; Created: July 01, 2013, 21:07:58
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_NotifyUsersAboutNewEmailInLead
Object ID: 401436504; Created: February 22, 2013, 08:09:26; Modified: March 06, 2013, 11:24:09
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_NotifyUsersAboutNewJournalInCompany
Object ID: 547533034; Created: June 07, 2013, 21:07:45
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_NotifyUsersAboutNewJournalInContact
Object ID: 563533091; Created: June 07, 2013, 21:07:45
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_NotifyUsersAboutNewJournalInLead
Object ID: 2100918556; Created: January 24, 2013, 15:08:14; Modified: March 06, 2013, 11:24:10
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
⇧ View dbo.vw_Project_Starts_FromStatusChange
Used in Leads report for searching project first status change.
Object ID: 1687677060; Created: June 25, 2008, 13:41:56; Modified: March 06, 2013, 11:24:10
Name
Type
NULL
Comment
ItemCreated
datetime
☐
ItemGUID
uniqueidentifier
☐
ProjectGUID
uniqueidentifier
☐
ProjectName
nvarchar (256)
☒
⇧ View dbo.vw_ProjectDeadlineAlerts
Object ID: 1788181766; Created: March 24, 2015, 21:32:23
Name
Type
NULL
Comment
ItemGUID
uniqueidentifier
☐
En
nvarchar (50)
☐
ProjectsTypeFileAs
nvarchar (256)
☐
Cs
nvarchar (50)
☐
FileAs
nvarchar (256)
☐
DayCount
nvarchar (256)
☒
⇧ View dbo.vw_ProjectDeadlineEmails
Object ID: 1820181880; Created: March 24, 2015, 21:32:23
Name
Type
NULL
Comment
ProjectGUID
uniqueidentifier
☐
HID
int
☒
ProjectName
nvarchar (256)
☒
ProjectType
nvarchar (50)
☐
ProjectState
nvarchar (50)
☐
ProjectEnd
datetime
☒
DaysToEnd
int
☒
Price
decimal (18, 2)
☒
Currency
uniqueidentifier
☒
EmailAddresses
nvarchar (max)
☒
PMGUID
uniqueidentifier
☒
PMName
nvarchar (256)
☒
⇧ View dbo.vw_ProjectManagers
List of PM, used in reports.
Object ID: 130099504; Created: May 18, 2008, 17:47:40; Modified: March 06, 2013, 11:24:09
Name
Type
NULL
Comment
UserGUID
uniqueidentifier
☐
ProjectName
nvarchar (256)
☒
RelationType
nvarchar (256)
☐
ProjectGUID
uniqueidentifier
☐
UserName
nvarchar (50)
☐
UserFullName
nvarchar (514)
☒
⇧ View dbo.vw_ProjectsEnds
Object ID: 1804181823; Created: March 24, 2015, 21:32:23
Name
Type
NULL
Comment
ProjectGUID
uniqueidentifier
☐
ProjectName
nvarchar (256)
☒
HID
int
☒
ProjectType
nvarchar (50)
☐
ProjectsTypeFileAs
nvarchar (256)
☐
ProjectTypeFileAs
nvarchar (256)
☐
ProjectState
nvarchar (50)
☐
ProjectStateFileAs
nvarchar (256)
☐
ProjectEnd
datetime
☒
DaysToEnd
int
☒
Price
decimal (18, 2)
☒
Currency
uniqueidentifier
☒
⇧ View dbo.vw_ProjectTotals
Sum of costs per project - used in reports.
Object ID: 1735677231; Created: June 25, 2008, 13:52:48; Modified: March 06, 2013, 11:24:10
Name
Type
NULL
Comment
ProjectGUID
uniqueidentifier
☐
TotalRate
numeric (38, 2)
☒
TotalDuration
float (53, 0)
☒
Costs
float (53, 0)
☒
⇧ View dbo.vw_RandomNumber
Object ID: 584441206; Created: August 02, 2013, 10:07:50
Name
Type
NULL
Comment
RandomNumber
float (53, 0)
☒
⇧ View dbo.vw_UnifiedRelations
Object ID: 210789250; Created: September 24, 2021, 20:10:20
Name
Type
NULL
Comment
RelationDataGUID
uniqueidentifier
☐
ItemGUID_A
uniqueidentifier
☐
ItemGUID_B
uniqueidentifier
☐
IsOriented
bit
☒
ObjectTypeID_A
tinyint
☐
ObjectTypeID_B
tinyint
☐
RelationType
varchar (30)
☒
⇧ View dbo.vw_UserRelations
Object ID: 347381994; Created: March 24, 2023, 09:22:17; Modified: March 24, 2023, 09:22:17
Name
Type
NULL
Comment
UserGUID
uniqueidentifier
☐
ItemGUID
uniqueidentifier
☐
ObjectTypeID
tinyint
☐
Cnt
bigint
☒
⇧ View dbo.vw_WorkReportRateTypes
Object ID: 1999554407; Created: May 26, 2014, 12:27:18
Name
Type
NULL
Comment
enName
nvarchar (50)
☐
csName
nvarchar (50)
☒
EnumValueRateGUID
uniqueidentifier
☐
RateCoefficient
numeric (2, 1)
☐
IsFix
int
☐
⇧ Stored Procedure dbo.CaPlan_RemoveProjectAssignments
CaPlan - remove (or display) project assignment for user for week for project.
Object ID: 2021582240; Created: May 18, 2008, 17:47:39; Modified: March 06, 2013, 11:24:10
Name
Type
Default
Comment
@UserName
nvarchar (50)
@ProjectName
nvarchar (256)
@Year
int
@WeekNumber
int
@Action
nvarchar (50)
⇧ Stored Procedure dbo.eWaySP_AddCategoriesToItem
Adds the specified categories to the item. Categories are given by name in one string joined by specified delimiter. The default delimiter is comma ','. Raises error if unknown category name is detected.
Object ID: 500157523; Created: March 29, 2018, 10:21:47
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
Identified of the item that should be categorized.
@ItemFolderName
nvarchar (256)
Folder name the item belongs to.
@GroupsList
nvarchar (max)
String of group names separated by delimiter.
@Delimiter
char (1)
Delimiter used in the @GroupList parameter to separate the group names. Default delimiter is comma ','.
@PreserveExistingCategories
bit
While being 1 preserves existing categories. Default value is 1.
⇧ Stored Procedure dbo.eWaySP_AddEmailToProject
Connect email to project with GENERAL relation when is email connected to completed lead.
Object ID: 1283236072; Created: February 23, 2016, 22:10:43
Name
Type
Default
Comment
@EmailGUID
uniqueidentifier
GUID of email.
@LeadGUID
uniqueidentifier
GUID of lead.
⇧ Stored Procedure dbo.eWaySP_AdditionalFields_KeepEntryUnique
Prevents additional fields record that is being saved from hitting into unique constraints. This procedure copies the logic of eWaySP_EnumValues_KeepEntryUnique. Other items changed by this procedure do not get incremented ItemVersion nor are they put into EWD_ItemChanges.
Object ID: 1062463755; Created: December 12, 2019, 20:17:34
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
Saved additional field item guid.
@ObjectTypeID
tinyint
Folder object type to which this af belongs.
@NewRank
int
New rank set to the additional field.
@NewName
nvarchar (256)
New name set to the additional field.
⇧ Stored Procedure dbo.eWaySP_AddProcedureIntoJobQueue
Add procedure into job queue with parameters as text.
Object ID: 2015710629; Created: September 17, 2015, 22:07:13
Name
Type
Default
Comment
@ProcedureName
varchar (256)
Name of the procedure to execute.
@Parameters
nvarchar (max)
Parameters of procedure as text.
⇧ Stored Procedure dbo.eWaySP_AddProcedureIntoJobQueueWithNamedParameters
Add procedure into job queue with parameters as text.
Object ID: 1978007815; Created: April 17, 2023, 20:17:24
Name
Type
Default
Comment
@ProcedureName
varchar (256)
Name of the procedure to execute.
@Parameter1Name
nvarchar (256)
Name of the procedure parameter for 1st pair name-value. It has to start with @.
@Parameter1Value
sql_variant
Value of the procedure parameter for 1st pair name-value.
@Parameter2Name
nvarchar (256)
@Parameter2Value
sql_variant
@Parameter3Name
nvarchar (256)
@Parameter3Value
sql_variant
@Parameter4Name
nvarchar (256)
@Parameter4Value
sql_variant
@Parameter5Name
nvarchar (256)
@Parameter5Value
sql_variant
@Parameter6Name
nvarchar (256)
@Parameter6Value
sql_variant
@Parameter7Name
nvarchar (256)
@Parameter7Value
sql_variant
@Parameter8Name
nvarchar (256)
@Parameter8Value
sql_variant
@Parameter9Name
nvarchar (256)
@Parameter9Value
sql_variant
@Parameter10Name
nvarchar (256)
@Parameter10Value
sql_variant
@Parameter11Name
nvarchar (256)
@Parameter11Value
sql_variant
@Parameter12Name
nvarchar (256)
@Parameter12Value
sql_variant
@Parameter13Name
nvarchar (256)
@Parameter13Value
sql_variant
@Parameter14Name
nvarchar (256)
@Parameter14Value
sql_variant
@Parameter15Name
nvarchar (256)
@Parameter15Value
sql_variant
@TextParameter1Name
nvarchar (256)
Name of the procedure text (NVARCHAR(MAX)) parameter for 1st pair name-value. It has to start with @.
@TextParameter1Value
nvarchar (max)
Value of the procedure text (NVARCHAR(MAX)) parameter for 1st pair name-value.
@TextParameter2Name
nvarchar (256)
@TextParameter2Value
nvarchar (max)
@TextParameter3Name
nvarchar (256)
@TextParameter3Value
nvarchar (max)
@TextParameter4Name
nvarchar (256)
@TextParameter4Value
nvarchar (max)
@TextParameter5Name
nvarchar (256)
@TextParameter5Value
nvarchar (max)
⇧ Stored Procedure dbo.eWaySP_AfterUpdateCleanup
Remove invalid records from database.
⇧ Stored Procedure dbo.eWaySP_AlterDatabaseRemoveFilesLimits
Removes the MDF and MDF files limitation since the DB limits will be maintained by Licensing Server and the WS itself.
⇧ Stored Procedure dbo.eWaySP_ApproveAvailableVersion
Signs the new version as approved. Raises error if the current version is different than the approved one.
Object ID: 152699942; Created: March 24, 2015, 21:32:27
Name
Type
Default
Comment
@AvailableWebServiceVersion
nvarchar (20)
Web service version to be approved.
@AvailableOutlookClientVersion
nvarchar (20)
Outlook client version to be approved.
⇧ Stored Procedure dbo.eWaySP_AssingUserTeamRole
Assigns a team role to a user on a specified project.
Object ID: 18840621; Created: February 07, 2022, 21:05:56
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
GUID of the user.
@ProjectGUID
uniqueidentifier
GUID of the project.
@TeamRoleName
nvarchar (256)
Name of the role.
@GroupGUID
uniqueidentifier
GUID of the role.
⇧ Stored Procedure dbo.eWaySP_Auth_CreateClient
Creats new client in the database.
Object ID: 582982595; Created: November 12, 2021, 20:45:30
Name
Type
Default
Comment
@ClientName
nvarchar (200)
Client display name.
@RedirectUri
nvarchar (2000)
@Enabled
bit
@ClientSecret
varchar (250)
⇧ Stored Procedure dbo.eWaySP_Auth_GetClient
Gets client.
⇧ Stored Procedure dbo.eWaySP_Auth_GetConsent
Gets consent by user GUID and client ID.
Object ID: 260468998; Created: July 08, 2020, 12:16:04
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
User GUID.
@ClientID
nvarchar (200)
Identifier of client.
⇧ Stored Procedure dbo.eWaySP_Auth_GetConsents
Gets consents by user GUID.
⇧ Stored Procedure dbo.eWaySP_Auth_GetToken
Gets token by key and type.
Object ID: 164468656; Created: July 08, 2020, 12:16:03
Name
Type
Default
Comment
@Key
nvarchar (128)
Token key.
@TokenType
smallint
Token type.
⇧ Stored Procedure dbo.eWaySP_Auth_GetTokens
Gets tokens by user GUID and token type.
Object ID: 228468884; Created: July 08, 2020, 12:16:04
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
User GUID.
@TokenType
smallint
Token type.
⇧ Stored Procedure dbo.eWaySP_Auth_RemoveConsent
Removes consent by user GUID and client ID.
Object ID: 308469169; Created: July 08, 2020, 12:16:04
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
User GUID.
@ClientID
nvarchar (200)
Identifier of client.
⇧ Stored Procedure dbo.eWaySP_Auth_RemoveExpiredTokens
Removes expired tokens.
⇧ Stored Procedure dbo.eWaySP_Auth_RemoveToken
Removes token.
Object ID: 180468713; Created: July 08, 2020, 12:16:03
Name
Type
Default
Comment
@Key
nvarchar (128)
Token key.
@TokenType
smallint
⇧ Stored Procedure dbo.eWaySP_Auth_RemoveTokens
Removes tokens.
Object ID: 324469226; Created: July 08, 2020, 12:16:05
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
User GUID.
@ClientID
nvarchar (200)
Client ID.
@TokenType
smallint
Token type.
⇧ Stored Procedure dbo.eWaySP_Auth_StoreConsent
Store consent in database.
Object ID: 276469055; Created: July 08, 2020, 12:16:04
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
User GUID.
@ClientID
nvarchar (200)
Client ID.
@Scopes
nvarchar (2000)
Scopes.
⇧ Stored Procedure dbo.eWaySP_Auth_StoreToken
Stores auth token into the database.
Object ID: 1814270960; Created: September 24, 2021, 20:10:16
Name
Type
Default
Comment
@Key
nvarchar (128)
@TokenType
smallint
@SubjectID
nvarchar (200)
@ClientID
nvarchar (200)
@JsonCode
nvarchar (max)
@Expiry
datetimeoffset
⇧ Stored Procedure dbo.eWaySP_AutoAssignCompanyToContactActivity
Object ID: 1191245036; Created: June 05, 2023, 20:28:22
Name
Type
Default
Comment
@ActivityGUID
uniqueidentifier
@ActivityOT
int
@ContactGUID
uniqueidentifier
@ModifiedByGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_AutoAssignLeadEmailToContactPerson
Object ID: 695634217; Created: March 22, 2018, 21:27:00
Name
Type
Default
Comment
@EmailGUID
uniqueidentifier
@LeadGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_AutomaticJournalCityFiller_SuperiorItemChanged
Object ID: 465644952; Created: June 11, 2014, 21:46:08
Name
Type
Default
Comment
@SuperiorItemFolderName
nvarchar (256)
@SuperiorItemGUID
uniqueidentifier
@City
nvarchar (256)
@PreviousCity
nvarchar (256)
⇧ Stored Procedure dbo.eWaySP_AutomaticLeadProbabilityFiller
Object ID: 1680021762; Created: July 12, 2018, 20:23:42
Name
Type
Default
Comment
@LeadGUID
uniqueidentifier
@StateGUID
uniqueidentifier
@PrevStateGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_AutomaticUserLoginAndActivityTimeTracking
Track user's login time and last activity time from table Sessions to table Users.
⇧ Stored Procedure dbo.eWaySP_BackupDatabase
Creates FULL backup of the database on the end of the week and DIFF backups on the other days.
⇧ Stored Procedure dbo.eWaySP_CalculateLeadsEstimatedValue
⇧ Stored Procedure dbo.eWaySP_CalculateLeadsPrices
Object ID: 1447245948; Created: June 05, 2023, 20:28:25
Name
Type
Default
Comment
@CartGUID
uniqueidentifier
@LeadGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_CalculateLeadsPrices_JOB
⇧ Stored Procedure dbo.eWaySP_CalculateProjectEstimatedWorkHours
Object ID: 1674006732; Created: April 17, 2023, 20:17:23
Name
Type
Default
Comment
@ProjectAssignmentGUID
uniqueidentifier
@ProjectGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_CalculateProjectEstimatedWorkHours_JOB
Fills EstimatedWorkHours on all projects.
⇧ Stored Procedure dbo.eWaySP_CalculateProjectsPrices
Object ID: 1431245891; Created: June 05, 2023, 20:28:25
Name
Type
Default
Comment
@CartGUID
uniqueidentifier
@WorkReportGUID
uniqueidentifier
@LeadGUID
uniqueidentifier
@ProjectGUID
uniqueidentifier
@BonusGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_CalculateProjectsPrices_JOB
⇧ Stored Procedure dbo.eWaySP_CalculateProjectsPricesAfterWorkReportsChanged
Insert execution of procedure eWaySP_CalculateProjectPrices into EWD_QueuedJobs.
Object ID: 1556525670; Created: October 05, 2020, 12:08:06
Name
Type
Default
Comment
@WorkReportGUID
uniqueidentifier
Guid of work report for recalculation.
@ProjectGUID
uniqueidentifier
@LeadGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_CalculateRates
Recalculate rates on work reports with respect to global settings 'IncludeEntireFixRateInWorkReports' for fix rate.
Object ID: 1118743884; Created: July 10, 2019, 21:34:04
Name
Type
Default
Comment
@DaysBack
int
Days to back for backward calculation.
@UserName
nvarchar (256)
UserName of user that is related to work reports.
@WorkReportGUID
uniqueidentifier
Guid of WorkReports item.
@StartDate
datetime
WorkReports are recalulated from @StartDate date.
@EndDate
datetime
WorkReports are recalulated to @EndDate date.
⇧ Stored Procedure dbo.eWaySP_CalculateRates_Last2Months
⇧ Stored Procedure dbo.eWaySP_CalculateRates_User
Object ID: 1726069335; Created: March 04, 2014, 21:38:23
Name
Type
Default
Comment
@DaysBack
int
@UserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_Cart_RecalculatePrices
⇧ Stored Procedure dbo.eWaySP_Cart_SetID
⇧ Stored Procedure dbo.eWaySP_CategorizeItem
Object ID: 1209771367; Created: September 09, 2010, 13:42:28; Modified: March 06, 2013, 11:24:09
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@UserGUID
uniqueidentifier
@FolderName
nvarchar (256)
⇧ Stored Procedure dbo.eWaySP_CategorizeItemByRelatedCompany
Categorize items by related company.
Object ID: 75771973; Created: January 04, 2018, 22:40:50
Name
Type
Default
Comment
@CompanyGUID
uniqueidentifier
Guid of source company.
@ItemGUID
uniqueidentifier
Guid of target item for category copying.
@ItemObjectType
int
Object type of target item.
⇧ Stored Procedure dbo.eWaySP_ClearForeignKeysFromFolderItems
Object ID: 978818549; Created: November 26, 2012, 12:41:36; Modified: March 06, 2013, 11:24:09
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@UserGUID
uniqueidentifier
@FolderName
nvarchar (256)
@ColumnName
nvarchar (256)
⇧ Stored Procedure dbo.eWaySP_CloseSession
WS, clearing the session.
⇧ Stored Procedure dbo.eWaySP_Companies_CalculateCompaniesReversals
⇧ Stored Procedure dbo.eWaySP_Companies_CalculateDebts
⇧ Stored Procedure dbo.eWaySP_ConvertLeadToCompanyProjectContact
Porceeds the fully automatic conversion of the Lead into Company, Project and Contact entities. This procedure was originally created for the automatic Trial/Free Lead buying purposes.
Object ID: 1525098161; Created: January 26, 2023, 20:17:48
Name
Type
Default
Comment
@LeadItemGUID
uniqueidentifier
ItemGUID of the Lead that has to be converted.
@CreateCompany
bit
Determines whether the Company record has to be created.
@CreateContact
bit
Determines whether the Contact record has to be created.
@CreateProject
bit
Determines whether the Project record has to be created.
@CopyAddtionalFieldsToNewCompany
bit
Determines whether the additional field values have to be copied into the Company record.
@CopyAddtionalFieldsToNewContact
bit
Determines whether the additional field values have to be copied into the Contact record.
@CopyAddtionalFieldsToNewProject
bit
Determines whether the additional field values have to be copied into the Project record.
@UserGUID
uniqueidentifier
The user that will be responsible for all the chages made by this procedure..
@CompanyItemGUID
uniqueidentifier
@ContactItemGUID
uniqueidentifier
@ProjectItemGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_ConvertWorkflowToAdvanced
Converts workflow model to advanced.
⇧ Stored Procedure dbo.eWaySP_ConvertWorkflowToBasic
Converts workflow model to basic.
⇧ Stored Procedure dbo.eWaySP_CopyAddtionalFieldsData
Copies the additional fields' values from the source folder record to the associated target folder record.
Object ID: 71579939; Created: November 16, 2017, 09:11:48
Name
Type
Default
Comment
@SourceObjectTypeID
int
Copied source object type/folder.
@TargetObjectTypeID
int
Copying target object type/folder.
@SourceItemGUID
uniqueidentifier
Copied source item identifier.
@TargetItemGUID
uniqueidentifier
Copying target item identifier.
@UserGUID
uniqueidentifier
Responsible user item identifier.
⇧ Stored Procedure dbo.eWaySP_CopyComboBoxValueToTextBox
Copy additional field combox value to additional field textbox on given module and item.
Object ID: 2076182792; Created: March 24, 2015, 21:32:25
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
Guid of item.
@FolderName
nvarchar (256)
FolderName of item.
@ComboBoxAdditionalField
varchar (10)
Name of af column type of combobox (1) eg. af_86
@TextBoxAdditionalField
varchar (10)
Name of af column type of textbox (0) eg. af_86
@LanguageCode
nvarchar (256)
Column of EnumValues that is source for textbox value. Default is en.
⇧ Stored Procedure dbo.eWaySP_CopyGroupRelations
Copies group assignment (GROUP relations) from the specified source group to the given target group. If specified, only relations to a given module are copied.
Object ID: 1958271473; Created: September 24, 2021, 20:10:17
Name
Type
Default
Comment
@SourceGroupGUID
uniqueidentifier
The source group ItemGUID.
@TargetGroupGUID
uniqueidentifier
The target group ItemGUID.
@CopyAssignmentOfFolderOnly
nvarchar (256)
If not null, only assignment of the items of this folder will be copied.
@CreatorGUID
uniqueidentifier
User which will be set as the creator guid.
@ReplaceRelatedItems
bit
If 1, the existing group relations (to the given folder) are removed first. The items in the group will be replaced.
⇧ Stored Procedure dbo.eWaySP_CopyUserViewToOtherUsers
Copy user's view used in grid for another users. Does not update existing views, but is possible overwrite this default behaviour.
Object ID: 518097432; Created: January 09, 2017, 22:25:52
Name
Type
Default
Comment
@ViewName
nvarchar (255)
Nasme of view to copy
@ModuleName
nvarchar (255)
Module name of given view
@FromUserName
nvarchar (256)
Name of user that is owner of the view to copy
@ToUserNames
nvarchar (1000)
Usernames of users that will have the copy of view
@OverwriteTargetView
bit
Overwrite existing by "To" user
@FromUserGUID
uniqueidentifier
Guid of user that is owner of the view to copy
@ToUserGUID
uniqueidentifier
Guid of user that will have the copy of view
⇧ Stored Procedure dbo.eWaySP_CorrectIndividualDiscountPrice
Object ID: 1353797372; Created: January 28, 2022, 20:36:52
Name
Type
Default
Comment
@GoodItemGUID
uniqueidentifier
@SalePrice
decimal (18, 3)
@PreviousSalePrice
decimal (18, 3)
@CurrencyGUID
uniqueidentifier
@PreviousCurrencyGUID
uniqueidentifier
@ModifiedByGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_CreateAdditionalField
Creates additional field column.
Object ID: 1622270276; Created: September 24, 2021, 20:10:14
Name
Type
Default
Comment
@FieldID
int
Additional field ID.
@FieldType
int
Additional field type.
@ObjectTypeID
tinyint
Additional field object type ID.
⇧ Stored Procedure dbo.eWaySP_CreateAttachmentCopy
Creates document copy.
Object ID: 577241657; Created: February 28, 2017, 22:19:19
Name
Type
Default
Comment
@SourceItemGUID
uniqueidentifier
Source document GUID.
@SourceRevision
int
Source document revision.
@DestinationItemGUID
uniqueidentifier
Destination document GUID.
@UserGUID
uniqueidentifier
GUID of the user.
⇧ Stored Procedure dbo.eWaySP_CreateCalendar
Creates Calendar item with relations. Subject is generated from given subject and superior item information.
Object ID: 114788908; Created: September 24, 2021, 20:10:20
Name
Type
Default
Comment
@Subject
nvarchar (256)
Calendar subject.
@OwnerGUID
uniqueidentifier
Calendar owner unique identifier. Gets Admin unique identifier if supplied value is null.
@SuperiorItemGUID
uniqueidentifier
Calendar superior item unique identifier.
@SuperiorItemFolder
nvarchar (256)
Calendar superior item folder name.
@CalendarGUID
uniqueidentifier
Calendar unique identifier. Generates new unique identifier if supplied value is null.
@Location
nvarchar (256)
Calendar appointment location.
@StartDate
datetime
Calendar start date. Gets actual date and time if supplied value is null.
@EndDate
datetime
Calendar end date. Gets actual date and time if supplied value is null.
@AllDayEvent
bit
Value indicating whether is calendar all day event.
@Note
nvarchar (max)
Calendar body.
@Sensitivity
int
Calendar sensitivity.
@BusyStatus
int
Calendar busy status.
⇧ Stored Procedure dbo.eWaySP_CreateCategoriesFromList
Object ID: 932302481; Created: December 16, 2013, 21:25:11
Name
Type
Default
Comment
@CatgoriesList
nvarchar (max)
@Delimiter
char (1)
⇧ Stored Procedure dbo.eWaySP_CreateCategory
Creates new category group.
Object ID: 697899145; Created: August 24, 2022, 20:47:56
Name
Type
Default
Comment
@GUID
uniqueidentifier
Guid of the group.
@GroupName
nvarchar (256)
Name of the group.
@Description
nvarchar (256)
Description of the group.
@UserGUID
uniqueidentifier
Guid of author.
⇧ Stored Procedure dbo.eWaySP_CreateClientVersion
Creates new record in EWE_ClientVersions table.
⇧ Stored Procedure dbo.eWaySP_CreateClrProcedures
Creates CLR procedures.
⇧ Stored Procedure dbo.eWaySP_CreateCurrencyExchangeRate
Create currency exchange rate
Object ID: 1492004892; Created: December 02, 2016, 22:21:19
Name
Type
Default
Comment
@From
datetime
Date from
@To
datetime
Date to
@InputCurrency
varchar (3)
Input currency
@OutputCurrency
varchar (3)
Output currency
@Rate
float (53, 0)
Rate
⇧ Stored Procedure dbo.eWaySP_CreateEnumValuesRelation
Create EnumValuesRelation record.
Object ID: 1577798170; Created: January 28, 2022, 20:36:52
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
GUID of the target item.
@FolderName
nvarchar (50)
Folder name of the target item.
@EnumValueGUID
uniqueidentifier
GUID of the enum value.
⇧ Stored Procedure dbo.eWaySP_CreateFileSystemAttachmentCopy
Object ID: 1511246176; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
@SourceItemGUID
uniqueidentifier
@SourceRevision
int
@DestinationItemGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_CreateJournalEntry
Creates journal entry.
Object ID: 1942271416; Created: September 24, 2021, 20:10:17
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
Guid of related item.
@UserGUID
uniqueidentifier
Guid of author of modification.
@ObjectType
tinyint
TINYINT type of related item.
@FileAs
nvarchar (256)
FileAS for new journal entry.
@NewValue
nvarchar (256)
New value as NVARCHAR(256) if some field was changed.
@OldValue
nvarchar (256)
Old value as NVARCHAR(256) if some field was changed.
@IsSystem
bit
Mark journal as system journal.
@ChangedField
nvarchar (256)
Name for field with @OldValue and @NewValue.
@Note
nvarchar (max)
Note for new journal entry.
@TypeEn
uniqueidentifier
Type of new journal entry.
@ImportanceEn
uniqueidentifier
Importance for new journal entry.
@EventStart
datetime
Event start for new journal entry.
@EventEnd
datetime
Event end for new journal entry.
@NewJournalGUID
uniqueidentifier
GUID of new journal entry as OUTPUT parameter.
⇧ Stored Procedure dbo.eWaySP_CreateMissingWorkflowHistoryItems
Creates missing workflow history items, based on current PrevStateEn and StateEn values.
⇧ Stored Procedure dbo.eWaySP_CreateNewTaskOccurrence
Creates new occurrence of recurring task.
Object ID: 1253097192; Created: January 26, 2023, 20:17:44
Name
Type
Default
Comment
@TaskGUID
uniqueidentifier
Recurring task unique identifier.
@ModifiedByGUID
uniqueidentifier
Unique identifier of user who completed task.
⇧ Stored Procedure dbo.eWaySP_CreateNotifyActivityEmailText
Create email body for activity email notification.
Object ID: 1346285493; Created: November 21, 2022, 20:30:58
Name
Type
Default
Comment
@NewItemFolderName
nvarchar (50)
Folder name of new activity item.
@NewItemId
uniqueidentifier
Guid of new activity item.
@ParentFolderName
nvarchar (50)
Folder name of parent item.
@ParentItemId
uniqueidentifier
Guid of parent item.
@Text
nvarchar (max)
Output text.
⇧ Stored Procedure dbo.eWaySP_CreateProjectTeamMember
Object ID: 823634673; Created: March 22, 2018, 21:27:02
Name
Type
Default
Comment
@ProjectGUID
uniqueidentifier
@UserGUID
uniqueidentifier
@RoleGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_CreateRelation
Create new relation in the system.
Object ID: 1028927483; Created: November 17, 2018, 07:52:27
Name
Type
Default
Comment
@ItemGUID1
uniqueidentifier
GUID of the parent item (eg. Project).
@FolderName1
varchar (50)
Folder name of the parent item.
@ItemGUID2
uniqueidentifier
GUID of the child item (eg. Document).
@FolderName2
varchar (50)
Folder name of the child item.
@RelationType
varchar (256)
Type of the relation.
@SetDirection
bit
1 for 1:N relation otherwise 0.
@UserGUID
uniqueidentifier
GUID of the user who creates the relation.
@DeleteGeneralRelation
bit
When creating 1:N relation the GENERAL relation will be removed when the parameter is set to 1.
⇧ Stored Procedure dbo.eWaySP_CreateRelations
Create new relation in the system.
Object ID: 1225796916; Created: January 28, 2022, 20:36:51
Name
Type
Default
Comment
@pGUID_Admin
uniqueidentifier
GUID of the user who creates the relation. Admin GUID is used by default.
@pGUID_Item1
uniqueidentifier
GUID of the parent item (eg. Project).
@pOT_Item1
tinyint
ObjectTypeID of the parent item.
@pGUID_Item2
uniqueidentifier
GUID of the child item (eg. Document).
@pOT_Item2
tinyint
ObjectTypeID of the child item.
@pRelationType
nvarchar (256)
Type of the relation.
@pOT_RelData
tinyint
Deprecated. ObjectTypeID of the table RelationData.
@pOT_ObjRel
tinyint
Deprecated. ObjectTypeID of the table Relations.
@pSetDirection
bit
1 for 1:N relation otherwise 0.
@pRelationDataGUID
uniqueidentifier
GUID of the RelationData used to create the relation.
@pDeleteGeneralRelation
bit
When creating 1:N relation the GENERAL relation will be removed when the parameter is set to 1.
⇧ Stored Procedure dbo.eWaySP_CreateRelationsInBatch
Create relations specified by parameters. Procedure process data in temp table #CreateRelationsInBatch.
Object ID: 1974271530; Created: September 24, 2021, 20:10:17
Name
Type
Default
Comment
@ParentFolderName
nvarchar (256)
FolderName of parent module (for relation with direction = 0 does not matter what is parent and child module).
@ChildFolderName
nvarchar (256)
FolderName of child module.
@RelationType
nvarchar (256)
RelationType eg. GENERAL.
@SetDirection
bit
Determines whether relation is oriented.
@CleanSourceData
bit
Clean temp table #CreateRelationsInBatch at the end of procedure? Does not matter if procedure failed or run successfully.
@DateTimeOfImport
datetimeoffset
This value is used for ...Created/Changed columns in created records.
@UserGUID
uniqueidentifier
This value is used for ...CreatedBy/ModifiedBy/OwnerGUID columns in records.
@Verbose
bit
Print counts of inserted rows in touched tables.
@DisableDBTriggers
bit
Disables database triggers on EWR_ObjectRelations table.
⇧ Stored Procedure dbo.eWaySP_CreateRelationToChangedOwner
Object ID: 1143244865; Created: June 05, 2023, 20:28:21
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@OwnerGUID
uniqueidentifier
@OwnerGUID_Previous
uniqueidentifier
@FolderName
nvarchar (50)
⇧ Stored Procedure dbo.eWaySP_CreateRevisionHistoryLog
Object ID: 1285097306; Created: January 26, 2023, 20:17:44
Name
Type
Default
Comment
@DocumentGUID
uniqueidentifier
@Revision
int
@CreatedByGUID
uniqueidentifier
@FileAs
nvarchar (256)
@FileSize
bigint
@FileCreationTime
datetime
@FileLastWriteTime
datetime
⇧ Stored Procedure dbo.eWaySP_CreateSession
Creates new session.
Object ID: 1330285436; Created: November 21, 2022, 20:30:58
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
GUID of the logged user.
@ClientVersion
nvarchar (50)
Name and version of the client application.
@UserHostAddress
varchar (45)
IP host address of the remote client.
@UserHostId
varchar (50)
Unique identification of the remote client.
@Success
bit
Value indicating whether was log in successful.
@CommunicatedUserHostAddress
varchar (45)
DEPRECATED: Pass NULL. IP host address which the client claims to be using (created for WCF IP retransmitting).
@UserHostName
varchar (200)
Name of the host.
@TimeZone
nvarchar (32)
Time zone identifier of the client.
@IsFullSync
bit
Indicates whether the client runs full sync.
@ProxyAddress
varchar (45)
Proxy address provided during login.
⇧ Stored Procedure dbo.eWaySP_CreateTask
Creates Task item with relations. Subject is generated from given subject and superior item information.
Object ID: 130788965; Created: September 24, 2021, 20:10:20
Name
Type
Default
Comment
@TaskSubject
nvarchar (256)
Task subject.
@DelegatorGUID
uniqueidentifier
Task delegator unique identifier.
@SolverGUID
uniqueidentifier
Task solver unique identifier.
@SuperiorItemGUID
uniqueidentifier
Task superior item unique identifier.
@SuperiorItemFolder
nvarchar (256)
Task superior item folder name.
@TaskGUID
uniqueidentifier
Task unique identifier. Generates new unique identifier if supplied value is null.
@OwnerGUID
uniqueidentifier
Task owner unique identifier. Uses Delegator unique identifier if supplied value is null.
@DueDate
datetime
Task due date. Gets actual date and time if supplied value is null.
@StartDate
datetime
Task start date. Gets actual date and time if supplied value is null.
@TaskBody
nvarchar (max)
Task body.
@Complete
bit
Task complete.
@Importance
int
Task importance - obsolete.
@PercentComplete
int
Task completion in percentage - obsolete.
@Status
int
Task status.
@Level
int
Task level.
@RTFBody
ntext
Task rich text formated body.
@ImportanceGUID
uniqueidentifier
Task importance.
@PercentCompleteDecimal
decimal (5, 4)
Task completion in percentage.
@TypeGUID
uniqueidentifier
Task type identifier.
@CompanyGUID
uniqueidentifier
Task related Company identifier.
@ContactGUID
uniqueidentifier
Task related Contact identifier.
@ReminderDate
datetime
Task reminder date and time.
⇧ Stored Procedure dbo.eWaySP_CreateWorkflowHistoryForItem
Create workflow history item in EWF_History, check states in workflow and referenced item.
Object ID: 1626006561; Created: April 17, 2023, 20:17:22
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
Guid of item with state change.
@ItemFolder
nvarchar (256)
Folder name of item with state change.
@PrevStateEn
uniqueidentifier
Previous state guid.
@NewStateEn
uniqueidentifier
New state guid.
⇧ Stored Procedure dbo.eWaySP_CreateWorkflowModel
Object ID: 1092459216; Created: December 10, 2014, 15:07:19
Name
Type
Default
Comment
@ModelEnumTypeName
nvarchar (256)
@ModelParentType
uniqueidentifier
@ModelEnumType
uniqueidentifier
@Model
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_DeactivateAccessForEarliestLoggedUsers
Disables the (OA|MA|WA) mobile access flag for the earliest logged users excluding admin, wa agent and the deactivated users.
Object ID: 15299810; Created: May 18, 2018, 20:38:09
Name
Type
Default
Comment
@Count
int
Number of allowed X-access users.
@AccessType
nchar (2)
Type of access: OA/MA/WA.
⇧ Stored Procedure dbo.eWaySP_DefragmentIndexes
⇧ Stored Procedure dbo.eWaySP_DeleteCart
⇧ Stored Procedure dbo.eWaySP_DeleteColumnPermissionIfNotProtected
Works as after save trigger for ColumnPermissions filtered by action criteria so that only default=redundant column permissions are triggered. This procedure deletes them if they are not protected.
⇧ Stored Procedure dbo.eWaySP_DeleteDocument
Delete document with all it's revisions.
⇧ Stored Procedure dbo.eWaySP_DeleteDuplicatedRelations
Delete duplicated 1 to N relations.
⇧ Stored Procedure dbo.eWaySP_DeleteGoodsItemFromGoodsInSet
⇧ Stored Procedure dbo.eWaySP_DeleteIndividualDiscounts
Object ID: 440440693; Created: August 02, 2013, 10:07:48
Name
Type
Default
Comment
@CompanyGUID
uniqueidentifier
@GoodsGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_DeleteItem
Delete eWay item from database with related relations.
Object ID: 1095244694; Created: June 05, 2023, 20:28:21
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
Guid of item to delete.
@ItemOT
tinyint
Object type ID of item to delete.
@ItemFolderName
nvarchar (50)
Folder name of item to delete.
@UseItemChanges
bit
For insert row into EWD_ItemChanges for delete set to 1 (default is 1).
@ModifiedByGUID
uniqueidentifier
Guid of user that deleted item.
@FileAs
nvarchar (1280)
File as for row in EWD_ItemChanges.
@ItemVersion
int
ItemVersion for row in EWD_ItemChanges.
@FolderName
nvarchar (50)
The same meaning as @ItemFolderName, but this parameter has better name for common development.
⇧ Stored Procedure dbo.eWaySP_DeleteMarketing
Delete Marketing with all connected records in MarketingList and Journals.
⇧ Stored Procedure dbo.eWaySP_DeleteModulePermissionIfNotProtected
Works as after save trigger for ModulePermissions filtered by action criteria so that only default=redundant module permissions are triggered. This procedure deletes them if they are not protected.
⇧ Stored Procedure dbo.eWaySP_DeleteOldAuditLogs
Deletes old records from EWD_LoginHistory table.
⇧ Stored Procedure dbo.eWaySP_DeleteOldItemChanges
Deletes old items in the EWD_ItemChanges table.
⇧ Stored Procedure dbo.eWaySP_DeleteParentTask
⇧ Stored Procedure dbo.eWaySP_DeleteRelation
Deletes relation.
Object ID: 322789649; Created: September 24, 2021, 20:10:21
Name
Type
Default
Comment
@ItemGUID1
uniqueidentifier
GUID of the first item.
@ItemGUID2
uniqueidentifier
GUID of the second item.
@RelationType
varchar (256)
Type of the relation.
⇧ Stored Procedure dbo.eWaySP_DeleteRelations
Object ID: 194789193; Created: September 24, 2021, 20:10:20
Name
Type
Default
Comment
@RelationDataGUID
uniqueidentifier
@UseItemChanges
bit
@ModifiedByGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_DeleteSystemJournal
⇧ Stored Procedure dbo.eWaySP_DeleteUser
Delete user and all relations on them.
⇧ Stored Procedure dbo.eWaySP_DeleteUserView
Delete all records related to given UserView.
Object ID: 1888022503; Created: July 12, 2018, 20:23:44
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
ItemGUID of user.
@ViewName
nvarchar (255)
Name of deleted UserView.
@FolderName
nvarchar (255)
Name of module.
⇧ Stored Procedure dbo.eWaySP_DeleteWebAccessSettings
Removes all rows in WebAccess2Options for the given user.
⇧ Stored Procedure dbo.eWaySP_DeleteWorkflowHistory
Deletes workflow history records of an item. Used when changing type.
Object ID: 1994007872; Created: April 17, 2023, 20:17:24
Name
Type
Default
Comment
@SubjectItemGUID
uniqueidentifier
ItemGUID of the item whose workflow history has to be cleared.
@ModifiedByGUID
uniqueidentifier
User guid who made the change.
⇧ Stored Procedure dbo.eWaySP_DropAdditionalFieldColumn
Object ID: 900302367; Created: December 16, 2013, 21:25:10
Name
Type
Default
Comment
@ObjectTypeID
int
@FieldID
smallint
⇧ Stored Procedure dbo.eWaySP_DropDefaultConstraint
Object ID: 935010412; Created: May 01, 2013, 21:47:27
Name
Type
Default
Comment
@TableName
nvarchar (128)
@ColumnName
nvarchar (128)
⇧ Stored Procedure dbo.eWaySP_DuplicateColumnPermissions
Duplicates and overwrites column permissions of the target group by the data from the source group.
Object ID: 1254268965; Created: September 24, 2021, 20:10:06
Name
Type
Default
Comment
@SourceGroupGUID
uniqueidentifier
The source group GUID.
@TargetGroupGUID
uniqueidentifier
The target group GUID.
@TakeOnlyObjectTypeID
tinyint
If specified, only column permissions related to the specified object type (folder name) are copied.
@CreatorGUID
uniqueidentifier
The responsible user guid.
⇧ Stored Procedure dbo.eWaySP_DuplicateGroup
Creates copy of a group and optionally assignes the same items and permissions.
Object ID: 1238268908; Created: September 24, 2021, 20:10:06
Name
Type
Default
Comment
@SourceGroupGUID
uniqueidentifier
Guid of the group, which is going to be copied.
@NewGroupName
nvarchar (256)
Name of the new group. Must be unique - unused within the system.
@CreatorGUID
uniqueidentifier
User which will be set as the creator guid.
@CopyAssignmentOfAllItems
bit
If 1, relations to all items of all modules will be copied to this group. Aplies only to GROUP relations.
@CopyAssignmentOfFolderOnly
nvarchar (256)
If not null, only relations to items of this folder will be copied to this group. Aplies only to GROUP relations.
@CopyFlows
bit
If 1, flows assignment will be copied.
@CopyModulePermissions
bit
If 1, all module permissions record will be copied.
@CopyColumnPermissions
bit
If 1, all column permissions record will be copied.
⇧ Stored Procedure dbo.eWaySP_DuplicateIntoGroup
Duplicates group items and/or permissions of source group to target group. If specified, only relations to a given module are copied.
Object ID: 66840792; Created: February 07, 2022, 21:05:57
Name
Type
Default
Comment
@SourceGroupGUID
uniqueidentifier
The source group ItemGUID.
@TargetGroupGUID
uniqueidentifier
The target group ItemGUID.
@CreatorGUID
uniqueidentifier
User which will be set as the creator guid.
@CopyAssignmentOfAllItems
bit
If 1, relations to all items of all modules will be copied to this group. Aplies only to GROUP relations. The previously existing GROUP relations will be removed first.
@CopyAssignmentOfFolderOnly
nvarchar (256)
If not null, only relations to items of this folder will be copied to this group. Aplies only to GROUP relations. The previously existing GROUP relations will be removed first.
@CopyFlows
bit
If 1, flows assignment will be replaced.
@CopyModulePermissions
bit
If 1, all and module permissions of the target group will be removed and the permissions of the source group will be copied for this group.
@CopyColumnPermissions
bit
If 1, all and column permissions of the target group will be removed and the permissions of the source group will be copied for this group.
⇧ Stored Procedure dbo.eWaySP_DuplicateModulePermissions
Duplicates and overwrites module permissions of the target group by the data from the source group.
Object ID: 1270269022; Created: September 24, 2021, 20:10:06
Name
Type
Default
Comment
@SourceGroupGUID
uniqueidentifier
The source group GUID.
@TargetGroupGUID
uniqueidentifier
The target group GUID.
@CreatorGUID
uniqueidentifier
The responsible user guid.
⇧ Stored Procedure dbo.eWaySP_DuplicateXsltTransformationToOtherLanguages
Duplicate template for xsl transformation from given language to other languages.
Object ID: 1414269535; Created: September 24, 2021, 20:10:10
Name
Type
Default
Comment
@Name
nvarchar (256)
Name of the source tamplate to copy.
@LangCode
varchar (2)
Language code of source template to copy.
@FolderName
nvarchar (256)
Folder name of source template to copy.
@ForceRewrite
bit
⇧ Stored Procedure dbo.eWaySP_EnumValues_InsertAndGetEnumValue
Creates new enum value.
Object ID: 79364839; Created: February 11, 2022, 20:43:41
Name
Type
Default
Comment
@EnumValueGUID
uniqueidentifier
GUID of the new enum value.
@EnumTypeName
nvarchar (256)
Name of the enumeration in which the value will be created.
@en
nvarchar (256)
English translation.
@cs
nvarchar (256)
Czech translation.
@FileAs
nvarchar (256)
Enum value name.
@de
nvarchar (256)
German translation.
@ru
nvarchar (256)
Russian translation.
@sk
nvarchar (256)
Slovakian translation.
@no
nvarchar (256)
Norwegian translation.
@CheckDuplicity
bit
Check duplicity.
@EnumTypeGUID
uniqueidentifier
GUID of the enum type, used when @EnumTypeName is NULL.
⇧ Stored Procedure dbo.eWaySP_EnumValues_KeepEntryUnique
Keeps Rank and FileAs unique when Rank and/or FileAs is being updated using existing rank value. Also keeps only one default enum value. All changes to other enum values do not increment ItemVersion nor insert them into ItemChanges.
Object ID: 366129291; Created: January 30, 2020, 20:26:23
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
Saved enum value item guid.
@EnumType
uniqueidentifier
Enum type guid this enum value belongs to.
@NewRank
int
New rank set to the enum value within the enum type.
@NewFileAs
nvarchar (256)
New name set to the enum value.
@NewDefault
bit
New value for the Default flag of the enum value.
⇧ Stored Procedure dbo.eWaySP_EnumValues_UpdateCompletedLostStateFlags
Updates IsCompletedState / IsLostState flags based on GlobalSettings.
⇧ Stored Procedure dbo.eWaySP_EnumValues_UpdateLastActivityAttributesInGlobalSettings
Updates LastActivityAttributes and NextStepAttributes based on EnumValues.
⇧ Stored Procedure dbo.eWaySP_ExecuteSystemJobs
Executes jobs that are required for the system. Only for deve purposes.
⇧ Stored Procedure dbo.eWaySP_ExecuteUrl
Executes specified URL and returns HTTP status code.
⇧ Stored Procedure dbo.eWaySP_FillDayTypeEn
Object ID: 434790048; Created: September 24, 2021, 20:10:22
Name
Type
Default
Comment
@WorkReportGUID
uniqueidentifier
@UserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_FillDirection
Object ID: 1920725895; Created: March 23, 2010, 08:35:00; Modified: March 06, 2013, 11:24:10
Name
Type
Default
Comment
@RelationType
nvarchar (256)
@Modul
nvarchar (256)
⇧ Stored Procedure dbo.eWaySP_FillLastActivityAndNextStepFields
Fill Last Activity and Next Step fields on Lead, Project, Company and Contact.
Object ID: 1365097591; Created: January 26, 2023, 20:17:45
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
ItemGUID of the item.
@FolderName
nvarchar (256)
FolderName of the item (Leads, Projects, Companies and Contacts).
@ModifiedByGUID
uniqueidentifier
ItemGUID of the user who is making the changes.
⇧ Stored Procedure dbo.eWaySP_FillLastActivityAndNextStepFields_JOB
Fills Last Activity and Next Step fields on all items.
⇧ Stored Procedure dbo.eWaySP_FillLastActivityAndNextStepFieldsAfterActivityChanged
Updates Last Activity and Next Step fields on parent objects when activity is changed.
Object ID: 529241486; Created: February 28, 2017, 22:19:18
Name
Type
Default
Comment
@ActivityGUID
uniqueidentifier
ItemGUID of the updated activity.
@ModifiedByGUID
uniqueidentifier
ItemGUID of the user who has updated the activity.
⇧ Stored Procedure dbo.eWaySP_FixAdditionalFieldsRank
Fixes rank of the additional fields.
Object ID: 1133988608; Created: March 22, 2022, 20:37:40
Name
Type
Default
Comment
@ObjectTypeID
int
ObjectTypeID of the module which additional fields should be fixed.
@ModifiedByGUID
uniqueidentifier
GUID of the user who is making the change.
⇧ Stored Procedure dbo.eWaySP_FixEmailsMultipleBlankLines
Fixes multiple blank lines in emails note.
⇧ Stored Procedure dbo.eWaySP_FixNormalizedPhoneNumberColumns
Checks and fixes all normalized phone number columns in database.
⇧ Stored Procedure dbo.eWaySP_FixRelationDirection
Object ID: 964302595; Created: December 16, 2013, 21:25:12
Name
Type
Default
Comment
@FolderName1
varchar (256)
@FolderName2
varchar (256)
@RelationType
varchar (256)
@NewDirection
int
⇧ Stored Procedure dbo.eWaySP_FixTeamSupervisorRelations
Fixed SUPERVISOR relations based on the TeamRoles.
⇧ Stored Procedure dbo.eWaySP_Forex_SyncGoods
⇧ Stored Procedure dbo.eWaySP_GetActiveUserCountWithFilterOnProductsAndExcludeOneUser
Object ID: 1508004949; Created: December 02, 2016, 22:21:19
Name
Type
Default
Comment
@ExcludingUser
uniqueidentifier
@OutlookAccessActive
bit
@WebAccessActive
bit
@MobileAccessActive
bit
⇧ Stored Procedure dbo.eWaySP_GetAdditionalFieldValue
Object ID: 1284459900; Created: December 10, 2014, 15:07:20
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@FolderName
nvarchar (256)
@FieldName
nvarchar (256)
@Value
sql_variant
⇧ Stored Procedure dbo.eWaySP_GetAdministratorGUID
⇧ Stored Procedure dbo.eWaySP_GetAdministratorMail
⇧ Stored Procedure dbo.eWaySP_GetAllUsedPohodaAccountingUnits
⇧ Stored Procedure dbo.eWaySP_GetCollisionWorkReports
Get the work reports, which are duplicate in manner of time overlapping.
Object ID: 418789991; Created: September 24, 2021, 20:10:22
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
The tested user.
@ExcludeItemGUID
uniqueidentifier
The work report, which will be excluded from the list. Usually the tested one. Can be null.
@From
smalldatetime
Date and time of start.
@To
smalldatetime
Date and time of end.
⇧ Stored Procedure dbo.eWaySP_GetColumnPermissionsAffectedColumns
⇧ Stored Procedure dbo.eWaySP_GetDefaultBackupDirectory
⇧ Stored Procedure dbo.eWaySP_GetFailedWebServiceTasks
Gets WebService Tasks owned by specified user.
Object ID: 411382222; Created: March 24, 2023, 09:22:18
Name
Type
Default
Comment
@OwnerGUID
uniqueidentifier
User unique identifier.
@TaskGUID
uniqueidentifier
Task unique identifier.
⇧ Stored Procedure dbo.eWaySP_GetForeignKeyReferencedObjects
Gets referenced table name and column name by given foreign key name.
⇧ Stored Procedure dbo.eWaySP_GetForeignKeys
Gets list of foreign keys on the current database.
Object ID: 1046463698; Created: December 12, 2019, 20:17:34
Name
Type
Default
Comment
@ReferencedFolderName
nvarchar (256)
Folder name to which all the foreign keys suppose to point. Specify either table name or folder name.
@ReferencedTableName
nvarchar (256)
DB table name to which all the foreign keys suppose to point. Specify either table name or folder name.
⇧ Stored Procedure dbo.eWaySP_GetGroupsRelatedToUser
WS - returns list of groups of the user.
⇧ Stored Procedure dbo.eWaySP_GetChangedItemIdentifiers
Gets items from EWD_ItemChanges table.
Object ID: 598982652; Created: November 12, 2021, 20:45:30
Name
Type
Default
Comment
@LastChange
bigint
First item to be returned.
@MaxLastChange
bigint
Maximum change id of the item to be returned.
⇧ Stored Procedure dbo.eWaySP_GetIntAdditionalFieldValue
Object ID: 1428460413; Created: December 10, 2014, 15:07:21
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@FolderName
nvarchar (256)
@FieldName
nvarchar (256)
@Value
int
⇧ Stored Procedure dbo.eWaySP_GetItemHistory
Gets history of changes related to specific item.
Object ID: 1111244751; Created: June 05, 2023, 20:28:21
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
Item unique identifier.
@ObjectTypeID
tinyint
Item folder object type identifier.
⇧ Stored Procedure dbo.eWaySP_GetItemChangesCount
Gets count of ItemChanges records of certain object type within the given interval.
Object ID: 1796526525; Created: October 05, 2020, 12:08:08
Name
Type
Default
Comment
@LastChange
bigint
Minimal considered change id - exclusive.
@MaxLastChange
bigint
Maximal considered change id - inclusive.
@ObjectTypeID1
tinyint
Counted object type nr. 1.
@ObjectTypeID2
tinyint
Counted object type nr. 2.
@ObjectTypeID3
tinyint
Counted object type nr. 3.
@ObjectTypeID4
tinyint
Counted object type nr. 4.
@ObjectTypeID5
tinyint
Counted object type nr. 5.
@ObjectTypeID6
tinyint
Counted object type nr. 6.
@ObjectTypeID7
tinyint
Counted object type nr. 7.
@ObjectTypeID8
tinyint
Counted object type nr. 8.
⇧ Stored Procedure dbo.eWaySP_GetItemsLastChange
Gets last ChangeID from EWD_ItemChanges.
⇧ Stored Procedure dbo.eWaySP_GetItemsToBeRemovedConsequently
Gets items (guid, folder name) that have to be deleted as a consequence of the incomming deletion of the given item. For example. before deleting a general item, all its relations and relation data have to be deleted first.
Object ID: 82788794; Created: September 24, 2021, 20:10:20
Name
Type
Default
Comment
@BeingRemovedItemGUID
uniqueidentifier
ItemGUID of the item that is going to be removed.
@BeingRemovedItemFolderName
nvarchar (255)
Containing folder name of the item that is going to be removed.
⇧ Stored Procedure dbo.eWaySP_GetItemsWithChangedForeignKeyRelations
Gets items which are affected by relation change or deletion. The affected items are the items which uses the relations for generating foreign keys from 1:N relations. Returns only itemguids of the affected items.
Object ID: 66788737; Created: September 24, 2021, 20:10:19
Name
Type
Default
Comment
@LastChange
bigint
Minimal considered change id - exclusive.
@MaxLastChange
bigint
Maximal considered change id - inclusive.
@ObjectTypeID
tinyint
The desired affected items folder identifier or null if all results have to be taken.
⇧ Stored Procedure dbo.eWaySP_GetKeywordUsage
Searches for SQL objects that contain specified keyword.
⇧ Stored Procedure dbo.eWaySP_GetLastChangedItemsOfType
Object ID: 164455910; Created: December 10, 2014, 15:07:16
Name
Type
Default
Comment
@FoldeName
nvarchar (256)
@DateFrom
datetime
@DaysBefore
int
⇧ Stored Procedure dbo.eWaySP_GetLatestRevision
Gets latest document revision from database.
⇧ Stored Procedure dbo.eWaySP_GetListOfDataProviders
⇧ Stored Procedure dbo.eWaySP_GetNewAdditionalFieldRank
⇧ Stored Procedure dbo.eWaySP_GetNVarCharAdditionalFieldValue
Object ID: 1444460470; Created: December 10, 2014, 15:07:21
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@FolderName
nvarchar (256)
@FieldName
nvarchar (256)
@Value
nvarchar (max)
⇧ Stored Procedure dbo.eWaySP_GetPermissionsRelevantChangesCount
Gets count of the ItemChanges records which may change the given user's permissions.
Object ID: 1867999323; Created: September 16, 2022, 08:55:25
Name
Type
Default
Comment
@LastChange
bigint
Minimal considered change id - exclusive.
@MaxLastChange
bigint
Maximal considered change id - inclusive.
@UserItemGUID
uniqueidentifier
The user, whose permissions we test.
⇧ Stored Procedure dbo.eWaySP_GetProjectPeopleExpenses
Object ID: 1332524872; Created: October 05, 2020, 12:08:02
Name
Type
Default
Comment
@ProjectGUID
uniqueidentifier
@LeadGUID
uniqueidentifier
@WorkReportGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_GetTableOfItemType
Returns table name for specified ID.
⇧ Stored Procedure dbo.eWaySP_GetTableSchema
⇧ Stored Procedure dbo.eWaySP_GetUnifiedRelations
Gets all unified relations.
Returns exactly one row per every relation pair.
In case of unoriented relations selects the row where ItemGUID1 < ItemGUID2.
In case of oriented relations selects the row where Direction = 2.
Unoriented relations between one and the same item (ItemGUID1 = ITEMGUID2 & Direction = 0) are ignored.
⇧ Stored Procedure dbo.eWaySP_GetUnifiedRelationsItemChangeIdentifiers
Gets changes of the unified relations.
Object ID: 146789022; Created: September 24, 2021, 20:10:20
Name
Type
Default
Comment
@LastChange
bigint
@MaxLastChange
bigint
⇧ Stored Procedure dbo.eWaySP_GetUniqueIndexReferencedObjects
Gets referenced table name and column name by given unique index name.
⇧ Stored Procedure dbo.eWaySP_GetUnorientedUnifiedRelationsIdentifiers
Gets only the identifiers of the M:N and AF unified relations of the specified modules.
Object ID: 2039951335; Created: July 08, 2020, 12:15:58
Name
Type
Default
Comment
@ObjectTypeID1
tinyint
@ObjectTypeID2_1
tinyint
@ObjectTypeID2_2
tinyint
@ObjectTypeID2_3
tinyint
@ObjectTypeID2_4
tinyint
@ObjectTypeID2_5
tinyint
⇧ Stored Procedure dbo.eWaySP_GetUserID
Gets user ItemGUID, password hash and username.
⇧ Stored Procedure dbo.eWaySP_GetUserLastLoginTime
Gets user last login time.
Object ID: 1250285151; Created: November 21, 2022, 20:30:57
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
Identifier of the user.
@ClientType
tinyint
⇧ Stored Procedure dbo.eWaySP_GetUsersInSameGroups
WS, returns list of users in the same group as the specified user.
⇧ Stored Procedure dbo.eWaySP_GetUserViews
Get list of user views of a specified user.
⇧ Stored Procedure dbo.eWaySP_GetUserWithProducts
⇧ Stored Procedure dbo.eWaySP_GetWrongClientVersions
WS, checking versions.
⇧ Stored Procedure dbo.eWaySP_GlobalSettings_SetVisibility
Sets visibility on specified Global Setting.
Object ID: 376401156; Created: November 07, 2018, 20:16:31
Name
Type
Default
Comment
@Name
nvarchar (256)
Global Setting name.
@Visible
bit
Value indicating whether will be setting visible.
⇧ Stored Procedure dbo.eWaySP_GoodsInCart_AddProjectToCart
Creates GENERAL relation between project and cart.
Object ID: 1589098389; Created: January 26, 2023, 20:17:49
Name
Type
Default
Comment
@GoodsInCartGUID
uniqueidentifier
GUID of GoodsInCart item.
@ProjectGUID
uniqueidentifier
GUID of the project / lead.
@ProjectObjectTypeID
tinyint
ObjectTypeID of project or lead.
⇧ Stored Procedure dbo.eWaySP_GoodsInCart_UpdatePriceTotal
⇧ Stored Procedure dbo.eWaySP_Groups_RemoveItemsPointingToGroup
Removes all items having foreign key pointing to the specified group. This proc should ba called before removing group record. This proc should be run in transaction.
Object ID: 2086271929; Created: September 24, 2021, 20:10:18
Name
Type
Default
Comment
@GroupGUID
uniqueidentifier
The group guid.
@UserGUID
uniqueidentifier
The responsible user guid.
⇧ Stored Procedure dbo.eWaySP_Groups_UpdateGroupsInGlobalSettings
Updates group names in global settings.
Object ID: 1366269364; Created: September 24, 2021, 20:10:10
Name
Type
Default
Comment
@GroupName
nvarchar (256)
Name of the group.
@PrevGroupName
nvarchar (256)
Previous name of the group.
⇧ Stored Procedure dbo.eWaySP_CheckBinaryDataRecord
Checks whether BinaryData record for the specified document or email exists. If not, raises an error. If the record exists, does nothing. In case of Documents folder, the proc also checks the revision history record. This proces is ment to be an after save trigger.
Object ID: 1771218156; Created: February 06, 2019, 20:15:13
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
ItemGUID of the uploaded document or email.
@FolderName
nvarchar (32)
Folder name of the uploaded item module.
⇧ Stored Procedure dbo.eWaySP_CheckClrConfiguration
Used by CheckStatus WebService method to check whether WebServicePath is correct.
⇧ Stored Procedure dbo.eWaySP_CheckColumnPermission
Before save trigger for checking column permissions integrity and disallowing invalid configurations.
Object ID: 1190268737; Created: September 24, 2021, 20:10:06
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
The saved column permission record itemguid.
@ObjectTypeID
tinyint
The saved column permission folder object type id.
@GroupGUID
uniqueidentifier
The saved column permission group guid.
@ColumnName
nvarchar (256)
The saved column permission column name.
@Type
tinyint
The saved column permission permission type rule.
@Mandatory
tinyint
The saved column permission mandatory rule.
@IsTypeEditable
bit
@IsMandatoryEditable
bit
⇧ Stored Procedure dbo.eWaySP_CheckData
⇧ Stored Procedure dbo.eWaySP_CheckDateOnJournalWhenUploading
Check event start date on journal that is being created, if conforms to 'GetJournalFirstAcceptableDate' limit.
Object ID: 1544913121; Created: May 01, 2017, 22:25:04
Name
Type
Default
Comment
@JournalGUID
uniqueidentifier
Guid of journal.
@JournalType
uniqueidentifier
@EventStart
datetime
Date of event start.
⇧ Stored Procedure dbo.eWaySP_CheckDuplicatedRelations
Tests database for duplicated relations.
⇧ Stored Procedure dbo.eWaySP_CheckForDuplicatedValues
Checks duplicated values in given column or by given relation type.
Object ID: 923618829; Created: July 27, 2016, 22:19:58
Name
Type
Default
Comment
@ColumnName
nvarchar (256)
Column name to be checked
@ObjectTypeID
tinyint
Id of object type to be checked
⇧ Stored Procedure dbo.eWaySP_CheckForExpiredPasswords
Force password change for expired passwords.
⇧ Stored Procedure dbo.eWaySP_CheckModulePermission
Before save trigger for checking module permissions integrity and disallowing invalid changes.
Object ID: 1206268794; Created: September 24, 2021, 20:10:06
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
ModulePermissions record itemguid.
@IsSystem
bit
IsSystem column of the saved item. Can be null if is not inteded to be changed.
@ObjectTypeID
tinyint
The saved module permission folder object type id.
@GroupGUID
uniqueidentifier
The saved module permission group guid.
⇧ Stored Procedure dbo.eWaySP_CheckRelationsPointingToNonExistingItems
Tests database for relations between non-existing items.
⇧ Stored Procedure dbo.eWaySP_InsertIntoHistory
Inserts new record int EWD_History table.
Object ID: 1282285265; Created: November 21, 2022, 20:30:58
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
Identifier of the modified item.
@ObjectTypeID
tinyint
ObjectType ID of the modified item.
@ModifiedByGUID
uniqueidentifier
Identifier of the user who updated the record.
@ItemChanged
datetimeoffset
Date and time when the record has been updated in the local database.
@ServerItemChanged
datetimeoffset
Date and time when the record was updated on the server.
@ColumnName
nvarchar (128)
Name of changed column.
@ClientVersion
varchar (50)
Client version.
@PrevValueVarChar
nvarchar (256)
Previous VarChar value.
@NewValueVarChar
nvarchar (256)
New VarChar value.
@PrevValueVarCharMax
nvarchar (max)
Previous VarCharMax value.
@NewValueVarCharMax
nvarchar (max)
New VarCharMax value.
@PrevValueBit
bit
Previous Bit value.
@NewValueBit
bit
New Bit value.
@PrevValueInt
int
Previous Int value.
@NewValueInt
int
New Int value.
@PrevValueBigInt
bigint
Previous BigInt value.
@NewValueBigInt
bigint
New BigInt value.
@PrevValueDecimal
decimal (19, 4)
Previous Decimal value.
@NewValueDecimal
decimal (19, 4)
New Decimal value.
@PrevValueDateTime
datetime
Previous DateTime value.
@NewValueDateTime
datetime
New DateTime value.
@PrevValueGUID
uniqueidentifier
Previous GUID value.
@NewValueGUID
uniqueidentifier
New GUID value.
@PrevValueVarBinary
varbinary (max)
Previous VarBinary value.
@NewValueVarBinary
varbinary (max)
New VarBinary value.
@SID
uniqueidentifier
Session ID.
⇧ Stored Procedure dbo.eWaySP_InsertIntoItemChanges
Inserts updated or removed item into the EWD_ItemChanges table.
Object ID: 1542269991; Created: September 24, 2021, 20:10:13
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
Identifier of the item.
@FolderName
nvarchar (256)
Folder name of the item.
@Removed
bit
1 if the item has been removed, otherwise 0.
@ItemCreated
datetimeoffset
Time of the change, by default it is the same as Server_ItemChanged of the item.
@FileAs
nvarchar (1280)
FileAs of the item.
@ModifiedByGUID
uniqueidentifier
GUID of the user who has issued the update.
@ItemVersion
int
Item version of the item.
⇧ Stored Procedure dbo.eWaySP_InsertIntoWebServiceTasks
Inserts new record in EWD_WebServiceTasks table.
Object ID: 395382165; Created: March 24, 2023, 09:22:18
Name
Type
Default
Comment
@TaskGUID
uniqueidentifier
Item unique identifier.
@OwnerGUID
uniqueidentifier
Identifier of the user who updated the record.
@Name
nvarchar (256)
Task name.
@Parameters
nvarchar (max)
Task parameters.
@ErrorDescription
nvarchar (max)
Error description.
@AdditionalData
nvarchar (max)
⇧ Stored Procedure dbo.eWaySP_InvalidateOldCurrencyExchangeRateItems
⇧ Stored Procedure dbo.eWaySP_IsAdmin
WS, checks whether the specified user is administrator.
⇧ Stored Procedure dbo.eWaySP_IsEmailCampaignResponseDuplicate
Object ID: 569898689; Created: August 24, 2022, 20:47:53
Name
Type
Default
Comment
@JournalResponseId
uniqueidentifier
@RespondentId
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_IsProjectAssignmentDuplicate
Object ID: 496108908; Created: October 30, 2013, 11:40:48
Name
Type
Default
Comment
@ProjectAssignmentGUID
uniqueidentifier
@ProjectGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_IsRelationPresent
Checks whether a relation is present.
Object ID: 1910271302; Created: September 24, 2021, 20:10:17
Name
Type
Default
Comment
@ItemGUID1
uniqueidentifier
Identififer of the first item.
@ItemGUID2
uniqueidentifier
Identififer of the second item.
@ObjectTypeID1
tinyint
ID of first object type.
@ObjectTypeID2
tinyint
ID of second object type.
@RelationTypeID
smallint
Relation type ID.
@DifferDirection
bit
True to use direction.
⇧ Stored Procedure dbo.eWaySP_IsUserAccountLocked
⇧ Stored Procedure dbo.eWaySP_IsUserActive
⇧ Stored Procedure dbo.eWaySP_IsWorkCommitmentDuplicate
Object ID: 480108851; Created: October 30, 2013, 11:40:48
Name
Type
Default
Comment
@WorkCommitmentGUID
uniqueidentifier
@UserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_ItemExists
Object ID: 1702270561; Created: September 24, 2021, 20:10:15
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@FolderName
nvarchar (50)
@ObjectTypeID
int
@ItemExists
bit
⇧ Stored Procedure dbo.eWaySP_Leads_OwnerChangedNotifier
Notify new owner of lead about lead. Procedure is calling in BeforeSave trigger on Leads.
Object ID: 1636525955; Created: October 05, 2020, 12:08:07
Name
Type
Default
Comment
@LeadGUID
uniqueidentifier
Guid of created lead.
@OwnerGUID
uniqueidentifier
Guid of owner of lead.
@ModifiedByGUID
uniqueidentifier
Guid of author of modification.
@PrevOwnerGUID
uniqueidentifier
Guid of previous owner of lead.
⇧ Stored Procedure dbo.eWaySP_LogLogin
Save login history.
Object ID: 1298285322; Created: November 21, 2022, 20:30:58
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
User identifier.
@SID
uniqueidentifier
Session identifier.
@ClientVersion
nvarchar (50)
Version of client.
@UserHostAddress
varchar (45)
IP host address of the remote client.
@Successful
bit
Value indicating whether was login successful.
@UserHostID
varchar (50)
Unique identification of the remote client.
@UserHostName
varchar (200)
Name of the host.
@CommunicatedUserHostAddress
varchar (45)
DEPRECATED: Pass NULL. IP host address which the client claims to be using (created for WCF IP retransmitting).
@TimeZone
nvarchar (32)
Time zone identifier of the client.
@IsFullSync
bit
Indicates whether the client runs full sync.
@ProxyAddress
varchar (45)
Proxy address provided during login.
⇧ Stored Procedure dbo.eWaySP_LogOwnerChange
Object ID: 2079554692; Created: May 26, 2014, 12:27:19
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@OwnerGUID
uniqueidentifier
@PreviousOwnerGUID
uniqueidentifier
@FolderName
nvarchar (50)
@UserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_LogStateChange
Logs item state change into new Journal item.
Object ID: 341888585; Created: January 29, 2015, 21:58:17
Name
Type
Default
Comment
@HistoryGUID
uniqueidentifier
Guid of history item.
@HistoryTypeID
tinyint
Object type ID for folder name "History".
@ItemGUID
uniqueidentifier
Guid of changed item.
@ObjectTypeID
tinyint
Type of changed item.
⇧ Stored Procedure dbo.eWaySP_MakeApiRequest
Makes API request to specified URL.
Object ID: 1559246347; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
@Url
nvarchar (4000)
Requested URL.
@Query
nvarchar (max)
Data of the request.
@Method
nvarchar (10)
POST
HTTP method (GET, POST).
@ContentType
nvarchar (4000)
application/x-www-form-urlencoded
Content type.
@Authorization
nvarchar (4000)
Authorization header.
@Response
nvarchar (max)
⇧ Stored Procedure dbo.eWaySP_MakeFieldEditable
Object ID: 716073837; Created: May 26, 2014, 12:27:24
Name
Type
Default
Comment
@FolderName
nvarchar (50)
@ColumnName
nvarchar (255)
⇧ Stored Procedure dbo.eWaySP_MakeFieldReadonly
Object ID: 732073894; Created: May 26, 2014, 12:27:24
Name
Type
Default
Comment
@FolderName
nvarchar (50)
@ColumnName
nvarchar (255)
⇧ Stored Procedure dbo.eWaySP_MakeItemsVisibleForAll
⇧ Stored Procedure dbo.eWaySP_ManageCartRelationsToProjectOrCompany
Object ID: 1911938133; Created: December 10, 2014, 15:07:12
Name
Type
Default
Comment
@CartGUID
uniqueidentifier
@NewProjectGUID
uniqueidentifier
@NewCompanyGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_MarkBinaryDataAsStoredInFileSystem
Object ID: 2130783344; Created: May 18, 2018, 20:38:08
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@Revision
int
@FileSystemStorageRelativePath
char (7)
⇧ Stored Procedure dbo.eWaySP_Marketing_SetID
⇧ Stored Procedure dbo.eWaySP_Marketing_UpdateRevenue
Object ID: 1289797144; Created: January 28, 2022, 20:36:51
Name
Type
Default
Comment
@ReleatedLeadId
uniqueidentifier
@MarketingId
uniqueidentifier
@ReleatedLeadPrice
numeric (18, 2)
@ReleatedLeadPreviousPrice
numeric (18, 2)
@ReleatedLeadState
uniqueidentifier
@ReleatedLeadPreviousState
uniqueidentifier
@ReleatedLeadRemoving
bit
⇧ Stored Procedure dbo.eWaySP_MarketingList_RemoveAssignments
Removes assignements on Item from MarketingList Items
Object ID: 200700113; Created: March 24, 2015, 21:32:27
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
Item unique identifier
@FolderName
nvarchar (50)
Item folder name
⇧ Stored Procedure dbo.eWaySP_MergeItems
This procedure merges two items into the third. Optional use is
to supply target item GUID the same as the first source item GUID.
This procedure goes through the folder columns (except system ones)
and uses the first not empty value (in order: source1, source2).
The "Null or unique" columns specified bellow are filled
by the same policy, but the source field is nulled (unique const.)
Then this procedure reconnects all the relations of the sources
to the target item. The foreign keys are redirected to the target
item too.
Object ID: 1503474022; Created: September 08, 2022, 20:58:15
Name
Type
Default
Comment
@FolderName
nvarchar (256)
GUID of the second source item.
@TargetItemGUID
uniqueidentifier
GUID of the target item.
@SourceItemGUID1
uniqueidentifier
@SourceItemGUID2
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_MigrateDateTimeToDateTimeOffset
Adds offset to DateTime values during upgrade.
⇧ Stored Procedure dbo.eWaySP_MigrateServerDateTimeToDateTimeOffset
Adds offset to Server's DateTime values during upgrade.
⇧ Stored Procedure dbo.eWaySP_ModifyUserName
Modify username for user in eWay system.
Object ID: 738791131; Created: September 24, 2021, 20:10:24
Name
Type
Default
Comment
@OldUserName
nvarchar (100)
Old username.
@NewUserName
nvarchar (100)
New username.
⇧ Stored Procedure dbo.eWaySP_NormalizePhoneNumber
Fills the 'Normalized' column for the changed phone number column.
Object ID: 1262692342; Created: January 25, 2019, 20:59:01
Name
Type
Default
Comment
@FolderName
nvarchar (64)
Module folder name.
@ColumnName
nvarchar (128)
The telephone number column that has been changed. Ex. 'TelephoneNumber1'.
@ItemGUID
uniqueidentifier
Item guid of item that was changed.
⇧ Stored Procedure dbo.eWaySP_NotifyAboutLeadsDeadline
Procedure for sending e-mails about expired deadlines of leads.
⇧ Stored Procedure dbo.eWaySP_NotifyAboutMissingExchangeRates
⇧ Stored Procedure dbo.eWaySP_NotifyAboutProjectDeadline
Procedure for sending e-mails about finishing projects.
⇧ Stored Procedure dbo.eWaySP_NotifyAboutTaskChange
Object ID: 2026007986; Created: April 17, 2023, 20:17:25
Name
Type
Default
Comment
@TaskGUID
uniqueidentifier
@ModifiedByGUID
uniqueidentifier
@NewSolverGUID
uniqueidentifier
@NewSuperiorItemGUID
uniqueidentifier
@NewSuperiorItemObjectTypeID
tinyint
@OldOwnerGUID
uniqueidentifier
@OldTypeGUID
uniqueidentifier
@OldStatusGUID
uniqueidentifier
@OldSubject
nvarchar (256)
@OldStartDate
datetime
@OldDueDate
datetime
@OldReminderDate
datetime
@OldReminder
bit
@OldImportanceGUID
uniqueidentifier
@OldComplete
bit
@OldPercentCompleteDecimal
decimal (5, 4)
@OldActualWorkHours
decimal (18, 3)
@OldEstimatedWorkHours
decimal (18, 3)
@OldNote
nvarchar (max)
@NewCompanyGUID
uniqueidentifier
@NewContactGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_NotifyAboutTaskChanges
Object ID: 1472424715; Created: November 10, 2015, 22:13:25
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@ObjectType
tinyint
@UpdateType
tinyint
@ChangedByGuid
uniqueidentifier
@RelatedTaskGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_NotifyAboutTasks
Notify delegators and solvers about tasks.
⇧ Stored Procedure dbo.eWaySP_NotifyAboutTeamChanged
Object ID: 1175244979; Created: June 05, 2023, 20:28:22
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
@ProjectGUID
uniqueidentifier
@LeadGUID
uniqueidentifier
@Removed
bit
@ModifiedByGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_NotifyAboutUnpaidInvoices
⇧ Stored Procedure dbo.eWaySP_NotifyTeamAboutNewDocumentInProject
Notify team about new document in project.
Object ID: 1287245378; Created: June 05, 2023, 20:28:23
Name
Type
Default
Comment
@DocumentGUID
uniqueidentifier
Guid of document.
@ProjectGUID
uniqueidentifier
Guid of project.
@CreatedOrModifiedGUID
uniqueidentifier
Guid of modificator.
@DocumentItemVersion
int
Version of document item.
@RecipientUserGUID
uniqueidentifier
Guid of recepient.
⇧ Stored Procedure dbo.eWaySP_NotifyTeamAboutNewEmailInProject
Notify team about new email in project.
Object ID: 1351245606; Created: June 05, 2023, 20:28:23
Name
Type
Default
Comment
@EmailGUID
uniqueidentifier
Guid of email.
@ProjectGUID
uniqueidentifier
Guid of project.
@CreatedOrModifiedGUID
uniqueidentifier
Guid of modificator.
@EmailItemVersion
int
Version of document item.
@RecipientUserGUID
uniqueidentifier
Guid of recepient.
⇧ Stored Procedure dbo.eWaySP_NotifyTeamAboutNewJournalInProject
Notify team about new journal in project.
Object ID: 1239245207; Created: June 05, 2023, 20:28:22
Name
Type
Default
Comment
@JournalGUID
uniqueidentifier
Guid of journal.
@ProjectGUID
uniqueidentifier
Guid of project.
@CreatedOrModifiedGUID
uniqueidentifier
Guid of modificator.
@JournalItemVersion
int
Version of journal item.
@RecipientUserGUID
uniqueidentifier
Guid of recepient.
⇧ Stored Procedure dbo.eWaySP_NotifyUserAboutDocument
Object ID: 1588460983; Created: December 10, 2014, 15:07:21
Name
Type
Default
Comment
@DocumentGUID
uniqueidentifier
@CreatedOrModifiedGUID
uniqueidentifier
@RecipientUserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_NotifyUserAboutEmail
Object ID: 905899886; Created: August 24, 2022, 20:47:58
Name
Type
Default
Comment
@EmailGUID
uniqueidentifier
@CreatedOrModifiedGUID
uniqueidentifier
@RecipientUserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_NotifyUserAboutJournal
Object ID: 2057370694; Created: January 29, 2015, 21:58:14
Name
Type
Default
Comment
@JournalGUID
uniqueidentifier
@CreatedOrModifiedGUID
uniqueidentifier
@RecipientUserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_NotifyUsersAboutNewDocumentInCompany
Object ID: 1319245492; Created: June 05, 2023, 20:28:23
Name
Type
Default
Comment
@DocumentGUID
uniqueidentifier
@CompanyGUID
uniqueidentifier
@CreatedOrModifiedGUID
uniqueidentifier
@DocumentItemVersion
int
@RecipientUserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_NotifyUsersAboutNewDocumentInContact
Object ID: 1335245549; Created: June 05, 2023, 20:28:23
Name
Type
Default
Comment
@DocumentGUID
uniqueidentifier
@ContactGUID
uniqueidentifier
@CreatedOrModifiedGUID
uniqueidentifier
@DocumentItemVersion
int
@RecipientUserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_NotifyUsersAboutNewDocumentInLead
Notify team about new document in lead.
Object ID: 1303245435; Created: June 05, 2023, 20:28:23
Name
Type
Default
Comment
@DocumentGUID
uniqueidentifier
Guid of document.
@LeadGUID
uniqueidentifier
Guid of lead.
@CreatedOrModifiedGUID
uniqueidentifier
Guid of modificator.
@DocumentItemVersion
int
Version of document item.
@RecipientUserGUID
uniqueidentifier
Guid of recepient.
⇧ Stored Procedure dbo.eWaySP_NotifyUsersAboutNewEmailInCompany
Object ID: 1383245720; Created: June 05, 2023, 20:28:23
Name
Type
Default
Comment
@EmailGUID
uniqueidentifier
@CompanyGUID
uniqueidentifier
@CreatedOrModifiedGUID
uniqueidentifier
@EmailItemVersion
int
@RecipientUserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_NotifyUsersAboutNewEmailInContact
Object ID: 1399245777; Created: June 05, 2023, 20:28:24
Name
Type
Default
Comment
@EmailGUID
uniqueidentifier
@ContactGUID
uniqueidentifier
@CreatedOrModifiedGUID
uniqueidentifier
@EmailItemVersion
int
@RecipientUserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_NotifyUsersAboutNewEmailInLead
Object ID: 1367245663; Created: June 05, 2023, 20:28:23
Name
Type
Default
Comment
@EmailGUID
uniqueidentifier
@LeadGUID
uniqueidentifier
@CreatedOrModifiedGUID
uniqueidentifier
@EmailItemVersion
int
@RecipientUserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_NotifyUsersAboutNewJournalInCompany
Object ID: 1223245150; Created: June 05, 2023, 20:28:22
Name
Type
Default
Comment
@JournalGUID
uniqueidentifier
@CompanyGUID
uniqueidentifier
@CreatedOrModifiedGUID
uniqueidentifier
@JournalItemVersion
int
@RecipientUserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_NotifyUsersAboutNewJournalInContact
Object ID: 1271245321; Created: June 05, 2023, 20:28:23
Name
Type
Default
Comment
@JournalGUID
uniqueidentifier
@ContactGUID
uniqueidentifier
@CreatedOrModifiedGUID
uniqueidentifier
@JournalItemVersion
int
@RecipientUserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_NotifyUsersAboutNewJournalInLead
Notify team about updated journal in lead.
Object ID: 1255245264; Created: June 05, 2023, 20:28:23
Name
Type
Default
Comment
@JournalGUID
uniqueidentifier
Guid of journal.
@LeadGUID
uniqueidentifier
Guid of lead.
@CreatedOrModifiedGUID
uniqueidentifier
Guid of modificator.
@JournalItemVersion
int
Version of journal item.
@RecipientUserGUID
uniqueidentifier
Guid of recepient.
⇧ Stored Procedure dbo.eWaySP_NotifyUsersAfterUpdate
⇧ Stored Procedure dbo.eWaySP_NotifyUsersBeforeUpdate
Notifies users when update finishes.
⇧ Stored Procedure dbo.eWaySP_ParseContactName_Clr
Object ID: 1527246233; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
@ContactName
nvarchar (max)
@Prefix
nvarchar (256)
@FirstName
nvarchar (256)
@MiddleName
nvarchar (256)
@LastName
nvarchar (256)
@Suffix
nvarchar (256)
⇧ Stored Procedure dbo.eWaySP_ProcessQueuedJobs
Process queued jobs from table EWD_QueuedJobs.
⇧ Stored Procedure dbo.eWaySP_Projects_CalculateEstimatedMargin
Object ID: 283381766; Created: March 24, 2023, 09:22:17
Name
Type
Default
Comment
@ProjectGUID
uniqueidentifier
@EstimatedMargin
decimal (18, 4)
@EstimatedProfit
decimal (18, 4)
@EstimatedPrice
decimal (18, 2)
@EstimatedOtherExpenses
decimal (18, 2)
@EstimatedPeopleExpenses
decimal (18, 2)
⇧ Stored Procedure dbo.eWaySP_Projects_OwnerChangedNotifier
Notify new owner of Project about Project. Procedure is calling in BeforeSave trigger on Projects.
Object ID: 1652526012; Created: October 05, 2020, 12:08:07
Name
Type
Default
Comment
@ProjectGUID
uniqueidentifier
Guid of created Project.
@OwnerGUID
uniqueidentifier
Guid of owner of Project.
@ModifiedByGUID
uniqueidentifier
Guid of author of modification.
@PrevOwnerGUID
uniqueidentifier
Guid of previous owner of Project.
⇧ Stored Procedure dbo.eWaySP_Projects_PriceChange
Create journal entry for change on project field "Price"
Object ID: 373888699; Created: January 29, 2015, 21:58:17
Name
Type
Default
Comment
@ProjectGUID
uniqueidentifier
Guid of project
@UserGUID
uniqueidentifier
Guid of modification author
@Price
decimal (18, 0)
Price new value
@PrevPrice
decimal (18, 0)
Price old value
⇧ Stored Procedure dbo.eWaySP_Projects_ProjectEndChange
Create journal entry for change on project field "ProjectEnd"
Object ID: 309888471; Created: January 29, 2015, 21:58:17
Name
Type
Default
Comment
@ProjectGUID
uniqueidentifier
Guid of project
@UserGUID
uniqueidentifier
Guid of modification author
@ProjectEnd
datetime
ProjectEnd new value
@PrevProjectEnd
datetime
ProjectEnd old value
⇧ Stored Procedure dbo.eWaySP_Projects_RemoveProjectAssignments
⇧ Stored Procedure dbo.eWaySP_Projects_RemoveRelatedTasks
⇧ Stored Procedure dbo.eWaySP_Projects_SetHID
Object ID: 196468770; Created: July 08, 2020, 12:16:04
Name
Type
Default
Comment
@ItemGUID
nvarchar (36)
Identifier of the database record.
@Type
int
Type of the item (0=Lead, 1=Project).
⇧ Stored Procedure dbo.eWaySP_Projects_UpdateSuperiorProject
Object ID: 1962007758; Created: April 17, 2023, 20:17:24
Name
Type
Default
Comment
@ProjectGUID
uniqueidentifier
@Removing
int
@FirstSlave
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_PropagateDocumentationOnSubGoods
Object ID: 28071386; Created: May 26, 2014, 12:27:20
Name
Type
Default
Comment
@IsDeleted
bit
@SuperiorGoodGUID
uniqueidentifier
@RelatedObjectGUID
uniqueidentifier
@GoodObjectTypeID
tinyint
@RelatedObjectObjectTypeID
tinyint
⇧ Stored Procedure dbo.eWaySP_RaiseError
Internal procedure for RAISERROR() function. With optional 1-9 parameters to be casted to string automatically.
Object ID: 605934672; Created: November 01, 2021, 11:59:54
Name
Type
Default
Comment
@Message
nvarchar (max)
Messege to be raised with optional "%s" placeholders for parameters 1-9.
@Parameter1
sql_variant
Optional parameters 1-9 for "%s" replacement in @Message.
@Parameter2
sql_variant
@Parameter3
sql_variant
@Parameter4
sql_variant
@Parameter5
sql_variant
@Parameter6
sql_variant
@Parameter7
sql_variant
@Parameter8
sql_variant
@Parameter9
sql_variant
⇧ Stored Procedure dbo.eWaySP_ReadAttachment
Object ID: 1910297865; Created: November 26, 2012, 12:41:28; Modified: March 06, 2013, 11:24:10
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@Revision
int
@Offset
int
@Size
int
@Compressed
bit
⇧ Stored Procedure dbo.eWaySP_ReasignTasks
Reasign tasks with given state from old user to new user.
Object ID: 162789079; Created: September 24, 2021, 20:10:20
Name
Type
Default
Comment
@OldUserGuid
uniqueidentifier
Guid of old user.
@OldUserName
nvarchar (256)
Name of old user.
@NewUserGuid
uniqueidentifier
Guid of new user.
@NewUserName
nvarchar (256)
Name of new user.
⇧ Stored Procedure dbo.eWaySP_ReassignItems
Delegates the items to a new user.
Object ID: 2840564; Created: February 07, 2022, 21:05:56
Name
Type
Default
Comment
@OldUserGUID
uniqueidentifier
The current (former) owner/solver/assignee, who shall be swapped.
@NewUserGUID
uniqueidentifier
The user who is assigned to all the items.
@ResponsibleUserGUID
uniqueidentifier
@ItemChanged
datetimeoffset
@ClientVersion
nvarchar (256)
@ReassignCompanies
bit
@ReassignContacts
bit
@ReassignActiveProjects
bit
@ReassignCompletedProjects
bit
@ReassignDeadProjects
bit
@ReassignActiveLeads
bit
@ReassignCompletedLeads
bit
@ReassignDeadLeads
bit
@ReassignActiveTasks
bit
@ReassignCompletedTasks
bit
@ReassignTaskDelegatorRelationToo
bit
⇧ Stored Procedure dbo.eWaySP_RecalculateAccountManagerGoals
Fill goals item of type "Account manager".
⇧ Stored Procedure dbo.eWaySP_RecalculateGoals
Recalculate prices on goals.
⇧ Stored Procedure dbo.eWaySP_RecalculateOtherCurrencyPrices
⇧ Stored Procedure dbo.eWaySP_RecalculateOtherCurrencyPrices_Bonuses
⇧ Stored Procedure dbo.eWaySP_RecalculateOtherCurrencyPrices_Carts
⇧ Stored Procedure dbo.eWaySP_RecalculateOtherCurrencyPrices_Goals
⇧ Stored Procedure dbo.eWaySP_RecalculateOtherCurrencyPrices_Goods
⇧ Stored Procedure dbo.eWaySP_RecalculateOtherCurrencyPrices_GoodsInCart
⇧ Stored Procedure dbo.eWaySP_RecalculateOtherCurrencyPrices_IndividualDiscounts
⇧ Stored Procedure dbo.eWaySP_RecalculateOtherCurrencyPrices_Leads
⇧ Stored Procedure dbo.eWaySP_RecalculateOtherCurrencyPrices_Payments
⇧ Stored Procedure dbo.eWaySP_RecalculateOtherCurrencyPrices_Projects
⇧ Stored Procedure dbo.eWaySP_RecalculateOtherCurrencyPrices_Salaries
⇧ Stored Procedure dbo.eWaySP_RecalculateOtherCurrencyPrices_WorkReports
⇧ Stored Procedure dbo.eWaySP_RecalculateProjectManagerGoals
Fill goals item of type "Project manager".
⇧ Stored Procedure dbo.eWaySP_RecalculateSalesManagerGoals
Fill goals item of type "Sales manager".
⇧ Stored Procedure dbo.eWaySP_RelationValidationFailed
Object ID: 92071614; Created: May 26, 2014, 12:27:20
Name
Type
Default
Comment
@FolderName1
nvarchar (256)
@ObjectTypeId1
int
@FolderName2
nvarchar (256)
@ObjectTypeId2
int
@RelationType
nvarchar (256)
@DirectionShouldBeSet
bit
@IsBadRelationType
bit
⇧ Stored Procedure dbo.eWaySP_RemoveAdditionalField
Removes additional field from eWay-CRM.
Object ID: 1081900513; Created: August 24, 2022, 20:47:59
Name
Type
Default
Comment
@AdditionalFieldItemGUID
uniqueidentifier
GUID of the additional field.
@DeletedByGUID
uniqueidentifier
GUID of the user who deleted the additional field.
⇧ Stored Procedure dbo.eWaySP_RemoveAttachment
Object ID: 902294274; Created: May 27, 2011, 14:16:57; Modified: March 06, 2013, 11:24:09
Name
Type
Default
Comment
@DocumentGUID
uniqueidentifier
@Revision
int
⇧ Stored Procedure dbo.eWaySP_RemoveAvailableVersionInfo
Removes info about available new version because no new version is available.
⇧ Stored Procedure dbo.eWaySP_RemoveCategoryByRelatedCompany
Remove category from related items when is removed from company.
Object ID: 1189279692; Created: October 12, 2015, 22:10:35
Name
Type
Default
Comment
@CompanyGUID
uniqueidentifier
Guid of company with deleted category
@RemoveCategoryGUID
uniqueidentifier
Guid of deleted category from company
⇧ Stored Procedure dbo.eWaySP_RemoveGeneralRelationWhenOneToManyIsCreated
Used to remove GENERAL relation when one to many relation is being saved.
Object ID: 1349097534; Created: January 26, 2023, 20:17:44
Name
Type
Default
Comment
@ItemGUID1
uniqueidentifier
ItemGUID1 of the relation being saved.
@ItemGUID2
uniqueidentifier
ItemGUID2 of the relation being saved.
⇧ Stored Procedure dbo.eWaySP_RemoveLayoutsModelsItemBeforeRelatedItemRemoved
Object ID: 1342692627; Created: January 25, 2019, 20:59:02
Name
Type
Default
Comment
@RelatedItemGUID
uniqueidentifier
@RelatedItemFolderName
nvarchar (50)
⇧ Stored Procedure dbo.eWaySP_RemoveLeftForeignKeysBeforeCompanyRemoved
Removes individual discounts related to Company before Company is being removed.
⇧ Stored Procedure dbo.eWaySP_RemoveLeftForeignKeysBeforeGoodsInCartRemoved
Removes items related to Goods in Cart item before it is removed.
⇧ Stored Procedure dbo.eWaySP_RemoveLeftForeignKeysBeforeGoodsRemoved
Remove Prices, GoodsInSet items related to Good before Good is being removed.
⇧ Stored Procedure dbo.eWaySP_RemoveLeftForeignKeysBeforeMarketingRemoved
Set foreign key on marketing list to NULL when marketing is removed.
⇧ Stored Procedure dbo.eWaySP_RemoveLeftForeignKeysBeforePriceListGroupRemoved
Removes individual discounts related to Price List Group before Price List Group is being removed.
⇧ Stored Procedure dbo.eWaySP_RemoveLeftForeignKeysBeforeSalePriceRemoved
Set foreign key on companies to NULL when SalePrice is removed.
⇧ Stored Procedure dbo.eWaySP_RemoveLeftForeignKeysBeforeTaskRemoved
Removes recurrence patterns related to Task before Task is being removed.
⇧ Stored Procedure dbo.eWaySP_RemoveLeftItemsBeforeUnifiedRelationsRemoved
Removes items that needs to be removed before UnifiedRelations are removed.
⇧ Stored Procedure dbo.eWaySP_RemoveOldSessions
⇧ Stored Procedure dbo.eWaySP_RemoveRelationsPointingToNoneExistingItems
Remove relations pointing to nonexistent items.
⇧ Stored Procedure dbo.eWaySP_RemoveRevisionHistoryAndBinaryData
⇧ Stored Procedure dbo.eWaySP_RemoveSessions
Removes sessions of specified user.
Object ID: 1883999380; Created: September 16, 2022, 08:55:25
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
GUID of the user.
@IgnoreSessionGUID
uniqueidentifier
GUID of the session that will be kept.
@IgnoreClientTypePrefix1
nvarchar (50)
Client type prefix of sessions that will be kept. Optional. Can be null.
@IgnoreClientTypePrefix2
nvarchar (50)
Another client type prefix of sessions that will be kept. Optional. Can be null.
@IgnoreClientTypePrefix3
nvarchar (50)
Another client type prefix of sessions that will be kept. Optional. Can be null.
⇧ Stored Procedure dbo.eWaySP_RemoveUnusedBinaryData
Removes BinaryData which is not related to document or email.
⇧ Stored Procedure dbo.eWaySP_RemoveWebServiceTask
Removes specific WebService Task entry from WebServiceTasks table.
⇧ Stored Procedure dbo.eWaySP_ReorderRankForEnumType
Sorts order (Rank) of the enumeration by specified column.
Object ID: 1978138488; Created: August 25, 2015, 14:54:50
Name
Type
Default
Comment
@EnumTypeGUID
uniqueidentifier
Enumeration identifier.
@OrderByColumnName
nvarchar (256)
Name of the column used for sort.
@OrderByDirection
nvarchar (16)
Sort order mode (ASC or DESC).
@RankStart
int
Rank initial number.
⇧ Stored Procedure dbo.eWaySP_ReorderRankForGoodsInCart
Fixed Rank of GoodsInCart.
⇧ Stored Procedure dbo.eWaySP_ResetAdminPassword
Reset's admin user password.
⇧ Stored Procedure dbo.eWaySP_ResetCloudDatabaseChanges
Reset some GlobalSetting parameters to default.
⇧ Stored Procedure dbo.eWaySP_ResetDefaultCountry
Resets default country for the users.
⇧ Stored Procedure dbo.eWaySP_ResetDefaultCurrency
Sets default value on currency columns based on current DefaultCurrency GS.
⇧ Stored Procedure dbo.eWaySP_ResetEmailCampaignAccount
Deletes professional email account information.
⇧ Stored Procedure dbo.eWaySP_ResetHolidays
Creates holidays for new year.
⇧ Stored Procedure dbo.eWaySP_ResetSynchronizationMappingToDefault
Resets synchronization mapping to default.
Object ID: 1446269649; Created: September 24, 2021, 20:10:11
Name
Type
Default
Comment
@SynchronizationObjectName
nvarchar (256)
Name of synchronization object to reset mappings on.
@SynchronizationField
nvarchar (256)
Field identificator to reset mappings on.
⇧ Stored Procedure dbo.eWaySP_Responses_CreateTaskMarketingListRelation
Creates relation between task and marketing participant
⇧ Stored Procedure dbo.eWaySP_RestoreDeletedRelations
Restore relations of deleted item.
Object ID: 2006271644; Created: September 24, 2021, 20:10:17
Name
Type
Default
Comment
@FolderName
nvarchar (50)
Name of folder.
@DeletedItemGUID
uniqueidentifier
GUID of deleted item.
@NewItemGUID
uniqueidentifier
GUID of new item.
@FromDeletedDate
datetimeoffset
Date filter for column DeletedDate.
⇧ Stored Procedure dbo.eWaySP_RevertProjectToLead
Delete project created from lead and map its related items to original lead.
Object ID: 1572525727; Created: October 05, 2020, 12:08:06
Name
Type
Default
Comment
@ProjectHID
int
HID of project to be deleted.
@NewLeadStateFileAs
nvarchar (256)
FileAs of new state for lead after project is reverted to lead.
@CreateNewLeadIfNotExist
bit
⇧ Stored Procedure dbo.eWaySP_SaveAttachment
Object ID: 1766270789; Created: September 24, 2021, 20:10:15
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@Revision
int
@Data
image
@FileSize
bigint
@Extension
varchar (10)
@UploadedSize
bigint
@CompressedFileSize
bigint
@Compressed
bit
@StoredInFileSystem
bit
@CreatedByGuid
uniqueidentifier
@Created
datetimeoffset
@FileSystemStorageRelativePath
char (7)
⇧ Stored Procedure dbo.eWaySP_SendActivityEmail
Object ID: 566982538; Created: November 12, 2021, 20:45:30
Name
Type
Default
Comment
@ActivityGUID
uniqueidentifier
@SuperiorItemGUID
uniqueidentifier
@BodyText
nvarchar (max)
@Subject
nvarchar (255)
@BlackListUserGUID
uniqueidentifier
@SingleRecipientGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_SendMail
Procedure used to send system emails.
Object ID: 1655676946; Created: June 24, 2008, 16:12:01; Modified: June 05, 2023, 20:32:11
Name
Type
Default
Comment
@to
nvarchar (4000)
Recipients email addresses separated by comma or semicolon.
@text
nvarchar (max)
Text of the email. May contain HTML code.
@subj
nvarchar (4000)
Subject of the email.
@format
varchar (20)
Ignored. Not used anymore.
@cc
nvarchar (4000)
CC recipients email addresses separated by comma or semicolon.
@bcc
nvarchar (4000)
BCC recipients email addresses separated by comma or semicolon.
@replyTo
nvarchar (4000)
Email address that will be used as a reply address.
@sender
nvarchar (4000)
Email address of the sender.
⇧ Stored Procedure dbo.eWaySP_SendMail_Clr
CLR procedure used to send system emails.
Object ID: 1479246062; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
@to
nvarchar (4000)
Recipients email addresses separated by comma or semicolon.
@subject
nvarchar (4000)
Subject of the email.
@body
nvarchar (max)
Text of the email. May contain HTML code.
@async
bit
False
1 to send emails without waiting for the result.
@cc
nvarchar (4000)
CC recipients email addresses separated by comma or semicolon.
@bcc
nvarchar (4000)
BCC recipients email addresses separated by comma or semicolon.
@replyTo
nvarchar (4000)
Email address that will be used as a reply address.
@sender
nvarchar (4000)
Email address of the sender.
⇧ Stored Procedure dbo.eWaySP_SendMailPlain
CLR procedure used to send emails that does not use default system template.
Object ID: 1495246119; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
@to
nvarchar (4000)
Recipients email addresses separated by comma or semicolon.
@subject
nvarchar (4000)
Subject of the email.
@body
nvarchar (max)
Text of the email. May contain HTML code.
@async
bit
False
1 to send emails without waiting for the result.
@cc
nvarchar (4000)
CC recipients email addresses separated by comma or semicolon.
@bcc
nvarchar (4000)
BCC recipients email addresses separated by comma or semicolon.
@replyTo
nvarchar (4000)
Email address that will be used as a reply address.
@sender
nvarchar (4000)
Email address of the sender.
⇧ Stored Procedure dbo.eWaySP_SetAdditionalFieldValue
Set additional field value.
Object ID: 614982709; Created: November 12, 2021, 20:45:30
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
Guid of item with additional field to set.
@FolderName
nvarchar (50)
Folder name of item with additional field to set.
@FieldName
nvarchar (256)
Name of additional field to set.
@Value
sql_variant
New value.
@WriteItemChanges
bit
Should be changes written in ItemChanges.
⇧ Stored Procedure dbo.eWaySP_SetAdminGroupModulePermisison
Set module permissions for Administrator group.
Object ID: 889899829; Created: August 24, 2022, 20:47:57
Name
Type
Default
Comment
@FolderName
nvarchar (50)
@View
varchar (16)
Permissions of module for view records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@Edit
varchar (16)
Permissions of module for edit records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@Delete
varchar (16)
Permissions of module for delete records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@Create
varchar (16)
Permissions of module for create records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@Export
varchar (16)
Permissions of module for export records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@RowsRestriction
int
Rows restriction of records in eWay-CRM controls.
@IsSystem
int
⇧ Stored Procedure dbo.eWaySP_SetCloudDatabaseChanges
Sets cloud database changes.
⇧ Stored Procedure dbo.eWaySP_SetColumnPermissionForGdprFunctionality
Object ID: 743634388; Created: March 22, 2018, 21:27:01
Name
Type
Default
Comment
@FunctionalityEnabled
bit
@PreviousFunctionalityEnabled
bit
⇧ Stored Procedure dbo.eWaySP_SetColumnPermissionForPeopleExpensesSumarization
Object ID: 1658006675; Created: April 17, 2023, 20:17:22
Name
Type
Default
Comment
@SumarizationEnabled
bit
@PreviousSumarizationEnabled
bit
⇧ Stored Procedure dbo.eWaySP_SetColumnPermissionForPriceSumarization
Object ID: 2038271758; Created: September 24, 2021, 20:10:18
Name
Type
Default
Comment
@FolderName
nvarchar (256)
@SumarizationEnabled
bit
@PreviousSumarizationEnabled
bit
⇧ Stored Procedure dbo.eWaySP_SetDefaultCurrencyGUID
Object ID: 348072526; Created: May 26, 2014, 12:27:22
Name
Type
Default
Comment
@FolderName
nvarchar (256)
@ItemGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_SetEnumAdditionalFieldValue
Set additional field value (enumeration).
Object ID: 497241372; Created: February 28, 2017, 22:19:18
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
Guid of item with additional field to set.
@FolderName
varchar (50)
Folder name of item with additional field to set.
@FieldName
varchar (256)
Name of additional field to set.
@EnumValue
varchar (256)
FileAs of EnumValue (string).
@WriteItemChanges
bit
Should be changes written in ItemChanges.
⇧ Stored Procedure dbo.eWaySP_SetEnumValue
Insert or update enum value.
Object ID: 1866007416; Created: April 17, 2023, 20:17:23
Name
Type
Default
Comment
@EnumTypeName
nvarchar (256)
Name of the enumeration in which the value will be created.
@EnumValueFileAs
nvarchar (256)
Enum value name (FileAs).
@en
nvarchar (256)
English translation.
@cs
nvarchar (256)
Czech translation.
@de
nvarchar (256)
German translation.
@ru
nvarchar (256)
Russian translation.
@sk
nvarchar (256)
Slovakian translation.
@no
nvarchar (256)
Norwegian translation.
@CheckDuplicity
bit
Check duplicity.
⇧ Stored Procedure dbo.eWaySP_SetEnumValueNewRank
Create new order of enum values according to specified EunmName, FileAs and newRank
Object ID: 609137661; Created: January 17, 2016, 14:52:53
Name
Type
Default
Comment
@EnumName
nvarchar (256)
EnumName for right EnumValues subset.
@FileAs
nvarchar (256)
FileAs of item in subset of EnumValues given by EnumName.
@NewRank
int
New Rank value for selected EunmValues item.
@UseItemChanges
bit
@UseControlSelect
bit
⇧ Stored Procedure dbo.eWaySP_SetExtendedPropertyValue
Sets database extended property.
Object ID: 1734270675; Created: September 24, 2021, 20:10:15
Name
Type
Default
Comment
@Name
nvarchar (128)
Name of the property.
@Value
sql_variant
⇧ Stored Procedure dbo.eWaySP_SetFunctionDescription
Sets function description.
Object ID: 719914232; Created: September 28, 2017, 22:52:47
Name
Type
Default
Comment
@FunctionName
nvarchar (256)
Name of the function.
@Description
nvarchar (4000)
Description of the function.
⇧ Stored Procedure dbo.eWaySP_SetFunctionParameterDescription
Sets function parameter description.
Object ID: 703914175; Created: September 28, 2017, 22:52:47
Name
Type
Default
Comment
@FunctionName
nvarchar (256)
Name of the function.
@ParameterName
nvarchar (256)
Name of the parameter.
@Description
nvarchar (4000)
Description of the parameter.
⇧ Stored Procedure dbo.eWaySP_SetGlobalSettingValue
Sets GlobalSetting value.
Object ID: 557934501; Created: November 01, 2021, 11:59:54
Name
Type
Default
Comment
@Name
nvarchar (256)
Name of the GlobalSetting.
@Value
nvarchar (max)
⇧ Stored Procedure dbo.eWaySP_SetGroupColumnPermission
Sets column permissions for specified group.
Object ID: 1462269706; Created: September 24, 2021, 20:10:12
Name
Type
Default
Comment
@GroupName
nvarchar (255)
Name of the group.
@FolderName
nvarchar (50)
Name of the folder.
@ColumnName
nvarchar (255)
Name of the column.
@Type
tinyint
0: None, 1: All, 2: Own, 3: Readonly, 4: Invisible.
@Mandatory
tinyint
Indicates whether a column is mandatory.
@CheckColumnExistence
bit
Checks whether the column exists in the specified table.
@IsMandatoryEditable
bit
Indicates whether user will be able to change mandatory settings of the column.
@IsTypeEditable
bit
Indicates whether user will be able to change permission type of the column.
⇧ Stored Procedure dbo.eWaySP_SetGroupModulePermission
Set module permissions for specified group.
Object ID: 2788509; Created: September 24, 2021, 20:10:19
Name
Type
Default
Comment
@GroupGUID
uniqueidentifier
@FolderName
nvarchar (50)
@View
varchar (16)
Permissions of module for view records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@Edit
varchar (16)
Permissions of module for edit records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@Delete
varchar (16)
Permissions of module for delete records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@Create
varchar (16)
Permissions of module for create records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@Export
varchar (16)
Permissions of module for export records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@RowsRestriction
int
Rows restriction of records in eWay-CRM controls.
@IsSystem
bit
Value indicating whether will be permission system and therefore uneditable.
⇧ Stored Procedure dbo.eWaySP_SetLeadsCompletedLostDates
Sets lead completed or lost dates.
Object ID: 1317097420; Created: January 26, 2023, 20:17:44
Name
Type
Default
Comment
@LeadGUID
uniqueidentifier
GUID of the lead.
@WorkflowHistoryGUID
uniqueidentifier
GUID of the workflow history item.
⇧ Stored Procedure dbo.eWaySP_SetLeadsCompletedLostDates_JOB
Update Completed / Lost dates on all leads.
⇧ Stored Procedure dbo.eWaySP_SetMandatoryUniqueConstraint
Sets mandatory unique constraint.
Object ID: 799914517; Created: September 28, 2017, 22:52:49
Name
Type
Default
Comment
@ColumnName
nvarchar (255)
Name of column for which should be constraint created or deleted.
@ObjectTypeID
tinyint
Id of object type where to be constraint created or deleted.
@PrevMandatoryType
tinyint
Mandatory type previously set.
@NewMandatoryType
tinyint
Mandatory type to be set.
⇧ Stored Procedure dbo.eWaySP_SetNewAvailableVersion
Sets info about available version.
Object ID: 1878271188; Created: September 24, 2021, 20:10:16
Name
Type
Default
Comment
@AvailableWebServiceVersion
nvarchar (20)
New available web service version.
@AvailableOutlookClientVersion
nvarchar (20)
New available outlook client version.
@AvailableVersionChangeLogLink
nvarchar (1024)
New available version changelog KB link.
@ReleaseDate
date
The release date of the available version.
⇧ Stored Procedure dbo.eWaySP_SetObjectTypeOptions
Sets options for specified ObjectType.
Object ID: 1819986406; Created: September 12, 2019, 20:18:37
Name
Type
Default
Comment
@ObjectTypeID
tinyint
ObjectTypeID of the module.
@TrackHistory
bit
1 to enable history tracking otherwise 0.
@PrivateItemsEnabled
bit
⇧ Stored Procedure dbo.eWaySP_SetObjectTypeTrackHistory
Sets TrackHistory value for specified ObjectType.
Object ID: 1835986463; Created: September 12, 2019, 20:18:37
Name
Type
Default
Comment
@ObjectTypeID
tinyint
ObjectTypeID of the module to be tracked.
@NewValue
bit
1 to enable tracking otherwise 0.
⇧ Stored Procedure dbo.eWaySP_SetPohodaSynchronizationSystemFields
Object ID: 1171235673; Created: February 23, 2016, 22:10:43
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@FolderName
nvarchar (50)
@ServerPohodaID
int
@ServerPohodaAccountingUnit
nvarchar (255)
@ServerPohodaDataSourceType
tinyint
⇧ Stored Procedure dbo.eWaySP_SetProcedureDescription
Sets procedure description.
Object ID: 671914061; Created: September 28, 2017, 22:52:47
Name
Type
Default
Comment
@ProcedureName
nvarchar (256)
@Description
nvarchar (4000)
⇧ Stored Procedure dbo.eWaySP_SetProcedureParameterDescription
Sets procedure parameter description.
Object ID: 655914004; Created: September 28, 2017, 22:52:46
Name
Type
Default
Comment
@ProcedureName
nvarchar (256)
Name of the procedure.
@ParameterName
nvarchar (256)
Name of the parameter.
@Description
nvarchar (4000)
Description of the parameter.
⇧ Stored Procedure dbo.eWaySP_SetSystemGroupColumnPermission
Sets column permissions for group System.
Object ID: 1478269763; Created: September 24, 2021, 20:10:12
Name
Type
Default
Comment
@FolderName
nvarchar (50)
Name of the folder.
@ColumnName
nvarchar (255)
Name of the column.
@Type
tinyint
0: None, 1: All, 2: Own, 3: Readonly, 4: Invisible.
@Mandatory
tinyint
Indicates whether a column is mandatory.
@CheckColumnExistence
bit
Checks whether the column exists in the specified table.
@IsMandatoryEditable
bit
Indicates whether user will be able to change mandatory settings of the column.
@IsTypeEditable
bit
Indicates whether user will be able to change permission type of the column.
⇧ Stored Procedure dbo.eWaySP_SetSystemGroupModulePermission
Set module permissions for group System (all users).
Object ID: 1246692285; Created: January 25, 2019, 20:59:01
Name
Type
Default
Comment
@FolderName
nvarchar (50)
@View
varchar (16)
Permissions of module for view records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@Edit
varchar (16)
Permissions of module for edit records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@Delete
varchar (16)
Permissions of module for delete records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@Create
varchar (16)
Permissions of module for create records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@Export
varchar (16)
Permissions of module for export records (ALL, INHERITED, RELATED, OWN, GROUP, NONE).
@RowsRestriction
int
Rows restriction of records in eWay-CRM controls.
⇧ Stored Procedure dbo.eWaySP_SetSystemVersion
Sets the system version.
Object ID: 1684526126; Created: October 05, 2020, 12:08:07
Name
Type
Default
Comment
@WebServiceVersion
nvarchar (20)
Web Service version.
@OutlookClientVersion
nvarchar (20)
Outlook Client version.
⇧ Stored Procedure dbo.eWaySP_SetTableColumnDescription
Sets table column description.
Object ID: 687914118; Created: September 28, 2017, 22:52:47
Name
Type
Default
Comment
@TableName
nvarchar (256)
Name of the table.
@ColumnName
nvarchar (256)
Name of the column.
@Description
nvarchar (4000)
Description of the column.
⇧ Stored Procedure dbo.eWaySP_SetTableDescription
Sets table description.
Object ID: 735914289; Created: September 28, 2017, 22:52:47
Name
Type
Default
Comment
@TableName
nvarchar (256)
Name of the table.
@Description
nvarchar (4000)
Description of the table.
⇧ Stored Procedure dbo.eWaySP_SetUpFeatures
Sets up eWay-CRM features by given parameters.
Object ID: 1065900456; Created: August 24, 2022, 20:47:59
Name
Type
Default
Comment
@ContactsAndCompanies
bit
Value indicating whether will be contacts and companies features active.
@Sales
bit
Value indicating whether will be sales feature active.
@Projects
bit
Value indicating whether will be projects feature active.
@MarketingCampaigns
bit
Value indicating whether will be marketing campaigns feature active.
@QuotesAndBilling
bit
Value indicating whether will be quotes and billing feature active.
@TimeSheetsAndPlaning
bit
Value indicating whether will be time sheets and planning features active.
@PerformInitialSetup
bit
Value indicating whether will be table EWD_Features updated as well.
⇧ Stored Procedure dbo.eWaySP_ShowColumnPermissionsHistory
Shows history on ColumnPermissions.
⇧ Stored Procedure dbo.eWaySP_ShowGlobalSettingsHistory
Shows history on GlobalSettings.
⇧ Stored Procedure dbo.eWaySP_ShowModulePermissionsHistory
Shows history on ModulePermissions.
⇧ Stored Procedure dbo.eWaySP_SuspendTrigger
Suspends trigger execution. Timer and WebService has to be restarted after the execution for changes to take effect.
Object ID: 1017900285; Created: August 24, 2022, 20:47:59
Name
Type
Default
Comment
@ProcedureName
varchar (256)
Name of the procedure.
@Reason
nvarchar (max)
Reason of the suspension.
⇧ Stored Procedure dbo.eWaySP_SynchronizeColumnPermissions
Makes changes on all items of the folder to force synchronization of permission changes on column.
Object ID: 2044182678; Created: March 24, 2015, 21:32:24
Name
Type
Default
Comment
@ObjectTypeID
int
ObjectTypeID of the module.
@PrevType
tinyint
Previous permission type.
@NewType
tinyint
New permission type.
⇧ Stored Procedure dbo.eWaySP_Task_InsertLogTeamTaskChange
Object ID: 515532920; Created: June 07, 2013, 21:07:43
Name
Type
Default
Comment
@UserName
nvarchar (256)
@TaskGUID
uniqueidentifier
@ColumnTranslatedName
nvarchar (256)
@oldValue
nvarchar (max)
@newValue
nvarchar (max)
@fieldName
nvarchar (256)
⇧ Stored Procedure dbo.eWaySP_Task_LogTeamTaskChanges
Object ID: 1760022047; Created: July 12, 2018, 20:23:43
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
@TaskGUID
uniqueidentifier
@newFileAs
nvarchar (256)
@newStartDate
datetime
@newDueDate
datetime
@newImportance
int
@newStatus
uniqueidentifier
@newBody
nvarchar (max)
@newPercentComplete
decimal (5, 4)
⇧ Stored Procedure dbo.eWaySP_Task_MirrorTeamTaskRelations
Object ID: 950294445; Created: May 27, 2011, 14:16:57; Modified: March 06, 2013, 11:24:09
Name
Type
Default
Comment
@TaskGUID
uniqueidentifier
@RelatedItemGUID
uniqueidentifier
@RelatedItemOT
int
@RelationType
nvarchar (256)
@Direction
int
@Remove
int
@DelegatedFromTask
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_Tasks_AssignTaskRelatedItemToSuperiorItem
Create relation between Journal / Email / Document related to a task and the task's superior item.
Object ID: 432577175; Created: June 28, 2017, 22:40:27
Name
Type
Default
Comment
@TaskGUID
uniqueidentifier
GUID of the task.
@RelatedItemGUID
uniqueidentifier
GUID of the Journal / Email / Document.
@RelatedItemOT
int
ObjectTypeID of the Journal / Email / Document.
⇧ Stored Procedure dbo.eWaySP_Tasks_CalculateSuperiorTeamTaskCompletion
⇧ Stored Procedure dbo.eWaySP_Tasks_CreateTask
Object ID: 1728021933; Created: July 12, 2018, 20:23:43
Name
Type
Default
Comment
@pTaskFileAs
nvarchar (256)
@pTaskBody
nvarchar (1000)
@pDelegatorGUID
uniqueidentifier
@pSolverGUID
uniqueidentifier
@pParentGUID
uniqueidentifier
@pParentOT
tinyint
@pTopLevelItemGUID
uniqueidentifier
@pTopLevelItemOT
tinyint
@pSubTaskGUID
uniqueidentifier
@pComplete
bit
@pImportance
int
@pPercentComplete
decimal (5, 4)
@pDueDate
datetime
@pStartDate
datetime
@pRTFBody
ntext
@pStatus
uniqueidentifier
@pLevel
int
@pTeamTask
bit
@pTeamParentTask
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_Tasks_CreateTaskForTeamMember
Object ID: 1744021990; Created: July 12, 2018, 20:23:43
Name
Type
Default
Comment
@pTaskGUID
uniqueidentifier
@pUserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_Tasks_CreateTasksForAllTeamMembers
⇧ Stored Procedure dbo.eWaySP_Tasks_DistributeCompletion
⇧ Stored Procedure dbo.eWaySP_Tasks_FillActualWorkHoursField
Fills ActualWorkHours on Tasks according to related WorkReports duration.
⇧ Stored Procedure dbo.eWaySP_Tasks_FillActualWorkHoursField_JOB
Fills ActualWorkHours on all tasks according to related WorkReports duration.
⇧ Stored Procedure dbo.eWaySP_Tasks_RemoveSubTasks
⇧ Stored Procedure dbo.eWaySP_Tasks_RemoveUserFromTaskTeam
Object ID: 1593772735; Created: January 18, 2011, 16:32:21; Modified: March 06, 2013, 11:24:10
Name
Type
Default
Comment
@pTaskGUID
uniqueidentifier
@pUserGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_Tasks_UpdateFileAsAndLevelOnRelatedTasksByTaskParentRelation
Sets task FileAs on related tasks by TASKPARENT relation..
Object ID: 1044927540; Created: November 17, 2018, 07:52:27
Name
Type
Default
Comment
@TaskGUID
uniqueidentifier
Task unique identifier.
@LeadGUID
uniqueidentifier
Lead unique identifier.
@ProjectGUID
uniqueidentifier
Project unique identifier.
@MarketingGUID
uniqueidentifier
Marketing unique identifier.
⇧ Stored Procedure dbo.eWaySP_Tasks_UpdateSubTasks
Object ID: 1776022104; Created: July 12, 2018, 20:23:43
Name
Type
Default
Comment
@pSuperiorTaskGUID
uniqueidentifier
@pNewPercentComplete
decimal (5, 4)
@pNewDueDate
datetime
⇧ Stored Procedure dbo.eWaySP_Tasks_ValidateSubTask
⇧ Stored Procedure dbo.eWaySP_TransferUserAgenda
Transfers user's active agenda to another user. The procedure transfers companies, contacts, active projects with team roles, active leads, open tasks.
Object ID: 786791302; Created: September 24, 2021, 20:10:25
Name
Type
Default
Comment
@PreviousUser
nvarchar (100)
Username of the previous Agenda owner.
@NewUser
nvarchar (100)
Username of the new Agenda owner.
⇧ Stored Procedure dbo.eWaySP_TruncateItemChanges
Truncates EWD_ItemChanges table. Can be used to forces synchronization of folders on clients.
⇧ Stored Procedure dbo.eWaySP_UnlockUserAccount
⇧ Stored Procedure dbo.eWaySP_UpdateCartVATPrices
⇧ Stored Procedure dbo.eWaySP_UpdateDefaultValueForCurrencyColumnsBasedOnGlobalSettings
Updates DF for CurrencyEn like columns.
⇧ Stored Procedure dbo.eWaySP_UpdateFullNameRelatedFieldsValue
Object ID: 414129462; Created: January 30, 2020, 20:26:24
Name
Type
Default
Comment
@ItemGUID
uniqueidentifier
@FolderName
nvarchar (64)
⇧ Stored Procedure dbo.eWaySP_UpdateSession
Object ID: 1654270390; Created: September 24, 2021, 20:10:15
Name
Type
Default
Comment
@SID
uniqueidentifier
@LastActivity
datetimeoffset
⇧ Stored Procedure dbo.eWaySP_UpdateWorkReportsByCoutryOfUser
Update WorkReports day type by coutry of user.
⇧ Stored Procedure dbo.eWaySP_Users_CountRemainingDaysOfHoliday
Object ID: 1230744283; Created: July 10, 2019, 21:34:05
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
@VacationGUID
uniqueidentifier
⇧ Stored Procedure dbo.eWaySP_UserSettings_CheckGridUserViewsOrder
Checks and fixes order of user grid views if needed.
Object ID: 1049900399; Created: August 24, 2022, 20:47:59
Name
Type
Default
Comment
@Path
nvarchar (256)
User settings path.
@OwnerGUID
uniqueidentifier
User setting owner unique identifier.
⇧ Stored Procedure dbo.eWaySP_Vacation_SetDuration
Sets duration on Vacation.
Object ID: 1150691943; Created: January 25, 2019, 20:58:59
Name
Type
Default
Comment
@VacationGUID
uniqueidentifier
@UserGUID
uniqueidentifier
Identifier of the User.
⇧ Stored Procedure dbo.eWaySP_WorkFlow_RemoveEnumValue
⇧ Stored Procedure dbo.eWaySP_WorkFlow_RemoveModel
⇧ Stored Procedure dbo.eWaySP_WorkReports_CalculateDuration
Fills the duration if it does not fit the dates.
⇧ Stored Procedure dbo.eWaySP_WorkReports_CalculatePeopleExpenses
⇧ Stored Procedure dbo.eWaySP_WorkReports_CalculateRate
Calculate rates and prices on work report. For fix rate recalculate rates and prices on related work reports too.
Object ID: 1983710515; Created: September 17, 2015, 22:07:13
Name
Type
Default
Comment
@WorkReportGUID
uniqueidentifier
Guid of work report.
@WorkReportDate
datetime
Date of work report.
⇧ Stored Procedure dbo.eWaySP_WorkReports_CalculateYearAndMonth
Sets Year and Month columns if they are not specified.
⇧ Stored Procedure dbo.FK_Generator
Object ID: 1558270048; Created: September 24, 2021, 20:10:14
Name
Type
Default
Comment
@Action
char (6)
@Script
nvarchar (max)
@ReferencedTable
nvarchar (128)
⇧ Stored Procedure dbo.Migrace_CreateRelation
Object ID: 820197972; Created: July 21, 2008, 17:25:06; Modified: March 06, 2013, 11:24:09
Name
Type
Default
Comment
@ItemGUID1
uniqueidentifier
@ItemGUID2
uniqueidentifier
@ItemType1
tinyint
@ItemType2
tinyint
@RelationType
nvarchar (256)
@DirectionDiffer
bit
@OwnerGUID
uniqueidentifier
⇧ Stored Procedure dbo.Migrace_SetExtendedDescription
Object ID: 2036202304; Created: August 11, 2008, 17:23:48; Modified: August 12, 2008, 15:08:01
Name
Type
Default
Comment
@ObjectName
nvarchar (128)
@ColumnName
nvarchar (128)
@Description
sql_variant
@ObjectType
varchar (128)
⇧ Scalar-Valued Function dbo.AddDefaultTimeZoneOffset
Adds default time zone offset to a DATETIMEOFFSET.
Object ID: 1590270162; Created: September 24, 2021, 20:10:14
Name
Type
Default
Comment
datetimeoffset
@DateTimeWithoutOffset
datetimeoffset
DateTime without offset.
⇧ Scalar-Valued Function dbo.AddEmailIntoCommaSeparatedEmailList
Object ID: 1724897562; Created: June 07, 2015, 16:36:30
Name
Type
Default
Comment
nvarchar (max)
@stringEmails
nvarchar (max)
@email
nvarchar (256)
⇧ Scalar-Valued Function dbo.AddServerTimeZoneOffset
Adds server's time zone offset to a DATETIMEOFFSET.
Object ID: 1670270447; Created: September 24, 2021, 20:10:15
Name
Type
Default
Comment
datetimeoffset
@DateTimeWithoutOffset
datetimeoffset
DateTime without offset.
⇧ Scalar-Valued Function dbo.AddWorkDays
Object ID: 353240859; Created: February 28, 2017, 22:19:16
Name
Type
Default
Comment
datetime
@FromDate
datetime
@DaysToAdd
int
⇧ Scalar-Valued Function dbo.AnyOneToManyRelationExists
Indicates whether any 1:N relation between two items exists.
Object ID: 396046134; Created: January 19, 2023, 10:08:42
Name
Type
Default
Comment
bit
@ItemGUID1
uniqueidentifier
GUID of the first item.
@ItemGUID2
uniqueidentifier
GUID of the second item.
⇧ Scalar-Valued Function dbo.CalculateAge
Object ID: 1732917245; Created: November 26, 2012, 13:00:56
Name
Type
Default
Comment
int
@Birthdate
datetime
⇧ Scalar-Valued Function dbo.CalculateCartPriceTotal
Calculates cart price total with VAT.
Object ID: 219772486; Created: January 04, 2018, 22:40:51
Name
Type
Default
Comment
decimal (18, 3)
@CartGUID
uniqueidentifier
Cart GUID.
⇧ Scalar-Valued Function dbo.CalculateCartPriceTotalExcludingVAT
Calculates cart price total without VAT.
Object ID: 155772258; Created: January 04, 2018, 22:40:50
Name
Type
Default
Comment
decimal (18, 3)
@CartGUID
uniqueidentifier
Cart GUID.
⇧ Scalar-Valued Function dbo.CompareNames
Object ID: 818817979; Created: November 26, 2012, 12:41:34; Modified: March 06, 2013, 11:24:09
Name
Type
Default
Comment
bit
@name1
nvarchar (256)
@name2
nvarchar (256)
⇧ Scalar-Valued Function dbo.CompareVersions
Object ID: 1687246803; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
int
@Version1
nvarchar (256)
@Version2
nvarchar (256)
⇧ Scalar-Valued Function dbo.ComputeEmailHash
Object ID: 275584120; Created: October 03, 2013, 21:41:37
Name
Type
Default
Comment
char (32)
@ItemGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.ConcateEmailAddresses
Object ID: 1796461724; Created: December 10, 2014, 15:07:22
Name
Type
Default
Comment
nvarchar (max)
@EmailAdresses1
nvarchar (max)
@EmailAdresses2
nvarchar (max)
@Separator
nvarchar (2)
⇧ Scalar-Valued Function dbo.Concatenate5Values
Get string from items separated with given delimiter.
Object ID: 2042138716; Created: August 25, 2015, 14:54:51
Name
Type
Default
Comment
nvarchar (2330)
@Delimiter
nvarchar (20)
@Argument1
sql_variant
Item to concatenate.
@Argument2
sql_variant
Item to concatenate.
@Argument3
sql_variant
Item to concatenate.
@Argument4
sql_variant
Item to concatenate.
@Argument5
sql_variant
Item to concatenate.
⇧ Scalar-Valued Function dbo.ConvertCurrency
Object ID: 737138117; Created: January 17, 2016, 14:52:56
Name
Type
Default
Comment
float (53, 0)
@InputCurrency
uniqueidentifier
@OutputCurrency
uniqueidentifier
@Date
datetime
@Price
float (53, 0)
⇧ Scalar-Valued Function dbo.ConvertCurrencyOrReturnNull
Object ID: 1540005063; Created: December 02, 2016, 22:21:20
Name
Type
Default
Comment
float (53, 0)
@InputCurrency
uniqueidentifier
@OutputCurrency
uniqueidentifier
@Date
datetime
@Price
float (53, 0)
⇧ Scalar-Valued Function dbo.ConvertCurrencyOrReturnZero
Object ID: 1588005234; Created: December 02, 2016, 22:21:21
Name
Type
Default
Comment
float (53, 0)
@InputCurrency
uniqueidentifier
@OutputCurrency
uniqueidentifier
@Date
datetime
@Price
float (53, 0)
⇧ Scalar-Valued Function dbo.ConvertDateTimeToUniversalSortableFormat
Object ID: 1265491637; Created: September 04, 2013, 21:57:10
Name
Type
Default
Comment
char (20)
@DateTime
datetime
⇧ Scalar-Valued Function dbo.ConvertMarkdownToHtml
Converts markdown to HTML.
Object ID: 1783247145; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
nvarchar (max)
@Input
nvarchar (max)
Markdown text.
⇧ Scalar-Valued Function dbo.ConvertTimeByServerTimeZoneId
Converts a time to the time in SQL server's time zone.
Object ID: 1863247430; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
datetimeoffset
@DateTimeOffset
datetimeoffset
Date time offset.
⇧ Scalar-Valued Function dbo.ConvertTimeBySystemTimeZoneId
Converts a time to the time in another time zone based on a time zone identifier.
Object ID: 1847247373; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
datetimeoffset
@DateTimeOffset
datetimeoffset
Date time offset.
@DestinationTimeZoneId
nvarchar (256)
The identifier of the destination time zone.
⇧ Scalar-Valued Function dbo.ConvertToDefaultCurrency
Object ID: 1470068423; Created: March 04, 2014, 21:38:21
Name
Type
Default
Comment
float (53, 0)
@InputCurrency
uniqueidentifier
@Date
datetime
@Price
float (53, 0)
⇧ Scalar-Valued Function dbo.ConvertToEnglishTitleCase
Object ID: 1703246860; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
nvarchar (max)
@Input
nvarchar (max)
⇧ Scalar-Valued Function dbo.ConvertToLocalDateTime
Converts DateTimeOffset to local date time.
Object ID: 1831247316; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
datetime
@DateTimeOffset
datetimeoffset
Date time offset.
⇧ Scalar-Valued Function dbo.CreateLink
Object ID: 1105764088; Created: December 14, 2020, 20:26:41
Name
Type
Default
Comment
nvarchar (max)
@ItemGUID
uniqueidentifier
@ItemFolderName
nvarchar (50)
@LinkText
nvarchar (4000)
⇧ Scalar-Valued Function dbo.CreateMarkdownHyperlinks
Converts bare hyperlinks to markdown hyperlinks.
Object ID: 1799247202; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
nvarchar (max)
@Input
nvarchar (max)
Text to be converted.
⇧ Scalar-Valued Function dbo.CreateTeamTaskFileAs
Object ID: 1369771937; Created: January 18, 2011, 16:29:10
Name
Type
Default
Comment
nvarchar (max)
@TaskFileAs
nvarchar (256)
@DelegatorFileAs
nvarchar (256)
@Language
nvarchar (2)
⇧ Scalar-Valued Function dbo.DateDiffHumanReadable
Generates a human readable difference between two dates, in the form '1y 5d 3h 2m 6s 10ms'
Object ID: 1112703362; Created: March 30, 2015, 21:29:50
Name
Type
Default
Comment
varchar (64)
@DateStart
datetime
Start date.
@DateEnd
datetime
End date.
@Precision
varchar (2)
Precision can be one of y, d, h, m, s, ms.
⇧ Scalar-Valued Function dbo.DecodeFromBase64
Decode text from base64.
Object ID: 589934615; Created: November 01, 2021, 11:59:54
Name
Type
Default
Comment
varchar (max)
@InputTextInBase64
varchar (max)
Text in base64 that will be decoded.
⇧ Scalar-Valued Function dbo.EncodeToBase64
Encode text to base64.
Object ID: 573934558; Created: November 01, 2021, 11:59:54
Name
Type
Default
Comment
varchar (max)
@InputText
varchar (max)
Text to encode to base64.
⇧ Scalar-Valued Function dbo.EscapeString
Object ID: 1670297010; Created: November 26, 2012, 12:41:24
Name
Type
Default
Comment
nvarchar (max)
@Text
nvarchar (max)
⇧ Scalar-Valued Function dbo.eWaySVF_ApplyColumnPermissions
Object ID: 1008722646; Created: April 24, 2009, 16:47:20; Modified: March 06, 2013, 11:24:09
Name
Type
Default
Comment
bit
@columnName
nvarchar (255)
@folderName
nvarchar (50)
@ownerGUID
uniqueidentifier
@userID
uniqueidentifier
⇧ Scalar-Valued Function dbo.F_GetDateFromWeek
Object ID: 1236199454; Created: August 01, 2008, 10:57:05; Modified: August 01, 2008, 12:54:52
Name
Type
Default
Comment
smalldatetime
@week
int
⇧ Scalar-Valued Function dbo.FormatDateTime
Object ID: 1639246632; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
nvarchar (max)
@Datetime
datetime
@FormatString
nvarchar (max)
⇧ Scalar-Valued Function dbo.GeneralRelationExists
Indicates whether GENERAL relation between two items exists.
Object ID: 380046077; Created: January 19, 2023, 10:08:42
Name
Type
Default
Comment
bit
@ItemGUID1
uniqueidentifier
GUID of the first item.
@ItemGUID2
uniqueidentifier
GUID of the second item.
⇧ Scalar-Valued Function dbo.GeneratePassword
Generates random password.
Object ID: 1093279350; Created: October 12, 2015, 22:10:34
Name
Type
Default
Comment
varchar (256)
@PasswordLength
int
Length of the password.
⇧ Scalar-Valued Function dbo.GetActiveUserEmail
Get email address of active user.
Object ID: 953900057; Created: August 24, 2022, 20:47:58
Name
Type
Default
Comment
nvarchar (256)
@UserGUID
uniqueidentifier
Identifier of the user.
⇧ Scalar-Valued Function dbo.GetAdditionalFieldByName
Object ID: 1252459786; Created: December 10, 2014, 15:07:20
Name
Type
Default
Comment
varchar (8)
@FieldName
nvarchar (256)
@FolderName
nvarchar (50)
⇧ Scalar-Valued Function dbo.GetAdditionalFieldFromGlobalSettings
Object ID: 1364460185; Created: December 10, 2014, 15:07:21
Name
Type
Default
Comment
varchar (8)
@FolderName
nvarchar (256)
@GlobalSettingsName
nvarchar (256)
@GlobalSettingsCategoryName
nvarchar (256)
⇧ Scalar-Valued Function dbo.GetAdditionalFieldsMaxServerItemChanged
Selects the newest additional field's server_itemchanged inform the wcf cache whether to refresh.
⇧ Scalar-Valued Function dbo.GetAdministratorGUID
⇧ Table-Valued Function dbo.GetAllWorkflowStatesWithName
Gets all status identifiers for specified type enum.
Object ID: 1301097363; Created: January 26, 2023, 20:17:44
Name
Type
Default
Comment
@EnumName
nvarchar (256)
Name of the enum for item's type (eg. LeadType).
@StateFileAs
nvarchar (256)
FileAs of the statuses.
⇧ Table-Valued Function dbo.GetAssociatedAdditionalFields
Returns table of associated additional fields for the two given folders.
Object ID: 641137775; Created: January 17, 2016, 14:52:55
Name
Type
Default
Comment
@SourceObjectTypeID
int
Object type of the source folder.
@TargetObjectTypeID
int
Object type of the target folder.
⇧ Scalar-Valued Function dbo.GetClientType
Gets ClientType based on ClientVersion.
Object ID: 846807716; Created: November 24, 2022, 20:15:13
Name
Type
Default
Comment
tinyint
@ClientVersion
nvarchar (50)
Client version.
⇧ Table-Valued Function dbo.GetColumnNamesIgnoredByChangeValueLogingHistoryMechanism
Returns table of ignored fields during item fields value changes into history.
⇧ Scalar-Valued Function dbo.GetColumnPermissionMandatoryName
Gets column permission mandatory text name.
Object ID: 530790390; Created: September 24, 2021, 20:10:23
Name
Type
Default
Comment
nvarchar (128)
@Mandatory
tinyint
Mandatory of the column permission.
⇧ Scalar-Valued Function dbo.GetColumnPermissionTypeName
Gets column permission type text name.
Object ID: 514790333; Created: September 24, 2021, 20:10:23
Name
Type
Default
Comment
nvarchar (128)
@Type
tinyint
Type of the column permission.
⇧ Scalar-Valued Function dbo.GetConcatenatedEnumValuesRelationsValues
For the particular item and field, loads all the assigned multi-combo values and concatenates them into ona scalar string. Usage exmample: "SELECT TOP 100 L.[FileAs], [dbo].[GetConcatenatedEnumValuesRelationsValues](L.[ItemGUID], '_af_1273', 'en') from EWD_Leads L".
Object ID: 1711670237; Created: November 17, 2020, 20:27:45
Name
Type
Default
Comment
nvarchar (max)
@ItemGUID
uniqueidentifier
The related item guid. Points to any module you like.
@FieldName
nvarchar (256)
Name of the field. Ex.: '_af_1273'.
@Column
nvarchar (256)
Language or other column to pick for the concatenations. Options: en, cs, sk, ru, de, no, ItemGUID, Rank, FileAs.
⇧ Scalar-Valued Function dbo.GetContactCompaniesList
Object ID: 1469964313; Created: March 14, 2013, 10:05:47
Name
Type
Default
Comment
nvarchar (max)
@ContactGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetContactMail
Object ID: 809769942; Created: July 12, 2010, 15:16:09; Modified: March 06, 2013, 11:24:09
Name
Type
Default
Comment
nvarchar (256)
@ContactGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetContactPhoneNumber
Get Contact phone number in the same way as eWay GUI.
Object ID: 1468896650; Created: June 07, 2015, 16:36:26
Name
Type
Default
Comment
nvarchar (256)
@ContactGUID
uniqueidentifier
ParameterDescription
⇧ Scalar-Valued Function dbo.GetCorpusChristi
Object ID: 116455739; Created: December 10, 2014, 15:07:15
Name
Type
Default
Comment
smalldatetime
@Year
int
⇧ Table-Valued Function dbo.GetCustomizationStats
Gets the statistics of various system customizations (number of types, workflows, custom fields, etc.).
⇧ Scalar-Valued Function dbo.GetDatabaseSize
Gets database size.
⇧ Scalar-Valued Function dbo.GetDateAndTimeInNVarchar
Object ID: 783914460; Created: September 28, 2017, 22:52:48
Name
Type
Default
Comment
nvarchar (256)
@DateTime
datetime
⇧ Scalar-Valued Function dbo.GetDateInNVarchar
Object ID: 1218285037; Created: November 21, 2022, 20:30:56
Name
Type
Default
Comment
nvarchar (256)
@DateTime
datetime
⇧ Scalar-Valued Function dbo.GetDatesDifferenceInBussinesHours
Get difference between two dates as business hours sum in this interval.
Object ID: 1744425684; Created: November 10, 2015, 22:13:27
Name
Type
Default
Comment
decimal (18, 2)
@From
datetime
From this date with time count bussiness fours.
@To
datetime
To this date with time count bussiness fours.
@UserGUID
uniqueidentifier
Guid of user - vacation is taked into account.
⇧ Scalar-Valued Function dbo.GetDefaultBackupDirectory
⇧ Scalar-Valued Function dbo.GetDefaultCurrencyIdentifier
⇧ Scalar-Valued Function dbo.GetDefaultLanguage
Get default language of eway.
⇧ Scalar-Valued Function dbo.GetDefaultLanguageEnumValue
Get enum translation in default language.
Object ID: 47299924; Created: May 18, 2018, 20:38:09
Name
Type
Default
Comment
nvarchar (256)
@ItemGUID
uniqueidentifier
ItemGUID from dbo.EWD_EnumValues.
⇧ Table-Valued Function dbo.GetDefaultRate
Object ID: 1556005120; Created: December 02, 2016, 22:21:21
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
@Date
datetime
⇧ Scalar-Valued Function dbo.GetDelay
Object ID: 592721164; Created: September 03, 2008, 19:26:33; Modified: March 06, 2013, 11:24:09
Name
Type
Default
Comment
int
@ProjectGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetDurationInHours
Object ID: 1812917530; Created: November 26, 2012, 13:00:57
Name
Type
Default
Comment
decimal (18, 2)
@StartDate
datetime
@EndDate
datetime
⇧ Scalar-Valued Function dbo.GetEasterFriday
Object ID: 100455682; Created: December 10, 2014, 15:07:15
Name
Type
Default
Comment
smalldatetime
@Year
int
⇧ Scalar-Valued Function dbo.GetEasterMonday
Object ID: 1914007587; Created: April 17, 2023, 20:17:24
Name
Type
Default
Comment
date
@Year
int
⇧ Scalar-Valued Function dbo.GetEditionRank
Gets edition rank for sort.
Object ID: 825899601; Created: August 24, 2022, 20:47:57
Name
Type
Default
Comment
int
@Edition
varchar (20)
Edition name.
⇧ Scalar-Valued Function dbo.GetEmailsFromGroup
Get emails of active users in group from group GUID.
Object ID: 370789820; Created: September 24, 2021, 20:10:22
Name
Type
Default
Comment
nvarchar (max)
@GroupGUID
uniqueidentifier
Identifier of the group.
⇧ Scalar-Valued Function dbo.GetEmailsFromGroupByName
Gets email addresses of all active users in specified group.
Object ID: 1510269877; Created: September 24, 2021, 20:10:12
Name
Type
Default
Comment
nvarchar (max)
@GroupName
nvarchar (256)
Name of the group.
⇧ Scalar-Valued Function dbo.GetEmptyGUID
Gets empty unique identifier.
⇧ Scalar-Valued Function dbo.GetEnumGUID
Object ID: 388456708; Created: December 10, 2014, 15:07:18
Name
Type
Default
Comment
uniqueidentifier
@EnumTypeName
nvarchar (50)
@EnumValueName
nvarchar (50)
⇧ Scalar-Valued Function dbo.GetEnumTypeFromEnumValueGUID
Object ID: 1050512313; Created: March 29, 2022, 20:10:50
Name
Type
Default
Comment
uniqueidentifier
@ItemGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetEnumTypeFromModelsByParentTypeGUID
Object ID: 1066512370; Created: March 29, 2022, 20:10:50
Name
Type
Default
Comment
uniqueidentifier
@ItemGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetEnumTypeName
Gets EnumType EnumName by specified EnumValue ItemGUID
Object ID: 136699885; Created: March 24, 2015, 21:32:26
Name
Type
Default
Comment
nvarchar (50)
@EnumValueGUID
uniqueidentifier
EnumValue item unique identifier
⇧ Scalar-Valued Function dbo.GetExchangeRate
Object ID: 132455796; Created: December 10, 2014, 15:07:15
Name
Type
Default
Comment
float (53, 0)
@InputCurrency
uniqueidentifier
@OutputCurrency
uniqueidentifier
@Date
datetime
⇧ Table-Valued Function dbo.GetExchangeRatesDefaultCurrencyColumnsTable
⇧ Table-Valued Function dbo.GetExchangeRatesParentRelationTypesTable
⇧ Scalar-Valued Function dbo.GetExtendedPropertyValue
Object ID: 1860461952; Created: December 10, 2014, 15:07:22
Name
Type
Default
Comment
sql_variant
@ExtededPropertyName
varchar (256)
⇧ Scalar-Valued Function dbo.GetFinDirEmails
⇧ Scalar-Valued Function dbo.GetFirstDayOfMonth
Get first day of month from date given by parameter.
Object ID: 149887901; Created: January 29, 2015, 21:58:16
Name
Type
Default
Comment
datetime
@Date
datetime
Some day of desired month.
⇧ Table-Valued Function dbo.GetFolderNameToFeaturesMappingTable
⇧ Scalar-Valued Function dbo.GetFullName
Object ID: 1694797991; Created: November 08, 2019, 20:51:04
Name
Type
Default
Comment
nvarchar (1280)
@LastName
nvarchar (256)
@FirstName
nvarchar (256)
@MiddleName
nvarchar (256)
@Prefix
nvarchar (256)
@Suffix
nvarchar (256)
⇧ Scalar-Valued Function dbo.GetGlobalSettingValue
Gets GlobalSetting value.
Object ID: 1134691886; Created: January 25, 2019, 20:58:58
Name
Type
Default
Comment
nvarchar (max)
@SettingsName
nvarchar (256)
Internal name of the GlobalSetting.
@SettingsCategoryName
nvarchar (256)
Not used anymore. Use NULL.
@DefaultValue
nvarchar (max)
Default value returned when the setting does not have any value defined.
⇧ Scalar-Valued Function dbo.GetGlobalSettingValueOrNull
Object ID: 1102691772; Created: January 25, 2019, 20:58:58
Name
Type
Default
Comment
nvarchar (max)
@SettingsName
nvarchar (256)
⇧ Table-Valued Function dbo.GetGoodsDiscounts
Object ID: 1716526240; Created: October 05, 2020, 12:08:08
Name
Type
Default
Comment
@CompanyGUID
uniqueidentifier
@GoodsGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetHourlyRate
Object ID: 1518068594; Created: March 04, 2014, 21:38:22
Name
Type
Default
Comment
int
@UserGUID
uniqueidentifier
@Date
datetime
⇧ Table-Valued Function dbo.GetHourlyRateAndHourlyRateDefaultCurrency
Object ID: 2015554464; Created: May 26, 2014, 12:27:18
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
@Date
datetime
⇧ Table-Valued Function dbo.GetIndexesOnColumn
Gets indexes referenced by specified column.
Object ID: 2066783116; Created: May 18, 2018, 20:38:06
Name
Type
Default
Comment
@TableName
nvarchar (256)
Name of the table.
@ColumnName
nvarchar (256)
Name of the column.
⇧ Table-Valued Function dbo.GetInternalProjects
⇧ Scalar-Valued Function dbo.GetJournalFirstAcceptableDate
Gets the value represents first date that is acceptable by journal lock logic
⇧ Table-Valued Function dbo.GetLanguages
Get all languages supported in eWay.
⇧ Scalar-Valued Function dbo.GetLastDayOfMonth
Get last day of month from date given by parameter.
Object ID: 165887958; Created: January 29, 2015, 21:58:16
Name
Type
Default
Comment
datetime
@Date
datetime
Some day of desired month.
⇧ Scalar-Valued Function dbo.GetLeadContactPerson
Object ID: 792858387; Created: October 17, 2016, 12:50:55
Name
Type
Default
Comment
nvarchar (max)
@ItemGUID
uniqueidentifier
@ReturnAsLink
bit
⇧ Scalar-Valued Function dbo.GetLeadCustomer
Object ID: 808858444; Created: October 17, 2016, 12:50:55
Name
Type
Default
Comment
nvarchar (max)
@ItemGUID
uniqueidentifier
@ReturnAsLink
bit
⇧ Table-Valued Function dbo.GetLeadModuleCommonRelationsForCopying
Object ID: 34840678; Created: February 07, 2022, 21:05:57
Name
Type
Default
Comment
@SourceItemGUID
uniqueidentifier
@TargetItemGUID
uniqueidentifier
@TargetObjectTypeID
tinyint
⇧ Scalar-Valued Function dbo.GetLink
Gets hyperlink to item detail in new format.
Object ID: 1815247259; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
nvarchar (max)
@FolderName
nvarchar (50)
Folder name.
@ItemGUID
uniqueidentifier
Item identifier. Can be NULL.
@FileAs
nvarchar (1280)
Item title. Can be NULL.
⇧ Scalar-Valued Function dbo.GetLocalizedEnumValueStringByLanguage
Gets localized enumeration value by given language code.
Object ID: 1968022788; Created: July 12, 2018, 20:23:46
Name
Type
Default
Comment
nvarchar (256)
@EnumValueItemGUID
uniqueidentifier
FileAs of localized string.
@LanguageCode
varchar (2)
Language to localize enumeration value.
⇧ Scalar-Valued Function dbo.GetLocalizedString
Get localized string.
Object ID: 1376424373; Created: November 10, 2015, 22:13:23
Name
Type
Default
Comment
nvarchar (256)
@FileAs
nvarchar (256)
FileAs of localized string.
⇧ Scalar-Valued Function dbo.GetLocalizedStringByLanguage
Get localized string by given language code.
Object ID: 1952022731; Created: July 12, 2018, 20:23:46
Name
Type
Default
Comment
nvarchar (256)
@Language
varchar (6)
Language to localize string.
@FileAs
nvarchar (256)
FileAs of localized string.
⇧ Scalar-Valued Function dbo.GetMD5
Object ID: 1233491523; Created: September 04, 2013, 21:57:10
Name
Type
Default
Comment
char (32)
@Input
nvarchar (max)
⇧ Scalar-Valued Function dbo.GetMD5NonUnicode
Encrypts non-unicode string using MD5.
Object ID: 1166744055; Created: July 10, 2019, 21:34:04
Name
Type
Default
Comment
char (32)
@Input
varchar (max)
Non-unicode string.
⇧ Scalar-Valued Function dbo.GetMeetingResponseRelationType
Object ID: 1286295642; Created: September 13, 2011, 17:33:10; Modified: March 06, 2013, 11:24:10
Name
Type
Default
Comment
nvarchar (50)
@UserItemGUID
uniqueidentifier
@CalendarItemGUID
uniqueidentifier
⇧ Table-Valued Function dbo.GetMonthlyTotals
Object ID: 1134743941; Created: July 10, 2019, 21:34:04
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
@Year
int
@Month
tinyint
⇧ Scalar-Valued Function dbo.GetNextWorkDay
Object ID: 2075063074; Created: November 16, 2017, 09:11:47
Name
Type
Default
Comment
datetime
@time
datetime
⇧ Scalar-Valued Function dbo.GetNormalizedPhoneNumber
Returns normalized phone number in the same way as eWay GUI.
Object ID: 277328498; Created: April 04, 2016, 22:11:55
Name
Type
Default
Comment
varchar (256)
@PhoneNumber
nvarchar (256)
Phone number
@IgnorePlusSign
bit
⇧ Scalar-Valued Function dbo.GetNumberOfColumnsOnIndex
Gets number of columns associated with specified index.
Object ID: 2082783173; Created: May 18, 2018, 20:38:07
Name
Type
Default
Comment
int
@IndexName
varchar (256)
Name of the index.
@CountIncludedColumns
bit
Add also included columns.
⇧ Scalar-Valued Function dbo.GetNumberOfWorkDays
Object ID: 1118691829; Created: January 25, 2019, 20:58:58
Name
Type
Default
Comment
decimal (18, 3)
@CountryEn
uniqueidentifier
@StartDate
datetime
@EndDate
datetime
⇧ Scalar-Valued Function dbo.GetObjectTypeID
Object ID: 1204459615; Created: December 10, 2014, 15:07:20
Name
Type
Default
Comment
int
@FolderName
varchar (50)
⇧ Scalar-Valued Function dbo.GetParentCurrencyOfCart
Object ID: 1630068993; Created: March 04, 2014, 21:38:23
Name
Type
Default
Comment
uniqueidentifier
@CartGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetParentCurrencyOfGoodsInCart
Object ID: 601898803; Created: August 24, 2022, 20:47:54
Name
Type
Default
Comment
uniqueidentifier
@GoodsInCartGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetParentCurrencyOfPayments
Object ID: 2073370751; Created: January 29, 2015, 21:58:14
Name
Type
Default
Comment
uniqueidentifier
@PaymentsGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetParentCurrencyOfWorkReport
Object ID: 1316524815; Created: October 05, 2020, 12:08:02
Name
Type
Default
Comment
uniqueidentifier
@WorkReportGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetPeriod
Object ID: 789577851; Created: May 18, 2008, 17:47:36
Name
Type
Default
Comment
int
@RelDate
smalldatetime
⇧ Table-Valued Function dbo.GetPhoneNumberColumnsTable
Returns table with phone number columns including normalized phone number columns.
⇧ Scalar-Valued Function dbo.GetPohodaDefaultCurrencyCode
⇧ Scalar-Valued Function dbo.GetPohodaInvoiceTypeID
Get Pohoda invoice type ID from eWay cart type fileas.
Object ID: 2127711028; Created: September 17, 2015, 22:07:14
Name
Type
Default
Comment
int
@CartTypeFileAs
nvarchar (256)
eWay cart type fileas.
⇧ Scalar-Valued Function dbo.GetPohodaLanguageCode
Get language code from internal Pohoda database table.
⇧ Scalar-Valued Function dbo.GetPreviousBusinessDay
⇧ Scalar-Valued Function dbo.GetProjectLeadEmailSubject
Get normalized email subject leading for differents email notifications.
Object ID: 1096703305; Created: March 30, 2015, 21:29:50
Name
Type
Default
Comment
nvarchar (256)
@SuperiorFileAs
nvarchar (256)
FileAs of lead or project.
@SuperiorHID
int
HID of lead or project.
@CustomerFileAs
nvarchar (256)
FileAs of customer.
⇧ Scalar-Valued Function dbo.GetProjectManagerEmail
Get email of active project manager in project given by GUID.
Object ID: 354789763; Created: September 24, 2021, 20:10:22
Name
Type
Default
Comment
nvarchar (256)
@ProjectGUID
uniqueidentifier
Identifier of the project.
⇧ Scalar-Valued Function dbo.GetProjectTeamEmails
Object ID: 396072697; Created: May 26, 2014, 12:27:22
Name
Type
Default
Comment
nvarchar (max)
@ProjectGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetRandomTime
Object ID: 332684383; Created: March 26, 2014, 09:43:08
Name
Type
Default
Comment
varchar (16)
@MinTime
varchar (8)
@MaxTime
varchar (8)
⇧ Scalar-Valued Function dbo.GetRecipientsFromUserGroup
Object ID: 1622296839; Created: November 26, 2012, 12:41:20; Modified: March 06, 2013, 11:24:10
Name
Type
Default
Comment
nvarchar (max)
@GroupName
nvarchar (256)
⇧ Scalar-Valued Function dbo.GetRecurringTaskNewOccurenceDate
Object ID: 1038691544; Created: January 25, 2019, 20:58:57
Name
Type
Default
Comment
datetime
@TaskGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetRelationTypeID
Gets RelationType ID.
Object ID: 1894271245; Created: September 24, 2021, 20:10:16
Name
Type
Default
Comment
smallint
@RelationType
varchar (30)
Relation type.
⇧ Table-Valued Function dbo.GetSalary
Object ID: 197888072; Created: January 29, 2015, 21:58:16
Name
Type
Default
Comment
@UserGUID
uniqueidentifier
@Date
datetime
@WorkReportEn
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetSalary_Old
Object ID: 84195350; Created: July 11, 2008, 14:32:20; Modified: March 06, 2013, 11:24:09
Name
Type
Default
Comment
float (53, 0)
@UserGUID
uniqueidentifier
@Date
datetime
@RateType
int
⇧ Scalar-Valued Function dbo.GetShortDate
Object ID: 1342067967; Created: March 04, 2014, 21:38:20
Name
Type
Default
Comment
datetime
@Date
datetime
⇧ Scalar-Valued Function dbo.GetTableColumnList
Gets list of columns in table (without computed columns).
Object ID: 1574361469; Created: March 29, 2019, 20:43:18
Name
Type
Default
Comment
nvarchar (max)
@TableName
nvarchar (64)
Name of the table.
@NotLikeFilter
nvarchar (64)
Expression to filter some columns.
@Prefix
nvarchar (64)
Prefix for the column names.
⇧ Scalar-Valued Function dbo.GetTeamTaskSolversHTMLList
Object ID: 1353771880; Created: January 18, 2011, 16:29:03; Modified: March 06, 2013, 11:24:10
Name
Type
Default
Comment
nvarchar (max)
@pParentTaskGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetTimeInNVarchar
Object ID: 1492460641; Created: December 10, 2014, 15:07:21
Name
Type
Default
Comment
nvarchar (256)
@DateTime
datetime
⇧ Scalar-Valued Function dbo.GetUserEmail
Object ID: 1760425741; Created: November 10, 2015, 22:13:27
Name
Type
Default
Comment
nvarchar (256)
@UserGUID
uniqueidentifier
⇧ Table-Valued Function dbo.GetUsersFromGroups
Get users GUIDs and emails from list of groups separated by semicolon.
⇧ Scalar-Valued Function dbo.GetUserTeamRoles
Object ID: 1270295585; Created: September 13, 2011, 17:33:10; Modified: March 06, 2013, 11:24:10
Name
Type
Default
Comment
nvarchar (max)
@UserItemGUID
uniqueidentifier
@ProjectItemGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetUTC
Object ID: 1249491580; Created: September 04, 2013, 21:57:10
Name
Type
Default
Comment
datetime
@DateTime
datetime
⇧ Scalar-Valued Function dbo.GetWebServiceSetting
Object ID: 1591246461; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
nvarchar (max)
@SettingName
nvarchar (max)
⇧ Scalar-Valued Function dbo.GetWeek
Gets the year and the week number. WARNING! This procedure does not return the week number according the ISO standard.
Object ID: 1481524807; Created: June 23, 2016, 22:18:42
Name
Type
Default
Comment
varchar (10)
@RelDate
smalldatetime
⇧ Table-Valued Function dbo.GetWorkflowActionInfo
Function helps find out in what workflow is action used.
⇧ Scalar-Valued Function dbo.GetWorkflowStateGuid
Object ID: 1628897220; Created: June 07, 2015, 16:36:28
Name
Type
Default
Comment
uniqueidentifier
@StateFileAs
nvarchar (256)
@ParentTypeGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetWorkflowStateGuidByGlobalSettingsName
Object ID: 332072469; Created: May 26, 2014, 12:27:22
Name
Type
Default
Comment
uniqueidentifier
@GlobalSettingsName
nvarchar (256)
@ItemTypeGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.GetWorkingDaysDifference
Get dates difference in working days.
Object ID: 1604565150; Created: July 27, 2015, 12:43:11
Name
Type
Default
Comment
int
@StartDate
datetime
First date for computation FirstDate - SecondDate = result
@EndDate
datetime
Second date for computation FirstDate - SecondDate = result
@UserGUID
uniqueidentifier
GUID of user, that is checked for vacation and legal holidays.
⇧ Scalar-Valued Function dbo.HtmlDecode
Decodes HTML entities.
Object ID: 1607246518; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
nvarchar (max)
@Text
nvarchar (max)
Text to decode.
⇧ Scalar-Valued Function dbo.HtmlEncode
Encodes text to HTML entities.
Object ID: 1623246575; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
nvarchar (max)
@Text
nvarchar (max)
Text to encode.
⇧ Scalar-Valued Function dbo.IsColumnEditable
Object ID: 561437074; Created: February 22, 2013, 08:32:02; Modified: March 06, 2013, 11:24:09
Name
Type
Default
Comment
bit
@ColumnName
nvarchar (255)
@FolderName
nvarchar (50)
⇧ Scalar-Valued Function dbo.IsDateWeekend
Indicates whether a specified day is a weekend day.
Object ID: 1070691658; Created: January 25, 2019, 20:58:58
Name
Type
Default
Comment
bit
@Day
datetime
Day to be checked.
⇧ Scalar-Valued Function dbo.IsFeatureEnabled
Gets value indicating whether is feature enabled.
Object ID: 1757821920; Created: August 31, 2017, 22:57:01
Name
Type
Default
Comment
bit
@FeatureName
nvarchar (256)
Name of the feature.
⇧ Scalar-Valued Function dbo.IsFeatureLicensed
Indicates whether specified feature is licensed at least for specified edition.
Object ID: 841899658; Created: August 24, 2022, 20:47:57
Name
Type
Default
Comment
bit
@Feature
varchar (20)
Feature to check.
@RequiredEdition
varchar (20)
Minimum required edition.
⇧ Scalar-Valued Function dbo.IsInsideTimer
Indicates whether the code is executed inside eWay-CRM Timer.
⇧ Scalar-Valued Function dbo.IsItemChangedRecentlyByUser
Indicates whether an item has been updated by user.
Object ID: 1209796859; Created: January 28, 2022, 20:36:51
Name
Type
Default
Comment
bit
@ItemGUID
uniqueidentifier
GUID of the item.
@Minutes
bigint
Interval in minutes.
⇧ Scalar-Valued Function dbo.IsItemChangesSupported
Indicates whether ObjectType supports ItemChanges.
Object ID: 1787986292; Created: September 12, 2019, 20:18:37
Name
Type
Default
Comment
bit
@ObjectTypeID
tinyint
ID of the module.
⇧ Scalar-Valued Function dbo.IsNullOrEmpty
Object ID: 793769885; Created: July 12, 2010, 15:16:02
Name
Type
Default
Comment
nvarchar (256)
@TestedValue
nvarchar (256)
@DefaultValue
nvarchar (256)
⇧ Scalar-Valued Function dbo.IsUserAdmin
Object ID: 2023938532; Created: December 10, 2014, 15:07:14
Name
Type
Default
Comment
bit
@UserGUID
uniqueidentifier
⇧ Scalar-Valued Function dbo.IsValidGuid
Object ID: 917578307; Created: May 18, 2008, 17:47:37
Name
Type
Default
Comment
bit
@input
nvarchar (max)
⇧ Scalar-Valued Function dbo.IsWorkflowStateGUID
Determines whether the GUID is a EnumValues.ItemGUID used inside a workflow model.
Object ID: 882791644; Created: September 24, 2021, 20:10:26
Name
Type
Default
Comment
bit
@EnumValueGUID
uniqueidentifier
GUID of the tested enum value.
⇧ Scalar-Valued Function dbo.IsWorkingDay
Indicates whether a specified day is a working day of a defined user.
Object ID: 1289524123; Created: June 23, 2016, 22:18:39
Name
Type
Default
Comment
bit
@UserGUID
uniqueidentifier
Identifier of the user.
@Date
datetime
Date to check.
⇧ Scalar-Valued Function dbo.MaxNumber
Object ID: 1814297523; Created: November 26, 2012, 12:41:27
Name
Type
Default
Comment
sql_variant
@val1
sql_variant
@val2
sql_variant
⇧ Scalar-Valued Function dbo.NormalizeLineEndings
Object ID: 1719246917; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
nvarchar (max)
@Input
nvarchar (max)
⇧ Scalar-Valued Function dbo.NormalizeMultipleBlankLines
Object ID: 1735246974; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
nvarchar (max)
@Input
nvarchar (max)
⇧ Table-Valued Function dbo.ParseQueryString
Parses query string into a table.
⇧ Scalar-Valued Function dbo.RaiseFunctionError
Object ID: 1086691715; Created: January 25, 2019, 20:58:58
Name
Type
Default
Comment
bit
@SourceFunctionName
nvarchar (256)
@Message
nvarchar (256)
⇧ Scalar-Valued Function dbo.RegexIsMatch
Object ID: 1671246746; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
bit
@Input
nvarchar (max)
@Pattern
nvarchar (max)
⇧ Scalar-Valued Function dbo.RegexReplace
Object ID: 1655246689; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
nvarchar (max)
@Input
nvarchar (max)
@Pattern
nvarchar (max)
@Replacement
nvarchar (max)
⇧ Scalar-Valued Function dbo.RemoveDiacritics
Object ID: 996302709; Created: December 16, 2013, 21:25:13
Name
Type
Default
Comment
nvarchar (1024)
@input
nvarchar (1024)
⇧ Scalar-Valued Function dbo.RemoveInvalidCodePoints
Object ID: 1767247088; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
nvarchar (max)
@Input
nvarchar (max)
⇧ Scalar-Valued Function dbo.RemoveInvalidPathCharacters
Removes invalid characters in Windows file path.
Object ID: 151580224; Created: November 16, 2017, 09:11:49
Name
Type
Default
Comment
nvarchar (1024)
@FileName
nvarchar (1024)
File name which should be fixed.
⇧ Scalar-Valued Function dbo.RemoveInvalidXmlCharacters
Object ID: 1751247031; Created: June 05, 2023, 20:32:11
Name
Type
Default
Comment
nvarchar (max)
@Input
nvarchar (max)
⇧ Scalar-Valued Function dbo.RemoveNonBmpCharacters
Removes all UTF-16 surrogate code points.
Object ID: 1214744226; Created: July 10, 2019, 21:34:05
Name
Type
Default
Comment
nvarchar (max)
@Input
nvarchar (max)
Input string.
⇧ Scalar-Valued Function dbo.ShowWhiteSpace
Object ID: 260456252; Created: December 10, 2014, 15:07:17
Name
Type
Default
Comment
nvarchar (max)
@Text
nvarchar (max)
⇧ Scalar-Valued Function dbo.StripName
Object ID: 802817922; Created: November 26, 2012, 12:41:34; Modified: March 06, 2013, 11:24:09
Name
Type
Default
Comment
nvarchar (256)
@name
nvarchar (256)
@charsToStrip
nvarchar (256)
@charsToStripDelimiter
char (1)
@stripSpaces
bit
⇧ Scalar-Valued Function dbo.StripSpaces
Object ID: 625437302; Created: February 22, 2013, 08:32:03
Name
Type
Default
Comment
nvarchar (max)
@Text
nvarchar (max)
⇧ Scalar-Valued Function dbo.StripTags
Object ID: 1901965852; Created: March 27, 2013, 21:39:05
Name
Type
Default
Comment
nvarchar (max)
@HTMLText
nvarchar (max)
⇧ Scalar-Valued Function dbo.TableHasIdentity
Object ID: 1517964484; Created: March 14, 2013, 10:05:48
Name
Type
Default
Comment
bit
@TableName
nvarchar (64)
⇧ Table-Valued Function dbo.TallySplit
Object ID: 1812461781; Created: December 10, 2014, 15:07:22
Name
Type
Default
Comment
@String
nvarchar (max)
@Delim
char (1)
⇧ Scalar-Valued Function dbo.TranslateQueryToLocal
This function translates simple queries to be callable at local databases.
Translate process:
Replace '[EWD_' -> '['
Replace '[EWR_' -> '['
Replace '[EWE_' -> '['
Replace '[EWF_' -> '['
Replace ''EWD_' -> ''
Replace ''EWR_' -> ''
Replace ''EWE_' -> ''
Replace ''EWF_' -> ''
Replace '[ItemGUID]' -> '[ItemID]'
Replace '--LocalOnly: ' -> '' - place for statements local only.
Ex. --LocalOnly: Table.ItemState != 3'
Replace '/* -ServerOnly- */' -> '/*'
Replace '/* -/ServerOnly- */' -> '*/'
Object ID: 337240802; Created: February 28, 2017, 22:19:13
Name
Type
Default
Comment
nvarchar (max)
@Query
nvarchar (max)
The query to be translated.
⇧ Scalar-Valued Function dbo.Trim
Object ID: 408401270; Created: November 07, 2018, 20:16:31
Name
Type
Default
Comment
nvarchar (max)
@Value
nvarchar (max)
@MaxLength
int
@IncludeDots
bit
@TrimLeftSide
bit
⇧ Scalar-Valued Function dbo.TrimChar
Remove all leading and trailing occurences of specified character.
Object ID: 1350269307; Created: September 24, 2021, 20:10:09
Name
Type
Default
Comment
nvarchar (max)
@Text
nvarchar (max)
@Char
nchar (1)
Char to be removed.
⇧ Scalar-Valued Function dbo.TruncateToSmallDateTime
Object ID: 1060302937; Created: December 16, 2013, 21:25:14
Name
Type
Default
Comment
datetime
@DateTime
datetime
⇧ Scalar-Valued Function dbo.UpperFirstLetter
Upper first letter of given string.
Object ID: 1392424430; Created: November 10, 2015, 22:13:23
Name
Type
Default
Comment
nvarchar (256)
@Text
nvarchar (256)
Text where will be first letter upper case.
⇧ Scalar-Valued Function dbo.UrlEncode
Encodes string as url param.
Object ID: 1541046163; Created: September 29, 2022, 20:12:46
Name
Type
Default
Comment
nvarchar (3072)
@Input
nvarchar (1024)
Input string to be encoded.