Please enable JavaScript to view this site.

Error itgendoc001X

xMsg javascript has not been loaded.

Visma Severa API Data Model

Navigation: » No topics above this level «

AddNewEmployment: Visma Severa Add New Employment

Contents Previous Home Next More

Catalog: Severa

Schema: API

Label: Add New Employment

This is a read-only table function. The Visma Severa API may not support changing the data or the Invantive SQL 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.

Action: http://soap.severa.com/IEmployment/AddNewEmployment

Topic: AddNewEmployment

Base XPath: /s:Envelope/s:Body/tns:AddNewEmploymentResponse/tns:AddNewEmploymentResult

Filters on API Server: userGUID- employmentInfo_CompanyBusinessUnitCode- employmentInfo_CompanyBusinessUnitGUID- employmentInfo_CompanyBusinessUnitName- employmentInfo_DailyHours- employmentInfo_EndDate- employmentInfo_GUID- employmentInfo_HourCost- employmentInfo_IsOvertimeAllowed- employmentInfo_StartDate- employmentInfo_Title

Table Function Parameters

The following parameters can be used to control the behaviour of the table function AddNewEmployment. 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 treated using their default values.

Value specification by position is done by listing all values from the first to the last needed value. For example with `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

employmentInfo_CompanyBusinessUnitCode

string

 

 

employmentInfo_CompanyBusinessUnitGUID

string

 

 

employmentInfo_CompanyBusinessUnitName

string

 

 

employmentInfo_DailyHours

decimal

 

 

employmentInfo_EndDate

datetime

 

 

employmentInfo_GUID

string

 

 

employmentInfo_HourCost

decimal

 

 

employmentInfo_IsOvertimeAllowed

boolean

 

 

employmentInfo_StartDate

datetime

 

 

employmentInfo_Title

string

 

 

userGUID

string

 

 

 

Table Function Columns

The columns of the table function AddNewEmployment are shown below. Each column has an SQL data type.

Name

Data Type

Label

Required

Documentation

COMPANYBUSINESSUNITCODE

string

Company Business Unit Code

 

 

COMPANYBUSINESSUNITGUID

string

Company Business Unit GUID

 

 

COMPANYBUSINESSUNITNAME

string

Company Business Unit Name

 

 

DAILYHOURS

decimal

Daily Hours

 

 

ENDDATE

datetime

End Date

 

 

GUID

string

GUID

 

 

HOURCOST

decimal

Hour Cost

 

 

ISOVERTIMEALLOWED

boolean

Is Overtime Allowed

 

 

STARTDATE

datetime

Start Date

 

 

TITLE

string

Title

 

 

 

06-04-2021 14:32 Version 20.1.393-BETA+3152