Hi All,
I have a requirement to write my select statement based on one table. The table is as below.
Customer | Customer Name | Where clause | Table | Field |
13441 | TMU | SalesId | SalesTable | CustOrderNumber |
11996 | TRU | SalesId | SalesTable | EDI_ShipToLocation |
123456 | ADT | LineNum | SalesLine | LineNum |
So if the customer is "13441" I need to use the table as "SalesTable and Field as "CustOrderNumber and in where clause need to use"SalesId".
So my select statement will change based on customer account every time.
Is there anyway I can achieve it and can build my select statement ?
Regards
*This post is locked for comments