| API / APIs Radiofréquence | |
| Version ACE : 1.3 | |
|
Package : Standard Nom de la gnc : gnc_rf_rec_smenu |
Fonctionnalité : Réception |
| Schémas d’entrée et de sortie : | voir en fin de document. |
The API returns information about the first five sub activity profiles, if found.
API imbriquées : aucune.
Contraintes et limites de fonctionnement (hors périmètre)
| RAS. |
Paramétrage (PPE)
| LRFSMR - |
Cas d’erreurs
| CODE | DESCRIPTION |
|---|---|
| 47 | The LRFSMR parameter is not active. |
| 70 | The operator does not exist. |
Processus, contrôles et règles de gestion
| ETAPE | DESCRIPTION DU PROCESSUS |
| Détail : |
If the parameter LRFSMR is active: Fill the local variable with the parameter field N1-N5 values. Otherwise the API returns an error code 47. Read the Depot of the operator. Read the operator data (LOPR). If the operator does not exist, the API returns an error code 70. Read the activity profiles data (reading cycle on LPRFACT table) with ‘ltypact_choisi’, ‘lopr.typtie’ and ‘lopr.sigtie’ (up to 5 found activity profiles). For each activity profile. If the activity profile identifier corresponds to one of the parameter field N1-N5 values. The activity profile is considered as found. Store the number of the LRFSMR parameter field which correspond to the activity profile identifier. If the activity profile found. Read the operator profile data (LPRFOPR) with the input parameter ‘idopr’, ‘lopr.typtie’, ‘lopr.sigtie’ and lprfact.idprfact. If the operator profile exist and it is active (lprfopr.active = 1), keep the label of the sub activity profile (lprfact.libprfact), the identifier of the sub activity (lprfact.idprfact) and the number of the LRFSMR parameter field which correspond to the activity profile identifier. The number of the found activity profiles is incremented. |
Erreurs possibles
| CAUSE | EFFET |
| Parameter ‘ALOTIE’ is not active. | Code erreur 0 |
| The reception is not managed with lot. | Code erreur 0 |
| NOM DU PARAMÈTRE | TYPE | FORMAT | TAILLE | OBL O/N | REMARQUE |
| idopr | Char(8) | O | Operator identifier | ||
| ltypact_choisi | Char(9) | O | Type of the chosen activity |
| NOM | DESCRIPTION | FORMAT |
|---|---|---|
| ParamOut1 | Number of the sub activities | Number |
| ParamOut2 | Label of the first sub activity profile (LPRFACT .libprfact ) | Char(30) |
| ParamOut3 | First sub activity profile identifier ( lprfact.idprfact ) | Number |
| ParamOut4 | Number of the profile corresponding to the first sub activity | Number |
| ParamOut5 | Label of the second sub activity profile ( lprfact.libprfact ) | Char(30) |
| ParamOut6 | Second sub activity profile identifier ( lprfact.idprfact ). | Number |
| ParamOut7 | Number of the profile corresponding to the second sub activity. | Number |
| ParamOut8 | Label of the third sub activity profile ( lprfact.libprfact ). | Char(30) |
| ParamOut9 | Third sub activity profile identifier ( lprfact.idprfact ). | Number |
| ParamOut10 | Number of the profile corresponding to the third sub activity. | Number |
| ParamOut11 | Label of the fourth sub activity profile ( lprfact.libprfact ). | Char(30) |
| ParamOut12 | Fourth sub activity profile identifier ( lprfact.idprfact ). | Number |
| ParamOut13 | Number of the profile corresponding to the fourth sub activity. | Number |
| ParamOut14 | Label of the fifth sub activity profile ( lprfact.libprfact ). | Char(30) |
| ParamOut15 | Fifth sub activity profile identifier ( lprfact.idprfact ). | Number |
| ParamOut16 | Number of the profile corresponding to the fifth sub activity. | Number |