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 «

AddNewCustomer: Visma Severa Add New Customer

Contents Previous Home Next More

Catalog: Severa

Schema: API

Label: Add New Customer

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/ICustomer/AddNewCustomer

Topic: AddNewCustomer

Base XPath: /s:Envelope/s:Body/tns:AddNewCustomerResponse/tns:AddNewCustomerResult

Filters on API Server: customer_AccountGroupGUIDs_string- customer_AccountOwnerUserGUID- customer_AccountRating- customer_AnnualRevenue- customer_AnnualRevenue2- customer_CompanyGUID- customer_CurrencyCode- customer_CurrencyGUID- customer_Email- customer_Employees- customer_GUID- customer_HeadOfficeAddressGUID- customer_IndustryGUID- customer_InsertTS- customer_InvoicingVat- customer_IsActive- customer_IsInternal- customer_LanguageCode- customer_LanguageGUID- customer_Name- customer_Notes- customer_Number- customer_OverdueInterest- customer_PaymentTerm- customer_PricelistGUID- customer_ReverseCharge- customer_ReverseChargeDescription- customer_TimezoneGUID- customer_UpdatedTS- customer_UrlToAccount- customer_VatNumber- customer_Website- customer_eInvoiceAddress- customer_eInvoiceOperator

Table Function Parameters

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

customer_AccountGroupGUIDs_string

string

 

 

customer_AccountOwnerUserGUID

string

 

 

customer_AccountRating

int32

 

 

customer_AnnualRevenue

int32

 

 

customer_AnnualRevenue2

int64

 

 

customer_CompanyGUID

string

 

 

customer_CurrencyCode

string

 

 

customer_CurrencyGUID

string

 

 

customer_eInvoiceAddress

string

 

 

customer_eInvoiceOperator

string

 

 

customer_Email

string

 

 

customer_Employees

int32

 

 

customer_GUID

string

 

 

customer_HeadOfficeAddressGUID

string

 

 

customer_IndustryGUID

string

 

 

customer_InsertTS

datetime

 

 

customer_InvoicingVat

decimal

 

 

customer_IsActive

boolean

 

 

customer_IsInternal

boolean

 

 

customer_LanguageCode

string

 

 

customer_LanguageGUID

string

 

 

customer_Name

string

 

 

customer_Notes

string

 

 

customer_Number

int64

 

 

customer_OverdueInterest

decimal

 

 

customer_PaymentTerm

int32

 

 

customer_PricelistGUID

string

 

 

customer_ReverseCharge

boolean

 

 

customer_ReverseChargeDescription

string

 

 

customer_TimezoneGUID

string

 

 

customer_UpdatedTS

datetime

 

 

customer_UrlToAccount

string

 

 

customer_VatNumber

string

 

 

customer_Website

string

 

 

 

Table Function Columns

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

Name

Data Type

Label

Required

Documentation

ACCOUNTGROUPGUIDS_STRING

string

 

 

 

ACCOUNTOWNERUSERGUID

string

Account Owner User GUID

 

 

ACCOUNTRATING

int32

Account Rating

 

 

ANNUALREVENUE

int32

Annual Revenue

 

 

ANNUALREVENUE2

int64

 

 

 

COMPANYGUID

string

Company GUID

 

 

CURRENCYCODE

string

Currency Code

 

 

CURRENCYGUID

string

Currency GUID

 

 

EINVOICEADDRESS

string

e-invoice Address

 

 

EINVOICEOPERATOR

string

e-invoice Operator

 

 

EMAIL

string

Email

 

 

EMPLOYEES

int32

Employees

 

 

GUID

string

GUID

 

 

HEADOFFICEADDRESSGUID

string

Head Office Address GUID

 

 

INDUSTRYGUID

string

Industry GUID

 

 

INSERTTS

datetime

Inserted

 

 

INVOICINGVAT

decimal

Invoicing VAT

 

 

ISACTIVE

boolean

Is Active

 

 

ISINTERNAL

boolean

Is Internal

 

 

LANGUAGECODE

string

Language Code

 

 

LANGUAGEGUID

string

Language GUID

 

 

NAME

string

Name

 

 

NOTES

string

Notes

 

 

NUMBER

int64

Number

 

 

OVERDUEINTEREST

decimal

Overdue Interest

 

 

PAYMENTTERM

int32

Payment Term

 

 

PRICELISTGUID

string

Pricelist GUID

 

 

REVERSECHARGE

boolean

Reverse Charge

 

 

REVERSECHARGEDESCRIPTION

string

Reverse Charge Description

 

 

TIMEZONEGUID

string

Timezone GUID

 

 

UPDATEDTS

datetime

Updated

 

 

URLTOACCOUNT

string

URL to Account

 

 

VATNUMBER

string

VAT Number

 

 

WEBSITE

string

Website

 

 

 

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