Forum Discussion
SBGoh
Helper I
3 years agoHow to get filtered lookup table?
Hi, I want to get 2 tables below and they are link by SO #. I want to get the CS No. with the highest POS # where Code = 'ZC'. I am trying to use lookup table but seems not working. Can anyone a...
SBGoh
Helper I
3 years agoHi, I have a Sales Order with SO # = 1900 with a list of 3 partners records. (The 2 tables are link by SO #).
The Code = 'ZC' refers to CS executive and there are 2 CS. I only want to display 1 CS record with highest POS #. In this case is the blue highlighed record with Code = 'ZC' and POS # = 0011 and CS No. = 2244.
Partner table
| SO # | POS # | Code | CS No. |
| 1900 | 0000 | VE | 1234 |
| 1900 | 0011 | ZC | 2244 |
| 1900 | 0000 | ZC | 3355 |
Sales Order table
| SO # | POS # | Material |
| 1900 | 0011 | PartNum 1 |
| 1900 | 0022 | PartNum 2 |
danextian
Super User
3 years agoPlease check the formulas i inititally provided. Either one should work.