web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to set allow edit false for address tab in customer form

(0) ShareShare
ReportReport
Posted on by

How to set allow edit false for address tab in customer form ?

Please advice...

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,249 Super User 2025 Season 2 on at
    RE: How to set allow edit false for address tab in customer form

    Hi Gnanaprakash,

    What is the exact requirement here? Would a same person be allowed to change or enter an address on another entity? Is it always not allowed for editing for the same person or based on more conditions?

    You can achieve something with security (privileges and table permissions), but based on the total requirement, it might require another or additional work.

  • Community Member Profile Picture
    on at
    RE: How to set allow edit false for address tab in customer form

    Thanks for reply André Arnaud de Calavon,

    My exact requirement is Customer's Address and contact information should not be able Add/Edit/Map/More options if customer status is 'InActive'.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    299,249 Super User 2025 Season 2 on at
    RE: How to set allow edit false for address tab in customer form

    Hi Gnanaprakash,

    In this scenario, you should write some x++ logic on the active method of the CustTable datasource to disable/enable the LogisticsPostalAddress datasource or related form controls based on the customer status.

  • Suggested answer
    Yash12jain Profile Picture
    40 on at
    RE: How to set allow edit false for address tab in customer form

    Use this in your form Oninitialized event

    sender.control(sender.controlId(formControlStr(CustTable, <controlname>))).allowEdit(false)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans