Пример #1
0
        /// <summary>
        /// 获取出库主表(退药出库)
        /// </summary>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <param name="p_dtmBegin">查询开始时间</param>
        /// <param name="p_dtmEnd">查询结束时间</param>
        /// <param name="p_strVendor">供应商ID或名称</param>
        /// <param name="p_strMedicine">药品ID或名称</param>
        /// <param name="p_dtbOutStorage">出库主表内容</param>
        /// <returns></returns>
        internal long m_lngGetOutStorageMain(string p_strStorageID, DateTime p_dtmBegin, DateTime p_dtmEnd, string p_strVendor, string p_strMedicine, out DataTable p_dtbOutStorage)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC));
            lngRes = objSvc.m_lngGetOutStorageMain(objPrincipal, p_strStorageID, p_dtmBegin, p_dtmEnd, p_strVendor, p_strMedicine, out p_dtbOutStorage);
            return(lngRes);
        }
Пример #2
0
        /// <summary>
        /// 根据药品助记码调入库单

        /// </summary>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <param name="p_strMedicineID">药品ID</param>
        /// <param name="p_strVendorID">供应商ID</param>
        /// <param name="p_dtbInInfo">入库单信息</param>
        /// <returns></returns>
        internal long m_lngCallInStorageInfoByMedicineID(string p_strStorageID, string p_strMedicineID, string p_strVendorID, out DataTable p_dtbInInfo)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC));
            lngRes = objSvc.m_lngCallInStorageInfoByMedicineID(objPrincipal, p_strStorageID, p_strMedicineID, p_strVendorID, out p_dtbInInfo);
            return(lngRes);
        }
Пример #3
0
        /// <summary>
        /// 获取指定药品库存信息
        /// </summary>
        /// <param name="p_strMedicineID">药品ID</param>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <param name="p_strVendorID">供应商ID</param>
        /// <param name="p_objDetailArr">库存信息</param>
        /// <returns></returns>
        internal long m_lngGetStorageMedicineDetail(string p_strMedicineID, string p_strStorageID, string p_strVendorID, out clsMS_StorageDetail[] p_objDetailArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC));
            lngRes = objSvc.m_lngGetStorageMedicineDetail(objPrincipal, p_strMedicineID, p_strStorageID, p_strVendorID, out p_objDetailArr);
            return(lngRes);
        }
Пример #4
0
        /// <summary>
        /// 获取指定药品可用库存总量
        /// </summary>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <param name="p_strMedicineID">药品ID</param>
        /// <param name="p_strVendorID">供应商ID</param>
        /// <param name="p_dblGross">可用库存总量</param>
        /// <returns></returns>
        internal long m_lngGetAvailaGross(string p_strStorageID, string p_strMedicineID, string p_strVendorID, out double p_dblGross)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC));
            lngRes = objSvc.m_lngGetAvailaGross(objPrincipal, p_strStorageID, p_strMedicineID, p_strVendorID, out p_dblGross);
            return(lngRes);
        }
Пример #5
0
        /// <summary>
        /// 获取当前退货次数
        /// </summary>
        /// <param name="p_strMedicineID">药品ID</param>
        /// <param name="p_strLotNO">批号</param>
        /// <param name="p_strInStorageID">入库单据号</param>
        /// <param name="p_intReturnTimes">退货次数</param>
        /// <returns></returns>
        internal long m_lngGetCurrentReturnTimes(string p_strMedicineID, string p_strLotNO, string p_strInStorageID, out int p_intReturnTimes)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsForeignRetreatOutStorageSVC));
            lngRes = objSvc.m_lngGetCurrentReturnTimes(objPrincipal, p_strMedicineID, p_strLotNO, p_strInStorageID, out p_intReturnTimes);
            return(lngRes);
        }