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 «

AddNewProduct: Visma Severa Add New Product

Contents Previous Home Next More

Catalog: Severa

Schema: API

Label: Add New Product

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/IProduct/AddNewProduct

Topic: AddNewProduct

Base XPath: /s:Envelope/s:Body/tns:AddNewProductResponse/tns:AddNewProductResult

Filters on API Server: productInfo_Code- productInfo_Description- productInfo_GUID- productInfo_IsActive- productInfo_MeasurementUnit- productInfo_Name- productInfo_Type- productInfo_UnitCost- productInfo_UnitPrice- productInfo_UseInWorkTimeEntry- productInfo_VAT- productInfo_ProductCategoryGUID- productInfo_SalesAccountGUID

Table Function Parameters

The following parameters can be used to control the behaviour of the table function AddNewProduct. 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

productInfo_Code

string

 

 

productInfo_Description

string

 

 

productInfo_GUID

string

 

 

productInfo_IsActive

boolean

 

 

productInfo_MeasurementUnit

string

 

 

productInfo_Name

string

 

 

productInfo_ProductCategoryGUID

string

 

 

productInfo_SalesAccountGUID

string

 

 

productInfo_Type

string

 

 

productInfo_UnitCost

decimal

 

 

productInfo_UnitPrice

decimal

 

 

productInfo_UseInWorkTimeEntry

boolean

 

 

productInfo_VAT

decimal

 

 

 

Table Function Columns

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

Name

Data Type

Label

Required

Documentation

CODE

string

Code

 

 

DESCRIPTION

string

Ddescription

 

 

GUID

string

GUID

 

 

ISACTIVE

boolean

Is Active

 

 

MEASUREMENTUNIT

string

Measurement Unit

 

 

NAME

string

Name

 

 

PRODUCTCATEGORYGUID

string

Product Category GUID

 

 

SALESACCOUNTGUID

string

Sales Account GUID

 

 

TYPE

string

Type

 

 

UNITCOST

decimal

Unit Cost

 

 

UNITPRICE

decimal

Unit Price

 

 

USEINWORKTIMEENTRY

boolean

Use in Work Time Entry

 

 

VAT

decimal

VAT

 

 

 

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