Marketcircle    Forums  Hop To Forum Categories  Extending Daylite  Hop To Forums  Scripting    Script to convert currency from USD to EUR
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Journeyman
Posted
Hello there once again!

Is there any scripts to convert currency in all oportunities and estimates.

By now all our prices are in local currency, and we want to convert them to other values with fixed rate, let's say 1:2

Any ideas?

Thanks,

Andy
 
Posts: 73 | Registered: July 17, 2006Reply With QuoteEdit or Delete MessageReport This Post
AJ
Marketcircle Team
Picture of AJ
Posted Hide Post
Humm ... good one

Do you know how do it in AppleScript using the Web Services stuff?
If you do, you can build the AppleScript in F-Script, then use a NSAppleScript object to execute the AppleScript.

You'll get an NSAppleEventDescriptor as a return value. There you can get the intValue or stringValue. NSAppleEventDescriptor is a bit tricky.

Once you have the exchange rate - you can then do normal math in F-Script.

There might be another way to do this in F-Script (get the exchange rate using web services). Philippe Mougin would be able to answer best (I think he is on vacation now).

HTH
 
Posts: 893 | Location: Toronto | Registered: May 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

Marketcircle    Forums  Hop To Forum Categories  Extending Daylite  Hop To Forums  Scripting    Script to convert currency from USD to EUR

© Copyright 2006 Marketcircle Inc. All rights reserved.