|
OpenPetra
Free Administration Software for Non-Profits
|
defines a discount that depends on other conditions or can just be assigned to an invoice or article More...
Public Member Functions | |
| AArDiscountRow (System.Data.DataRowBuilder rb) | |
| Constructor. More... | |
| virtual void | InitValues () |
| set default values More... | |
| bool | IsArDiscountCodeNull () |
| test for NULL value More... | |
| void | SetArDiscountCodeNull () |
| assign NULL value More... | |
| bool | IsArDateValidFromNull () |
| test for NULL value More... | |
| void | SetArDateValidFromNull () |
| assign NULL value More... | |
| bool | IsArAdhocNull () |
| test for NULL value More... | |
| void | SetArAdhocNull () |
| assign NULL value More... | |
| bool | IsActiveNull () |
| test for NULL value More... | |
| void | SetActiveNull () |
| assign NULL value More... | |
| bool | IsArDiscountPercentageNull () |
| test for NULL value More... | |
| void | SetArDiscountPercentageNull () |
| assign NULL value More... | |
| bool | IsArDiscountAbsoluteNull () |
| test for NULL value More... | |
| void | SetArDiscountAbsoluteNull () |
| assign NULL value More... | |
| bool | IsArAbsoluteAmountNull () |
| test for NULL value More... | |
| void | SetArAbsoluteAmountNull () |
| assign NULL value More... | |
| bool | IsCurrencyCodeNull () |
| test for NULL value More... | |
| void | SetCurrencyCodeNull () |
| assign NULL value More... | |
| bool | IsArNumberOfItemsNull () |
| test for NULL value More... | |
| void | SetArNumberOfItemsNull () |
| assign NULL value More... | |
| bool | IsArMinimumNumberOfItemsNull () |
| test for NULL value More... | |
| void | SetArMinimumNumberOfItemsNull () |
| assign NULL value More... | |
| bool | IsArNumberOfNightsNull () |
| test for NULL value More... | |
| void | SetArNumberOfNightsNull () |
| assign NULL value More... | |
| bool | IsArMinimumNumberOfNightsNull () |
| test for NULL value More... | |
| void | SetArMinimumNumberOfNightsNull () |
| assign NULL value More... | |
| bool | IsArWholeRoomNull () |
| test for NULL value More... | |
| void | SetArWholeRoomNull () |
| assign NULL value More... | |
| bool | IsArChildrenNull () |
| test for NULL value More... | |
| void | SetArChildrenNull () |
| assign NULL value More... | |
| bool | IsArEarlyBookingDaysNull () |
| test for NULL value More... | |
| void | SetArEarlyBookingDaysNull () |
| assign NULL value More... | |
| bool | IsArEarlyPaymentDaysNull () |
| test for NULL value More... | |
| void | SetArEarlyPaymentDaysNull () |
| assign NULL value More... | |
| bool | IsArArticleCodeNull () |
| test for NULL value More... | |
| void | SetArArticleCodeNull () |
| assign NULL value More... | |
| bool | IsPartnerTypeCodeNull () |
| test for NULL value More... | |
| void | SetPartnerTypeCodeNull () |
| assign NULL value More... | |
| bool | IsDateCreatedNull () |
| test for NULL value More... | |
| void | SetDateCreatedNull () |
| assign NULL value More... | |
| bool | IsCreatedByNull () |
| test for NULL value More... | |
| void | SetCreatedByNull () |
| assign NULL value More... | |
| bool | IsDateModifiedNull () |
| test for NULL value More... | |
| void | SetDateModifiedNull () |
| assign NULL value More... | |
| bool | IsModifiedByNull () |
| test for NULL value More... | |
| void | SetModifiedByNull () |
| assign NULL value More... | |
| bool | IsModificationIdNull () |
| test for NULL value More... | |
| void | SetModificationIdNull () |
| assign NULL value More... | |
Properties | |
| String | ArDiscountCode [get, set] |
| code that identifies the discount More... | |
| System.DateTime | ArDateValidFrom [get, set] |
| date from which this discount is valid More... | |
| Boolean | ArAdhoc [get, set] |
| this discount has only be created on the fly and should not be reusable elsewhere More... | |
| Boolean | Active [get, set] |
| flag that prevents this discount from being used, to avoid too long lists in comboboxes etc More... | |
| Decimal | ArDiscountPercentage [get, set] |
| discount percentage; can be negative for expensive rooms etc More... | |
| Decimal | ArDiscountAbsolute [get, set] |
| the absolute discount that is substracted from the article price; can be negative as well More... | |
| Decimal | ArAbsoluteAmount [get, set] |
| the absolute amount that is charged if this discount applies; e.g. 3 books for 5 Pound More... | |
| String | CurrencyCode [get, set] |
| the currency in which the absolute discount or amount is given More... | |
| Int32 | ArNumberOfItems [get, set] |
| this discount applies for this number of items that are bought at the same time More... | |
| Int32 | ArMinimumNumberOfItems [get, set] |
| this discount applies for all of the items if at least this number of items is bought at the same time More... | |
| Int32 | ArNumberOfNights [get, set] |
| this discount applies for this number of nights that the individual or group stays; this is needed because 100 people staying for one night do cost more than 50 people staying for 2 nights More... | |
| Int32 | ArMinimumNumberOfNights [get, set] |
| this discount applies for all of the nights if the individual or group stays at least for the given amount of nights; this is needed because 100 people staying for one night do cost more than 50 people staying for 2 nights More... | |
| Boolean | ArWholeRoom [get, set] |
| this discount applies when a whole room is booked rather than just a bed More... | |
| Boolean | ArChildren [get, set] |
| this discount applies for a children (e.g. meals) More... | |
| Int32 | ArEarlyBookingDays [get, set] |
| this discount applies when the booking has been done so many days before the stay (using ph_booking.ph_confirmed_d and ph_in_d) More... | |
| Int32 | ArEarlyPaymentDays [get, set] |
| this discount applies when the payment has been received within the given number of days after the invoice has been charged More... | |
| String | ArArticleCode [get, set] |
| this discount applies if the article code matches More... | |
| String | PartnerTypeCode [get, set] |
| this discounts applies to partners of this type More... | |
| System.? DateTime | DateCreated [get, set] |
| The date the record was created. More... | |
| String | CreatedBy [get, set] |
| User ID of who created this record. More... | |
| System.? DateTime | DateModified [get, set] |
| The date the record was modified. More... | |
| String | ModifiedBy [get, set] |
| User ID of who last modified this record. More... | |
| DateTime | ModificationId [get, set] |
| This identifies the current version of the record. More... | |
defines a discount that depends on other conditions or can just be assigned to an invoice or article
|
inline |
Constructor.
|
inlinevirtual |
set default values
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
test for NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
inline |
assign NULL value
|
getset |
flag that prevents this discount from being used, to avoid too long lists in comboboxes etc
|
getset |
the absolute amount that is charged if this discount applies; e.g. 3 books for 5 Pound
|
getset |
this discount has only be created on the fly and should not be reusable elsewhere
|
getset |
this discount applies if the article code matches
|
getset |
this discount applies for a children (e.g. meals)
|
getset |
date from which this discount is valid
|
getset |
the absolute discount that is substracted from the article price; can be negative as well
|
getset |
code that identifies the discount
|
getset |
discount percentage; can be negative for expensive rooms etc
|
getset |
this discount applies when the booking has been done so many days before the stay (using ph_booking.ph_confirmed_d and ph_in_d)
|
getset |
this discount applies when the payment has been received within the given number of days after the invoice has been charged
|
getset |
this discount applies for all of the items if at least this number of items is bought at the same time
|
getset |
this discount applies for all of the nights if the individual or group stays at least for the given amount of nights; this is needed because 100 people staying for one night do cost more than 50 people staying for 2 nights
|
getset |
this discount applies for this number of items that are bought at the same time
|
getset |
this discount applies for this number of nights that the individual or group stays; this is needed because 100 people staying for one night do cost more than 50 people staying for 2 nights
|
getset |
this discount applies when a whole room is booked rather than just a bed
|
getset |
User ID of who created this record.
|
getset |
the currency in which the absolute discount or amount is given
|
getset |
The date the record was created.
|
getset |
The date the record was modified.
|
getset |
This identifies the current version of the record.
|
getset |
User ID of who last modified this record.
|
getset |
this discounts applies to partners of this type