📚 SAP Business One SDK Help

DocCurrency Property
See Also 

Description

Sets or returns the currency used in the document.

Field name: DocCur.

Length: 3 characters.

This is a foreign key to the Currencies object.

Property type

Read-write property

Syntax

Visual Basic
Public Property DocCurrency() As String

Remarks

The default value is retrieved from the Currency property of the BusinessPartners object. However, in case:

  • the the business partner uses multi-currency, and
  • the document is either purchase order, sales order, or quotation, and
  • the document is not used as a base document,

then the system, by default, retrieves the local currency. If a different currency is required, you can specify it by the DocCurrency property. Then the system updates the DocRate from the Currency Rates Table according to the specified document currency.

This property is not relevant for oInventoryGenEntry and oInventoryGenExit document types.

See Also