need a help!! SOS!!
                
                    Becka                
                
                    Member Posts: 178                
            
                        
            
                    Hii ppl.. For example when you need to post somethin' when you click on Post Shipment, there runs a form and you can choose Ship or Ship and Invoice.. So, the question is that, i need to change this form, i need to change Ship and Invoice option properties to "not editable".. so if you guys have any ideas 'bout how to solve this problem just help... Thank you all                
                MCSD
Attain Navision
Attain Navision
0                
            Comments
- 
            See codeunits 81 and 82. Look for STRMENUThere are no bugs - only undocumented features.0
 - 
            You can control codeunits 81 (for sales) and 91(for purchases), there you will find also some text constants that refers to the "form" you want to modify.
I put form in quote marks because what you see when you post is not properly a form object, but the instructionSTRMENU(Text000,3)
you will find in the two codeunits.
To solve your problem, you can create a new constant (e.g. only with "ship") and call the STRMENU with the new text constant.
The user will see only the options you write in the constant.
Be careful!Remember to assignate the right values to the constants (the second parameter of strmenu function, for more info read the help for "strmenu"!
Hope it's clear,
Regards0 - 
            and what 'bout Warehouse Shipment??MCSD
Attain Navision0 - 
            codeunit 5764 and 5765...you can activate the debugger on the form and try to post...after a few lines of code the codeunit will "appear"...
by the way, it's up to you to choose what to do and how to do it...find your best solution!
                        0 - 
            and how to set Ship and Invoice to NOT EDITABLE??MCSD
Attain Navision0 - 
            I'm pretty sure it's impossible...but isn't it the same thing to not show the option at all?
you can also make the system do the same thing if, for exeample, the user selects "Ship" or "Ship and Invoice", but in my opinion this solution is not very clear...
edit: The second parameter in strmenu function only defines the default selection...sorry :oops:0 - 
            yeah... if i'll put "ship and invoice" into the comment.. i guess it works it out..MCSD
Attain Navision0 - 
            [Can you please put a good title for your topic. This title says nothing.]
Please see Forum Rule #7: Forum Rules.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 
Categories
- All Categories
 - 73 General
 - 73 Announcements
 - 66.6K Microsoft Dynamics NAV
 - 18.7K 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
 - 617 NAV Courses, Exams & Certification
 - 2K Microsoft Dynamics-Other
 - 1.5K Dynamics AX
 - 323 Dynamics CRM
 - 111 Dynamics GP
 - 10 Dynamics SL
 - 1.5K Other
 - 990 SQL General
 - 383 SQL Performance
 - 34 SQL Tips & Tricks
 - 35 Design Patterns (General & Best Practices)
 - 1 Architectural Patterns
 - 10 Design Patterns
 - 5 Implementation Patterns
 - 53 3rd Party Products, Services & Events
 - 1.6K General
 - 1.1K General Chat
 - 1.6K Website
 - 83 Testing
 - 1.2K Download section
 - 23 How Tos section
 - 252 Feedback
 - 12 NAV TechDays 2013 Sessions
 - 13 NAV TechDays 2012 Sessions