web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to get No. Series from PayHeader.AssistEdit function (Lookup)

(0) ShareShare
ReportReport
Posted on by 10

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. 

pastedimage1679043765090v2.pngpastedimage1679043968315v3.pngpastedimage1679044045156v4.png

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!

I have the same question (0)
  • Fabrika Profile Picture
    10 on at

    ps. adding the AssistEdit function from the Payment Header table...

    pastedimage1679044574827v1.png

  • Suggested answer
    Fabrika Profile Picture
    10 on at

    Managed to solve the problem by myself. Here is the code I have used if anyone is interested or will need to do something like that someday.

    Cheers!

    pastedimage1679051693995v1.png

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Thank you for sharing.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans