AddNewHourEntry: Visma Severa Add New Hour Entry |
Catalog: Severa
Schema: API
Label: Add New Hour Entry
This is a read-only table function. The Visma Severa API may not support changing the data or the Invantive UniversalSQL driver for Visma Severa does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Visma Severa API.
Filters on API Server: hourEntryInfo_AccountGUID- hourEntryInfo_CaseBusinessUnitCode- hourEntryInfo_CaseCostCenterIdentifier- hourEntryInfo_CaseGUID- hourEntryInfo_CaseName- hourEntryInfo_CaseNumber- hourEntryInfo_CostCurrencyShortform- hourEntryInfo_CostCurrencyShortformOfInvoicingCurrency- hourEntryInfo_CostCurrencyShortformOfOrganizationCurrency- hourEntryInfo_CostCurrencyShortformOfUserCompanyCurrency- hourEntryInfo_Description- hourEntryInfo_EndTime- hourEntryInfo_EventDate- hourEntryInfo_GUID- hourEntryInfo_InvoiceDescription- hourEntryInfo_InvoiceGUID- hourEntryInfo_InvoiceQuantity- hourEntryInfo_InvoiceRowGUID- hourEntryInfo_IsApproved- hourEntryInfo_IsBillable- hourEntryInfo_IsProductive- hourEntryInfo_IsReadOnly- hourEntryInfo_OverTimeGUID- hourEntryInfo_OvertimeCode- hourEntryInfo_PhaseGUID- hourEntryInfo_PriceCurrencyShortformOfCaseCompanyCurrency- hourEntryInfo_PriceCurrencyShortformOfInvoicingCurrency- hourEntryInfo_PriceCurrencyShortformOfOrganizationCurrency- hourEntryInfo_PriceCurrencyShortformOfUserCompanyCurrency- hourEntryInfo_Quantity- hourEntryInfo_StartTime- hourEntryInfo_TaskGUID- hourEntryInfo_UnitCost- hourEntryInfo_UnitCostInInvoicingCurrency- hourEntryInfo_UnitCostInOrganizationCurrency- hourEntryInfo_UnitCostInUserCompanyCurrency- hourEntryInfo_UnitPrice- hourEntryInfo_UnitPriceInBaseCurrency- hourEntryInfo_UnitPriceInCaseCompanyCurrency- hourEntryInfo_UnitPriceInUserCompanyCurrency- hourEntryInfo_UseInvoiceQuantity- hourEntryInfo_UserBusinessUnitCode- hourEntryInfo_UserCode- hourEntryInfo_UserFirstName- hourEntryInfo_UserGUID- hourEntryInfo_UserLastName- hourEntryInfo_WorkTypeCode- hourEntryInfo_WorkTypeGUID
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function AddNewHourEntry. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
Name |
Data Type |
Required |
Default Value |
Documentation |
---|---|---|---|---|
hourEntryInfo_AccountGUID |
string |
☐ |
|
|
hourEntryInfo_CaseBusinessUnitCode |
string |
☐ |
|
|
hourEntryInfo_CaseCostCenterIdentifier |
string |
☐ |
|
|
hourEntryInfo_CaseGUID |
string |
☐ |
|
|
hourEntryInfo_CaseName |
string |
☐ |
|
|
hourEntryInfo_CaseNumber |
int64 |
☐ |
|
|
hourEntryInfo_CostCurrencyShortform |
string |
☐ |
|
|
hourEntryInfo_CostCurrencyShortformOfInvoicingCurrency |
string |
☐ |
|
|
hourEntryInfo_CostCurrencyShortformOfOrganizationCurrency |
string |
☐ |
|
|
hourEntryInfo_CostCurrencyShortformOfUserCompanyCurrency |
string |
☐ |
|
|
hourEntryInfo_Description |
string |
☐ |
|
|
hourEntryInfo_EndTime |
datetime |
☐ |
|
|
hourEntryInfo_EventDate |
datetime |
☐ |
|
|
hourEntryInfo_GUID |
string |
☐ |
|
|
hourEntryInfo_InvoiceDescription |
string |
☐ |
|
|
hourEntryInfo_InvoiceGUID |
string |
☐ |
|
|
hourEntryInfo_InvoiceQuantity |
decimal |
☐ |
|
|
hourEntryInfo_InvoiceRowGUID |
string |
☐ |
|
|
hourEntryInfo_IsApproved |
boolean |
☐ |
|
|
hourEntryInfo_IsBillable |
boolean |
☐ |
|
|
hourEntryInfo_IsProductive |
boolean |
☐ |
|
|
hourEntryInfo_IsReadOnly |
boolean |
☐ |
|
|
hourEntryInfo_OvertimeCode |
string |
☐ |
|
|
hourEntryInfo_OverTimeGUID |
string |
☐ |
|
|
hourEntryInfo_PhaseGUID |
string |
☐ |
|
|
hourEntryInfo_PriceCurrencyShortformOfCaseCompanyCurrency |
string |
☐ |
|
|
hourEntryInfo_PriceCurrencyShortformOfInvoicingCurrency |
string |
☐ |
|
|
hourEntryInfo_PriceCurrencyShortformOfOrganizationCurrency |
string |
☐ |
|
|
hourEntryInfo_PriceCurrencyShortformOfUserCompanyCurrency |
string |
☐ |
|
|
hourEntryInfo_Quantity |
decimal |
☐ |
|
|
hourEntryInfo_StartTime |
datetime |
☐ |
|
|
hourEntryInfo_TaskGUID |
string |
☐ |
|
|
hourEntryInfo_UnitCost |
decimal |
☐ |
|
|
hourEntryInfo_UnitCostInInvoicingCurrency |
decimal |
☐ |
|
|
hourEntryInfo_UnitCostInOrganizationCurrency |
decimal |
☐ |
|
|
hourEntryInfo_UnitCostInUserCompanyCurrency |
decimal |
☐ |
|
|
hourEntryInfo_UnitPrice |
decimal |
☐ |
|
|
hourEntryInfo_UnitPriceInBaseCurrency |
decimal |
☐ |
|
|
hourEntryInfo_UnitPriceInCaseCompanyCurrency |
decimal |
☐ |
|
|
hourEntryInfo_UnitPriceInUserCompanyCurrency |
decimal |
☐ |
|
|
hourEntryInfo_UseInvoiceQuantity |
boolean |
☐ |
|
|
hourEntryInfo_UserBusinessUnitCode |
string |
☐ |
|
|
hourEntryInfo_UserCode |
string |
☐ |
|
|
hourEntryInfo_UserFirstName |
string |
☐ |
|
|
hourEntryInfo_UserGUID |
string |
☐ |
|
|
hourEntryInfo_UserLastName |
string |
☐ |
|
|
hourEntryInfo_WorkTypeCode |
string |
☐ |
|
|
hourEntryInfo_WorkTypeGUID |
string |
☐ |
|
|
Columns of Table Function
The columns of the table function AddNewHourEntry are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
ACCOUNTGUID |
string |
Account GUID |
|
|
CASEBUSINESSUNITCODE |
string |
Project Business Unit Code |
|
|
CASECOSTCENTERIDENTIFIER |
string |
Project Cost Center Identifier |
|
|
CASEGUID |
string |
Project GUID |
|
|
CASENAME |
string |
Project Name |
|
|
CASENUMBER |
int64 |
Project Number |
|
|
COSTCURRENCYSHORTFORM |
string |
Cost Currency Short Form |
|
|
COSTCURRENCYSHORTFORMOFINVOICINGCURRENCY |
string |
Cost Currency Short Form of Invoicing Currency |
|
|
COSTCURRENCYSHORTFORMOFORGANIZATIONCURRENCY |
string |
Cost Currency Short Form of Organization Currency |
|
|
COSTCURRENCYSHORTFORMOFUSERCOMPANYCURRENCY |
string |
Cost Currency Short Form of User Company Currency |
|
|
DESCRIPTION |
string |
Ddescription |
|
|
ENDTIME |
datetime |
End Time |
|
|
EVENTDATE |
datetime |
Event Date |
|
|
GUID |
string |
GUID |
|
|
INVOICEDESCRIPTION |
string |
Invoice Description |
|
|
INVOICEGUID |
string |
Invoice GUID |
|
|
INVOICEQUANTITY |
decimal |
Invoice Quantity |
|
|
INVOICEROWGUID |
string |
Invoice Line GUID |
|
|
ISAPPROVED |
boolean |
Is Approved |
|
|
ISBILLABLE |
boolean |
Is Billable |
|
|
ISPRODUCTIVE |
boolean |
Is Productive |
|
|
ISREADONLY |
boolean |
Is Read-only |
|
|
OVERTIMECODE |
string |
Overtime Code |
|
|
OVERTIMEGUID |
string |
Overtime GUID |
|
|
PHASEGUID |
string |
Phase GUID |
|
|
PRICECURRENCYSHORTFORMOFCASECOMPANYCURRENCY |
string |
Price Currency Short Form of Project Company Currency |
|
|
PRICECURRENCYSHORTFORMOFINVOICINGCURRENCY |
string |
Price Currency Short Form of Invoicing Currency |
|
|
PRICECURRENCYSHORTFORMOFORGANIZATIONCURRENCY |
string |
Price Currency Short Form of Organization Currency |
|
|
PRICECURRENCYSHORTFORMOFUSERCOMPANYCURRENCY |
string |
Price Currency Short Form of User Company Currency |
|
|
QUANTITY |
decimal |
Quantity |
|
|
STARTTIME |
datetime |
Start Time |
|
|
TASKGUID |
string |
Task GUID |
|
|
UNITCOST |
decimal |
Unit Cost |
|
|
UNITCOSTININVOICINGCURRENCY |
decimal |
Unit Cost in Invoicing Currency |
|
|
UNITCOSTINORGANIZATIONCURRENCY |
decimal |
Unit Cost in Organization Currency |
|
|
UNITCOSTINUSERCOMPANYCURRENCY |
decimal |
Unit Cost in User Company Currency |
|
|
UNITPRICE |
decimal |
Unit Price |
|
|
UNITPRICEINBASECURRENCY |
decimal |
Unit Price in Base Currency |
|
|
UNITPRICEINCASECOMPANYCURRENCY |
decimal |
Unit Price in Project Company Currency |
|
|
UNITPRICEINUSERCOMPANYCURRENCY |
decimal |
Unit Price in User Company Currency |
|
|
USEINVOICEQUANTITY |
boolean |
|
|
|
USERBUSINESSUNITCODE |
string |
User Business Unit Code |
|
|
USERCODE |
string |
User Code |
|
|
USERFIRSTNAME |
string |
User First Name |
|
|
USERGUID |
string |
User GUID |
|
|
USERLASTNAME |
string |
User Last Name |
|
|
WORKTYPECODE |
string |
Work Type Code |
|
|
WORKTYPEGUID |
string |
Work Type GUID |
|
|
10-06-2024 19:00 Version 24.1.3-BETA+4689