tools for populating a ledger with data
More...
|
| static void | UpdateLedger (DateTime ACalendarStartDate) |
| | update the current ledger with new number of forward posting periods, and different start date for the calendar More...
|
| |
| static void | CreateNewLedger () |
| | create new ledger More...
|
| |
| static void | InitExchangeRate (TDataBase ADataBase=null) |
| | init the exchange rate, to avoid messages "Cannot find exchange rate for EUR USD" More...
|
| |
| static void | PopulateData (string datadirectory, bool smallNumber=false) |
| | Populate ledger with gifts and invoices, post batches, close periods and years, according to FNumberOfClosedPeriods More...
|
| |
tools for populating a ledger with data
◆ CreateNewLedger()
| static void Ict.Petra.Tools.SampleDataConstructor.SampleDataLedger.CreateNewLedger |
( |
| ) |
|
|
inlinestatic |
◆ InitExchangeRate()
| static void Ict.Petra.Tools.SampleDataConstructor.SampleDataLedger.InitExchangeRate |
( |
TDataBase |
ADataBase = null | ) |
|
|
inlinestatic |
init the exchange rate, to avoid messages "Cannot find exchange rate for EUR USD"
◆ PopulateData()
| static void Ict.Petra.Tools.SampleDataConstructor.SampleDataLedger.PopulateData |
( |
string |
datadirectory, |
|
|
bool |
smallNumber = false |
|
) |
| |
|
inlinestatic |
Populate ledger with gifts and invoices, post batches, close periods and years, according to FNumberOfClosedPeriods
◆ UpdateLedger()
| static void Ict.Petra.Tools.SampleDataConstructor.SampleDataLedger.UpdateLedger |
( |
DateTime |
ACalendarStartDate | ) |
|
|
inlinestatic |
update the current ledger with new number of forward posting periods, and different start date for the calendar
◆ FLedgerNumber
| int Ict.Petra.Tools.SampleDataConstructor.SampleDataLedger.FLedgerNumber = 43 |
|
static |
LedgerNumber to be set from outside.
◆ FNumberOfClosedPeriods
| int Ict.Petra.Tools.SampleDataConstructor.SampleDataLedger.FNumberOfClosedPeriods = 5 |
|
static |
will start the calendar early enough so that the current period is open
◆ FNumberOfFwdPostingPeriods
| int Ict.Petra.Tools.SampleDataConstructor.SampleDataLedger.FNumberOfFwdPostingPeriods = 12 |
|
static |
we used to have 8 open periods after the current period, but 12 is easier for the test databases
The documentation for this class was generated from the following file: