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.
Now or Never
0
Comments
What the problem?
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
The field is not getting updated which I want. :-k
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.
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
Do you call CurrForm.UPDATE?
This could be anything. You need to give us more info.
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.
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 issue