Sage: get current configuration (ReadEposCall)
Sage: get current configuration (ReadEposCall)
Read the data for the current ePOS call. This is, for example, the order number and position from the order position window with an ePOS call. A unique ID is also given in the ePOS parameter ID when starting the set of rules. This ID must be copied to the parameter ID in the input parameter group. The search should result in exactly one data record. Otherwise the service returns 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 output parameter group are filled:
code, identnr, var, aufnr, aufpos, maske, logname, gruppe, vvorgart.
Meaning of the parameters:
code | Function code, 1= select variants, 2 = select parts number |
identnr / var | Existing input parts number / variants |
aufnr / aufpos | Order number / order position context |
maske | b7 window from which the configurator is called |
logname | b7 user name |
vvorgart | Sales transaction type |
Syntax: | Status = f$SageService ( Service , 'ReadEposCall', 'PGINPUT' , 'PGOUTPUT' ) | ||
| Argument | Type | Meaning |
| Service | String | URL of the web service |
| 'ReadEposCall' | String | Command constant |
| 'PGINPUT' | String | Name of the ePOS parameter group with the search criterion id. |
| 'PGOUTPUT' | String | Name of the ePOS parameter group with the result data. |
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' | ||
The DT: anzeige_ergebnis (the name of the parameter group is entered)
Message | ’’ |
|
|
|
|
p$TDV:Param:PGAnzeige( 0, pg ) | X |
|
f$Message (’Sage Message’, Message) |
| X |