public void FilterData(StringBuilder res = null)
        {
            if (DisableBaseFilterData)
            {
                return;
            }
            if (res == null)
            {
                res = GetAutoPropertyFilterString();
            }
            if (res.Length == 0 && vloader.NavigationExpression.Count != 0)
            {
                res.Append("&& All");
            }
            if (res.Length > 0)
            {
                vloader.FilterExpression = res.ToString().Trim().Substring(2).Trim();
            }
            else
            {
                if (vloader.FilterExpression != "All")
                {
                    vloader.FilterExpression = null;
                }
            }

            Customs_Procedure.Refresh();
            NotifyPropertyChanged(x => this.Customs_Procedure);
        }
        internal void OnCurrentDocument_TypeChanged(object sender, SimpleMvvmToolkit.NotificationEventArgs <Document_Type> e)
        {
            if (ViewCurrentDocument_Type == false)
            {
                return;
            }
            if (e.Data == null || e.Data.Document_TypeId == null)
            {
                vloader.FilterExpression = "None";
            }
            else
            {
                vloader.FilterExpression = string.Format("Document_TypeId == {0}", e.Data.Document_TypeId.ToString());
            }

            Customs_Procedure.Refresh();
            NotifyPropertyChanged(x => this.Customs_Procedure);
            // SendMessage(MessageToken.Customs_ProcedureChanged, new NotificationEventArgs(MessageToken.Customs_ProcedureChanged));

            BaseViewModel.Instance.CurrentCustoms_Procedure = null;
        }