Ejemplo n.º 1
0
        public JsonResult StockFromDistributor([FromBody] StockTransferredOut stock)
        {
            string AddedBy = Constant.GetUserID();

            return(Json(StockTransferredOutSQL.TransferStockFromDistributor(stock, AddedBy), JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 2
0
        public JsonResult GetContainerStockLevel()
        {
            string UserID = Constant.GetUserID();

            return(Json(StockTransferredOutSQL.GetContainerStockSummary(UserID), JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 3
0
        public JsonResult TransferStockOut([FromBody] StockTransferredOut stock)
        {
            string AddedBy = Constant.GetUserID();

            return(Json(StockTransferredOutSQL.TransferStockOut(stock, AddedBy)));
        }
Ejemplo n.º 4
0
        public JsonResult GetShopDistributorStock(DateTime FromDate, DateTime ToDate)
        {
            string AddedBy = Constant.GetUserID();

            return(Json(StockTransferredOutSQL.ShopStockFromDistributor(AddedBy, FromDate, ToDate), JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 5
0
        public JsonResult GetStock(string type, DateTime FromDate, DateTime ToDate)
        {
            string UserID = Constant.GetUserID();

            return(Json(StockTransferredOutSQL.StockTransferredOut(type, UserID, FromDate, ToDate), JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 6
0
        public ActionResult ReconcileContainerVariance([FromBody] ContainerStockSummary stock)
        {
            string UserID = Constant.GetUserID();

            return(Json(StockTransferredOutSQL.ReconcileContainerStock(stock, UserID), JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 7
0
        public JsonResult GetVehicleVariances()
        {
            string UserID = Constant.GetUserID();

            return(Json(StockTransferredOutSQL.GetVariances(), JsonRequestBehavior.AllowGet));
        }