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

Either an invoice or a credit note in the Accounts Payable system. More...

Inheritance diagram for Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow:
Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentRow

Public Member Functions

 AApDocumentRow (System.Data.DataRowBuilder rb)
 Constructor. More...
 
virtual void InitValues ()
 set default values More...
 
bool IsApDocumentIdNull ()
 test for NULL value More...
 
void SetApDocumentIdNull ()
 assign NULL value More...
 
bool IsLedgerNumberNull ()
 test for NULL value More...
 
void SetLedgerNumberNull ()
 assign NULL value More...
 
bool IsApNumberNull ()
 test for NULL value More...
 
void SetApNumberNull ()
 assign NULL value More...
 
bool IsPartnerKeyNull ()
 test for NULL value More...
 
void SetPartnerKeyNull ()
 assign NULL value More...
 
bool IsCreditNoteFlagNull ()
 test for NULL value More...
 
void SetCreditNoteFlagNull ()
 assign NULL value More...
 
bool IsDocumentCodeNull ()
 test for NULL value More...
 
void SetDocumentCodeNull ()
 assign NULL value More...
 
bool IsReferenceNull ()
 test for NULL value More...
 
void SetReferenceNull ()
 assign NULL value More...
 
bool IsDateIssuedNull ()
 test for NULL value More...
 
void SetDateIssuedNull ()
 assign NULL value More...
 
bool IsDateEnteredNull ()
 test for NULL value More...
 
void SetDateEnteredNull ()
 assign NULL value More...
 
bool IsCreditTermsNull ()
 test for NULL value More...
 
void SetCreditTermsNull ()
 assign NULL value More...
 
bool IsTotalAmountNull ()
 test for NULL value More...
 
void SetTotalAmountNull ()
 assign NULL value More...
 
bool IsCurrencyCodeNull ()
 test for NULL value More...
 
void SetCurrencyCodeNull ()
 assign NULL value More...
 
bool IsExchangeRateToBaseNull ()
 test for NULL value More...
 
void SetExchangeRateToBaseNull ()
 assign NULL value More...
 
bool IsDiscountPercentageNull ()
 test for NULL value More...
 
void SetDiscountPercentageNull ()
 assign NULL value More...
 
bool IsDiscountDaysNull ()
 test for NULL value More...
 
void SetDiscountDaysNull ()
 assign NULL value More...
 
bool IsApAccountNull ()
 test for NULL value More...
 
void SetApAccountNull ()
 assign NULL value More...
 
bool IsLastDetailNumberNull ()
 test for NULL value More...
 
void SetLastDetailNumberNull ()
 assign NULL value More...
 
bool IsDocumentStatusNull ()
 test for NULL value More...
 
void SetDocumentStatusNull ()
 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

Int32 ApDocumentId [get, set]
 Unique key for this record. More...
 
Int32 LedgerNumber [get, set]
 Reference to the ledger for this invoice. More...
 
Int32 ApNumber [get, set]
 A unique key (together with the ledger number) to identify this document. More...
 
Int64 PartnerKey [get, set]
 Reference to the supplier that sent this invoice. More...
 
Boolean CreditNoteFlag [get, set]
 A flag to indicate if this document is an invoice or a credit note. More...
 
String DocumentCode [get, set]
 The code given on the document itself (be it invoice or credit note). This will have to be unique for each supplier. More...
 
String Reference [get, set]
 Some kind of other reference needed. More...
 
System.DateTime DateIssued [get, set]
 The date when this document was issued. More...
 
System.DateTime DateEntered [get, set]
 The date when this document was entered into the system. More...
 
Int32 CreditTerms [get, set]
 Credit terms allowed for this invoice. More...
 
Decimal TotalAmount [get, set]
 The total amount of money that this document is worth. More...
 
String CurrencyCode [get, set]
 the currency of the document More...
 
Decimal ExchangeRateToBase [get, set]
 The exchange rate to the base currency at the time that the document was issued. More...
 
Decimal DiscountPercentage [get, set]
 The percentage discount you get for early payment of this document in the case that it is an invoice. More...
 
Int32 DiscountDays [get, set]
 The number of days that the discount is valid for (0 for none). More...
 
String ApAccount [get, set]
 Reference to the AP Account to debit/credit when posting/paying the document. More...
 
Int32 LastDetailNumber [get, set]
 The number of the last item for this document. This is used simply to quickly get the next number if items are added. More...
 
String DocumentStatus [get, set]
 The current status of the invoice. The value can (for now) be one of: OPEN, APPROVED, POSTED, PARTPAID, or PAID. 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

Either an invoice or a credit note in the Accounts Payable system.

Constructor & Destructor Documentation

◆ AApDocumentRow()

Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.AApDocumentRow ( System.Data.DataRowBuilder  rb)
inline

Constructor.

Member Function Documentation

◆ InitValues()

virtual void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.InitValues ( )
inlinevirtual

◆ IsApAccountNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsApAccountNull ( )
inline

test for NULL value

◆ IsApDocumentIdNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsApDocumentIdNull ( )
inline

test for NULL value

◆ IsApNumberNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsApNumberNull ( )
inline

test for NULL value

◆ IsCreatedByNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsCreatedByNull ( )
inline

test for NULL value

◆ IsCreditNoteFlagNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsCreditNoteFlagNull ( )
inline

test for NULL value

◆ IsCreditTermsNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsCreditTermsNull ( )
inline

test for NULL value

◆ IsCurrencyCodeNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsCurrencyCodeNull ( )
inline

test for NULL value

◆ IsDateCreatedNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsDateCreatedNull ( )
inline

test for NULL value

◆ IsDateEnteredNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsDateEnteredNull ( )
inline

test for NULL value

◆ IsDateIssuedNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsDateIssuedNull ( )
inline

test for NULL value

◆ IsDateModifiedNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsDateModifiedNull ( )
inline

test for NULL value

◆ IsDiscountDaysNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsDiscountDaysNull ( )
inline

test for NULL value

◆ IsDiscountPercentageNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsDiscountPercentageNull ( )
inline

test for NULL value

◆ IsDocumentCodeNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsDocumentCodeNull ( )
inline

test for NULL value

◆ IsDocumentStatusNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsDocumentStatusNull ( )
inline

test for NULL value

◆ IsExchangeRateToBaseNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsExchangeRateToBaseNull ( )
inline

test for NULL value

◆ IsLastDetailNumberNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsLastDetailNumberNull ( )
inline

test for NULL value

◆ IsLedgerNumberNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsLedgerNumberNull ( )
inline

test for NULL value

◆ IsModificationIdNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsModificationIdNull ( )
inline

test for NULL value

◆ IsModifiedByNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsModifiedByNull ( )
inline

test for NULL value

◆ IsPartnerKeyNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsPartnerKeyNull ( )
inline

test for NULL value

◆ IsReferenceNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsReferenceNull ( )
inline

test for NULL value

◆ IsTotalAmountNull()

bool Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.IsTotalAmountNull ( )
inline

test for NULL value

◆ SetApAccountNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetApAccountNull ( )
inline

assign NULL value

◆ SetApDocumentIdNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetApDocumentIdNull ( )
inline

assign NULL value

◆ SetApNumberNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetApNumberNull ( )
inline

assign NULL value

◆ SetCreatedByNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetCreatedByNull ( )
inline

assign NULL value

◆ SetCreditNoteFlagNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetCreditNoteFlagNull ( )
inline

assign NULL value

◆ SetCreditTermsNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetCreditTermsNull ( )
inline

assign NULL value

◆ SetCurrencyCodeNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetCurrencyCodeNull ( )
inline

assign NULL value

◆ SetDateCreatedNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetDateCreatedNull ( )
inline

assign NULL value

◆ SetDateEnteredNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetDateEnteredNull ( )
inline

assign NULL value

◆ SetDateIssuedNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetDateIssuedNull ( )
inline

assign NULL value

◆ SetDateModifiedNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetDateModifiedNull ( )
inline

assign NULL value

◆ SetDiscountDaysNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetDiscountDaysNull ( )
inline

assign NULL value

◆ SetDiscountPercentageNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetDiscountPercentageNull ( )
inline

assign NULL value

◆ SetDocumentCodeNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetDocumentCodeNull ( )
inline

assign NULL value

◆ SetDocumentStatusNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetDocumentStatusNull ( )
inline

assign NULL value

◆ SetExchangeRateToBaseNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetExchangeRateToBaseNull ( )
inline

assign NULL value

◆ SetLastDetailNumberNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetLastDetailNumberNull ( )
inline

assign NULL value

◆ SetLedgerNumberNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetLedgerNumberNull ( )
inline

assign NULL value

◆ SetModificationIdNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetModificationIdNull ( )
inline

assign NULL value

◆ SetModifiedByNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetModifiedByNull ( )
inline

assign NULL value

◆ SetPartnerKeyNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetPartnerKeyNull ( )
inline

assign NULL value

◆ SetReferenceNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetReferenceNull ( )
inline

assign NULL value

◆ SetTotalAmountNull()

void Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.SetTotalAmountNull ( )
inline

assign NULL value

Property Documentation

◆ ApAccount

String Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.ApAccount
getset

Reference to the AP Account to debit/credit when posting/paying the document.

◆ ApDocumentId

Int32 Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.ApDocumentId
getset

Unique key for this record.

◆ ApNumber

Int32 Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.ApNumber
getset

A unique key (together with the ledger number) to identify this document.

◆ CreatedBy

String Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.CreatedBy
getset

User ID of who created this record.

◆ CreditNoteFlag

Boolean Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.CreditNoteFlag
getset

A flag to indicate if this document is an invoice or a credit note.

◆ CreditTerms

Int32 Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.CreditTerms
getset

Credit terms allowed for this invoice.

◆ CurrencyCode

String Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.CurrencyCode
getset

the currency of the document

◆ DateCreated

System.? DateTime Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.DateCreated
getset

The date the record was created.

◆ DateEntered

System.DateTime Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.DateEntered
getset

The date when this document was entered into the system.

◆ DateIssued

System.DateTime Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.DateIssued
getset

The date when this document was issued.

◆ DateModified

System.? DateTime Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.DateModified
getset

The date the record was modified.

◆ DiscountDays

Int32 Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.DiscountDays
getset

The number of days that the discount is valid for (0 for none).

◆ DiscountPercentage

Decimal Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.DiscountPercentage
getset

The percentage discount you get for early payment of this document in the case that it is an invoice.

◆ DocumentCode

String Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.DocumentCode
getset

The code given on the document itself (be it invoice or credit note). This will have to be unique for each supplier.

◆ DocumentStatus

String Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.DocumentStatus
getset

The current status of the invoice. The value can (for now) be one of: OPEN, APPROVED, POSTED, PARTPAID, or PAID.

◆ ExchangeRateToBase

Decimal Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.ExchangeRateToBase
getset

The exchange rate to the base currency at the time that the document was issued.

◆ LastDetailNumber

Int32 Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.LastDetailNumber
getset

The number of the last item for this document. This is used simply to quickly get the next number if items are added.

◆ LedgerNumber

Int32 Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.LedgerNumber
getset

Reference to the ledger for this invoice.

◆ ModificationId

DateTime Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.ModificationId
getset

This identifies the current version of the record.

◆ ModifiedBy

String Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.ModifiedBy
getset

User ID of who last modified this record.

◆ PartnerKey

Int64 Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.PartnerKey
getset

Reference to the supplier that sent this invoice.

◆ Reference

String Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.Reference
getset

Some kind of other reference needed.

◆ TotalAmount

Decimal Ict.Petra.Shared.MFinance.AP.Data.AApDocumentRow.TotalAmount
getset

The total amount of money that this document is worth.


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