Hello,
I need to find the right exchange rate from the rate table by a purchase document on the purchase date.
In the purchase table a have the docnr, date, and value in euro.
In the rate table I have for each date a currency and the rate,
for example:
5 march, USA, 0.75
12 april, USA, 0.81
So I need a query that’s give me for a PO doc on 5 march the follow results: the PO docnr(lines), PO date, PO value in euro and the rate of 0.75.
Because there are a lot of order lines I don’t want a where statement on the PO doc, but a list with all the PO nr’s and the right exchange rate.
Dan
I need to find the right exchange rate from the rate table by a purchase document on the purchase date.
In the purchase table a have the docnr, date, and value in euro.
In the rate table I have for each date a currency and the rate,
for example:
5 march, USA, 0.75
12 april, USA, 0.81
So I need a query that’s give me for a PO doc on 5 march the follow results: the PO docnr(lines), PO date, PO value in euro and the rate of 0.75.
Because there are a lot of order lines I don’t want a where statement on the PO doc, but a list with all the PO nr’s and the right exchange rate.
Dan