Sage: create text line (CreateTextLine)
Sage: create text line (CreateTextLine)
Create a line of unformatted text. Multiple parameters can be filled with their corresponding values in the input parameter group. The following parameters in the parameter group can be filled: lang_ext, txt_art, txt_nr, txt, lfdnr. The text is entered on the parameter txt. The parameter txt_art specifies the type of text to be created (e.g. TTI for an article text). If a txt_art is not entered, then APP is used. The txt_nr is automatically generated and returned.If a formatted text is to be created for multiple languages, the txt_nr obtained from the first call can be used for the text in other languages.
If the line of text cannot be created, 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 output parameter group are filled:
kzdruck , lang_ext, lfdnr, txt, txt_art, txt_nr.
Syntax: | Status = f$SageService ( Service , 'CreateTextLine' , 'PGINPUT' , 'PGOUTPUT' ) | ||
| Argument | Type | Meaning |
| Service | String | URL of the web service |
| 'CreateTextLine' | String | Command constant |
| 'PGINPUT' | String | Name of the ePOS parameter group with the data for the text line to be created. |
| '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' | ||