I have been asked to provide a web service using AIF exposes various information from PurchTable. One item of information, I will provide, is the sum that the lines LineAmount.
Is it possible, and if so, how do I screw a query together that present this sum as a field in line with PurchName, PurchStatus ...?
I have defined a sum field to calculate the the sum of LineAmount:
Image may be NSFW.
Clik here to view.
Then I have tried to pull sum field into a view without success:
Image may be NSFW.
Clik here to view.
to check my query before I create my AIF web service
Image may be NSFW.
Clik here to view.
I need some advice and my questions are:
What am I doing wrong?
Is it the right way to solve the problem?