public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = CustomerPartNumbers.GetFullProjection()
         .Where<CustomerPartNumbersCriteria>(pn => pn.CustomerNumber == "WWTI001" 
             || pn.CustomerNumber == "WWTI002");
 }
        public void SetUpForAllTests()
        {

            _client = TestHelper.GetTestIdoClient();
            _builder = FromSyteline.UserSession.ConnectionID.UserName.RecordDate.CreateDate;
            _testLoc = TestHelper.GetTestSyteline();
        }
 public void setup()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder =
         FromSyteline.ArInvoices.InvoiceNumber.InvoiceDate.InvoiceTotal.SalesTax.Where<ArInvoicesCriteria>(
             i => i.OrderNumber != "");
 }
 public void SetUpForAllTests()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder =
         Items.GetFullProjection().WithChildren(FromSyteline.JobMaterials.Job.MatlQtyConv.Item.JobItem.Units.LinkBy(
                                                       Items.ItemSuffix, JobMaterials.Suffix).LinkBy(Items.Job, JobMaterials.Job)).Where<JobMaterialsCriteria>(x => x.Job != "");
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder =
         FromSyteline.Warehouses.Address1.Address2.Address3.City.State.Zip.Name.Warehouse.Site.Where<WarehousesCriteria>(x => x.Site == 
             "AUS");
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = ShipToAddress.GetFullProjection().Where<CustomerAddressesCriteria>(x => x.Address1.Contains("St") && x.Address2 == ""  && x.Address2 == null
          && x.Address4 == null && x.City == "Austin"  && x.State.StartsWith("T")
          && x.Zip != ""  && x.CustNum == "FEDEX01"  && x.CustSeq != "");
 }
 public void SetUp()
 {
     _client = TestHelper.GetLiveIdoClient();
     _builder =
         FromSyteline.CustomerPartNumbers.CustomerNumber.CustomerPartNumber 
             .Item.Where<CustomerPartNumbersCriteria>(c => c .CustomerNumber =="WWTI001");
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = ShippedCustomerOrderLineItem.GetFullProjection()
         .Where<ShippedCustomerOrderLineItemCriteria>(x => x.LineNumber == "1"  && x.OrderNumber != "" 
         && x.QtyShipped > 0);
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = FromSyteline.Items.Item.OrderMultiple.UnitWeight.Description.UnitCost.UnitPrice.UoM.DaysSupply
         .Where<ItemsCriteria>(x => x.DaysSupply > 0 
          && x.Item.Contains("FIN") && x.OrderMultiple ==  1   && x.UnitCost > 0 
          && x.UnitWeight > 0  && x.UoM == "EA");
 }
 public void SetUp()
 {
     _client = new SytelineIdoClient(TestHelper.GetTestClientWrapper(),
         new LoadCollectionRequestFactory(),
         new UpdateCollectionRequestFactory(),
         new MethodRequestFactory(),
         new UserSessionService()); 
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     
     _builder = CustomerOrderLineItem.GetFullProjection()
         .Where<CustomerOrderLineItemCriteria>(c => c.LineNumber == "1" 
             && c.OrderNumber == OrderNumber);
     
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = ItemWarehouse.GetFullProjection()
         .Where<ItemWarehouseCriteria>(x => x.Item.Contains("FIN") && x.ItemDescription != null  && x.QtyMrb > 0 
          && x.QtyOrdered > 0  && x.QtyOnHand > 0 && x.QtyReorder > 0 
          && x.QtySoldYtd > 0  && x.QtyWip > 0  && x.RecordDate < DateTime.Today 
          && x.SalesPtd > 0  && x.SalesYtd > 0  && x.TotalQtyOnHand > 0 
          && x.TotalQtyReserved > 0);
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = FromSyteline.Customers.Address1.Address2.BalMethod.BankCode.BranchId.City.Zip
         .Contact.Contact2.Country.County.Currency.CustomerNumber
         .CustomerSequence.CustType.Delterm.DoInvoice.EndUserType
     .InvCategory.InvFreq.Name 
     .RowPointer.ShipCode.Slsman.State
     .TaxCode.TaxRegNum.TermsCode.TerritoryCode.Whse.Where<CustomersCriteria>(c => c .CustomerNumber.StartsWith("WWT"));
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = InvoicedOrders.GetFullProjectionWithLineItems()
         .Where<InvoicedOrdersCriteria>(o => o.Amount  > 0 
         && o.BillType.Contains("A")
         && o.InvDate > DateTime.Parse("1/1/2009") 
         && o.InvDate < DateTime.Today
         && o.InvNum != string.Empty && o.InvSeq == "0"); 
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = FromSyteline.ItemForecast.AvailQty.CreateDate.CreatedBy.ForecastDate.InWorkflow
         .Item.ItemDescription.ItemUOM.NoteExists.OrigQty.ProjectedDate.RecordDate.RowPointer.Status
         .UpdatedBy.Where<ItemForecastCriteria>(f => f.AvailQty > 0 && f.CreateDate < DateTime.Today 
          && f.CreatedBy != null && f.ForecastDate < DateTime.Today  && f.InWorkflow == true 
          && f.Item.StartsWith("FIN") && f.ItemDescription != null  && f.ItemUOM == "EA" &&
         f.NoteExists == true  && f.OrigQty > 0 && f.ProjectedDate < DateTime.Today 
          && f.RecordDate < DateTime.Today && f.RowPointer != null  && f.Status
          != null  && f.UpdatedBy != null) ;
 }
 public void setup()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder =
         FromSyteline.ARPaymentDetail.AlChtAccessUnit1.AlChtAccessUnit2.AlChtAccessUnit3.AlChtAccessUnit4
             .AlChtDescription.AllowAcct.AllowAcctUnit1.AllowAcctUnit2.AllowAcctUnit3.AlChtAccessUnit4
             .CheckAmt.DueDate.RecptDate
             .ParentRowPointer.BankCode.CheckNum.CoNum.CreditMemoNum.DecimalPlaces.CustomerName
             .CustNum.BalMethod.CurrCode.DeChtAccessUnit1.DeChtAccessUnit2
     .DeChtAccessUnit3.DeChtAccessUnit4.DeChtDescription.DepositAcct.DepositAcctUnit1.DepositAcctUnit2
     .DepositAcctUnit3.DepositAcctUnit4.PayTypeCode.DerAvailCustDrft.DerDefaultType
             .AmtBalance.AmtRemaining
             .AllowAmt.AmtApplied.DerOrigForAllowAmt
             .InvNum.InWorkflow.NoteExistsFlag.RecordDate.RowPointer.Site;
 }
 public IEnumerable<ActiveUserSession> GetActiveSessions(SLConfiguration config, ISytelineIdoClient client)
 {
     return client.GetList<ActiveUserSession>(config, getUserSessionBuilder(), mapUserSession);
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = ShippedCustomerOrder.GetFullProjection() .Where<ShippedCustomerOrderCriteria>(s => s.CustomerNumber != "" && s.OrderNumber != null)   ;
 }
 public void SetUpForAllTests()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = FromSyteline.Items.Item.OrderMultiple.UnitWeight.Description.UnitCost.UnitPrice.UoM.DaysSupply
          ;
 }
 public void SetUp()
 {
     _client = TestHelper.GetLiveIdoClient();
     _builder = CustomerOrder.GetFullProjectionWithCustomer()
         .Where<CustomerOrderCriteria>(o => o. OrderNumber =="2343543");
 }
 public void setup()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder =
         ARPayments.GetFullProjection();
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = FromSyteline.Inventory.Item.TotalQtyOnHand.Warehouse.Where<InventoryCriteria>(i => i.Item.StartsWith("FIN") &&
         i.TotalQtyOnHand > 0 && i.Warehouse == ("MAIN"));
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = FromSyteline.Sites.Description.Site.SiteName.Where<SitesCriteria>(x => x.Site != null
          && x.SiteName == "AUS"  && x.Description.Contains("Austin"));
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = FromSyteline.ItemPrice.Item.UnitPrice.BreakPrice1.BreakQty1.Where<ItemPriceCriteria>(x => x.Item.Contains("FIN") && x.UnitPrice > 0);
 }
 public void KillSession(SLConfiguration config, ActiveUserSession session, ISytelineIdoClient client)
 { 
     client.UpdateCollection(config, ToSyteline.UserSession.Action(UpdateAction.Delete),
         FromSyteline.UserSession.Where<UserSessionCriteria>(s => s.ConnectionID == session.ConnectionID));
 }
        public void SetUp()
        {
            _client = TestHelper.GetTestIdoClient();
            _builder = FromSyteline.BlanketOrderLine.OrderNumber.BlanketQty.Item.CustItem;

        }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = FromSyteline.Jobs.Job.JobDate;
 }
 public void SetUp()
 {
     _client = TestHelper.GetIdoClient();
     _builder = null;
 }
 public void SetUp()
 {
     _client = TestHelper.GetTestIdoClient();
     _builder = FromSyteline.PullItem.Item.TriggerPoint.Warehouse.Where<PullItemCriteria>(x => x.Item.StartsWith("FIN")
          &&  x.TriggerPoint != null  && x.Warehouse != null) ;
 }