Gabriel
(Vanhulle)
March 12, 2025, 3:42pm
1
Hello !
I am trying to add two columns in the quote line table showing unit setup cost and unit prod cost for each quoteDtl line.
As such I made a function taking and returning a dataset in parameter :
In application studio i set an event on GetById to send the full dataset to the function, and uses it result :
But when i try the quoteDlt part of the dataset is empty, so nothing happens. How do I get the full dataset ?
Thanks in advance !
jkane
(John Kane)
March 12, 2025, 4:36pm
2
You need to add the quote adapter to your Function and then you can specify the actual quote tableset as your parameter.
hmwillett
(Hannah Willett)
March 12, 2025, 5:16pm
3
If all you want is QuoteDtl why not just send only QuoteDtl?
Gabriel
(Vanhulle)
March 12, 2025, 5:24pm
4
If I do so I get this error :
I guess this is because Quote is the dataset, and QuoteDtl is a dataview in the application referencing a table of the dataset Quote.
I just don’t get why there are rows missing from it.
Indeed it’s in the quote entry
hmwillett
(Hannah Willett)
March 12, 2025, 5:26pm
5
Is this just in Quote Entry?
Gabriel
(Vanhulle)
March 12, 2025, 5:27pm
6
There is no column in the tableset for the data I am trying to show, and I cannot add columns to it. So I would have to cast the tableset to dataset then add the columns right ?
hmwillett
(Hannah Willett)
March 12, 2025, 5:28pm
7
This makes no difference. I send dataviews to functions all the time with the syntax shown.
2 Likes
Gabriel
(Vanhulle)
March 12, 2025, 5:31pm
8
Thanks a lot it did work !
I completely forgot the power of curly braces as it actualy sent data without them ! Glory to the braces !
1 Like
hmwillett
(Hannah Willett)
March 12, 2025, 5:33pm
9
Gabriel:
power of curly braces
Curly braces to send the dataview.
No curly braces to send the dataset.
You know. To make everything confusing for the users. LOL
4 Likes