Example #1
0
        /// Date Created:   05/Jan/2015
        /// Created By:     Josephine Monteza
        /// (description)   tag record to TblTag_Hotel
        /// -------------------------------------------
        private void TagSeafarer(string sIdBigint, string sTRId, string sBranch, string sRecLoc, string sE1Id, string sStatusOnOff)
        {
            string sUser = uoHiddenFieldUser.Value;
            string sRole = uoHiddenFieldRole.Value;

            string      strLogDescription = "Tag Seafarer To Hotel Service Provider";
            string      strFunction       = "TagSeafarer";
            DateTime    dateNow           = CommonFunctions.GetCurrentDateTime();
            ManifestBLL MBLL = new ManifestBLL();

            MBLL.TagToHotel(GlobalCode.Field2Long(sIdBigint), GlobalCode.Field2Long(sTRId), sRecLoc,
                            GlobalCode.Field2Long(sE1Id), sStatusOnOff, 0, GlobalCode.Field2Long(sBranch),
                            uoHiddenFieldUser.Value, strLogDescription, strFunction, Path.GetFileName(Request.Path),
                            CommonFunctions.GetDateTimeGMT(dateNow), dateNow);

            if (sBranch != "0")
            {
                BindHotelManifest(1);
            }
        }