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

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

(0) ShareShare
ReportReport
Posted on by 390

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,708 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
    95,640 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
    390 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
    390 on at

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

  • Suggested answer
    Nitin Verma Profile Picture
    21,708 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…

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 2,577

#2
YUN ZHU Profile Picture

YUN ZHU 888 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 778 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans