Ejemplo n.º 1
0
        /// <summary>
        /// 获取区域客户要货可用额度
        /// </summary>
        /// <param name="ctx"></param>
        /// <param name="custID"></param>
        /// <returns></returns>
        public static double GetQYAmount(Context ctx, string custNo)
        {
            IOrderRequestService service = OrderRequestServiceFactory.GetService <IOrderRequestService>(ctx);
            double QYAmount = service.GetQYAmount(ctx, custNo);

            return(QYAmount);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 获取客户门店可用额度
        /// </summary>
        /// <param name="ctx"></param>
        /// <param name="custNo"></param>
        /// <param name="custID"></param>
        /// <returns></returns>
        public static double GetYJAmount(Context ctx, string custNo, long custID)
        {
            IOrderRequestService service = OrderRequestServiceFactory.GetService <IOrderRequestService>(ctx);
            double YJAmount = service.GetYJAmount(ctx, custNo, custID);

            return(YJAmount);
        }
Ejemplo n.º 3
0
        public static double GetKFQty(Context ctx, long stockOrgId, long masterId, long custID, long baseUnitId, long stockUnitId)
        {
            IOrderRequestService service = OrderRequestServiceFactory.GetService <IOrderRequestService>(ctx);
            double kfQty = service.GetKFQty(ctx, stockOrgId, masterId, custID, baseUnitId, stockUnitId);

            return(kfQty);
        }