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

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

TLE functions

Functions

ERPName
ERPUserExternalApplicationsURL
ExistsERPUserByERPSystem
GetShopWizardStepSubtitle
GetShopWizardStepTitle
HasERPUserPassword
IsERPUserShopWizardInActive
ShopHasERPUsers
existsERPUserByERPSystem
getERPSystem
hasERPUserPassword
isERPUserShopWizardInActive
shopHasERPUsers
tle

ERPName

Returns name of erp system.

Syntax
#ERPName
Input
$Processor (object)
tle processor
Return
$ERPName (string)
erp name

ERPUserExternalApplicationsURL

gives back the link to the External applications page

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

ExistsERPUserByERPSystem

Returns true if the shop contains a 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

GetShopWizardStepSubtitle

Returns shop wizard step sub title.

Syntax
#GetShopWizardStepSubtitle
Input
$Processor (object)
tle processor
Return
$ShopWizardStepSubtitle (boolean)
shop wizard step sub title

GetShopWizardStepTitle

Returns shop wizard step title.

Syntax
#GetShopWizardStepTitle
Input
$Processor (object)
tle processor
$aParams (ref.array)
params containing the shopid, erp system alias
Return
$ShopWizardStepTitle (boolean)
shop wizard step title

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

IsERPUserShopWizardInActive

Returns true if the the additional erp step in the shop is inactive.

Syntax
#IsERPUserShopWizardInActive(#_.Object)
Input
$Processor (object)
tle processor
$aParams (ref.array)
params containing the shopid, erp system alias
Return
$IsERPUserShopWizardInActive (boolean)
true if step is inactive

ShopHasERPUsers

Returns true if the shop contains a 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

existsERPUserByERPSystem

Returns true if the shop contains a user created by erpuser cartridge and the user has the erp system assigned.

Syntax
$self->existsERPUserByERPSystem( $Shop, $ERPSystemAlias );
Input
$Shop (object)
shop
$ERPSystemAlias (string)
erp system alias
Return
$ExistsERPUserByERPSystem (boolean)
true if shop has erp user with erpsystem

getERPSystem

Returns shop wizard step sub title.

Syntax
$self->getERPSystem();
Return
$ShopWizardStepSubtitle (boolean)
shop wizard step sub title

hasERPUserPassword

Returns 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
$self->hasERPUserPassword( $Shop, $ERPSystemAlias );
Input
$Shop (object)
shop
$ERPSystemAlias (string)
erp system alias
Return
$ExistsERPUserByERPSystem (boolean)
true if shop has erp user with erpsystem,password

isERPUserShopWizardInActive

Returns true if the the additional erp step in the shop is inactive.

Syntax
$self->isERPUserShopWizardInActive($Shop);
Input
$Shop (object)
shop
Return
$IsERPUserShopWizardInActive (boolean)
true if step is inactive

shopHasERPUsers

Returns true if the shop contains a user created by erpuser cartridge.

Syntax
$self->shopHasERPUsers($Shop)
Input
$Shop (object)
shop
Return
$ShopHasERPUsers (boolean)
true if shop has erp user

tle

Register TLEs: #GetERPName

Syntax
$Value = $Handler->tle( $Processor, $TLEName);
Input
$Processor (object)
tle processor
$TLEName (string)
tle name
Return
$Value (integer)
return value