OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow Class Reference

defines a discount that depends on other conditions or can just be assigned to an invoice or article More...

Inheritance diagram for Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow:

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...
 

Detailed Description

defines a discount that depends on other conditions or can just be assigned to an invoice or article

Constructor & Destructor Documentation

◆ AArDiscountRow()

Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.AArDiscountRow ( System.Data.DataRowBuilder  rb)
inline

Constructor.

Member Function Documentation

◆ InitValues()

virtual void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.InitValues ( )
inlinevirtual

set default values

◆ IsActiveNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsActiveNull ( )
inline

test for NULL value

◆ IsArAbsoluteAmountNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArAbsoluteAmountNull ( )
inline

test for NULL value

◆ IsArAdhocNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArAdhocNull ( )
inline

test for NULL value

◆ IsArArticleCodeNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArArticleCodeNull ( )
inline

test for NULL value

◆ IsArChildrenNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArChildrenNull ( )
inline

test for NULL value

◆ IsArDateValidFromNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArDateValidFromNull ( )
inline

test for NULL value

◆ IsArDiscountAbsoluteNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArDiscountAbsoluteNull ( )
inline

test for NULL value

◆ IsArDiscountCodeNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArDiscountCodeNull ( )
inline

test for NULL value

◆ IsArDiscountPercentageNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArDiscountPercentageNull ( )
inline

test for NULL value

◆ IsArEarlyBookingDaysNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArEarlyBookingDaysNull ( )
inline

test for NULL value

◆ IsArEarlyPaymentDaysNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArEarlyPaymentDaysNull ( )
inline

test for NULL value

◆ IsArMinimumNumberOfItemsNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArMinimumNumberOfItemsNull ( )
inline

test for NULL value

◆ IsArMinimumNumberOfNightsNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArMinimumNumberOfNightsNull ( )
inline

test for NULL value

◆ IsArNumberOfItemsNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArNumberOfItemsNull ( )
inline

test for NULL value

◆ IsArNumberOfNightsNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArNumberOfNightsNull ( )
inline

test for NULL value

◆ IsArWholeRoomNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsArWholeRoomNull ( )
inline

test for NULL value

◆ IsCreatedByNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsCreatedByNull ( )
inline

test for NULL value

◆ IsCurrencyCodeNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsCurrencyCodeNull ( )
inline

test for NULL value

◆ IsDateCreatedNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsDateCreatedNull ( )
inline

test for NULL value

◆ IsDateModifiedNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsDateModifiedNull ( )
inline

test for NULL value

◆ IsModificationIdNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsModificationIdNull ( )
inline

test for NULL value

◆ IsModifiedByNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsModifiedByNull ( )
inline

test for NULL value

◆ IsPartnerTypeCodeNull()

bool Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.IsPartnerTypeCodeNull ( )
inline

test for NULL value

◆ SetActiveNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetActiveNull ( )
inline

assign NULL value

◆ SetArAbsoluteAmountNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArAbsoluteAmountNull ( )
inline

assign NULL value

◆ SetArAdhocNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArAdhocNull ( )
inline

assign NULL value

◆ SetArArticleCodeNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArArticleCodeNull ( )
inline

assign NULL value

◆ SetArChildrenNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArChildrenNull ( )
inline

assign NULL value

◆ SetArDateValidFromNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArDateValidFromNull ( )
inline

assign NULL value

◆ SetArDiscountAbsoluteNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArDiscountAbsoluteNull ( )
inline

assign NULL value

◆ SetArDiscountCodeNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArDiscountCodeNull ( )
inline

assign NULL value

◆ SetArDiscountPercentageNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArDiscountPercentageNull ( )
inline

assign NULL value

◆ SetArEarlyBookingDaysNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArEarlyBookingDaysNull ( )
inline

assign NULL value

◆ SetArEarlyPaymentDaysNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArEarlyPaymentDaysNull ( )
inline

assign NULL value

◆ SetArMinimumNumberOfItemsNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArMinimumNumberOfItemsNull ( )
inline

assign NULL value

◆ SetArMinimumNumberOfNightsNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArMinimumNumberOfNightsNull ( )
inline

assign NULL value

◆ SetArNumberOfItemsNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArNumberOfItemsNull ( )
inline

assign NULL value

◆ SetArNumberOfNightsNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArNumberOfNightsNull ( )
inline

assign NULL value

◆ SetArWholeRoomNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetArWholeRoomNull ( )
inline

assign NULL value

◆ SetCreatedByNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetCreatedByNull ( )
inline

assign NULL value

◆ SetCurrencyCodeNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetCurrencyCodeNull ( )
inline

assign NULL value

◆ SetDateCreatedNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetDateCreatedNull ( )
inline

assign NULL value

◆ SetDateModifiedNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetDateModifiedNull ( )
inline

assign NULL value

◆ SetModificationIdNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetModificationIdNull ( )
inline

assign NULL value

◆ SetModifiedByNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetModifiedByNull ( )
inline

assign NULL value

◆ SetPartnerTypeCodeNull()

void Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.SetPartnerTypeCodeNull ( )
inline

assign NULL value

Property Documentation

◆ Active

Boolean Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.Active
getset

flag that prevents this discount from being used, to avoid too long lists in comboboxes etc

◆ ArAbsoluteAmount

Decimal Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArAbsoluteAmount
getset

the absolute amount that is charged if this discount applies; e.g. 3 books for 5 Pound

◆ ArAdhoc

Boolean Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArAdhoc
getset

this discount has only be created on the fly and should not be reusable elsewhere

◆ ArArticleCode

String Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArArticleCode
getset

this discount applies if the article code matches

◆ ArChildren

Boolean Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArChildren
getset

this discount applies for a children (e.g. meals)

◆ ArDateValidFrom

System.DateTime Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArDateValidFrom
getset

date from which this discount is valid

◆ ArDiscountAbsolute

Decimal Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArDiscountAbsolute
getset

the absolute discount that is substracted from the article price; can be negative as well

◆ ArDiscountCode

String Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArDiscountCode
getset

code that identifies the discount

◆ ArDiscountPercentage

Decimal Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArDiscountPercentage
getset

discount percentage; can be negative for expensive rooms etc

◆ ArEarlyBookingDays

Int32 Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArEarlyBookingDays
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)

◆ ArEarlyPaymentDays

Int32 Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArEarlyPaymentDays
getset

this discount applies when the payment has been received within the given number of days after the invoice has been charged

◆ ArMinimumNumberOfItems

Int32 Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArMinimumNumberOfItems
getset

this discount applies for all of the items if at least this number of items is bought at the same time

◆ ArMinimumNumberOfNights

Int32 Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArMinimumNumberOfNights
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

◆ ArNumberOfItems

Int32 Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArNumberOfItems
getset

this discount applies for this number of items that are bought at the same time

◆ ArNumberOfNights

Int32 Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArNumberOfNights
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

◆ ArWholeRoom

Boolean Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ArWholeRoom
getset

this discount applies when a whole room is booked rather than just a bed

◆ CreatedBy

String Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.CreatedBy
getset

User ID of who created this record.

◆ CurrencyCode

String Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.CurrencyCode
getset

the currency in which the absolute discount or amount is given

◆ DateCreated

System.? DateTime Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.DateCreated
getset

The date the record was created.

◆ DateModified

System.? DateTime Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.DateModified
getset

The date the record was modified.

◆ ModificationId

DateTime Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ModificationId
getset

This identifies the current version of the record.

◆ ModifiedBy

String Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.ModifiedBy
getset

User ID of who last modified this record.

◆ PartnerTypeCode

String Ict.Petra.Shared.MFinance.AR.Data.AArDiscountRow.PartnerTypeCode
getset

this discounts applies to partners of this type


The documentation for this class was generated from the following file: