Quantcast
Channel: Microsoft Dynamics NAV
Viewing all articles
Browse latest Browse all 64865

Forum Post: RE: Use of Property "Editing" in Pages using C/AL Code.

$
0
0

Dear Mohana,

 

I created a Boolean variable named EditarSucursalInv in the C/AL Global.

                        

 

Then I added to the property "Editing" of my control.

 

After initialize the variable in Event "OnInit()" of the Page.

 

And finally reassign the variable in Event "OnValidate()" of the field that triggers the validation of editing changes.

 

Only that's what I did, but it does not work, because although disabled the field, since the code that I put in the Event "OnInit ()", was executed, but it when running the Event "OnValidate ()" is not generates unchanged, that is, it is always disabled.

 

Could you to send me an example with Nav controls, how would you?

 

 

 

Best regards,

Marlon T. Ramirez


Viewing all articles
Browse latest Browse all 64865

Latest Images

Trending Articles



Latest Images