OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.Common.ServerLookups.WebConnectors.TFinanceServerLookupWebConnector Class Reference

Performs server-side lookups for the Client in the MFinance.Common.ServerLookups sub-namespace. More...

Static Public Member Functions

static Boolean GetCurrentPeriodDates (Int32 ALedgerNumber, out DateTime AStartDateCurrentPeriod, out DateTime AEndDateCurrentPeriod)
 
static Boolean GetCurrentPostingRangeDates (Int32 ALedgerNumber, out DateTime AStartDateCurrentPeriod, out DateTime AEndDateLastForwardingPeriod)
 Returns starting and ending posting dates for the ledger More...
 
static Boolean HasSuspenseAccounts (Int32 ALedgerNumber)
 return information if ledger with given number has suspense accounts set up More...
 
static Boolean GetPartnerKeyForForeignCostCentreCode (Int32 ALedgerNumber, String ACostCentreCode, out Int64 APartnerKey)
 return partner key associated with cost centre code in a_valid_ledger_number table returns false if cost centre type is not "Foreign" or if cost centre cannot be found in a_valid_ledger_number table More...
 
static string GetLedgerBaseCurrency (Int32 ALedgerNumber, TDataBase ADataBase=null)
 return ledger's base currency More...
 
static void GetForeignCurrencyAccountActuals (ref DataTable AForeignCurrencyAccounts, Int32 ALedgerNumber, Int32 AYear)
 Get Foreign Currency Accounts' YTD Actuals More...
 
static ACurrencyLanguageRow GetCurrencyLanguage (string ACurrencyCode)
 Returns CurrencyLanguageRow for a corresponding currency code More...
 
static bool TypeAheadAccountCode (Int32 ALedgerNumber, string ASearch, bool APostingOnly, bool AExcludePosting, bool AActiveOnly, bool ABankAccountOnly, Int32 ALimit, out DataTable AResult)
 Returns a list of possible candidates for the account code More...
 
static bool TypeAheadCostCentreCode (Int32 ALedgerNumber, string ASearch, bool APostingOnly, bool AExcludePosting, bool AActiveOnly, bool ALocalOnly, bool AIndicateInactive, Int32 ALimit, out DataTable AResult)
 Returns a list of possible candidates for the cost centre code More...
 
static bool TypeAheadMotivationGroup (Int32 ALedgerNumber, string ASearch, Int32 ALimit, out DataTable AResult)
 Returns a list of possible candidates for the motivation group More...
 
static bool TypeAheadMotivationDetail (Int32 ALedgerNumber, string ASearch, Int32 ALimit, out DataTable AResult)
 Returns a list of possible candidates for the motivation detail More...
 

Detailed Description

Performs server-side lookups for the Client in the MFinance.Common.ServerLookups sub-namespace.

Member Function Documentation

◆ GetCurrencyLanguage()

static ACurrencyLanguageRow Ict.Petra.Server.MFinance.Common.ServerLookups.WebConnectors.TFinanceServerLookupWebConnector.GetCurrencyLanguage ( string  ACurrencyCode)
inlinestatic

Returns CurrencyLanguageRow for a corresponding currency code

Parameters
ACurrencyCodeCurrency Code
Returns

◆ GetCurrentPeriodDates()

static Boolean Ict.Petra.Server.MFinance.Common.ServerLookups.WebConnectors.TFinanceServerLookupWebConnector.GetCurrentPeriodDates ( Int32  ALedgerNumber,
out DateTime  AStartDateCurrentPeriod,
out DateTime  AEndDateCurrentPeriod 
)
inlinestatic

Parameters
ALedgerNumber
AStartDateCurrentPeriod
AEndDateCurrentPeriod
Returns

◆ GetCurrentPostingRangeDates()

static Boolean Ict.Petra.Server.MFinance.Common.ServerLookups.WebConnectors.TFinanceServerLookupWebConnector.GetCurrentPostingRangeDates ( Int32  ALedgerNumber,
out DateTime  AStartDateCurrentPeriod,
out DateTime  AEndDateLastForwardingPeriod 
)
inlinestatic

Returns starting and ending posting dates for the ledger

Parameters
ALedgerNumber
AStartDateCurrentPeriod
AEndDateLastForwardingPeriod
Returns
true if good data was returned

◆ GetForeignCurrencyAccountActuals()

static void Ict.Petra.Server.MFinance.Common.ServerLookups.WebConnectors.TFinanceServerLookupWebConnector.GetForeignCurrencyAccountActuals ( ref DataTable  AForeignCurrencyAccounts,
Int32  ALedgerNumber,
Int32  AYear 
)
inlinestatic

Get Foreign Currency Accounts' YTD Actuals

Parameters
AForeignCurrencyAccountsDataTable containing rows of Foreign Currency Accounts
ALedgerNumber
AYear

◆ GetLedgerBaseCurrency()

static string Ict.Petra.Server.MFinance.Common.ServerLookups.WebConnectors.TFinanceServerLookupWebConnector.GetLedgerBaseCurrency ( Int32  ALedgerNumber,
TDataBase  ADataBase = null 
)
inlinestatic

return ledger's base currency

◆ GetPartnerKeyForForeignCostCentreCode()

static Boolean Ict.Petra.Server.MFinance.Common.ServerLookups.WebConnectors.TFinanceServerLookupWebConnector.GetPartnerKeyForForeignCostCentreCode ( Int32  ALedgerNumber,
String  ACostCentreCode,
out Int64  APartnerKey 
)
inlinestatic

return partner key associated with cost centre code in a_valid_ledger_number table returns false if cost centre type is not "Foreign" or if cost centre cannot be found in a_valid_ledger_number table

Parameters
ALedgerNumber
ACostCentreCode
APartnerKey
Returns

◆ HasSuspenseAccounts()

static Boolean Ict.Petra.Server.MFinance.Common.ServerLookups.WebConnectors.TFinanceServerLookupWebConnector.HasSuspenseAccounts ( Int32  ALedgerNumber)
inlinestatic

return information if ledger with given number has suspense accounts set up

Parameters
ALedgerNumber
Returns

◆ TypeAheadAccountCode()

static bool Ict.Petra.Server.MFinance.Common.ServerLookups.WebConnectors.TFinanceServerLookupWebConnector.TypeAheadAccountCode ( Int32  ALedgerNumber,
string  ASearch,
bool  APostingOnly,
bool  AExcludePosting,
bool  AActiveOnly,
bool  ABankAccountOnly,
Int32  ALimit,
out DataTable  AResult 
)
inlinestatic

Returns a list of possible candidates for the account code

◆ TypeAheadCostCentreCode()

static bool Ict.Petra.Server.MFinance.Common.ServerLookups.WebConnectors.TFinanceServerLookupWebConnector.TypeAheadCostCentreCode ( Int32  ALedgerNumber,
string  ASearch,
bool  APostingOnly,
bool  AExcludePosting,
bool  AActiveOnly,
bool  ALocalOnly,
bool  AIndicateInactive,
Int32  ALimit,
out DataTable  AResult 
)
inlinestatic

Returns a list of possible candidates for the cost centre code

◆ TypeAheadMotivationDetail()

static bool Ict.Petra.Server.MFinance.Common.ServerLookups.WebConnectors.TFinanceServerLookupWebConnector.TypeAheadMotivationDetail ( Int32  ALedgerNumber,
string  ASearch,
Int32  ALimit,
out DataTable  AResult 
)
inlinestatic

Returns a list of possible candidates for the motivation detail

◆ TypeAheadMotivationGroup()

static bool Ict.Petra.Server.MFinance.Common.ServerLookups.WebConnectors.TFinanceServerLookupWebConnector.TypeAheadMotivationGroup ( Int32  ALedgerNumber,
string  ASearch,
Int32  ALimit,
out DataTable  AResult 
)
inlinestatic

Returns a list of possible candidates for the motivation group


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