Import a Gift Batch
More...
|
bool | ImportGiftBatches (Hashtable ARequestParams, String AImportString, out GiftBatchTDSAGiftDetailTable ANeedRecipientLedgerNumber, out bool AClientRefreshRequired, out TVerificationResultCollection AMessages, TDataBase ADataBase=null) |
| Import Gift batch data The data file contents from the client is sent as a string, imported in the database and committed immediately More...
|
|
bool | ImportGiftTransactions (Hashtable ARequestParams, String AImportString, Int32 AGiftBatchNumber, out GiftBatchTDSAGiftDetailTable ANeedRecipientLedgerNumber, out bool AClientRefreshRequired, out TVerificationResultCollection AMessages) |
| Import Gift Transactions from a file More...
|
|
Int32 | GetLastGiftBatchNumber () |
| returns the most recently imported gift batch More...
|
|
|
static DataTable | GetEsrDefaults () |
| Return the a_esr_defaults table (creating if necessary) for use in importing, or for client side editing. More...
|
|
static Boolean | CommitEsrDefaults (DataTable AEsrDefaults) |
| Commit the ESR defaults table after client side editing. More...
|
|
◆ CommitEsrDefaults()
static Boolean Ict.Petra.Server.MFinance.Gift.TGiftImporting.CommitEsrDefaults |
( |
DataTable |
AEsrDefaults | ) |
|
|
inlinestatic |
Commit the ESR defaults table after client side editing.
- Parameters
-
- Returns
◆ GetEsrDefaults()
static DataTable Ict.Petra.Server.MFinance.Gift.TGiftImporting.GetEsrDefaults |
( |
| ) |
|
|
inlinestatic |
Return the a_esr_defaults table (creating if necessary) for use in importing, or for client side editing.
- Returns
◆ GetLastGiftBatchNumber()
Int32 Ict.Petra.Server.MFinance.Gift.TGiftImporting.GetLastGiftBatchNumber |
( |
| ) |
|
|
inline |
returns the most recently imported gift batch
◆ ImportGiftBatches()
Import Gift batch data The data file contents from the client is sent as a string, imported in the database and committed immediately
- Parameters
-
ARequestParams | Hashtable containing the given params |
AImportString | Big parts of the export file as a simple String |
ANeedRecipientLedgerNumber | Gifts in this table are responsible for failing the import becuase their Family recipients do not have an active Gift Destination |
AClientRefreshRequired | Will be set to true if the client should refresh its data after importing. Normally this will be obvious (because the import was successful) but some handled Exceptions imply that the data has changed behind the client's back! |
AMessages | Additional messages to display in a messagebox |
ADataBase | |
- Returns
- false if error
◆ ImportGiftTransactions()
bool Ict.Petra.Server.MFinance.Gift.TGiftImporting.ImportGiftTransactions |
( |
Hashtable |
ARequestParams, |
|
|
String |
AImportString, |
|
|
Int32 |
AGiftBatchNumber, |
|
|
out GiftBatchTDSAGiftDetailTable |
ANeedRecipientLedgerNumber, |
|
|
out bool |
AClientRefreshRequired, |
|
|
out TVerificationResultCollection |
AMessages |
|
) |
| |
|
inline |
Import Gift Transactions from a file
- Parameters
-
ARequestParams | |
AImportString | |
AGiftBatchNumber | |
ANeedRecipientLedgerNumber | |
AClientRefreshRequired | |
AMessages | |
- Returns
The documentation for this class was generated from the following file: