Purchase Invoice number
ORGfit
Member Posts: 2
Hi,
I am a junior NAV consultant and because of my limited experience I have a question that maybe fairly obvious to most of you.
In NAV 4.0 when you post a purchase order you will see a pop-up for like 0.5 seconds with the generated purchase invoice number.
My client wants to know what the number is without looking it up or navigating, so I would like to delay this pop-up. How can this pop-up be delayed?
Any other suggestions to help me solve this issue are welcome too.
Thanks in advance for your suggestions.
I am a junior NAV consultant and because of my limited experience I have a question that maybe fairly obvious to most of you.
In NAV 4.0 when you post a purchase order you will see a pop-up for like 0.5 seconds with the generated purchase invoice number.
My client wants to know what the number is without looking it up or navigating, so I would like to delay this pop-up. How can this pop-up be delayed?
Any other suggestions to help me solve this issue are welcome too.
Thanks in advance for your suggestions.
0
Comments
-
Add MESSAGE in CU:90 at the end of OnRun:
OnRun(VAR Rec : Record "Purchase Header")
...
UpdateAnalysisView.UpdateAll(0,TRUE);
UpdateItemAnalysisView.UpdateAll(0,TRUE);
Rec := PurchHeader;
MESSAGE('Posted invoice No. is: %1',PurchInvHeader."No.") ;
SetPostingDate(NewReplacePostingDate : Boolean;NewReplaceDocumentDate : Boolean;NewPostingDate : Date)
PostingDateExists := TRUE;
ReplacePostingDate := NewReplacePostingDate;
ReplaceDocumentDate := NewReplaceDocumentDate;
...0 -
You may want to set a variable so it doesnt always show that pop-up since you may be running post batch jobs.0
-
Do not forget to:
1) Use text constants for the string
2) Use GUIALLOWED to skip the message if running under NAS
3) Add some setup to be able to disable this message
4) Do not forget the bug in some NAV versions, where message are still keeping table locks (the transaction is commited after you close the message) - it can lead to big lock blocks.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
