How to modify the font and size for Texts in Sage X3?

1 minute read time.

We can enter header, footer and line texts in different functions. For example, Header text in purchase order function is used to enter an order header text. This text will be printed on the order document based on the PURTEXORD (Order text position) parameter in ACH/TEX.

Select the Header text, notice the font is ‘Aerial’ and the font size is ‘10’.

Note, standard font and size is ‘MS Sans Serif, 12’.

Let me show you how to modify this,

1.   In Setup, General parameters, Presentation styles (GESASY)

2.   Select an existing style or create your own code

       - Here I have used the existing style and added a new code ‘Text’.

       - Under Comment add the following

       - ";font-style:normal;background-color:#B0FFB0;font-family:Courier New;font-size:8pt”

3.   Once you have saved the changes, assign the code to the ACLOB screen.

4.   In Development, Script dictionary, Screens, Screens

5.   Select the ACLOB (Text) screen and in CLOB field assign the presentation style code ‘TEXT’.

       - Save and validate the screen

       - Logout of Sage X3

To identify which field and the screen to modify, click Shift + F6 in text entry screen.

Parents
  • I applied the modification in our V12 (Patch 24)TEST folder and now cannot access X3. 

    Style applied ";font-style:normal;background-color:#B0FFB0;font-family:Times New Roman;font-size:7pt”

    X3 access blocked by Fatal error message;

    Cannot retrieve session shared resources on web server. Your session will be closed.

    If the problem persists, contact your local IT department.

    Resource:'GEN/ALL/STY/STX_DEFAULT.json'.

    To try and rectify our X3 support copied the ACLOB screen from X3 folder to our Test folder and Validated the screen.  However still unable to access X3.  I am relieved that this is a test folder and not a Live environment!  However, hoping to upgrade to V12 soon, so need to continue testing V12 when the system allows us access.  

    Any suggestions to resolve the issue?

    Thanks

    Paul

  • Hi, did you enter the code without quotes?

  • Hi, no the new Style was entered within quotes, as below.

    ";font-style:normal;background-color:#B0FFB0;font-family:Times New Roman;font-size:7pt”

    The issue was resolved late Friday night, no details from our X3 support.  Testing can now recommence.  It was an unpleasant experience even for a Test folder, system down for over two days.   

  • Hi The cause of this seems to be when you copy and paste the string to the styles, the double quotes get transformed to something else (even if they look like double quotes). that makes the json that sits in X3PUB/<YOUR FOLDER>GEN/ALL/STY/STX_DEFAULT.json TO break , if you edit it you will fimd that the last line is an invalid string, it has some funny characters, remove the funny characters and it should be looking like this:

Comment
  • Hi The cause of this seems to be when you copy and paste the string to the styles, the double quotes get transformed to something else (even if they look like double quotes). that makes the json that sits in X3PUB/<YOUR FOLDER>GEN/ALL/STY/STX_DEFAULT.json TO break , if you edit it you will fimd that the last line is an invalid string, it has some funny characters, remove the funny characters and it should be looking like this:

Children