public bool DownloadStaticTables(string sUser, string sSessionId)
        {
            string sRtnMsg = "";
            bool bReturn;
            clsTabletDB.ITPStaticTable clsStatic = new clsTabletDB.ITPStaticTable();

            clsStatic.CheckStaticTable();

            bReturn = FillQuestionnaireMainTable(sSessionId, sUser, ref sRtnMsg);

            if (sRtnMsg != "")
            {
                this.InvokeOnMainThread(() => {
                    iUtils.AlertBox alert = new iUtils.AlertBox();
                    alert.CreateErrorAlertDialog(sRtnMsg);
                });
                return false;
            }

            bReturn = FillITPTypeMainTable(sSessionId, sUser, ref sRtnMsg);

            if (sRtnMsg != "")
            {
                this.InvokeOnMainThread(() => {
                    iUtils.AlertBox alert = new iUtils.AlertBox();
                    alert.CreateErrorAlertDialog(sRtnMsg);
                });
                return false;
            }

            bReturn = FillITPDocumentSectionMainTable(sSessionId, sUser, ref sRtnMsg);

            if (sRtnMsg != "")
            {
                this.InvokeOnMainThread(() => {
                    iUtils.AlertBox alert = new iUtils.AlertBox();
                    alert.CreateErrorAlertDialog(sRtnMsg);
                });
                return false;
            }

            bReturn = FillITPInventoryMainTable(sSessionId, sUser, ref sRtnMsg);

            if (sRtnMsg != "")
            {
                this.InvokeOnMainThread(() => {
                    iUtils.AlertBox alert = new iUtils.AlertBox();
                    alert.CreateErrorAlertDialog(sRtnMsg);
                });
                return false;
            }

            //            bReturn = FillITPInventoryMainTable(sSessionId, sUser, ref sRtnMsg);
            //
            //            if (sRtnMsg != "")
            //            {
            //                this.InvokeOnMainThread(() => {
            //                    iUtils.AlertBox alert = new iUtils.AlertBox();
            //                    alert.CreateErrorAlertDialog(sRtnMsg);
            //                });
            //                return false;
            //            }

            bReturn = FillITPBatteryFuseTypesTable(sSessionId, sUser, ref sRtnMsg);

            if (sRtnMsg != "")
            {
                this.InvokeOnMainThread(() => {
                    iUtils.AlertBox alert = new iUtils.AlertBox();
                    alert.CreateErrorAlertDialog(sRtnMsg);
                });
                return false;
            }

            bReturn = FillITPValidHierarchyTable(sSessionId, sUser, ref sRtnMsg);

            if (sRtnMsg != "")
            {
                this.InvokeOnMainThread(() => {
                    iUtils.AlertBox alert = new iUtils.AlertBox();
                    alert.CreateErrorAlertDialog(sRtnMsg);
                });
                return false;
            }

            return bReturn;
        }