Hi request you to help me,
Whenever I press f3 key on customer card,
and on f3 on sales invoice header
i want show msg or modalbox or display the company name.
How can I do..
Appreciate your help.. thanks
*This post is locked for comments
Hi request you to help me,
Whenever I press f3 key on customer card,
and on f3 on sales invoice header
i want show msg or modalbox or display the company name.
How can I do..
Appreciate your help.. thanks
*This post is locked for comments
Thanks Suresh and Miguel! I forget checking the version of questioner.
Both ways are fine. But I prefer to edit codeunit than each form, one shot many birds :-)
Not System Indicator in NAV 5 ... so... that's not an option. You should edit the forms :-)
I think he is on Nav 5.0 so unfortunately system indicator is not an option.
Hi navbsa,
Take a look at System Indicator:
community.dynamics.com/.../nav-2009-r2-system-indicator
It seems that you want users know their working company.
Hi,
If you are modifying the Codeunit, you have to handle separately while posting the transactions using the batch, e.g Post Batch, instead, if you are writing it on the form, you have to write only one statement for each form. (Sales Invoice and Purchase Invoice).
I recommend to change the codeunit instead of the forms because you have to customize 4 or 5 forms instead of adding code in one place, and when ever you want to change something you have to change 4 or 5 different objects instead of one.
When you add a change to codeunit just make sure you throw the message box only IF GUIALLOWED that way it does not affect any other routines.
I'm with Mahesh... from my point of view you should better change the forms instead the CUs.
Hi,
You may write a message box on the Sales Invoice Form and Purchase Invoice Form, on the Post button rather than disturbing the code unit.
edit codeunits sales post and purchase post. add the code into the first line of the onrun trigger.
thanks and message(companyname) I want to display before posting sales invoice and purchase invoice, purchase credit memo and sales credit memo, where should i paste the above code
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,407
Most Valuable Professional
nmaenpaa
101,156