Please enable JavaScript to view this site.

Visma Severa Forums

Navigation: Schema: API > Tables

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

X

Important Safety and Usage Information

Intended Use and Limitations: This software, developed by Invantive, is designed to support a variety of business and information technology data processing functions, such as accounting, financial reporting an sales reporting. It is important to note that this software is not designed, tested, or approved for use in environments where malfunction or failure could lead to life-threatening situations or severe physical or environmental damage. This includes, but is not limited to:

  • Nuclear facilities: The software should not be used for operations or functions related to the control, maintenance, or operation of nuclear facilities.
  • Defense and Military Applications: This software is not suitable for use in defense-related applications, including but not limited to weaponry control, military strategy planning, or any other aspects of national defense.
  • Aviation: The software is not intended for use in the operation, navigation, or communication systems of any aircraft or air traffic control environments.
  • Healthcare and Medicine Production: This software should not be utilized for medical device operation, patient data analysis for critical health decisions, pharmaceutical production, or medical research where its failure or malfunction could impact patient health.
  • Chemical and Hazardous Material Handling: This software is not intended for the management, control, or operational aspects of chemical plants or hazardous material handling facilities. Any malfunction in software used in these settings could result in dangerous chemical spills, explosions, or environmental disasters.
  • Transportation and Traffic Control Systems: The software should not be used for the control, operation, or management of transportation systems, including railway signal controls, subway systems, or traffic light management. Malfunctions in such critical systems could lead to severe accidents and endanger public safety.
  • Energy Grid and Utility Control Systems: This software is not designed for the control or operation of energy grid systems, including electrical substations, renewable energy control systems, or water utility control systems. The failure of software in these areas could lead to significant power outages, water supply disruptions, or other public utility failures, potentially endangering communities and causing extensive damage.
  • Other High-Risk Environments: Any other critical infrastructure and environments where a failure of the software could result in significant harm to individuals or the environment.

User Responsibility: Users must ensure that they understand the intended use of the software and refrain from deploying it in any setting that falls outside of its designed purpose. It is the responsibility of the user to assess the suitability of the software for their intended application, especially in any scenarios that might pose a risk to life, health, or the environment.

Disclaimer of Liability: Invantive disclaims any responsibility for damage, injury, or legal consequences resulting from the use or misuse of this software in prohibited or unintended applications.

  
Disclaimer