Is there a creative way to get the bill payment from a transaction saved search of bill when Main Line is F?
n
Netsuite Tragic
11/04/2020, 10:59 PM
Have you tried Main Line = Either/Both?
l
Luis
11/04/2020, 11:18 PM
I need to exclude the main line and retain the transaction lines only.
n
Netsuite Tragic
11/05/2020, 1:01 AM
@Luis play with the Line numbers of the transaction line. Using Main Line - Either the Bill Payment info will be on Line 0 which you can exclude from your other columns.
l
Luis
11/05/2020, 6:28 PM
I don't that would work. I need to show the bill payments at the transaction line level and not at the main level. So all line sequence numbers greater than 0 must have that Bill Payment (not just the 0).
n
Netsuite Tragic
11/05/2020, 11:55 PM
OK, got you. I feel it can be done with an SQL statement. Here's one shot: MAX /* comment */ ({payingtransaction}) OVER(ORDER BY {internalid} ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW). Needs work though to replace the "unbounded" but hopefully this gets you on the right track