Cutomer Card in Editable Mode

Hi

In Nav 2015 customer card is open through Customer List. I want to open the Customer card initally in Non Editable form for which i write the code on Customer card OnOpen Trigger as :

CurrPage.Editable(False);

And it works Fine.

But i want to give a button for Editable mode.But Edit option is non Editable.

I created a button named Edit and write as :

CurrPage.Editable(True);

But its not working. Can anyone tell me how i can make the page in editable form ??

Thanks & Regards

Ravi

Hi

Just Create one action Named Editable And just pass the Boolean value

Editable := True in that And assign that variable in your card page Editable property also.

Thank you

Harsh Makwana

I tried it already but it is applicable on the field level.Not able to do this on Page Property.

Thanks

hi Ravi ,

If your talking about Card Page then Apply same thing Instead of using it on Every Fields Use it on Groups .

Set Group’s Editable Property to Boolean variable and create an action to Enable/Disable Editability … by default the bool value be false so you can make it editable by hitting your Action…

Thanks Raja Its works perfectly :slight_smile:

Hi Ravi

You should try this…

Give all the field Editable value as Boolean and pass it’s value as False on OnOpenPage()

When you click on action you should pass the value of that editable property as true… its working…

Thanks

happy to hear that[:D][Y]