// GET: Options/AccountingOptions public ActionResult Index() { int siteCoID = base.siteusercompanyid; ViewBag.CoSalesOrderStatus = db.GetSalesOrderStatusBySiteCoID(siteCoID); ViewBag.CoPorStatus = db.GetPorStatusBySiteCoID(siteCoID); ViewBag.CoDeliveryTypes = db.GetDeliveryTypesBySiteCoID(siteCoID); ViewBag.CoCreditMemoStatus = db.GetCreditMemoStatusBySiteCoID(siteCoID); ViewBag.CoDeliveryStatus = db.GetDeliveryStatusBySiteCoID(siteCoID); ViewBag.CoRmaStatus = db.GetRmaStatusBySiteCoID(siteCoID); ViewBag.CoShippingMethods = db.GetShippingMethodsBySiteCoID(siteCoID); ViewBag.CoCostCodes = db.GetCostCodesBySiteCoID(siteCoID); ViewBag.CoInventoryTemplates = db.GetInventoryTemplatesBySiteCoID(siteCoID); ViewBag.CoShipToList = db.GetShipToListBySiteCoID(siteCoID); ViewBag.CoCustodyLocations = db.GetCustodyLocationsBySiteCoID(siteCoID); ViewBag.CoTaxes = db.GetTaxesBySiteCoID(siteCoID); return(View()); }