Skip to Content

Setting Currency-rates with the SDK

Hi all...

Does anyone know how to set the currency-rates using the SDK (I have an online currency-rate source and wish via an addon to update all currency rates in SBO from this)

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 25, 2005 at 08:27 AM

    Hello Ramsus,

    please you SBObob object for this purpose,

    <b>SetCurrencyRate Method</b>

    Sets the exchange rate for a specified date and currency in the company database

    Public Sub SetCurrencyRate( _
       ByVal Currency As String, _
       ByVal Date As Date, _
       ByVal Value As Double, _
       Optional ByVal Update As Boolean = False _


    Currency - Specifies the target currency

    Date - Specifies the date of the currency rate

    Value - Specifies the rate of the target currency

    Update - Specifies a value indicating whether or not to update the currency, if a value for the required date exists already

    you can see example in <u>Currency Bob Sample</u> in SDK documentation

    Regards, Avi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.