tools for generating and posting and paying invoices
More...
|
| 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...
|
| |
tools for generating and posting and paying invoices
◆ 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 | |
| AYear | eg. 2013 |
| ASmallNumber | boolean 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
◆ 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: