biuan SAP® BUSINESS ONE SDK
DTW States
API State
State Object

Description

Represents a state that can be included, for example, in an address for a business partner.

Source table: OCST

All properties are mandatory.

Remarks

Each state is assigned to a specific country.

See Also

SAP® B1 DI-API C# definition

public class StateClass : IState, State { public virtual string Code { get; set; } public virtual string Country { get; set; } public virtual string Name { get; set; } public extern StateClass(); public virtual extern void FromXMLFile( string bstrFileName); public virtual extern void FromXMLString( string bstrXML); public virtual extern string GetXMLSchema(); public virtual extern void ToXMLFile( string bstrFileName); public virtual extern string ToXMLString(); }

API State
State Property

Description

Sets or returns the state code.

Field name: State.

Length: 3 characters.

Property type

Read-write property

Syntax

Visual Basic
Public Property State() As String

See Also

DTW Business Partners / Business Partner Master Data
API State
State Property

Description

Sets or returns the state code of the business partner bank account.

Field name: State.

Length: 3 characters.

This is a foreign key to the States table (OCST), which is not exposed through the DI API.

Property type

Read-write property

Syntax

Visual Basic
Public Property State() As String

Remarks

Only state codes that are defined in the States table are applicable.

See Also

DTW Business Partners / Business Partner Master Data
API State
State Property

Description

Sets or returns the state code of the business partner.

Field name: State.

Length: 3 characters.

This is a foreign key to the States table (OCST), which is not exposed through the DI API.

Property type

Read-write property

Syntax

Visual Basic
Public Property State() As String

Remarks

Only state codes that are defined in the States table are applicable.

See Also

DTW Administration / Setup / Banking / House Bank Accounts
API State
State Property

Description

Sets or returns the state code of the house bank. This is a foreign key to the States table (OCST), which is not exposed through the DI API.

Field name: State.

Length: 3 characters.

Property type

Read-write property

Syntax

Visual Basic
Public Property State() As String

Remarks

Only state codes that are defined in the States table are applicable.

See Also

DTW Administration / Setup / Inventory / Warehouses
API State
State Property

Description

Sets or returns the state code of the sub-component of the warehouse address.

Field name: State.

Length: 3 characters.

This is a foreign key to the States table (OCST), which is not exposed through the DI API.

Property type

Read-write property

Syntax

Visual Basic
Public Property State() As String

Remarks

Only state codes that are defined in the States table are applicable.

See Also

DTW Business Partners / Activity
API State
State Property

Description

The code of the state where the activity (Meeting type only) with the business partner takes place.

Field name: State.

Length: 3 characters.

This is a foreign key to the States table (OCST).

Property type

Read-write property

Syntax

Visual Basic
Public Property State() As String

Remarks

Only state codes that are defined in the States table are applicable.

See Also

DTW Administration / Setup / Inventory / Warehouse Locations
API State
State Property

Description

Sets or returns the state in the location definition.

Applicable for cluster B only.

Field name: State.

Property type

Read-write property

Syntax

Visual Basic
Public Property State() As String

See Also

Related information


States Service StatesService Service· Table: OCST
The StatesService service enables you to add, look up and remove states in the states master data table. States are assigned to business partners and other objects as part of the address information. Each state is associated with a specific...


Tax Extension TaxExtension Object· Table: IGE12 IGN12
TaxExtension is a child object of the Documents object. It stores fiscal IDs of marketing documents. Every marketing document has a set of fiscal IDs. The TaxExtension object is applicable for cluster B (country-specific for Brazil and...
   Parent: Documents Documents Object· Table: OIGE OIGN


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates