Sage: read article criteria (ReadArticleCriterion)
Sage: read article criteria (ReadArticleCriterion)
Read the criteria for an article. In the input parameter group, the parameter identnr must be filled with a valid identification number. The parameter var is filled internally with an empty string. The search should result in exactly one article. 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.tdv:sage_merkmalsdefinition should be used as the definition for this parameter group.
All criteria for the article found is listed.
The following parameters in the parameter group are filled:
aendnr, dataen, datneu, doku_kritnr, fi_nr, fldname, kn_auspr_erf, kn_auspr_et, kn_auspr_kont, kn_auspr_konts, kn_auspr_plaus, kn_auspr_regel, kn_auspr_sb, kn_auspr_sort, kn_auspr_sorts, kn_openauto, kritart, kritnr, krittyp, me_kritnr, txt_nr, useraen, userneu.
Syntax: | Status = f$SageService ( Service , 'ReadArticleCriterion' , 'PGINPUT' , 'PGOUTPUT' ) | |||
| Argument | Type | Meaning | |
| Service | String | URL of the web service | |
| 'ReadArticleCriterion' | String | Command constant | |
| 'PGINPUT' | String | Name of the ePOS parameter group with the parameter identnr as search criterion. | |
| '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'art_such.identnr = '11000011-PAM'Status = f$SageService ( B7Service , 'ReadArticleCriterion' , 'art_such' , 'merkmale' )p$anzeige_ergebnis('merkmale' ) | |||