using Currform.update
sunnyk
Member Posts: 280
Hi All,
On the form 99000882(Change Status on Prod. Order), i put one Text box for entering a value of type code.
When we do function -> Change status we have only one option that is selected (released). This is ok. so in this case my above Text box is always editable. But when we do the same thing from planned prod order we have 2 options to select from
1.Firm Planned(defaut)
2.Released
in this case i want the my text box is non editable( no proble with this). but when i click the released button its get editable but the back color is still like that it is uneditable, but i can enter the values.
On the form 99000882(Change Status on Prod. Order), i put one Text box for entering a value of type code.
When we do function -> Change status we have only one option that is selected (released). This is ok. so in this case my above Text box is always editable. But when we do the same thing from planned prod order we have 2 options to select from
1.Firm Planned(defaut)
2.Released
in this case i want the my text box is non editable( no proble with this). but when i click the released button its get editable but the back color is still like that it is uneditable, but i can enter the values.
0
Comments
-
Can you show your code?0
-
Hi Mohan,
I have attached the screenshots.0 -
You want it to be editable only when you call that form from Firm Planned Prod. orders and not from planned production orders?0
-
mohana_cse06 wrote:You want it to be editable only when you call that form from Firm Planned Prod. orders and not from planned production orders?
If yes,
try by writing this code in set functionCurrForm.Testedit.EDITABLE := ProdOrder.Status > ProdOrder.Status::Planned;
Where Testedit is name of new field..0 -
Hi Mohan,
When i start the process of changing the status from firm planned, the form shows only one editable option i.e; Released. I have no issues with this because in this case my text box is in editable mode but when we do the change status process from planned Prod. Order we have 2 options 1. firm planned (by default) and the 2. Released. Initially in this case my text box should be uneditable (no issues in this also) but if i select the option 2 i.e; Released it should become editable, so i wrote the code on this radio button's ONValaidate. It become editable but the back color is still grey and not white, because that makes the user confuse wether it is editable or not .0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 327 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
