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 «

AddNewBusinessUnit: Visma Severa Add New Business Unit

Contents Previous Home Next More

Catalog: Severa

Schema: API

Label: Add New Business Unit

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/IBusinessUnit/AddNewBusinessUnit

Topic: AddNewBusinessUnit

Base XPath: /s:Envelope/s:Body/tns:AddNewBusinessUnitResponse/tns:AddNewBusinessUnitResult

Filters on API Server: businessUnitInfo_Code- businessUnitInfo_CostCenterGUID- businessUnitInfo_CurrencyCode- businessUnitInfo_CurrencyGUID- businessUnitInfo_FormattingCulture- businessUnitInfo_GUID- businessUnitInfo_InsertTS- businessUnitInfo_IsActive- businessUnitInfo_LanguageCode- businessUnitInfo_LanguageGUID- businessUnitInfo_Name- businessUnitInfo_NextInvoiceNumber- businessUnitInfo_OverDueInterest- businessUnitInfo_ParentBusinessUnitGUID- businessUnitInfo_PaymentTerm- businessUnitInfo_ShowLogoOnInvoices- businessUnitInfo_ShowLogoOnPdfReports- businessUnitInfo_TimeZoneGUID- businessUnitInfo_UpdatedTS- businessUnitInfo_VatNumber

Table Function Parameters

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

businessUnitInfo_Code

string

 

 

businessUnitInfo_CostCenterGUID

string

 

 

businessUnitInfo_CurrencyCode

string

 

 

businessUnitInfo_CurrencyGUID

string

 

 

businessUnitInfo_FormattingCulture

string

 

 

businessUnitInfo_GUID

string

 

 

businessUnitInfo_InsertTS

datetime

 

 

businessUnitInfo_IsActive

boolean

 

 

businessUnitInfo_LanguageCode

string

 

 

businessUnitInfo_LanguageGUID

string

 

 

businessUnitInfo_Name

string

 

 

businessUnitInfo_NextInvoiceNumber

int32

 

 

businessUnitInfo_OverDueInterest

decimal

 

 

businessUnitInfo_ParentBusinessUnitGUID

string

 

 

businessUnitInfo_PaymentTerm

int32

 

 

businessUnitInfo_ShowLogoOnInvoices

boolean

 

 

businessUnitInfo_ShowLogoOnPdfReports

boolean

 

 

businessUnitInfo_TimeZoneGUID

string

 

 

businessUnitInfo_UpdatedTS

datetime

 

 

businessUnitInfo_VatNumber

string

 

 

 

Table Function Columns

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

Name

Data Type

Label

Required

Documentation

CODE

string

Code

 

 

COSTCENTERGUID

string

Cost Center GUID

 

 

CURRENCYCODE

string

Currency Code

 

 

CURRENCYGUID

string

Currency GUID

 

 

FORMATTINGCULTURE

string

Formatting Culture

 

 

GUID

string

GUID

 

 

INSERTTS

datetime

Inserted

 

 

ISACTIVE

boolean

Is Active

 

 

LANGUAGECODE

string

Language Code

 

 

LANGUAGEGUID

string

Language GUID

 

 

NAME

string

Name

 

 

NEXTINVOICENUMBER

int32

Next Invoice Number

 

 

OVERDUEINTEREST

decimal

Overdue Interest

 

 

PARENTBUSINESSUNITGUID

string

Parent Business Unit GUID

 

 

PAYMENTTERM

int32

Payment Term

 

 

SHOWLOGOONINVOICES

boolean

Show Logo on Invoices

 

 

SHOWLOGOONPDFREPORTS

boolean

Show Logo on PDF Reports

 

 

TIMEZONEGUID

string

Timezone GUID

 

 

UPDATEDTS

datetime

Updated

 

 

VATNUMBER

string

VAT Number

 

 

 

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