Rename Master Detail Add Link

I have a mater detail link in the list page to add new records " Add Cash Register/Bill" and i need to change this link to a name " New Bill".
would appreciate any help to do so.
The other thing is would there be a simple possibility to prompt print dialog box after adding a new record?

apis wrote:
i need to change this link to a name " New Bill".Simply put the following code in “Startup Script” under “Client Scripts” → “Table-Specific” → “List Page”:$(document).ready(function() {
$('.ewDetailAdd ').html(‘New Bill’);
});

Thank you.would there be a simple possibility to prompt print dialog box after adding a new record?

In Startup Script add “window.print();” to prompt the print dialog.You can add a session variable in “Row_Inserted” Server Event to identify a record is added, then in Startup Script check this session variable and print the code.For example:

<?php if () { ?>

window.print();

<?php } ?>

mobhar wrote:

Simply put the following code in “Startup Script” under “Client Scripts” → “Table-Specific” → “List Page”:> $(document).ready(function() {
$('.ewDetailAdd ').html(‘New Bill’);
});

I use v2019, but no change. still shown Addmastername/detailname.
have change ewDetailAdd to DetailAdd but same condition.