Exemplo n.º 1
0
        public static void ClearDocument(string TargetObjectName, string SessionID)
        {
            CustomProfile profile = CustomProfile.GetProfile();

            BrilliantWMS.DocumentService.iUC_AttachDocumentClient DocumentServiceClient = new iUC_AttachDocumentClient();
            DocumentServiceClient.ClearTempData(SessionID, profile.Personal.UserID.ToString(), TargetObjectName + "Document", profile.DBConnection._constr);
            DocumentServiceClient.Close();
        }
Exemplo n.º 2
0
        public void ClearDocument(string TargetObjectName)
        {
            CustomProfile profile = CustomProfile.GetProfile();

            hndDocumentTargetObjectName.Value = TargetObjectName;
            BrilliantWMS.DocumentService.iUC_AttachDocumentClient DocumentServiceClient = new iUC_AttachDocumentClient();
            DocumentServiceClient.ClearTempData(Session.SessionID, profile.Personal.UserID.ToString(), TargetObjectName + "Document", profile.DBConnection._constr);
            DocumentServiceClient.Close();
            GvDocument.DataSource = null;
            GvDocument.DataBind();
        }