Returns membership and discount information for the specified client(s).
GetClientDiscounts(XmlIds AS String)
XML String
XmlIds = XML String containing the Client Ids of the records to return. You must format this string using the XML IdList Structure Definition.
XML String has the following structure:
|
Field |
Type |
Length |
Description |
|
iId |
Integer |
4 |
Primary Key - Unique Identifier. |
|
iClientId |
Integer |
4 |
Client Id. Foreign key to Clients iId. |
|
iMemberId |
Integer |
4 |
Membership Type Id. Foreign key to Membership Type iId. |
|
cMember |
String |
14 |
Membership number. |
|
lIsMember |
Boolean |
1 |
Indicates whether the client has a valid membership. |
|
dMemSince |
DateTime |
8 |
Start date for client membership. |
|
nServDisc |
Decimal |
3,0 |
Service discount amount. % off services. |
|
nRetDisc |
Decimal |
3,0 |
Retail discount amount. % off retail. |
|
nTanDisc |
Decimal |
3,0 |
Tanning discount amount. % off tanning. |
|
nPkgDisc |
Decimal |
3,0 |
Package/series discount amount. % off package/series. |
|
lSRound |
Boolean |
1 |
Indicates whether the service discounts amount round to the nearest dollar. |
|
lRRound |
Boolean |
1 |
Indicates whether the retail discounts amount round to the nearest dollar. |
|
lS1Disc |
Boolean |
1 |
Indicates whether service discounts apply on Sunday. |
|
lS2Disc |
Boolean |
1 |
Indicates whether service discounts apply on Monday. |
|
lS3Disc |
Boolean |
1 |
Indicates whether service discounts apply on Tuesday. |
|
lS4Disc |
Boolean |
1 |
Indicates whether service discounts apply on Wednesday. |
|
lS5Disc |
Boolean |
1 |
Indicates whether service discounts apply on Thursday. |
|
lS6Disc |
Boolean |
1 |
Indicates whether service discounts apply on Friday. |
|
lS7Disc |
Boolean |
1 |
Indicates whether service discounts apply on Saturday. |
|
IR1Disc |
Boolean |
1 |
Indicates whether retail discounts apply on Sunday. |
|
IR2Disc |
Boolean |
1 |
Indicates whether retail discounts apply on Monday. |
|
IR3Disc |
Boolean |
1 |
Indicates whether retail discounts apply on Tuesday. |
|
IR4Disc |
Boolean |
1 |
Indicates whether retail discounts apply on Wednesday. |
|
IR5Disc |
Boolean |
1 |
Indicates whether retail discounts apply on Thursday. |
|
IR6Disc |
Boolean |
1 |
Indicates whether retail discounts apply on Friday. |
|
IR7Disc |
Boolean |
1 |
Indicates whether retail discounts apply on Saturday. |
|
dExpires |
DateTime |
8 |
Membership expiration date. |
|
iGId |
Integer |
4 |
Not used. |