Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

BaaN IV Query Transaction Data

$
0
0
Hello,

I need the help of this user board.
I'm very new to BaaN IV. I want to create a new query about the table tdinv700.
Result of the query should be a report about the transcation datas for the different articles in which the amounts of every possible movement is totalized per month.
It should be like this:

Article movement amount date
12345 Sales order 5000 2022/01
12345 Sales oder 200 2022/02
15555 Sales order 300 2022/01
14444 Sales order 400 2022/02

With my already created query i'm getting the movement totalized per day and not per month.

My problem is the field tdinv700.trdt. I would like to change the format of this field or shorten the filed.

The code I tried for shorten this field is

Select
Left (tdinv700.trdt,6)......and so on.


When I'm trying to execute this query, I'm allways getting the error message that there is no table 'Left(tdinv700.trdt,6)'

What I have to do, that i can trim a field in baan, or better what I have to write in my SQL code to get a result like I wrote in my example.

Thanks in advance.

Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>