Gestern 16:19
pageextension 50056 CustomerPageExt extends "Customer List"
{
layout
{
modify("No.")
{
ApplicationArea = All;
StyleExpr = StyleExprTestProd;
}
}
trigger OnOpenPage()
begin
CompanyInformation.get();
end;
trigger OnAfterGetRecord()
begin
if CompanyInformation."System Usage" = CompanyInformation."System Usage"::Test then
StyleExprTestProd := 'Unfavorable'
else
StyleExprTestProd := 'Standard';
end;
var
CompanyInformation: Record "Company information";
StyleExprTestProd: Text;
}