in table 5902 "Service Line" there is a function name UpdateServiceLedgerEntry

if "Line Discount %" <> xRec."Line Discount %" then
ServiceLedgerEntry."Discount %" := "Line Discount %";
ServiceLedgerEntry.Modify(); line 5090

using customer license, service ledger entries require indirect permission to be modified.

Please add the permission statement in table 5902 "Service Line"

Permissions = TableData 5907 = rm;

Scenario to replicate: create a service invoice from a service contract and then update the amount in the service line.

Vasilis Charalambous
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team