Klevr Product Documentation logo

Additional Information

This document is prepared specifically to provide critical testing instructions as part of the AppSource submission process.

AppSource

This document is prepared specifically to provide critical testing instructions as part of the AppSource submission process.

Dependencies

The following dependencies are required after the solution has been successfully imported into the test environment:

User

A licensed user (Dynamics 365 or Power Apps) with the following security roles applied:

  • Klevr Base User
  • Klevr Members Admin

Configuration Data

The following configuration data should be created. These tables can be accessed in the Settings area of the sitemap.

Account Type

An Account Type record. e.g. "AppSource" (or similar)

Configuration Data (1)

Configuration Data (1)

Membership Source

An Membership Source record. e.g. "AppSource" (or similar)

Configuration Data (2)

Configuration Data (2)

Tax Rate

A Tax Rate record. e.g. "10%"

Configuration Data (3)

Configuration Data (3)

Unit Group

A Unit Group record. e.g. "Default Unit Group" and "Default Unit" (or similar)

Configuration Data (4)

Configuration Data (4)

Membership Product Data

The following Memberhip Product Data should be created. These tables can be accessed in the Settings area of the sitemap.

Price List

A Price List record, linked to the Tax Rate record created earlier. e.g. "AppSource Price List" (or similar)

Membership Product Data (5)

Membership Product Data (5)

Membership Product Entitlement

Navigate to the Products menu on the sitemap and add at least 2 Membership Product Entitlements (product structure = product) records:

Membership Product Entitlement (6)

Membership Product Entitlement (6)

Give the Membership Product Entitlements the following Names and configuration:

  1. Included Membership Entitlement
  2. Once-off Membership Entitlement

Membership Product Entitlement (7)

Membership Product Entitlement (7)

Once the intitial details have been configured and the Membership Product Entitlements have been saved, please complete the additional configuration for each of them:

2
Add a Price List Item

Click New Price List Item.

3
Configure the Item

Configure each item as follows:

Membership Product Entitlement (8)

Membership Product Entitlement (8)

Publish both Membership Product Entitlements using the button below.

Membership Product Entitlement (9)

Membership Product Entitlement (9)

Membership Product Plan

Navigate to the Products menu on the sitemap and add at least 1 Membership Product Plan (product structure = bundle) records:

Membership Product Plan (10)

Membership Product Plan (10)

Configure the Membership Product Plan as follows:

Membership Product Plan (11)

Membership Product Plan (11)

Once the intitial details have been configured and the Membership Product Plan has been saved, please complete the additional configuration:

2
Add a Price List Item

Click New Price List Item.

3
Configure the Item

Configure as follows:

Membership Product Plan (12)

Membership Product Plan (12)

Once the Membership Product Plan has been added to a Price List, please complete the additional configuration:

2
Add a Product Association

Click New Product Association.

3
Configure the Included Membership Entitlement

Configure as follows for the Included Membership Entitlement:

Membership Product Plan (13)

Membership Product Plan (13)
4
Repeat for the Once-off Membership Entitlement

Repeat for the Once-off Membership Entitlement.

Membership Product Plan (14)

Membership Product Plan (14)

You should now have the following Entitlements associated with your Membership Product Plan:

Membership Product Plan (15)

Membership Product Plan (15)

Publish your Membership Product Plan using the button below.

Membership Product Plan (16)

Membership Product Plan (16)

Setup Data

The following setup data should be created. These tables can be accessed in the Members area of the sitemap.

Account

At least one Account record, linked to the Account Type record created earlier e.g. "AppSource Member" (or similar)

Setup Data (17)

Setup Data (17)

Contact

At least one Contact record. e.g. "Amy", "Smith" (or similar)

Setup Data (18)

Setup Data (18)

Create Membership

The following Membership should be created. This table can be accessed in the Members area of the sitemap.

Navigate to the Memberships menu on the sitemap and add at least 1 Membership with the following configuration

Create Membership (19)

Create Membership (19)

After saving the Membership you will notice that several fields are filled automatically, including:

  • Price List
  • Plan Amount
  • Renews to Plan
  • Initial Invoice

In order to Activate the Membership, please update the Status Reason to "Active", as follows:

Create Membership (20)

Create Membership (20)

After activating the Membership (by saving it with Status Reason = Active) you will notice that several more fields are filled automatically, including:

  • Start Date
  • Renewal Reminder Date
  • End Date
  • Termination Date

These fields are calculated automatically from the Memberhip Renewal details section on the Membership Product Plan that was setup earlier:

Create Membership (21)

Create Membership (21)

You will also notice that the Membership Entitlements subgrid is populated automatically upon activation. These are the same Membership Product Entitlements that were setup earlier and linked to the Membership Product Plan

Create Membership (22)

Create Membership (22)

Environment Variables

klevr_MembershipSettings

This is a JSON based configuration that currently holds 3 values:

  • GenerateInvoice: true/false (boolean): If true, it will create an initial invoice record on create of a membership record
  • AllowedRenewalStatuses: (String): Comma separated list of statuscodes in which to allow Renewals to take place from.
  • OverrideMembershipDates (String): true/false/check. If false, no dates are automatically set. If check, dates are set if no dates are present on the record, if true dates are set regardless. Dates in question are: klevr_EndDate, klevr_RenewalReminderDate and klevr_TerminationDate.

Reference Data

Klevr Countries

NameCode
AfghanistanAF
Åland IslandsAX
AlbaniaAL
AlgeriaDZ
American SamoaAS
AndorraAD
AngolaAO
AnguillaAI
AntarcticaAQ
Antigua and BarbudaAG
ArgentinaAR
ArmeniaAM
ArubaAW
AustraliaAU
AustriaAT
AzerbaijanAZ
BahamasBS
BahrainBH
BangladeshBD
BarbadosBB
BelarusBY
BelgiumBE
BelizeBZ
BeninBJ
BermudaBM
BhutanBT
Bolivia, Plurinational State ofBO
Bonaire, Sint Eustatius and SabaBQ
Bosnia and HerzegovinaBA
BotswanaBW
Bouvet IslandBV
BrazilBR
British Indian Ocean TerritoryIO
Brunei DarussalamBN
BulgariaBG
Burkina FasoBF
BurundiBI
Cabo VerdeCV
CambodiaKH
CameroonCM
CanadaCA
Cayman IslandsKY
Central African RepublicCF
ChadTD
ChileCL
ChinaCN
Christmas IslandCX
Cocos (Keeling) IslandsCC
ColombiaCO
ComorosKM
CongoCG
Congo, Democratic Republic of theCD
Cook IslandsCK
Costa RicaCR
Côte d'IvoireCI
CroatiaHR
CubaCU
CuraçaoCW
CyprusCY
CzechiaCZ
DenmarkDK
DjiboutiDJ
DominicaDM
Dominican RepublicDO
EcuadorEC
EgyptEG
El SalvadorSV
Equatorial GuineaGQ
EritreaER
EstoniaEE
EswatiniSZ
EthiopiaET
Falkland Islands (Malvinas)FK
Faroe IslandsFO
FijiFJ
FinlandFI
FranceFR
French GuianaGF
French PolynesiaPF
French Southern TerritoriesTF
GabonGA
GambiaGM
GeorgiaGE
GermanyDE
GhanaGH
GibraltarGI
GreeceGR
GreenlandGL
GrenadaGD
GuadeloupeGP
GuamGU
GuatemalaGT
GuernseyGG
GuineaGN
Guinea-BissauGW
GuyanaGY
HaitiHT
Heard Island and McDonald IslandsHM
Holy SeeVA
HondurasHN
Hong KongHK
HungaryHU
IcelandIS
IndiaIN
IndonesiaID
Iran, Islamic Republic ofIR
IraqIQ
IrelandIE
Isle of ManIM
IsraelIL
ItalyIT
JamaicaJM
JapanJP
JerseyJE
JordanJO
KazakhstanKZ
KenyaKE
KiribatiKI
Korea, Democratic People's Republic ofKP
Korea, Republic ofKR
KuwaitKW
KyrgyzstanKG
Lao People's Democratic RepublicLA
LatviaLV
LebanonLB
LesothoLS
LiberiaLR
LibyaLY
LiechtensteinLI
LithuaniaLT
LuxembourgLU
MacaoMO
MadagascarMG
MalawiMW
MalaysiaMY
MaldivesMV
MaliML
MaltaMT
Marshall IslandsMH
MartiniqueMQ
MauritaniaMR
MauritiusMU
MayotteYT
MexicoMX
Micronesia, Federated States ofFM
Moldova, Republic ofMD
MonacoMC
MongoliaMN
MontenegroME
MontserratMS
MoroccoMA
MozambiqueMZ
MyanmarMM
NamibiaNA
NauruNR
NepalNP
Netherlands, Kingdom of theNL
New CaledoniaNC
New ZealandNZ
NicaraguaNI
NigerNE
NigeriaNG
NiueNU
Norfolk IslandNF
North MacedoniaMK
Northern Mariana IslandsMP
NorwayNO
OmanOM
PakistanPK
PalauPW
Palestine, State ofPS
PanamaPA
Papua New GuineaPG
ParaguayPY
PeruPE
PhilippinesPH
PitcairnPN
PolandPL
PortugalPT
Puerto RicoPR
QatarQA
RéunionRE
RomaniaRO
Russian FederationRU
RwandaRW
Saint BarthélemyBL
Saint Helena, Ascension and Tristan da CunhaSH
Saint Kitts and NevisKN
Saint LuciaLC
Saint Martin (French part)MF
Saint Pierre and MiquelonPM
Saint Vincent and the GrenadinesVC
SamoaWS
San MarinoSM
Sao Tome and PrincipeST
Saudi ArabiaSA
SenegalSN
SerbiaRS
SeychellesSC
Sierra LeoneSL
SingaporeSG
Sint Maarten (Dutch part)SX
SlovakiaSK
SloveniaSI
Solomon IslandsSB
SomaliaSO
South AfricaZA
South Georgia and the South Sandwich IslandsGS
South SudanSS
SpainES
Sri LankaLK
SudanSD
SurinameSR
Svalbard and Jan MayenSJ
SwedenSE
SwitzerlandCH
Syrian Arab RepublicSY
Taiwan, Province of ChinaTW
TajikistanTJ
Tanzania, United Republic ofTZ
ThailandTH
Timor-LesteTL
TogoTG
TokelauTK
TongaTO
Trinidad and TobagoTT
TunisiaTN
TürkiyeTR
TurkmenistanTM
Turks and Caicos IslandsTC
TuvaluTV
UgandaUG
UkraineUA
United Arab EmiratesAE
United Kingdom of Great Britain and Northern IrelandGB
United States Minor Outlying IslandsUM
United States of AmericaUS
UruguayUY
UzbekistanUZ
VanuatuVU
Venezuela, Bolivarian Republic ofVE
Viet NamVN
Virgin Islands (British)VG
Virgin Islands (U.S.)VI
Wallis and FutunaWF
Western SaharaEH
YemenYE
ZambiaZM
ZimbabweZW

Last updated on