Ir al contenido principal

Entradas

Mostrando entradas de febrero, 2019

Adding an Icon in Screens in Sage Enterprise Management

Following is the method to add icons in SAGE X3 screen: Go to the Icon in Searches given under Development à Utilities Development > Utilities > Searches > Icon An icon field contains a string with a maximum length of 3 characters consists of a numeric value. Select the icon which we want to use in screen, for example we are adding icon  “147” in product screen (ITM2) as shows following screen shots. In product (ITM2) screen, we have to assign icon number with default value in between double quotation and should select Icon option in graphic object field also. As shown above “Click” is the field action for Icon type of field. When clicking on the Icon then we have to add to the action (YTEST) and write the code in according to requirements. Icon has been added in product management tab screen (ITM2) after we have added in the screen as shown.

Here how-to run an X3 report programmatically

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 $TEST_11_B        #Variable for report parameters      Local Char     TBPAR_BP(15)(1..50),TBVAL_BP(30)(1..50)        If clalev([F:SDH]) = 0 Then Local File SDELIVERY [F:SDH] : Endif      Read [F:SDH]SDH0 = "S0112BDF00138"               #Set parameters value      TBPAR_BP(1) = "Livraisondeb" : TBVAL_BP(1) = [F:SDH]SDHNUM      TBPAR_BP(2) = "Livraisonfin" : TBVAL_BP(2) = [F:SDH]SDHNUM      TBPAR_BP(3) = "numedt"        : TBVAL_BP(3) = "0" #num$(ARM_REQ_BP)      TBPAR_BP(4) = "sitedeb" : TBVAL_BP(4) = [F:SDH]STOFCY      TBPAR_BP(5) = "sitefin" : TBVAL_BP(5) = [F:SDH]STOFCY      TBPAR_BP(6) = "clientdeb" : TBVAL_BP(6) = [F:SDH]BPCORD      TBPAR_BP(7) = "clientfin" : TBVAL_BP(7) = [F:S