Skip to main content
Skip table of contents

f$ABAS_GetOrder (f$ABAS_Auftraglesen)


f$ABAS_GetOrder (f$ABAS_Auftraglesen)

An order and the positions in an order are read from ABAS with this function. If a duplicate name is found while reading positions from an offer or order, the identifier that itself relates the field to the article is introduced thereby by writing artˆ before the actual name, e.g.: artˆnummer

Please note: the name of the parameter groups is usually entered in string constants, i.e. in quotation marks.

Syntax:

Status = f$ABAS_GetOrder(OrderNr,NamePGOrder,NameCount,NamePGPositions)

 

Argument

Type

Meaning

 

OrderNr

String

The identification number for the order to be read.

 

NamePGOrder

String

Name of the parameter group to which the order data is read. This parameter group either does not have to be indexed, or the index used must also be given (e.g. 'Orderdata[1]'

 

NameCount

String

Name of the parameter on which the number of positions is written.

 

NamePGPositions

String

Name of the parameter group to which the position data is written. This parameter group must be indexed. If needed, the size will be extended.

Result:

Integer

Status of the function:

-4 : argument is not consistent

-3 : the operation has failed (an error analysis can be performed using the log file)

-2 : no data found

-1 : the interface has not been logged in to

0 : the order was read successfully

Example:

Status = f$abas_login('linux',6550,'erp','sy')

f$abas_logfile('c:\\temp\\abas' + f$date('yyyyMMdd_hh_mm_ss') +'.log')

Status = f$abas_getorder ('200087','abas_order','Count', 'read_abas_positions' )

f$abas_logfile('')

Status = f$abas_logout()

JavaScript errors detected

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

If this problem persists, please contact our support.