ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Change Logic] Page 1 "Company Information", UpdateSystemIndicator function

Open maksym-ch opened this issue 4 years ago • 5 comments

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.

maksym-ch avatar May 27 '22 14:05 maksym-ch

yes, this is what we need!

martijn1980-tech avatar May 30 '22 08:05 martijn1980-tech

Please change this and you make me happy.

ROELANDOOMS avatar May 30 '22 08:05 ROELANDOOMS

@AlexanderYakunin, any news here? Thanks!

maksym-ch avatar Sep 20 '22 08:09 maksym-ch

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.

AlexanderYakunin avatar Oct 07 '22 16:10 AlexanderYakunin

Internally closed as "Won't Fix" by @AlexanderYakunin. Syncing state to GitHub.

JesperSchulz avatar Jun 17 '24 07:06 JesperSchulz