xMsg javascript has not been loaded.
Catalog: Severa
Schema: API
Label: Add New Account
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/IAccount/AddNewAccount
Topic: AddNewAccount
Base XPath: /s:Envelope/s:Body/tns:AddNewAccountResponse/tns:AddNewAccountResult
Filters on API Server: accountInfo_AccountGroupGUIDs_string- accountInfo_AccountOwnerUserGUID- accountInfo_AccountRating- accountInfo_CompanyGUID- accountInfo_CurrencyCode- accountInfo_CurrencyGUID- accountInfo_GUID- accountInfo_InsertTS- accountInfo_InvoicingVat- accountInfo_IsActive- accountInfo_IsInternal- accountInfo_LanguageCode- accountInfo_LanguageGUID- accountInfo_Name- accountInfo_Notes- accountInfo_Number- accountInfo_OverdueInterest- accountInfo_PaymentTerm- accountInfo_PricelistGUID- accountInfo_ReverseCharge- accountInfo_ReverseChargeDescription- accountInfo_UpdatedTS- accountInfo_UrlToAccount- accountInfo_eInvoiceAddress- accountInfo_eInvoiceOperator- companyInfo_AnnualRevenue- companyInfo_AnnualRevenue2- companyInfo_Email- companyInfo_Employees- companyInfo_GUID- companyInfo_HeadOfficeAddressGUID- companyInfo_HierarchyGUID- companyInfo_IndustryGUID- companyInfo_LanguageGUID- companyInfo_Name- companyInfo_TimezoneGUID- companyInfo_VatNumber- companyInfo_Website- addressInfo_Addressline- addressInfo_Addressline2- addressInfo_Addressline3- addressInfo_City- addressInfo_CompanyGUID- addressInfo_CountryCode- addressInfo_CountryGUID- addressInfo_CountryName- addressInfo_CountryRegionGUID- addressInfo_CountryRegionName- addressInfo_Fax- addressInfo_GUID- addressInfo_IsBillingAddress- addressInfo_IsPostalAddress- addressInfo_IsVisitAddress- addressInfo_Phone- addressInfo_PostalCode- contactInfo_AccountGUID- contactInfo_AddressGUID- contactInfo_CommunicationMethods_Contact.CommunicationMethod_IsForbiddenToUse- contactInfo_CommunicationMethods_Contact.CommunicationMethod_Name- contactInfo_CommunicationMethods_Contact.CommunicationMethod_Type- contactInfo_CommunicationMethods_Contact.CommunicationMethod_Value- contactInfo_ContactRoleGUID- contactInfo_DateOfBirth- contactInfo_Description- contactInfo_FirstName- contactInfo_GUID- contactInfo_IsActive- contactInfo_JobTitle- contactInfo_Keywords_string- contactInfo_LanguageGUID- contactInfo_LastName- contactInfo_Salutation- contactInfo_SatisfactionLevel- contactInfo_TimeZoneGUID
The following parameters can be used to control the behaviour of the table function AddNewAccount. 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 |
---|---|---|---|---|
accountInfo_AccountGroupGUIDs_string |
string |
☐ |
|
|
accountInfo_AccountOwnerUserGUID |
string |
☐ |
|
|
accountInfo_AccountRating |
int32 |
☐ |
|
|
accountInfo_CompanyGUID |
string |
☐ |
|
|
accountInfo_CurrencyCode |
string |
☐ |
|
|
accountInfo_CurrencyGUID |
string |
☐ |
|
|
accountInfo_eInvoiceAddress |
string |
☐ |
|
|
accountInfo_eInvoiceOperator |
string |
☐ |
|
|
accountInfo_GUID |
string |
☐ |
|
|
accountInfo_InsertTS |
datetime |
☐ |
|
|
accountInfo_InvoicingVat |
decimal |
☐ |
|
|
accountInfo_IsActive |
boolean |
☐ |
|
|
accountInfo_IsInternal |
boolean |
☐ |
|
|
accountInfo_LanguageCode |
string |
☐ |
|
|
accountInfo_LanguageGUID |
string |
☐ |
|
|
accountInfo_Name |
string |
☐ |
|
|
accountInfo_Notes |
string |
☐ |
|
|
accountInfo_Number |
int64 |
☐ |
|
|
accountInfo_OverdueInterest |
decimal |
☐ |
|
|
accountInfo_PaymentTerm |
int32 |
☐ |
|
|
accountInfo_PricelistGUID |
string |
☐ |
|
|
accountInfo_ReverseCharge |
boolean |
☐ |
|
|
accountInfo_ReverseChargeDescription |
string |
☐ |
|
|
accountInfo_UpdatedTS |
datetime |
☐ |
|
|
accountInfo_UrlToAccount |
string |
☐ |
|
|
addressInfo_Addressline |
string |
☐ |
|
|
addressInfo_Addressline2 |
string |
☐ |
|
|
addressInfo_Addressline3 |
string |
☐ |
|
|
addressInfo_City |
string |
☐ |
|
|
addressInfo_CompanyGUID |
string |
☐ |
|
|
addressInfo_CountryCode |
string |
☐ |
|
|
addressInfo_CountryGUID |
string |
☐ |
|
|
addressInfo_CountryName |
string |
☐ |
|
|
addressInfo_CountryRegionGUID |
string |
☐ |
|
|
addressInfo_CountryRegionName |
string |
☐ |
|
|
addressInfo_Fax |
string |
☐ |
|
|
addressInfo_GUID |
string |
☐ |
|
|
addressInfo_IsBillingAddress |
boolean |
☐ |
|
|
addressInfo_IsPostalAddress |
boolean |
☐ |
|
|
addressInfo_IsVisitAddress |
boolean |
☐ |
|
|
addressInfo_Phone |
string |
☐ |
|
|
addressInfo_PostalCode |
string |
☐ |
|
|
companyInfo_AnnualRevenue |
int32 |
☐ |
|
|
companyInfo_AnnualRevenue2 |
int64 |
☐ |
|
|
companyInfo_Email |
string |
☐ |
|
|
companyInfo_Employees |
int32 |
☐ |
|
|
companyInfo_GUID |
string |
☐ |
|
|
companyInfo_HeadOfficeAddressGUID |
string |
☐ |
|
|
companyInfo_HierarchyGUID |
string |
☐ |
|
|
companyInfo_IndustryGUID |
string |
☐ |
|
|
companyInfo_LanguageGUID |
string |
☐ |
|
|
companyInfo_Name |
string |
☐ |
|
|
companyInfo_TimezoneGUID |
string |
☐ |
|
|
companyInfo_VatNumber |
string |
☐ |
|
|
companyInfo_Website |
string |
☐ |
|
|
contactInfo_AccountGUID |
string |
☐ |
|
|
contactInfo_AddressGUID |
string |
☐ |
|
|
contactInfo_CommunicationMethods_Contact.CommunicationMethod_IsForbiddenToUse |
boolean |
☐ |
|
|
contactInfo_CommunicationMethods_Contact.CommunicationMethod_Name |
string |
☐ |
|
|
contactInfo_CommunicationMethods_Contact.CommunicationMethod_Type |
string |
☐ |
|
|
contactInfo_CommunicationMethods_Contact.CommunicationMethod_Value |
string |
☐ |
|
|
contactInfo_ContactRoleGUID |
string |
☐ |
|
|
contactInfo_DateOfBirth |
datetime |
☐ |
|
|
contactInfo_Description |
string |
☐ |
|
|
contactInfo_FirstName |
string |
☐ |
|
|
contactInfo_GUID |
string |
☐ |
|
|
contactInfo_IsActive |
boolean |
☐ |
|
|
contactInfo_JobTitle |
string |
☐ |
|
|
contactInfo_Keywords_string |
string |
☐ |
|
|
contactInfo_LanguageGUID |
string |
☐ |
|
|
contactInfo_LastName |
string |
☐ |
|
|
contactInfo_Salutation |
string |
☐ |
|
|
contactInfo_SatisfactionLevel |
int32 |
☐ |
|
|
contactInfo_TimeZoneGUID |
string |
☐ |
|
|
The columns of the table function AddNewAccount 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 |
|
|
COMPANYGUID |
string |
Company GUID |
|
|
CURRENCYCODE |
string |
Currency Code |
|
|
CURRENCYGUID |
string |
Currency GUID |
|
|
EINVOICEADDRESS |
string |
e-invoice Address |
|
|
EINVOICEOPERATOR |
string |
e-invoice Operator |
|
|
GUID |
string |
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 |
|
|
UPDATEDTS |
datetime |
Updated |
|
|
URLTOACCOUNT |
string |
URL to Account |
|
|
06-04-2021 14:32 Version 20.1.393-BETA+3152