📚 SAP Business One SDK Help

StatesService Object Members
See Also  Overview 

Public Methods

Public Method AddStateAdds a state.
Public Method DeleteStateDeletes an existing state.

The state is specified by its key (Code, Country), which is contained in the StateParams object passed to the method.

Public Method GetDataInterfaceCreates an empty data structure for use with the StatesService.
Public Method GetDataInterfaceFromXMLFileCreates an object from an XML file.
Public Method GetDataInterfaceFromXMLStringCreates an object from XML.
Public Method GetStateRetrieves a state.

The state is specified by its key (Code, Country), which is contained in the StateParams object passed to the method.

Public Method GetStateListRetrieves the keys and names of all the states.
Public Method UpdateStateUpdates an existing state.

The data for the state, including the key of the state to be updated, is contained in the State passed to the method. To update a state, you must first retrieve it using the GetState method.

See Also