Skip to main content
Skip table of contents

Sage: return current configuration (EposCallReturn)


Sage: return current configuration (EposCallReturn)

Write back the data for the current ePOS call. This is, for example, the desired variant from the order position screen during 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 following parameters in the parameter group should be filled:

code, identnr, var, menge, id.

The following arrays can also be filled: lief_term, hea

Syntax:

Status = f$SageService ( Service , 'EposCallReturn' , 'PGINPUT' , 'PGOUTPUT' )

 

Argument

Type

Meaning

 

Service

String

URL of the web service

 

'EposCallReturn'

String

Command constant

 

'PGINPUT'

String

Name of the ePOS parameter group with the data.

 

'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'

eposcall_such.id = ID

Status = f$SageService ( B7Service , 'ReadEposCall' , 'eposcall_such' , 'eposcall_ret' )

if (Message != '' ) return ()

eposreturn_in.id = ID

eposreturn_in.identnr = eposcall_ret.identnr

eposreturn_in.var = '0001'

eposreturn_in.menge = '1'

eposreturn_in.code = '1'

key = f$Dialog('eposreturn')

Status = f$SageService ( B7Service , 'EposCallReturn' , 'eposreturn_in' , 'eposreturn_out' )

sage_001.jpg

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.