Hello Clifford Meng,
GridView is only capable of showing the information that actually exists in the table. In Sales Analysis, the transaction file only contains the customer code. SA's online inquiry goes to the Customer master to retrieve the name.
While I'm not sure quite what question your query is trying to answer, another approach might be to link from a display of customer records to the sales analysis data, if you are trying to show sales to one customer. Alternatively, if you must have the customer name in the View, then define it directly in Sales Analysis as an Online Inquiry.
GridView's filters are similar to Excel's formulas. The formula for selecting sales Date greater than is:
code:
{Date} >= DATE(2004,01,01) // date >= beginning of this year
{Date} >= QueryDate("Starting when?") // date >= user specified valueAND(
{Cust #} >= "AAAAAA", // Customer # >=
{Date} >= DATE(2004,01,01)
)
You question about "Invoice >" and "Salesperson =" is ambiguous. If you are testing the invoice #, then use this:
code:
AND(
{Reference} >= " 100",
{Salesperson} =" "
)
If you are trying to test the amount of the invoice, then you will need to be looking at the OrderEntry Sales Order Header to get the total value of the invoice (SalesAnalysis keeps details only, and GridView does not support filtering on a summary total - unlike Crystal Reports for Adagio.)