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

tools for generating and posting and paying invoices More...

Static Public Member Functions

static void GenerateInvoices (string AInputBeneratorFile, int AYear, bool ASmallNumber, TDataBase ADataBase=null)
 generate the invoices from a text file that was generated with Benerator More...
 
static bool PostAndPayInvoices (int AYear, int APeriod, int ALeaveInvoicesUnposted=0)
 post and pay all invoices 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 MaxInvoicesPerYear = 200
 limit the amount of invoices per year More...
 

Detailed Description

tools for generating and posting and paying invoices

Member Function Documentation

◆ GenerateInvoices()

static void Ict.Petra.Tools.SampleDataConstructor.SampleDataAccountsPayable.GenerateInvoices ( string  AInputBeneratorFile,
int  AYear,
bool  ASmallNumber,
TDataBase  ADataBase = null 
)
inlinestatic

generate the invoices from a text file that was generated with Benerator

Parameters
AInputBeneratorFile
AYeareg. 2013
ASmallNumberboolean to keep the size of the demo database down
ADataBase

◆ PostAndPayInvoices()

static bool Ict.Petra.Tools.SampleDataConstructor.SampleDataAccountsPayable.PostAndPayInvoices ( int  AYear,
int  APeriod,
int  ALeaveInvoicesUnposted = 0 
)
inlinestatic

post and pay all invoices in the given period, but leave some (or none) unposted

Member Data Documentation

◆ FLedgerNumber

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

LedgerNumber to be set from outside.

◆ MaxInvoicesPerYear

int Ict.Petra.Tools.SampleDataConstructor.SampleDataAccountsPayable.MaxInvoicesPerYear = 200
static

limit the amount of invoices per year


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