public string Binding()
        {
            GridRequestParameters param = GridRequestParameters.Current;

            List <Context.SalesOrder>    items     = RepoSalesOrder.FindAllKonsolidasi();
            List <SalesOrderKonsolidasi> ListModel = new List <SalesOrderKonsolidasi>();

            foreach (Context.SalesOrder item in items)
            {
                SalesOrderKonsolidasi newItem = (new SalesOrderKonsolidasi(item));
                newItem.NamaCustomer = RepoLookupCode.FindByPK(newItem.CustomerId).Nama;
                newItem.KodeNama     = RepoCustomer.FindByPK(newItem.SupplierId.Value).CustomerCodeOld;
                newItem.SupplierName = RepoCustomer.FindByPK(newItem.SupplierId.Value).CustomerNama;
                ListModel.Add(newItem);
            }

            int total = RepoSalesOrder.CountKonsolidasi(param.Filters);

            return(new JavaScriptSerializer().Serialize(new { total = total, data = ListModel }));
        }