Products Downloads


French version


 

Authentication

Intents do not require authentication.

Exchange sequence (flowchart)

Description of intents sent by Reflex Web

Intents are in JSON format.

The first tag, _CONTEXT, identifies the screen:

Key

Value

ID

Unique Session ID

TITLE

Program name

META

Metadata described below

NAME

"Reflex Web"

APP_NAME

Window name

USER

Reflex connection ID

_UID

Internal ID


The META tag contains a list of customisable code-values containing the standard tags below.

It can be enriched by the enrichment program defined for each screen in a procedure.

Key

Value

environment

Name of the environment

physical_depot

Current physical depot

procedure

Procedure code

work_mode

Work mode

employee

User code


The second tag, _CONTENT, identifies the screen contents (set of widgets):

Key

Value

IS_VISIBLE

Is the widget displayed?

IS_ENABLE

Is the widget active?

VALUE

Widget value

NAME

Widget name

UID

Internal ID

IS_READONLY

Is the widget read-only?

↑ Top of page

List of intents

Screen initialisation/display

This intent informs the partner application of the screen contents

It is sent by the Reflex Web application to the partner application

Intent name: com.hardis.wagonandroid.ACTION_WMS_SCREEN_INIT

{

   "_CONTEXT":{

      "ID":"6efb1bf9-c5c5-4893-b31d-992357465450",

      "TITLE":"HFGRA0 - Select receipts",

  "META":"{\"metadata\":[{\"code\":\"physical_depot\",\"value\":\"DPF\"},{\"code\":\"procedure\",\"value\":\"712\"},{\"code\":\"work_mode\",\"value\":\"  1\"},{\"cod",

      "NAME":"Reflex Web",

      "APP_NAME":"ID_FEN0",

      "USER":"FIRSTNAME.SURNAME@hardis-group.com",

      "_UID":"n63"

   },

   "_CONTENT":{

      "TXT_TITRE":{

         "IS_VISIBLE":"true",

         "IS_ENABLE":"true",

         "VALUE":null,

         "_UID":"n64",

         "NAME":"TXT_TITRE"

      },

      "IMG_TITRE":{

         "IS_VISIBLE":"true",

         "_UID":"n65",

         "NAME":"IMG_TITRE"

      },

      "TXT_IDENTIFIANT_RECEPTION":{

         "IS_VISIBLE":"true",

         "IS_ENABLE":"true",

         "VALUE":null,

         "_UID":"n6b",

         "NAME":"TXT_IDENTIFIANT_RECEPTION"

      },

      "TXT_QUAI":{

         "IS_VISIBLE":"true",

         "IS_ENABLE":"true",

         "VALUE":null,

         "_UID":"n6c",

         "NAME":"TXT_QUAI"

      },

      "IMG_RETOUR":{

         "IS_VISIBLE":"true",

         "_UID":"n6d",

         "NAME":"IMG_RETOUR"

      },

      "Z_ID_RECEPTION":{

         "IS_VISIBLE":"true",

         "IS_ENABLE":"true",

         "VALUE":"",

         "_UID":"n6g",

         "NAME":"Z_ID_RECEPTION",

         "IS_READONLY":"false"

      },

      "IMG_ID_RECEPTION":{

         "IS_VISIBLE":"true",

         "_UID":"n6h",

         "NAME":"IMG_ID_RECEPTION"

      },

      "Z_QUAI":{

         "IS_VISIBLE":"true",

         "IS_ENABLE":"true",

         "VALUE":"",

         "_UID":"n6i",

         "NAME":"Z_QUAI",

         "IS_READONLY":"false"

      },

      "IMG_QUAI":{

         "IS_VISIBLE":"true",

         "_UID":"n6j",

         "NAME":"IMG_QUAI"

      },

      "IMG_ENTREE":{

         "IS_VISIBLE":"true",

         "_UID":"n6k",

         "NAME":"IMG_ENTREE"

      },

      "IDC_VERIFIER":{

         "IS_VISIBLE":"false",

         "IS_ENABLE":"true",

         "VALUE":"",

         "_UID":"n6n",

         "NAME":"IDC_VERIFIER",

         "IS_READONLY":"false"

      },

      "Z_FCT_MODIF_SELECTION":{

         "IS_VISIBLE":"false",

         "IS_ENABLE":"true",

         "VALUE":"Modify\nselection",

         "_UID":"n6o",

         "NAME":"Z_FCT_MODIF_SELECTION",

         "IS_READONLY":"true"

      },

      "IMG_MODIF_SELECTION":{

         "IS_VISIBLE":"false",

         "_UID":"n6p",

         "NAME":"IMG_MODIF_SELECTION"

      },

      "Z_NB_REC_SELECTIONNE":{

         "IS_VISIBLE":"true",

         "IS_ENABLE":"true",

         "VALUE":"0",

         "_UID":"n6q",

         "NAME":"Z_NB_REC_SELECTIONNE",

         "IS_READONLY":"true"

      },

      "TXT_REC_SELECTIONNEES":{

         "IS_VISIBLE":"true",

         "IS_ENABLE":"true",

         "VALUE":null,

         "_UID":"n6r",

         "NAME":"TXT_REC_SELECTIONNEES"

      },

      "Z_FCT_RECHERCHE":{

         "IS_VISIBLE":"false",

         "IS_ENABLE":"true",

         "VALUE":"Recherche",

         "_UID":"n6s",

         "NAME":"Z_FCT_RECHERCHE",

         "IS_READONLY":"true"

      },

      "IMG_RECHERCHER":{

         "IS_VISIBLE":"false",

         "_UID":"n6t",

         "NAME":"IMG_RECHERCHER"

      }

   }

}

Screen update

This intent informs the partner application that the screen has been modified.

It is sent by the Reflex Web application to the partner application.

Intent name: com. hardis.wagonandroid.ACTION_WMS_SCREEN_UPDATE.

{

   "_CONTEXT":{

      "ID":"6efb1bf9-c5c5-4893-b31d-992357465450",

      "TITLE":"HFGRA0 - Select receipts",

      "META":"{\"metadata\":[{\"code\":\"physical_depot\",\"value\":\"DPF\"},{\"code\":\"procedure\",\"value\":\"712\"},{\"code\":\"work_mode\",\"value\":\"  1\"},{\"cod",

      "NAME":"Reflex Web",

      "APP_NAME":"ID_FEN0",

      "USER":"FIRSTNAME.SURNAME@hardis-group.com",

      "_UID":"h7i"

   },

   "_CONTENT":{

      "h7x":{

         "IS_VISIBLE":"true",

         "IS_ENABLE":"true",

         "VALUE":"01  0005",

         "_UID":"h7x",

         "NAME":"Z_QUAI",

         "IS_READONLY":"false"

      }

   }

}


Screen "extras"

This intent informs the partner application that an on-screen additional data item is available (such as list values).

It is sent by the Reflex Web application to the partner application.

Intent name: com.hardis.wagonandroid.ACTION_WMS_SCREEN_EXTRA


Note: All of the data in the list can be sent in multiple intents. The information at the end of the message allows you to identify and sequence the data carried by each message.

{
   {
   "_CONTEXT":{
      "ID":"6efb1bf9-c5c5-4893-b31d-992357465450",
      "NAME":"Reflex Web",
      "USER":"PRENOM.NOM@HARDIS-GROUP.COM"
   },
   "_CONTENT":{
      "payload":[
         {
            "id":"1",
            "index":0,
            "height":214,
            "visible":true,
            "selected":true,
            "Z_COD":{
               "id":"1",
               "value":"APE",
               "attributes":"a-font-14 *NONE *NONE true 0 false false 0"
            },
            "Z_COL_DUMMY":{
               "id":"3",
               "value":"",
               "attributes":"a-font-15 *SYSTEM *SYSTEM true 0 false false 0"
            },
            "Z_LIB":{
               "id":"2",
               "value":"APE_MAT",
               "attributes":"a-font-11 *NONE *NONE true 0 false false 0"
            }
         },
         {
            "id":"2",
            "index":1,
            "height":214,
            "visible":true,
            "selected":false,
            "Z_COD":{
               "id":"1",
               "value":"AUT1",
               "attributes":"a-font-14 *NONE *NONE true 0 false false 0"
            },
            "Z_COL_DUMMY":{
               "id":"3",
               "value":"",
               "attributes":"a-font-15 *SYSTEM *SYSTEM true 0 false false 0"
            },
            "Z_LIB":{
               "id":"2",
               "value":"JLO",
               "attributes":"a-font-11 *NONE *NONE true 0 false false 0"
            }
         },

…….

         {
            "id":"113",
            "isLastLine":"1",
            "index":112,
            "height":214,
            "visible":true,
            "selected":false,
            "Z_COD":{
               "id":"1",
               "value":"TESTJL",
               "attributes":"a-font-14 *NONE *NONE true 0 false false 0"
            },
            "Z_COL_DUMMY":{
               "id":"3",
               "value":"",
               "attributes":"a-font-15 *SYSTEM *SYSTEM true 0 false false 0"
            },
            "Z_LIB":{
               "id":"2",
               "value":"TESTJLA",
               "attributes":"a-font-11 *NONE *NONE true 0 false false 0"
            }
         }
      ],
	  "length":113,
      "link":"LST_CHOIX",
      "APP_NAME_PARENT":"HFXGG1",
      "transmission_id":"341545b4-96fe-4396-b9de-2af74c8dd618",
      "chunk_index":0,
      "total_chunks":1,
      "total_items":113,
      "chunk_start_index":0,
      "chunk_end_index":112,
      "items_in_chunk":113,
      "is_first_chunk":true,
      "is_last_chunk":true
   }
}   }


Screen modification

The Reflex application listens for the equivalent of keyboard input.

It is sent by the partner application to Reflex Web.

Intent name: com.hardis.wagonandroid.ACTION_WMS_WIDGET_UPDATE 

// Example:  
 
intent intent = new Intent();  
intent.setAction( "com.wms.ACTION_WMS_WIDGET_UPDATE"); 
intent.putExtra( "Z_ID_RECEPTION|VALUE", "GFI/102703/001 "); 
this.sendBroadcast(intent);

Each time an extra is received, an acknowledgement intent is returned: com.hardis.wagonandroid.ACTION_WMS_WIDGET_UPDATE.ACK.

Syntax:

intent.putExtra("<Widget name |VALUE>","<Value>"); 

On-screen event

The Reflex application listens for the equivalent of a mouse click.

It is sent by the partner application to Reflex Web.

Intent name: com.hardis.wagonandroid.ACTION_WMS_WIDGET_EVENT


// Example:  
 
intent intent = new Intent();  
intent.setAction( "com.wms.ACTION_WMS_WIDGET_EVENT"); 
intent.putExtra( "IMG_ENTREE","LEFT_BUTTON_CLICK"); 
this.sendBroadcast(intent);  

Each time an extra is received, an acknowledgement intent is returned: com.hardis.wagonandroid.ACTION_WMS_WIDGET_EVENT.ACK



↑ Top of page


©Hardis Supply Chain 2025 - Any partial or total reproduction of the content, not expressly authorised by Hardis Supply Chain, is strictly prohibited.

  • No labels