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

Announcements

No record found.

News and Announcements icon
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.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 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
    103,085 Super User 2026 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,812 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 715 Super User 2026 Season 2

#2
AndrewThomas81 Profile Picture

AndrewThomas81 390 Super User 2026 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 386 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans