Hi,
So, I am working on a bank statement import from a Report. The idea is that on the request page the user inputs the Bank Account No. and No. Series using lookups. I managed to get it all working, but can't figure out on how to get only No. Series that are related to Bank Statements. Tried to use the AssistEdit function from the PaymentHeader table that sorts on only relevant No. Series and got the filtered No. Series that I want (pic below). Now the problem is that when I chose the No. Series it dose nothing and does not save my values because this function only returns a Boolean.



I know this is not right and is just to show you what I'm talking about. (this code returns a false and finds the first No. Series it finds from the list)
Thank you in advance for any tip and help!