Exemplo n.º 1
0
 public static int GetTrustLiabilityID()
 {
     if (!PLGLAccts.bRead)
     {
         PLGLAccts.ReadTable();
     }
     return(PLGLAccts.m_TrustLiabilityID);
 }
Exemplo n.º 2
0
 public static int GetSuspenseID()
 {
     if (!PLGLAccts.bRead)
     {
         PLGLAccts.ReadTable();
     }
     return(PLGLAccts.m_SuspenseID);
 }
Exemplo n.º 3
0
 public static string GetSuspenseNN()
 {
     if (!PLGLAccts.bRead)
     {
         PLGLAccts.ReadTable();
     }
     return(PLGLAccts.m_SuspenseNN);
 }
Exemplo n.º 4
0
 public static int GetIDFromNN(string Key)
 {
     if (!PLGLAccts.bRead)
     {
         PLGLAccts.ReadTable();
     }
     return(PLGLAccts.m_MapNNtoID.ContainsKey(Key) ? Convert.ToInt32(PLGLAccts.m_MapNNtoID[Key]) : 0);
 }
Exemplo n.º 5
0
 public static string GetNNFromID(int Key)
 {
     if (!PLGLAccts.bRead)
     {
         PLGLAccts.ReadTable();
     }
     return(PLGLAccts.m_MapIDtoNN.ContainsKey(Key) ? PLGLAccts.m_MapIDtoNN[Key].ToString() : "");
 }
Exemplo n.º 6
0
 public static int GetFeesEarnedAccountID()
 {
     if (!PLGLAccts.bRead)
     {
         PLGLAccts.ReadTable();
     }
     return(PLGLAccts.m_FeesEarnedAccountID);
 }
Exemplo n.º 7
0
 public static string GetExpRecovNN()
 {
     if (!PLGLAccts.bRead)
     {
         PLGLAccts.ReadTable();
     }
     return(PLGLAccts.m_ExpRecovNN);
 }
Exemplo n.º 8
0
 public static int GetExpRecovID()
 {
     if (!PLGLAccts.bRead)
     {
         PLGLAccts.ReadTable();
     }
     return(PLGLAccts.m_ExpRecovID);
 }
Exemplo n.º 9
0
 public static string GetARAccountNN()
 {
     if (!PLGLAccts.bRead)
     {
         PLGLAccts.ReadTable();
     }
     return(PLGLAccts.m_ARAccountNN);
 }
Exemplo n.º 10
0
 public static int GetARAccountID()
 {
     if (!PLGLAccts.bRead)
     {
         PLGLAccts.ReadTable();
     }
     return(PLGLAccts.m_ARAccountID);
 }
Exemplo n.º 11
0
        public static string GetQBIDFromPLID(int nID)
        {
            string str;

            if (!nID.Equals(0))
            {
                if (!PLGLAccts.bRead)
                {
                    PLGLAccts.ReadTable();
                }
                str = PLGLAccts.m_MapPLIDtoQBID == null ? "" : (PLGLAccts.m_MapPLIDtoQBID.ContainsKey(nID) ? Convert.ToString(PLGLAccts.m_MapPLIDtoQBID[nID]) : "");
            }
            else
            {
                str = "";
            }
            return(str);
        }
Exemplo n.º 12
0
        public static int GetPLIDFromQBID(string sQBID)
        {
            int num1;

            if (!sQBID.Equals(""))
            {
                if (!PLGLAccts.bRead)
                {
                    PLGLAccts.ReadTable();
                }
                if (PLGLAccts.m_MapPLIDtoQBID == null)
                {
                    num1 = 0;
                }
                else if (PLGLAccts.m_MapPLIDtoQBID.ContainsValue(sQBID))
                {
                    int num2 = 0;
                    Dictionary <int, string> .Enumerator enumerator = PLGLAccts.m_MapPLIDtoQBID.GetEnumerator();
                    while (enumerator.MoveNext())
                    {
                        Dictionary <int, string>   mapPliDtoQbid = PLGLAccts.m_MapPLIDtoQBID;
                        KeyValuePair <int, string> current       = enumerator.Current;
                        if (mapPliDtoQbid[current.Key].ToUpper().CompareTo(sQBID.ToUpper()) == 0)
                        {
                            current = enumerator.Current;
                            num2    = current.Key;
                        }
                    }
                    num1 = num2;
                }
                else
                {
                    num1 = 0;
                }
            }
            else
            {
                num1 = 0;
            }
            return(num1);
        }