Hi All,
I'm trying to install extension with with initial setup data. I want to insert setup data only for a specific company. This seems possible by conditionally checking 'CompanyName'.
codeunit 50140 "Install codeunit"
{
Subtype = Install;
// trigger OnInstallAppPerDatabase()
// begin
// AddMessageToOurTable('OnInstallAppPerDatabase');
// end;
trigger OnInstallAppPerCompany()
begin
if CompanyName() = 'CRONUS AU' then begin
//record insert code here
end;
end;
}
Is that possible to add hard coded value 'CRONUS AU' with user input?
or is there any other way to add some data only for a selected company with extension installation process?
Appreciate your advice.
Thanks,