|
static GLBatchTDS | CreateABatch (Int32 ALedgerNumber) |
| create a new batch with a consecutive batch number in the ledger, and immediately store the batch and the new number in the database More...
|
|
static GLBatchTDS | CreateARecurringBatch (Int32 ALedgerNumber) |
| create a new recurring batch with a consecutive batch number in the ledger, and immediately store the batch and the new number in the database More...
|
|
static GLBatchTDS | LoadABatch (Int32 ALedgerNumber, int ABatchYear, int ABatchPeriod, string ABatchStatus, int AMaxRecords, out String ACurrencyCode) |
| loads a list of batches for the given ledger; also get the ledger for the base currency etc More...
|
|
static GLBatchTDS | LoadABatch (Int32 ALedgerNumber, Int32 ABatchNumber, out String ACurrencyCode) |
| load the specified batch. this method is called after a batch has been posted. More...
|
|
static GLBatchTDS | LoadABatchAndRelatedTables (Int32 ALedgerNumber, Int32 ABatchNumber) |
| load the specified batch and its journals and transactions and attributes. this method is called after a batch has been posted. More...
|
|
static GLBatchTDS | LoadABatchAJournalATransaction (Int32 ALedgerNumber, Int32 ABatchNumber, out String ACurrencyCode) |
| load the specified batch and its journals and transactions. More...
|
|
static GLBatchTDS | LoadARecurringBatchARecurJournalARecurTransaction (Int32 ALedgerNumber, Int32 ABatchNumber) |
| load the specified batch and its journals and transactions. More...
|
|
static GLBatchTDS | LoadABatchAJournal (Int32 ALedgerNumber, Int32 ABatchNumber) |
| load the specified batch and its journals. More...
|
|
static GLBatchTDS | LoadAJournal (Int32 ALedgerNumber, Int32 ABatchNumber) |
| loads a list of journals for the given ledger and batch More...
|
|
static GLBatchTDS | LoadABatchAJournal (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber) |
| load the specified batch and specified journal. More...
|
|
static GLBatchTDS | LoadAJournal (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber) |
| Loads a journal for the given ledger, batch and journal number More...
|
|
static GLBatchTDS | LoadAJournalATransaction (Int32 ALedgerNumber, Int32 ABatchNumber) |
| loads a list of journals and transactions for the given ledger and batch More...
|
|
static GLBatchTDS | LoadAJournalAndRelatedTablesForBatch (Int32 ALedgerNumber, Int32 ABatchNumber) |
| loads a list of journals for the given ledger and batch More...
|
|
static GLBatchTDS | LoadAJournalAndRelatedTables (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber) |
| loads a list of journals for the given ledger and batch More...
|
|
static GLBatchTDS | LoadARecurringJournalAndRelatedTablesForBatch (Int32 ALedgerNumber, Int32 ABatchNumber) |
| loads a list of recurring journals for the given ledger and recurring batch More...
|
|
static GLBatchTDS | LoadARecurringTransactionAndRelatedTablesForBatch (Int32 ALedgerNumber, Int32 ABatchNumber) |
| loads a list of recurring transactions for the given ledger and recurring batch More...
|
|
static GLBatchTDS | LoadAJournalATransaction (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber) |
| load the specified journal with its transactions. More...
|
|
static GLBatchTDS | LoadARecurringJournalARecurringTransaction (Int32 ALedgerNumber, Int32 ABatchNumber) |
| load the specified journal with its transactions. More...
|
|
static GLBatchTDS | LoadARecurringJournalARecurringTransaction (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber) |
| load the specified journal with its transactions. More...
|
|
static GLBatchTDS | LoadATransactionForJournal (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber) |
| loads a list of transactions for the given ledger and batch and journal More...
|
|
static GLBatchTDS | LoadARecurringTransaction (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber) |
| Load the transactions for the specified journal. More...
|
|
static GLBatchTDS | LoadARecurringTransactionAndRelatedTablesForJournal (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber) |
| Load the transactions for the specified journal. More...
|
|
static GLBatchTDS | LoadATransactionForBatch (Int32 ALedgerNumber, Int32 ABatchNumber) |
| Loads a list of transactions for the given ledger and batch More...
|
|
static GLBatchTDS | LoadARecurringTransaction (Int32 ALedgerNumber, Int32 ABatchNumber) |
| Loads a list of transactions for the given ledger and batch More...
|
|
static GLBatchTDS | LoadATransactionAndRelatedTablesForBatch (Int32 ALedgerNumber, Int32 ABatchNumber) |
| loads a list of transactions for the given ledger and batch with analysis attributes More...
|
|
static GLBatchTDS | LoadATransactionAndRelatedTablesForJournal (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber) |
| loads a list of transactions for the given ledger and batch and journal with analysis attributes More...
|
|
static GLBatchTDS | LoadATransAnalAttribForTransaction (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber, Int32 ATransactionNumber) |
| loads a list of attributes for the given transaction (identified by ledger,batch,journal and transaction number) More...
|
|
static GLBatchTDS | LoadATransAnalAttribForBatch (Int32 ALedgerNumber, Int32 ABatchNumber) |
| loads a list of attributes for the given Batch (identified by ledger,batch) More...
|
|
static GLBatchTDS | LoadATransAnalAttribForJournal (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber) |
| loads a list of attributes for the given Batch (identified by ledger,batch) More...
|
|
static GLSetupTDS | LoadAAnalysisAttributes (Int32 ALedgerNumber, Boolean AActiveOnly=false) |
| loads some necessary analysis attributes tables for the given ledger number More...
|
|
static GLBatchTDS | LoadALedgerTable (Int32 ALedgerNumber) |
| returns ledger table for specified ledger More...
|
|
static GLBatchTDS | LoadARecurringBatch (Int32 ALedgerNumber, TFinanceBatchFilterEnum AFilterBatchStatus) |
| loads a list of batches for the given ledger; also get the ledger for the base currency etc More...
|
|
static GLBatchTDS | LoadARecurringBatchAndRelatedTables (Int32 ALedgerNumber, Int32 ABatchNumber) |
| load the specified recurring batch and its journals and transactions and attributes. this method is called after a batch has been posted. More...
|
|
static GLBatchTDS | LoadARecurringJournal (Int32 ALedgerNumber, Int32 ABatchNumber) |
| loads a list of recurring journals for the given ledger and batch More...
|
|
static GLBatchTDS | LoadARecurringJournal (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber) |
| loads a list of recurring journals for the given ledger and batch More...
|
|
static GLBatchTDS | LoadARecurringTransactionARecurringTransAnalAttrib (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber) |
| loads a list of transactions for the given ledger and batch and journal with analysis attributes More...
|
|
static GLBatchTDS | LoadARecurringTransAnalAttrib (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber, Int32 ATransactionNumber) |
| loads a list of Recurring attributes for the given transaction (identified by ledger,batch,journal and transaction number) More...
|
|
static GLBatchTDS | LoadARecurringTransAnalAttribForBatch (Int32 ALedgerNumber, Int32 ABatchNumber) |
| loads a list of attributes for the given recurring Batch (identified by ledger and batch) More...
|
|
static GLBatchTDS | LoadARecurringTransAnalAttribForJournal (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber) |
| loads a list of attributes for the given recurring Batch Journal (identified by ledger,batch, journal) More...
|
|
static TSubmitChangesResult | SaveGLBatchTDS (ref GLBatchTDS AInspectDS, out TVerificationResultCollection AVerificationResult, TDataBase ADataBase) |
| this will store all new and modified batches, journals, transactions More...
|
|
static bool | MaintainBatches (string action, Int32 ALedgerNumber, Int32 ABatchNumber, string ABatchDescription, DateTime ADateEffective, string ABatchStatus, string TransactionCurrency, Decimal ABatchCreditTotal, Decimal ABatchDebitTotal, out TVerificationResultCollection AVerificationResult, TDataBase ADataBase=null) |
| this will save and delete a batch More...
|
|
static bool | MaintainTransactions (string action, Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber, Int32 ATransactionNumber, string ANarrative, string AReference, DateTime ATransactionDate, Decimal AAmountInBaseCurrency, Decimal AAmountInIntlCurrency, bool ADebitCreditIndicator, string AAccountCode, string ACostCentreCode, out TVerificationResultCollection AVerificationResult, TDataBase ADataBase=null) |
| this will create, save and delete a transaction More...
|
|
static GLBatchTDS | ProcessTransAndAttributesForDeletion (GLBatchTDS AMainDS, Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber, Int32 AHighestTransactionNumber, Int32 ATransactionToDelete) |
| Delete transactions and attributes and renumber accordingly More...
|
|
static GLBatchTDS | ProcessRecurrJrnlTransAttribForDeletion (GLBatchTDS AMainDS, Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AHighestJournalNumber, Int32 AJournalToDelete) |
| Delete recurring journals and transactions and attributes and renumber accordingly More...
|
|
static GLBatchTDS | ProcessRecurringTransAndAttributesForDeletion (GLBatchTDS AMainDS, Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber, Int32 AHighestTransactionNumber, Int32 ATransactionToDelete) |
| Delete transactions and attributes and renumber accordingly More...
|
|
static bool | ReverseBatch (Int32 ALedgerNumber, Int32 ABatchNumberToReverse, DateTime ADateForReversal, out Int32 AReversalBatchNumber, out TVerificationResultCollection AVerifications, bool AAutoPostReverseBatch) |
| reverse a GL Batch More...
|
|
static bool | PostGLBatch (Int32 ALedgerNumber, Int32 ABatchNumber, out TVerificationResultCollection AVerifications) |
| post a GL Batch More...
|
|
static bool | CancelGLBatch (Int32 ALedgerNumber, Int32 ABatchNumber, out TVerificationResultCollection AVerifications) |
| cancel a GL Batch More...
|
|
static bool | TestPostGLBatch (Int32 ALedgerNumber, Int32 ABatchNumber, out TVerificationResultCollection AVerifications, out string ResultingBalances) |
| return a string that shows the balances of the accounts involved, if the GL Batch was posted More...
|
|
static Int32 | SubmitRecurringGLBatch (ref GLBatchTDS AGLMainDS, Hashtable ARequestParams, ref Dictionary< string, decimal >AExchangeRatesDictionary, ref TVerificationResultCollection AVerifications) |
|
static string | GetStandardCostCentre (Int32 ALedgerNumber) |
| return the name of the standard costcentre for the given ledger; this supports up to 4 digit ledgers More...
|
|
static decimal | GetDailyExchangeRate (string ACurrencyFrom, string ACurrencyTo, DateTime ADateEffective) |
| Gets daily exchange rate for the given currencies and date. There is no limit on how 'old' the rate can be. If more than one rate exists on or before the specified date the latest one is returned. This might be old or it might be one of several on the same day. TODO: might even collect the latest exchange rate from the web More...
|
|
static decimal | GetDailyExchangeRate (string ACurrencyFrom, string ACurrencyTo, DateTime ADateEffective, int APriorDaysAllowed, Boolean AEnforceUniqueRate) |
| Gets daily exchange rate for the given currencies and date. The APriorDaysAllwed parameter limits how 'old' the rate can be. The unique rate parameter can ensure that a rate is only returned if there is only one to choose from. TODO: might even collect the latest exchange rate from the web More...
|
|
static decimal | GetCorporateExchangeRate (string ACurrencyFrom, string ACurrencyTo, DateTime AStartDate, DateTime AEndDate) |
| get corporate exchange rate for the given currencies and date; More...
|
|
static bool | GLBatchCanBeCancelled (out GLBatchTDS AMainDS, Int32 ALedgerNumber, Int32 ABatchNumber, out TVerificationResultCollection AVerifications) |
| Tell me whether this Batch can be cancelled More...
|
|
static bool | ExportAllGLBatchData (ArrayList batches, Hashtable requestParams, out String exportString) |
| export all the Data of the batches array list to a String More...
|
|
static bool | ExportGLBatchTransactions (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber, out String AExportExcel) |
| export all transactions of a GL Batch to an Excel file More...
|
|
static bool | ImportGLBatches (Int32 ALedgerNumber, String AImportString, string ADelimiter, string ADateFormatString, string ANumberFormat, string ANewLine, out bool AClientRefreshRequired, out TVerificationResultCollection AVerificationResult) |
| Import GL batch data The data file contents from the client is sent as a string, imported in the database and committed immediately More...
|
|
static bool | ImportGLTransactions (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AJournalNumber, String AImportString, string ADelimiter, string ADateFormatString, string ANumberFormat, string ANewLine, out bool AClientRefreshRequired, out TVerificationResultCollection AVerificationResult) |
| Import GL transaction data The data file contents from the client is sent as a string, imported in the database and committed immediately More...
|
|
static DataTable | GetAccountsForReallocationJournal (int ALedgerNumber, int APeriodNumber) |
| Get current accounts and their current balances for use in the Reallocation Journal dialog More...
|
|
static bool | UpdateBatchTotalsWithLoad (ref GLBatchTDS AMainDS, Int32 ALedgerNumber, Int32 ABatchNumber) |
| Calculate the base amount for the transactions, and update the totals for the journals and the current batch More...
|
|
static bool | UpdateRecurringBatchTotalsWithLoad (ref GLBatchTDS AMainDS, Int32 ALedgerNumber, Int32 ABatchNumber) |
| Calculate the base amount for the transactions, and update the totals for the journals and the current batch More...
|
|