Contains functions to be used by the Server and the Client that perform certain checks - specific for the Partner Module.
More...
Contains functions to be used by the Server and the Client that perform certain checks - specific for the Partner Module.
◆ HasPartnerClassLocalPartnerDataLabels()
static bool Ict.Petra.Server.MPartner.Common.Checks.HasPartnerClassLocalPartnerDataLabels |
( |
TPartnerClass |
APartnerClass, |
|
|
DataTable |
ACacheableDataLabelsForPartnerClassesList |
|
) |
| |
|
inlinestatic |
Determines whether DataLabels exist for a specified Partner Class.
- Parameters
-
APartnerClass | Partner Class that should be checked for. |
ACacheableDataLabelsForPartnerClassesList | Instance of the Cacheable DataTable 'DataLabelsForPartnerClassesList' that has data in it (ie. the Cacheable DataTable must have been retrieved by the caller). |
- Returns
- True if at least one DataLabel exists for the Partner Class specified in APartnerClass , otherwise false.
◆ HasPartnerType()
static bool Ict.Petra.Server.MPartner.Common.Checks.HasPartnerType |
( |
string |
APartnerType, |
|
|
PPartnerTypeTable |
APPartnerTypeDT, |
|
|
bool |
AExactMatch |
|
) |
| |
|
inlinestatic |
Determines whether a specified Partner Type code is contained in the PPartnerTypeTable that is passed in. The AExactMatch parameter determines whether the check is done on an exact string match, or a 'starts with' string match.
- Parameters
-
Partner Type code that should be checked for
- Parameters
-
PPartnerTypeTable containing rows of Partner Types
- Parameters
-
Exact string match for APartnerType if true, otherwise 'starts with' string match
- Returns
- true if APartnerType was found in APPartnerTypeDT, otherwise false
◆ PartnerIsExWorker()
check if the partner has a valid Gift Destination in the past but not a currently active Gift Destination
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- csharp/ICT/Petra/Server/lib/MPartner/Common/Checks.cs