ePages 6.17.43 - DE_EPAGES/ERPUser/API/TLE/ERPUser.pm

Package DE_EPAGES::ERPUser::API::TLE::ERPUser

TLE functions

Functions

ERPUserExternalApplicationsURL
ExistsERPUserByERPSystem
HasERPUserPassword
ShopHasERPUsers

ERPUserExternalApplicationsURL

gives back the link to the External applications page

Syntax
#ERPUserExternalApplicationsURL
Return
$URL (string)
url to external applications

ExistsERPUserByERPSystem

gives back true if the shop contains an user created by erpuser cartridge and the user has the erp system assigned

Syntax
#ExistsERPUserByERPSystem
Input
$Processor (object)
tle processor
$aParams (ref.array)
params containing the shopid,erp system alias
Return
$ExistsERPUserByERPSystem (boolean)
true if shop has erp user with erpsystem

HasERPUserPassword

gives back true if the shop contains an user created by erpuser cartridge and the user has the erp system assigned and also have an password set

Syntax
#HasERPUserPassword(#_.ID,"lexware")
Input
$Processor (object)
tle processor
$aParams (ref.array)
params containing the shopid, erp system alias
Return
$ExistsERPUserByERPSystem (boolean)
true if shop has erp user with erpsystem,password

ShopHasERPUsers

gives back true if the shop contains an user created by erpuser cartridge

Syntax
#ShopHasERPUsers
Input
$Processor (object)
tle processor
$aParams (ref.array)
params containing the shopid
Return
$ShopHasERPUsers (boolean)
true if shop has erp user