private void test() { ICSM_Orders ios = new ICSM_Orders(); // first order ICSM_ShipData sd = new ICSM_ShipData("name", "delivertoname", "123-456-7890", "company", "address", "city", "st", "zipcode", "0"); ICSM_LineItems lis = new ICSM_LineItems(); ICSM_LineItem li1 = new ICSM_LineItem("AB605-981605-MI", 5); lis.AddNewItem(li1); ICSM_LineItem li2 = new ICSM_LineItem("AB605-982701-MI", 10); lis.AddNewItem(li2); ICSM_Order io1 = new ICSM_Order(lis, sd, "P000002", "MZ4Y3124", "111", "102426", "1", "prospectid", "fedexid"); //second order ICSM_ShipData sd2 = new ICSM_ShipData("name2", "delivertoname2", "987-654-3210", "company2", "address2", "city2", "st2", "zipcode2", "0"); ICSM_LineItems lis2 = new ICSM_LineItems(); ICSM_LineItem li21 = new ICSM_LineItem("AB605-895554", 1); ICSM_LineItem li22 = new ICSM_LineItem("AB605-895553", 2); lis2.AddNewItem(li21); lis2.AddNewItem(li22); ICSM_LineItem li23 = new ICSM_LineItem("AB605-894048", 3); lis2.AddNewItem(li23); ICSM_Order io2 = new ICSM_Order(lis2, sd2, "P000002", "MZ4Y3124", "222", "102426", "1", "prospectid", "fedexid"); ios.Add(io1); ios.Add(io2); SchedLib.InventoryReport ir = new InventoryReport(); ir.ProcessOrdersToICSM(ios, @"E:\test1.xml"); }