f$PSI_GetField (f$PSI_LiesWert)
f$PSI_GetField (f$PSI_LiesWert)
The value of a field in the current view is read with this function. The value is written to the ePOS parameter whose name has been entered. This parameter does not have to be agreed globally. As a further option, a format entry can also be made. The PSIPENTA help can provide descriptions of these format entries.
Syntax:
Status = f$PSI_GetField (Fieldname, NameValue, Format)
Argument
Type
Meaning
Fieldname
String
Name of the field in the current view
NameValue
String
Name of the ePOS parameter to which the value is written. The type of ePOS parameter should correspond with the field content to be read. A data type conversion is carried out when writing the parameter.
Format
String
Format or empty string
Result:
Integer
Function status
Possible values: -3,-4,-5,-7,-8,-9,-13
Example:
Status = f$PSI_Detail(’PKUN’,0)
Status = f$PSI_Execute(2,’NUMGEN’)
.. Evaluate the status...
Status = f$PSI_GetField(’CUSTOMER_NO’,’PSIAddress.FiBuNr’,’’)