📚 SAP Business One SDK Help

Currencies Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new currency rate.
Public Method GetAsXMLReturns the object from XML data, which is stored as string in a buffer.
Public Method GetByKeyRetrieves and sets the values of the object's properties by the object's absolute key from the Company database.
Public Method RemoveDeletes a record from the object table.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to XML formatted data.
Public Method UpdateUpdates the object data in the company database.

Public Properties

Public Property BrowserReturns the DataBrowser object.
Public Property CodeSets or returns the currency code, for example, USD, EUR.

Field name: CurrCode.

Mandatory property.

Length: 3 characters.

Public Property DecimalsSets or returns a value that specifies the decimal rounding type for the currency.
Public Property DocumentsCodeSets or returns the currency internatioanl code on printed documents (e.g. $, ?).

Field name: DocCurrCod.

Mandatory property.

Length: 3 characters.

Public Property EnglishHundredthNameSets or returns the English singular name of the decimal unit (e.g. Cent).

Field name: F100Name.

Length: 20 characters.

Public Property EnglishNameSets or returns the English singular name of the currency (e.g. Canadian Dollar).

Field name: FrgnName.

Length: 20 characters.

Public Property HundredthNameSets or returns the singular name of the decimal unit (e.g. Cent) on printed checks.

Field name: Chk100Name.

Length: 20 characters.

Public Property InternationalDescriptionSets or returns the international singular name of the currency on printed chacks (e.g. Canadian Dollar).

Field name: ChkName.

Length: 20 characters.

Public Property MaxIncomingAmtDiffproperty MaxIncomingAmtDiff
Public Property MaxIncomingAmtDiffPercentproperty MaxIncomingAmtDiffPercent
Public Property MaxOutgoingAmtDiffproperty MaxOutgoingAmtDiff
Public Property MaxOutgoingAmtDiffPercentproperty MaxOutgoingAmtDiffPercent
Public Property NameSets or returns the currency name (e.g. Canadian Dollar).

Field name: CurrName.

Length: 20 characters.

Public Property PluralEnglishHundredthNameSets or returns the English plural name of the decimal unit (e.g. Cents).

Applicable for cluster B only.

Length: 20 characters.

Public Property PluralEnglishNameSets or returns the English plural name of the currency (e.g. Canadian Dollars).

Applicable for cluster B only.

Length: 20 characters.

Public Property PluralHundredthNameSets or returns the plural name of the decimal unit (e.g. Cents) on printed checks.

Applicable for cluster B only.

Length: 20 characters.

Public Property PluralInternationalDescriptionSets or returns the international plural name of the currency on printed chacks (e.g. Canadian Dollar).

 Applicable for cluster B only.

Length: 20 characters.

Public Property RoundingSets or returns a valid value that determines the rounding method.
Public Property RoundingInPaymentSets or returns a valid value that determines whether or not to round the total in payments.
Public Property UserFieldsReturns the UserFields object.

See Also