Sage: read routing (ReadRouting)
Sage: read routing (ReadRouting)
Read the data for a routing and its line items. In the input parameter group, multiple parameters can be filled with the corresponding search criteria. The individual search criteria are connected with AND. The following search criteria can be used: aplidentnr, aufnr, aendind, aufpos, art, bearb, dataen, datneu, aplnr, aplstat, txt. The functions delivers the data for the routing header in a parameter group and the data for the line items in an indexed parameter group. The indexation of this parameter group is adjusted if necessary. If a routing was not found, or if unknown search criteria were used, the service delivers a corresponding error message. This is entered via the parameter Message. Before evaluating the output parameter group, the parameter Message should be verified.
The following parameters in the routing header parameter group are filled:
aendind, aendnr, agaltern, altern, aplidentnr, aplnr, aplvar, art, aufnr, aufpos, bearb, dataen, datneu, datvon, etjpl, etname, fam, kn_et, kn_reihenfolge, kostst, menge_ab, ncprognr, txt, useraen, userneu
The following parameters in the routing items parameter group are filled:
Textposition, aendnr, agaltern, agart, agben, agben_fremd, agbs, aggruppe, agid, agmenge, agpos, anz_bedien, anz_huebe, aplidentnr, aplnr, aplvar, arbplatz, beregelung, bezte, chverfolg, datvon, einl_faktor, fam, frzeit, genau, identnr_fremdb, kavitaet, kn_milestone, kn_unterbr, konto, kostst, kurzben, kurzben_fremd, kz_durch, kz_kannag, kz_spl, kz_ueb, la, lgrp, lhs, lizeit_nach, lizeit_vor, maminlastzt, mate, matr, mauez, max_spl, me_bearb, mehrm, menge_bearb, muezeit, ncprognr, pers_grp, splmenge, stagnr, te, tpzeit, tr, txt_nr, uebmenge, uebproz, uezeit, useraen, userneu, var_fremdb.
Syntax: | Status = f$SageService ( Service , 'ReadRouting' , 'PGINPUT' , 'PGOUTPUTList' ) | ||
| Argument | Type | Meaning |
| Service | String | URL of the web service |
| 'ReadRouting' | String | Command constant |
| 'PGINPUT' | String | Name of the ePOS parameter group with the search criteria. |
| 'PGOUTPUTList' | String | Names of the ePOS parameter groups with the result data for the routing header and its line items, separated by commas. |
Result: | Integer | Status of the function: 1 : the service function was successfully called -1 : the component eposvbcomexe could not be found -2 : function URL not entered -4 : general error | |
Example: | B7Service = 'http://b7demo.sagebaeurer.de/br71/callin/epos_soap' | ||