f$PSI_Login (f$PSI_Anmelden)
f$PSI_Login (f$PSI_Anmelden)
You can log in to the PSIPENTA system with this function. This function must always be called before using the interface. If you do not, the interface attempts to log in by itself. To do this, the data entered in the PSIPENTA tab in the ePOS settings is used. If the rule-based controls were started from PSIPENTA, the f$PSI_ConnectNUI function should be used instead of f$PSI_Login.
Syntax:
Status = f$PSI_Login (Datapool, User, Password, Language)
Argument
Type
Meaning
Datapool
String
PSIPENTA data pool
User
String
User name
Password
String
User password
Language
String
Language code
Result:
Integer
Status of log-in process:
Possible values: -1,-2,-3, -999
Example:
Status = f$PSI_Login(’p81(ACBIS-VM-PENTA)’,’system’,’system’,’D’)
Status = f$PSI_CreateBO(’PART’)
Status = f$PSI_Filter(’PART’)
Status = f$PSI_SetField(’F_VS_RECONCILIATIONSTATUS’,’2’)
Status = f$PSI_Detail(’PART’,0)
Status = f$PSI_ReadValues(’Article’)