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

Notifications

Announcements

Community site session details

Community site session details

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

Sorry, we just updated this page. Reopen it, and try again.

(0) ShareShare
ReportReport
Posted on by 436

Hello everyone, can anyone tell me how to resolve this issue? I have gone through multiple threads but didn't found the solution. I have debugged this also. There is an error in the manufacturer code field. but don't know what it is. 

pastedimage1685370132723v2.png

I am calling this procedure on OnValidate trigger of Manufacturer code to fill manufacturer name field.

 Kindly help.

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,746 Moderator on at

    can you please show your complete code? Also try this

    proce manfname():Text[50]

    begin

    if mantab.get(Rec."Man Code") then

     Exit(mantab.name);

    end;

  • Suggested answer
    YUN ZHU Profile Picture
    97,205 Super User 2025 Season 2 on at

    Sorry, I'm not sure, I think you can try to add the DelayedInsert property to see if it can solve this problem.

    Hope this helps.

    Thanks.

    ZHU

  • Muhammad Anas Naeemi Profile Picture
    436 on at

    Hey Nitin, thank you for your response. But it didn't worked. And sorry can't share the code as it is too lengthy.

  • Muhammad Anas Naeemi Profile Picture
    436 on at

    Hey ZHU, thank you for your response but it is not working.

  • Suggested answer
    Nitin Verma Profile Picture
    21,746 Moderator on at

    You can share the AL file only.

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,069

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,222

#3
YUN ZHU Profile Picture

YUN ZHU 1,033 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans