|
static bool | UpdateBatchLastJournal (ref GLBatchTDS AMainDS, ref ABatchRow ACurrentBatchRow) |
| Update the specified Batch's LastJournal number. Assumes all necessary data is loaded for Batch More...
|
|
static bool | UpdateJournalLastTransaction (GLBatchTDS AMainDS, GLBatchTDSAJournalRow ACurrentJournal) |
| Update the specified Journal's LastTransaction number. Assumes all necessary data is loaded for Journal More...
|
|
static bool | UpdateRecurringBatchLastJournal (ref GLBatchTDS AMainDS, ref ARecurringBatchRow ACurrentBatchRow, Boolean AIncludeJournals=false) |
| Update the specified Recurring Batch's LastJournal number. Assumes all necessary data is loaded for Batch More...
|
|
static bool | UpdateRecurringJournalLastTransaction (ref GLBatchTDS AMainDS, ref GLBatchTDSARecurringJournalRow ACurrentJournal) |
| Update the specified recurring Journal's LastTransaction number. Assumes all necessary data is loaded for Journal More...
|
|
static bool | UpdateBatchTotals (ref GLBatchTDS AMainDS, ref ABatchRow ACurrentBatchRow, Int32 ACurrentJournalNumber=0) |
| Calculate the base amount for the transactions, and update the totals for the journals and the current batch This assumes that all relevant data has already been loaded More...
|
|
static bool | UpdateRecurringBatchTotals (ref GLBatchTDS AMainDS, ref ARecurringBatchRow ACurrentBatchRow, Int32 ACurrentJournalNumber=0) |
| Calculate the base amount for the transactions, and update the totals for the journals and the current batch More...
|
|
static GLBatchTDS | SingleBatchOnlyDataSet (ref GLBatchTDS AMainDS, Int32 ALedgerNumber, Int32 ABatchNumber) |
| Return a GL Dataset with data only for the specified batch, other data stripped More...
|
|
static GLBatchTDS | RemoveSingleBatchFromDataSet (ref GLBatchTDS AMainDS, Int32 ALedgerNumber, Int32 ABatchNumber) |
| Return a GL Dataset with data for the specified batch removed More...
|
|
static decimal | CurrencyMultiply (decimal AAmount, decimal AExchangeRate, int ADecimals=DECIMALS) |
| use this method to calculate the new amount, using an exchange rate. This will round the result to the defined limit of decimal places More...
|
|
static decimal | Divide (decimal AAmount, decimal AExchangeRate, int ADecimals=DECIMALS) |
| use this method to calculate the new amount, using an exchange rate. This will round the result to the defined limit of decimal places More...
|
|
useful routines that are used on both server and client