[Change Logic] Page 1 "Company Information", UpdateSystemIndicator function
Hi, according to Customer's request, we would like to change the following functionality - remove limit of 4 characters for SystemIndicatorText field, called from Page 1 "Company Information": local procedure UpdateSystemIndicator() var CustomSystemIndicatorText: Text[250]; IndicatorStyle: Option; begin GetSystemIndicator(CustomSystemIndicatorText, IndicatorStyle); // IndicatorStyle is not used SystemIndicatorText := CopyStr(CustomSystemIndicatorText, 1, 4); SystemIndicatorTextEditable := CurrPage.Editable and ("System Indicator" = "System Indicator"::"Custom"); end;
replace with: SystemIndicatorText := CopyStr(CustomSystemIndicatorText, 1, maxstrlen(Rec."Custom System Indicator Text");
This code (Page 1 "Company Information"): trigger OnValidate() begin "Custom System Indicator Text" := SystemIndicatorText; SystemIndicatorOnAfterValidate; end; updates the following field in the Company Information table field(47; "Custom System Indicator Text"; Text[250]) { Caption = 'Custom System Indicator Text'; }
Thank you.
yes, this is what we need!
Please change this and you make me happy.
@AlexanderYakunin, any news here? Thanks!
Hi! Due to design of application bar, there are max. 6 chars to display in this place. We recently extended system indicator from 4 to 6 chars. Cannot extend more without redesign on UI here.
Internally closed as "Won't Fix" by @AlexanderYakunin. Syncing state to GitHub.