📚 SAP Business One SDK Help

Currency Property
See Also  Example

Description

Sets or returns the currency used by a business partner in documents.

Field name: CRD_CURR.

Length: 3 characters.

Property type

Read-write property

Syntax

Visual Basic
Public Property Currency() As String

Remarks

A business transaction may include more than one currency. In this case, use the GetCurrencyRate method to unify the total amount in different currencies into one currency.

The value for multiple currencies is ##.

The card currency determines the currency, in which all journal entries and marketing documents for that card will be performed.

The card's default currency is the local currency, and it is used for all journal entries.

Example

Creating a New All-Currencies Business Partner (C#)Copy Code
SAPbobsCOM.BusinessPartners bp = (SAPbobsCOM.BusinessPartners)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners); 
bp.CardCode = "C10000"; 
bp.Currency = "##"; 
bp.DefaultCurrency = "JPY"; 
bp.Add();

See Also