How to set allow edit false for address tab in customer form ?
Please advice...
*This post is locked for comments
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.
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'.
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.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 4
Guy Terry 2 Moderator
Nayyar Siddiqi 2