Please enable JavaScript to view this site.

Made in EU
Visma.net Financials Forums

Navigation: Catalog: VismaNet > Schemas > Schema: Branch > Tables

BranchByNumber: Visma.net Financials Branch by Number

Get a specific branch

Catalog: VismaNet

Schema: Branch

Label: Branch by Number

This is a read-only table function. The Visma.net Financials API may not support changing the data or the Invantive UniversalSQL driver for Visma.net Financials does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Visma.net Financials API.

Parameters of Table Function

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

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

branchNumber

 

☑

 

Identifies the branch

expandAddress

 

☐

 

True to get main address for branch.

expandBankSettings

 

☐

 

True to get payment settings for Branch.

expandContact

 

☐

 

True to get main contact for a branch.

expandCurrency

 

☐

 

True to get base currency for a branch.

expandDefaultCountry

 

☐

 

True to get default country for a branch.

expandDeliveryAddress

 

☐

 

True to get delivery address for a branch.

expandDeliveryContact

 

☐

 

True to get delivery contact for a branch.

expandIndustryCode

 

☐

 

True to get industry code for a branch.

expandLedger

 

☐

 

True to get ledger for a branch.

expandVatZone

 

☐

 

True to get vat zone for a branch.

 

Columns of Table Function

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

Name

Data Type

Label

Required

Documentation

bankSettings_bankAddress1

varchar2

 

☐

Bank address1

bankSettings_bankAddress2

varchar2

 

☐

BankAddress2

bankSettings_bankAddress3

varchar2

 

☐

BankAddress3

bankSettings_bankCountry

varchar2

 

☐

BankCountry

bankSettings_bankName

varchar2

 

☐

Bank name

bankSettings_bban

varchar2

 

☐

BBAN

bankSettings_bbaN2

varchar2

 

☐

BBAN2

bankSettings_bbaN3

varchar2

 

☐

BBAN3

bankSettings_bic

varchar2

 

☐

BIC

bankSettings_creditorId

varchar2

 

☐

CreditorId

bankSettings_iban

varchar2

 

☐

IBAN

branchId

int32

 

☐

The top part > Branch ID* > The unique identifier of the Branch

COMPANY_CODE

varchar2(30)

Company Code

☑

Partition code, segmenting the data.

COMPANY_NAME

varchar2(240)

Company Name

☑

Name of the partition.

corporateId

varchar2

Corporate ID

☐

The Organisation details tab > VAT registration info section > Corporate ID > The corporate ID of the company.

currency_description

varchar2

Currency Description

☐

Currency description.

currency_id

varchar2

Currency ID

☐

Currency Id.

currency_symbol

varchar2

 

☐

Currency symbol.

defaultCountry_errorInfo

varchar2

 

☐

 

defaultCountry_id

varchar2

Default Country ID

☐

Mandatory field: Country ID* > The unique two-letter country ID according to international standard ISO 3166.

defaultCountry_metadata_maxPageSize

int64

 

☐

 

defaultCountry_metadata_totalCount

int64

 

☐

 

defaultCountry_name

varchar2

Default Country Name

☐

Mandatory field: Country name* > The complete name of the country.

deliveryAddress_addressId

int32

Delivery Address ID

☐

 

deliveryAddress_addressLine1

varchar2

Delivery Address Line 1

☐

Address 1 > The first line of the customer's/supplier's/company's/employee's contact address.

deliveryAddress_addressLine2

varchar2

Delivery Address Line 2

☐

Address 2 > The second line of the address.

deliveryAddress_addressLine3

varchar2

Delivery Address Line 3

☐

Address 3 > The third line of the address.

deliveryAddress_city

varchar2

Delivery Address City

☐

City > The city.

deliveryAddress_country_errorInfo

varchar2

 

☐

 

deliveryAddress_country_id

varchar2

Delivery Address Country ID

☐

Mandatory field: Country ID* > The unique two-letter country ID according to international standard ISO 3166.

deliveryAddress_country_metadata_maxPageSize

int64

 

☐

 

deliveryAddress_country_metadata_totalCount

int64

 

☐

 

deliveryAddress_country_name

varchar2

Delivery Address Country Name

☐

Mandatory field: Country name* > The complete name of the country.

deliveryAddress_county_id

varchar2

Delivery Address County ID

☐

Click the magnifier > The identifier

deliveryAddress_county_name

varchar2

Delivery Address County Name

☐

Click the magnifier > The displayed name

deliveryAddress_postalCode

varchar2

Delivery Address Postal Code

☐

Postcode > The postcode.

deliveryContact_attention

varchar2

Delivery Contact Attention

☐

Attention > The attention line as it is used in your customer's/supplier's/company's business letters. The intention of this line is to direct the letter to the right person if the letter is not addressed to any specific person.

deliveryContact_contactId

int32

Delivery Contact ID

☐

 

deliveryContact_email

varchar2

Delivery Contact Email Address

☐

Email > The email address of the customer/supplier/company as a business entity.

deliveryContact_fax

varchar2

Delivery Contact Fax

☐

Fax > The fax number.

deliveryContact_name

varchar2

Delivery Contact Name

☐

Name > The legal name of to appear on the documents.

deliveryContact_phone1

varchar2

Delivery Contact Phone 1

☐

Phone 1 > The default phone number.

deliveryContact_phone2

varchar2

Delivery Contact Phone 2

☐

Phone 2 > An additional phone number.

deliveryContact_web

varchar2

Delivery Contact Website

☐

Web > The website of the company, if one exists.

industryCode_description

varchar2

Industry Code Description

☐

Click on the magnifier. > The description.

industryCode_id

varchar2

Industry Code ID

☐

Click on the magnifier. > The identifier.

isActive

char

Is Active

☐

The top part > Is active branch.

isMainBranch

char

Is Main Branch

☐

The top part > Is main organisation > If you want this company to be the main company of your branches, select this check box.

lastModifiedDateTime

datetime

Last Modified

☐

System generated information. This information is not visible in the window.

ledger_description

varchar2

Ledger Description

☐

Click on the magnifier. > The description.

ledger_id

varchar2

Ledger ID

☐

Click on the magnifier. > The identifier.

mainAddress_addressId

int32

Main Address ID

☐

 

mainAddress_addressLine1

varchar2

Main Address Line 1

☐

Address 1 > The first line of the customer's/supplier's/company's/employee's contact address.

mainAddress_addressLine2

varchar2

Main Address Line 2

☐

Address 2 > The second line of the address.

mainAddress_addressLine3

varchar2

Main Address Line 3

☐

Address 3 > The third line of the address.

mainAddress_city

varchar2

Main Address City

☐

City > The city.

mainAddress_country_errorInfo

varchar2

 

☐

 

mainAddress_country_id

varchar2

Main Address Country ID

☐

Mandatory field: Country ID* > The unique two-letter country ID according to international standard ISO 3166.

mainAddress_country_metadata_maxPageSize

int64

 

☐

 

mainAddress_country_metadata_totalCount

int64

 

☐

 

mainAddress_country_name

varchar2

Main Address Country Name

☐

Mandatory field: Country name* > The complete name of the country.

mainAddress_county_id

varchar2

Main Address County ID

☐

Click the magnifier > The identifier

mainAddress_county_name

varchar2

Main Address County Name

☐

Click the magnifier > The displayed name

mainAddress_postalCode

varchar2

Main Address Postal Code

☐

Postcode > The postcode.

mainContact_attention

varchar2

Main Contact Attention

☐

Attention > The attention line as it is used in your customer's/supplier's/company's business letters. The intention of this line is to direct the letter to the right person if the letter is not addressed to any specific person.

mainContact_contactId

int32

Main Contact ID

☐

 

mainContact_email

varchar2

Main Contact Email Address

☐

Email > The email address of the customer/supplier/company as a business entity.

mainContact_fax

varchar2

Fax

☐

Fax > The fax number.

mainContact_name

varchar2

Main Contact Name

☐

Name > The legal name of to appear on the documents.

mainContact_phone1

varchar2

Main Contact Phone 1

☐

Phone 1 > The default phone number.

mainContact_phone2

varchar2

Main Contact Phone 2

☐

Phone 2 > An additional phone number.

mainContact_web

varchar2

Main Contact Website

☐

Web > The website of the company, if one exists.

name

varchar2

Name

☐

The top part > Company name > The name of the company.

number

varchar2

Number

☐

Mandatory field: The top part > Branch CD* > The branch number , which you compose according to the rules defined by the BIZACCT segmented key.

organizationId

int32

Organisation ID

☐

 

vatRegistrationId

varchar2

VAT Registration ID

☐

The Organisation details tab > VAT registration info section > VAT registration ID > The company registration ID for the country’s tax authority.

vatZone_description

varchar2

VAT Zone Description

☐

Click on the magnifier. > The description.

vatZone_id

varchar2

VAT Zone ID

☐

Click on the magnifier. > The identifier.

 

X

Important Safety and Usage Information

Intended Use and Limitations: This software, developed by Invantive, is designed to support a variety of business and information technology data processing functions, such as accounting, financial reporting an sales reporting. It is important to note that this software is not designed, tested, or approved for use in environments where malfunction or failure could lead to life-threatening situations or severe physical or environmental damage. This includes, but is not limited to:

  • Nuclear facilities: The software should not be used for operations or functions related to the control, maintenance, or operation of nuclear facilities.
  • Defense and Military Applications: This software is not suitable for use in defense-related applications, including but not limited to weaponry control, military strategy planning, or any other aspects of national defense.
  • Aviation: The software is not intended for use in the operation, navigation, or communication systems of any aircraft or air traffic control environments.
  • Healthcare and Medicine Production: This software should not be utilized for medical device operation, patient data analysis for critical health decisions, pharmaceutical production, or medical research where its failure or malfunction could impact patient health.
  • Chemical and Hazardous Material Handling: This software is not intended for the management, control, or operational aspects of chemical plants or hazardous material handling facilities. Any malfunction in software used in these settings could result in dangerous chemical spills, explosions, or environmental disasters.
  • Transportation and Traffic Control Systems: The software should not be used for the control, operation, or management of transportation systems, including railway signal controls, subway systems, or traffic light management. Malfunctions in such critical systems could lead to severe accidents and endanger public safety.
  • Energy Grid and Utility Control Systems: This software is not designed for the control or operation of energy grid systems, including electrical substations, renewable energy control systems, or water utility control systems. The failure of software in these areas could lead to significant power outages, water supply disruptions, or other public utility failures, potentially endangering communities and causing extensive damage.
  • Other High-Risk Environments: Any other critical infrastructure and environments where a failure of the software could result in significant harm to individuals or the environment.

User Responsibility: Users must ensure that they understand the intended use of the software and refrain from deploying it in any setting that falls outside of its designed purpose. It is the responsibility of the user to assess the suitability of the software for their intended application, especially in any scenarios that might pose a risk to life, health, or the environment.

Disclaimer of Liability: Invantive disclaims any responsibility for damage, injury, or legal consequences resulting from the use or misuse of this software in prohibited or unintended applications.

  
Disclaimer