OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Tools.SampleDataConstructor.SampleDataGiftBatches Class Reference

tools for generating and posting gift batches with sample data More...

Static Public Member Functions

static void LoadBatches (string AInputBeneratorFile, bool ASmallNumber)
 load the gift batches from a text file that was generated with Benerator More...
 
static void CreateGiftBatches (int APeriodNumber)
 generate the gift batches from a text file that was generated with Benerator, for a specific period More...
 
static bool PostBatches (int AYear, int APeriod, int ALeaveBatchesUnposted, TDataBase ADataBase)
 post all gift batches in the given period, but leave some (or none) unposted More...
 

Static Public Attributes

static int FLedgerNumber = 43
 LedgerNumber to be set from outside. More...
 
static int MaxGiftsPerBatch = 25
 limit the amount of gifts per batch More...
 

Detailed Description

tools for generating and posting gift batches with sample data

Member Function Documentation

◆ CreateGiftBatches()

static void Ict.Petra.Tools.SampleDataConstructor.SampleDataGiftBatches.CreateGiftBatches ( int  APeriodNumber)
inlinestatic

generate the gift batches from a text file that was generated with Benerator, for a specific period

◆ LoadBatches()

static void Ict.Petra.Tools.SampleDataConstructor.SampleDataGiftBatches.LoadBatches ( string  AInputBeneratorFile,
bool  ASmallNumber 
)
inlinestatic

load the gift batches from a text file that was generated with Benerator

Parameters
AInputBeneratorFile
ASmallNumberboolean to keep the size of the demo database down

◆ PostBatches()

static bool Ict.Petra.Tools.SampleDataConstructor.SampleDataGiftBatches.PostBatches ( int  AYear,
int  APeriod,
int  ALeaveBatchesUnposted,
TDataBase  ADataBase 
)
inlinestatic

post all gift batches in the given period, but leave some (or none) unposted

Member Data Documentation

◆ FLedgerNumber

int Ict.Petra.Tools.SampleDataConstructor.SampleDataGiftBatches.FLedgerNumber = 43
static

LedgerNumber to be set from outside.

◆ MaxGiftsPerBatch

int Ict.Petra.Tools.SampleDataConstructor.SampleDataGiftBatches.MaxGiftsPerBatch = 25
static

limit the amount of gifts per batch


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