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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Always keep edit record in related table

(1) ShareShare
ReportReport
Posted on by 222
Hi All, 
 
I have custom tables CarLoanTable and CarLoanLines for my Car Loan Module. I have create relation and it is working fine. Then a new requirement arive, that we need car info like registration and model detail which will be editable all the time. Earlier I have block the editing after posting of record. 
 
For new requirement I have create new table CarLoanRegInfo and create foreign key ParentRecId and relate it with CarLoanTable. Now the problem is when I am going to stop editing of CarLoanTable the table CarLoanRegInfo editing also going to stop. 
 
I need to CarLoanRegInfo always editable, how I can do this, please help.
 
I am following the OOB form CustFreeInvoice and using the following line to enable or disable editing of CarLoanTable.
 
To On editing
SLD_CarLoanTable_ds.allowEdit(true);
 
To stop editing
SLD_CarLoanTable_ds.allowEdit(false);
 
Thanks
I have the same question (0)
  • Martin Dráb Profile Picture
    238,828 Most Valuable Professional on at
    What is your version of AX?
     
    Isn't CarLoanRegInfo joined with CarLoanTable?
  • nbhatti2001 Profile Picture
    222 on at
    I am using D365FO and Yes, I have join the tables and I have mention its join in question.
     
    Here is the relation detail
    Car Registration portong should be editable any time while the header should be non-editable. Non-editable working fine. 
     
  • Verified answer
    Martin Dráb Profile Picture
    238,828 Most Valuable Professional on at
    I'm sorry, but there no join is mentioned in your question. You mentioned a table relation, but it says nothing about your form data sources. Instead of being joined, they could be linked or independent.
     
    What you see is the expected behavior if the data sources are joined. The best approach in your case may be to link the data sources instead of joining them. You can have a separate form for editing CarLoanRegInfo details.
  • Verified answer
    nbhatti2001 Profile Picture
    222 on at
    I have create the saperate form and it worked. Now I am able to edit record any time. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 517 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 440

#3
Adis Profile Picture

Adis 266 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans