AddNewPhase: Visma Severa Add New Phase |
Catalog: Severa
Schema: API
Label: Add New Phase
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: phaseInfo_CaseGUID- phaseInfo_Code- phaseInfo_Deadline- phaseInfo_Description- phaseInfo_FlatRate_AdditionalHoursUnitPrice- phaseInfo_FlatRate_AreAdditionalHoursBillable- phaseInfo_FlatRate_Hours- phaseInfo_FlatRate_Price- phaseInfo_GUID- phaseInfo_IsCompleted- phaseInfo_IsLocked- phaseInfo_Name- phaseInfo_OriginalDeadline- phaseInfo_OriginalPlannedStartDate- phaseInfo_OriginalWorkEstimate- phaseInfo_OwnerUserGUID- phaseInfo_ParentPhaseGUID- phaseInfo_PlannedStartDate- phaseInfo_PricePerHour- phaseInfo_SortOrder- phaseInfo_WorkEstimate- phaseInfo_WorkTypeGUID- members
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function AddNewPhase. 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 |
---|---|---|---|---|
members |
string |
☐ |
|
|
phaseInfo_CaseGUID |
string |
☐ |
|
|
phaseInfo_Code |
string |
☐ |
|
|
phaseInfo_Deadline |
datetime |
☐ |
|
|
phaseInfo_Description |
string |
☐ |
|
|
phaseInfo_FlatRate_AdditionalHoursUnitPrice |
decimal |
☐ |
|
|
phaseInfo_FlatRate_AreAdditionalHoursBillable |
boolean |
☐ |
|
|
phaseInfo_FlatRate_Hours |
decimal |
☐ |
|
|
phaseInfo_FlatRate_Price |
decimal |
☐ |
|
|
phaseInfo_GUID |
string |
☐ |
|
|
phaseInfo_IsCompleted |
boolean |
☐ |
|
|
phaseInfo_IsLocked |
boolean |
☐ |
|
|
phaseInfo_Name |
string |
☐ |
|
|
phaseInfo_OriginalDeadline |
datetime |
☐ |
|
|
phaseInfo_OriginalPlannedStartDate |
datetime |
☐ |
|
|
phaseInfo_OriginalWorkEstimate |
decimal |
☐ |
|
|
phaseInfo_OwnerUserGUID |
string |
☐ |
|
|
phaseInfo_ParentPhaseGUID |
string |
☐ |
|
|
phaseInfo_PlannedStartDate |
datetime |
☐ |
|
|
phaseInfo_PricePerHour |
decimal |
☐ |
|
|
phaseInfo_SortOrder |
int32 |
☐ |
|
|
phaseInfo_WorkEstimate |
decimal |
☐ |
|
|
phaseInfo_WorkTypeGUID |
string |
☐ |
|
|
Columns of Table Function
The columns of the table function AddNewPhase are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
CASEGUID |
string |
Project GUID |
|
|
CODE |
string |
Code |
|
|
DEADLINE |
datetime |
Deadline |
|
|
DESCRIPTION |
string |
Ddescription |
|
|
FLATRATE_ADDITIONALHOURSUNITPRICE |
decimal |
Flat Rate Additional Hours Unit Price |
|
|
FLATRATE_AREADDITIONALHOURSBILLABLE |
boolean |
Flat Rate Are additional Hours Billable |
|
|
FLATRATE_HOURS |
decimal |
Flat Rate Hours |
|
|
FLATRATE_PRICE |
decimal |
Flat Rate Price |
|
|
GUID |
string |
GUID |
|
|
ISCOMPLETED |
boolean |
Is Completed |
|
|
ISLOCKED |
boolean |
Is Locked |
|
|
NAME |
string |
Name |
|
|
ORIGINALDEADLINE |
datetime |
Original Deadline |
|
|
ORIGINALPLANNEDSTARTDATE |
datetime |
Original Planned Start Date |
|
|
ORIGINALWORKESTIMATE |
decimal |
Original Work Estimate |
|
|
OWNERUSERGUID |
string |
Owner User GUID |
|
|
PARENTPHASEGUID |
string |
Parent Phase GUID |
|
|
PLANNEDSTARTDATE |
datetime |
Planned Start Date |
|
|
PRICEPERHOUR |
decimal |
Price per Hour |
|
|
SORTORDER |
int32 |
Sort Order |
|
|
WORKESTIMATE |
decimal |
Work Estimate |
|
|
WORKTYPEGUID |
string |
Work Type GUID |
|
|
10-06-2024 19:00 Version 24.1.3-BETA+4689