How to update ?
navuser1
Member Posts: 1,334
Hi all,
I have added a new field in The Item Table and want to update it thru a Codeunit. The Codeunit is called via Function Menu Button in The Item Card.
Function (Menu Button)
> New Menu ( Copy Zob ) ---->Run Object Call the Codeunit.
I have added a new field in The Item Table and want to update it thru a Codeunit. The Codeunit is called via Function Menu Button in The Item Card.
Function (Menu Button)
> New Menu ( Copy Zob ) ---->Run Object Call the Codeunit.
Now or Never
0
Comments
-
-
Hi,
I suspect that you are displaying the field and there is confict between the coddeunit update and the form update. Try getting the record again after the codeunit update.0 -
Do you call modify?
Do you call CurrForm.UPDATE?
This could be anything. You need to give us more info.0 -
Dear all,
Actual Scenario
I have added a new field Estimated Job in the Job table and want to updated this field from the Function (Menu Button) ----Copy Job.Estimated Job No. should be Copy from Job No.Now or Never0 -
Hi,
once u assign the value Job."Estimate Job No." := "job no.";
use Job.Modify; if u are entering/ modifying the existing record.
or if new records is being inserted then write Job.Insert in the end.
this should solve ur issue0
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
- 117 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
- 333 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 991 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