📚 SAP Business One SDK Help

BPAddresses Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new Address record.

To save the information to the database, use the Add method in the BusinessPartners object.

Public Method DeleteDeletes the current line.

Returns a result value that indicates success or failure.

Public Method SetCurrentLineSets the active row to a specified row number.

Public Properties

Public Property AddressNameSets or returns the name of the address (Bill To address, Main address, Ship To address, and so on). Field name: Address.

Mandatory property.

Length: 50 characters.

Public Property AddressName2Sets or returns the BP second, alternative Address.

Field name: Address2.

Length: 50 characters.

Public Property AddressName3Sets or returns the BP third, alternative Address.

Field name: Address3.

Length: 50 characters.

Public Property AddressTypeSets or returns a valid value of BoAddressType type that specifies the type of the business partner's address: Ship To or Bill To. Field name: AdresType.
Public Property BlockSets or returns the block address.

Field name: Block.

Length: 100 characters.

Public Property BPCodeThe key to the current object's parent business partner.
Public Property BuildingFloorRoomSets or returns the additional address details, such as building number, floor number, and room number.

Field name: Building.

Length: 64,000 characters.

Public Property CitySets or returns the city.

Field name: City.

Length: 100 characters.

Public Property CountReturns the number of addresses in the object.
Public Property CountrySets or returns the country code (for example, DE).

Field name: City.

Length: 3 characters.

This is a foreign key to the Countries table (OCRY - not exposed through the DI API).

Public Property CountySets or returns the county.

Field name: County.

Length: 100 characters.

Public Property CreateDateproperty CreateDate
Public Property CreateTimeproperty CreateTime
Public Property FederalTaxIDSets or returns the federal tax ID of the business partner.

Field name: LicTradNum.

Length: 32 characters.

Public Property GlobalLocationNumberproperty GlobalLocationNumber
Public Property GSTINproperty GSTIN
Public Property GstTypeproperty GstType
Public Property MYFTypeproperty MYFType
Public Property Nationalityproperty Nationality
Public Property RoutingCodeThis is a code used in France’s e-invoicing system to route invoices to the correct recipient platform via the centralized Annuaire directory; it complements the mandatory SIREN number.

Field name: RoutingCod.

Length: 100 characters.

Public Property RowNumThe line number within the lines of the current object's parent business partner.
Public Property SiretNumberThis is a French business identifier. SIRET (14 digits) identifies a specific establishment.

Field name: SiretNo.

Length: 32 characters.

Public Property StateSets 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.

Public Property StreetSets or returns the street of the business partner address.

Field name: Street.

Length: 100 characters.

Public Property StreetNoThe street number.

Field name: StreetNo 

Public Property SuffixThis field provides additional information or helps organize invoices, especially when multiple systems or departments are involved in the invoicing process. While not a mandatory part of all e-Invoicing standards, it is common practice for businesses to use it for internal management or specific transactional data.

Field name: Suffix.

Length: 20 characters.

Public Property TaasEnabledTaaS service enabled on Address.

Field name: TaaSEnbl.

Public Property TaxCodeSets or returns the sales tax code.

Field name: TaxCode.

Length: 8 characters.

Public Property TaxOfficeproperty TaxOffice
Public Property TypeOfAddressThe address type.

Field name: AddrType

Public Property UserFieldsReturns the UserFields object.
Public Property ZipCodeSets or returns the zip code.

Field name: ZipCode.

Length: 20 characters.

See Also