This topic contains 6 replies, has 0 voices, and was last updated by dnewnham 12 years, 8 months ago.
-
AuthorPosts
-
February 21, 2012 at 7:10 pm #8451
dnewnhamHi,
I am trying to find the table and field name that corresponds to the “exchangerate” field that sits on the accounting tab in a sales order. It doesn’t seem to be in the TRANSACTION table.
Any ideas?
thanks,
Doug
This is a cached copy. Click here to see the original post. -
February 22, 2012 at 7:23 am #8452
george.panaritisI believe “exchangerate” is in the CURRENCY record and not on the TRANSACTION record
-
February 22, 2012 at 3:09 pm #8453
dnewnhamThen it must be pulling the rate in based on the date of the transaction. The rate recorded on our Sales Orders is the rate we had entered in the period of the Sales Order. I will have to work around it.
-
February 23, 2012 at 5:59 pm #8454
Tom ConcannonWell I know that the exchange rate is stored on each individual transaction because you can see it in transaction search results. I don’t know how you can identify this field in the ODBC views but it is probably in there somewhere. Sorry for the lack of a detailed solution but maybe Suite Answers or NetSuite Central has help to figure this out.
-
February 24, 2012 at 12:57 pm #8455
rnedelkowThere is a Currency Rates view that has the exchange rate.
Thanks,
-
March 1, 2012 at 6:15 am #8456
DBLRE: Querying Transaction Tables using ODBC
Originally posted by Tom Concannon
View Post
Well I know that the exchange rate is stored on each individual transaction because you can see it in transaction search results. I don’t know how you can identify this field in the ODBC views but it is probably in there somewhere. Sorry for the lack of a detailed solution but maybe Suite Answers or NetSuite Central has help to figure this out.
For info, the ‘override’ exchange rate is not in my Transaction view either.
I guess you could get an implied rate from the Transaction_Line view using Amount / Amount_Foreign for the ‘total’ record (Transaction_Line_Id=0 ?) but with Amount being rounded to 2 decimal places, I don’t know if this will be accurate enough
-
March 1, 2012 at 2:57 pm #8457
dnewnhamThanks for that idea. I can probably also look up the rate for the same period as the transaction was created. That will probably do me for now.
-
AuthorPosts
You must be logged in to reply to this topic.