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;
                }
            }

            AsycudaDocumentEntryDatas.Refresh();
            NotifyPropertyChanged(x => this.AsycudaDocumentEntryDatas);
        }
        // Core Current Entities Changed
        // theorticall don't need this cuz i am inheriting from core entities baseview model so changes should flow up to here
        internal void OnCurrentAsycudaDocumentChanged(object sender, SimpleMvvmToolkit.NotificationEventArgs <AsycudaDocument> e)
        {
            if (e.Data == null || e.Data.ASYCUDA_Id == null)
            {
                vloader.FilterExpression = null;
            }
            else
            {
                vloader.FilterExpression = string.Format("AsycudaDocumentId == {0}", e.Data.ASYCUDA_Id.ToString());
            }

            AsycudaDocumentEntryDatas.Refresh();
            NotifyPropertyChanged(x => this.AsycudaDocumentEntryDatas);
        }
        internal void OnCurrentEntryDataExChanged(object sender, SimpleMvvmToolkit.NotificationEventArgs <EntryDataEx> e)
        {
            if (ViewCurrentEntryDataEx == false)
            {
                return;
            }
            if (e.Data == null || e.Data.InvoiceNo == null)
            {
                vloader.FilterExpression = "None";
            }
            else
            {
                vloader.FilterExpression = string.Format("EntryDataId == \"{0}\"", e.Data.InvoiceNo.ToString());
            }

            AsycudaDocumentEntryDatas.Refresh();
            NotifyPropertyChanged(x => this.AsycudaDocumentEntryDatas);
            // SendMessage(MessageToken.AsycudaDocumentEntryDatasChanged, new NotificationEventArgs(MessageToken.AsycudaDocumentEntryDatasChanged));
        }