Esempio n. 1
0
        /// <summary>
        /// 减少库存明细表库存数量(保存出库时只对可用库存作修改)
        /// </summary>
        /// <param name="p_objDetail">库存明细表内容</param>
        /// <returns></returns>
        internal long m_lngSubStorageDetailAvailaGross(clsMS_StorageDetail[] p_objDetail)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsStorageSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsStorageSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStorageSVC));
            lngRes = objSvc.m_lngSubStorageDetailAvailaGross(objPrincipal, p_objDetail);
            return(lngRes);
        }
Esempio n. 2
0
        /// <summary>
        ///  减少库存明细表库存数量

        /// </summary>
        /// <param name="p_dblAvailaGross">可用库存</param>
        /// <param name="p_strMedicineID">药品ID</param>
        /// <param name="p_strLotNO">药品批号</param>
        /// <param name="p_strInStorageID">入库单据号</param>
        /// <param name="p_dblInPrice">购入单价</param>
        /// <param name="p_dtmValidDate">有效期</param>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <returns></returns>
        internal long m_lngSubStorageDetailAvailaGross(double p_dblAvailaGross, string p_strMedicineID, string p_strLotNO,
                                                       string p_strInStorageID, double p_dblInPrice, DateTime p_dtmValidDate, string p_strStorageID)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsStorageSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsStorageSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStorageSVC));
            lngRes = objSvc.m_lngSubStorageDetailAvailaGross(objPrincipal, p_dblAvailaGross, p_strMedicineID, p_strLotNO, p_strInStorageID, p_dblInPrice, p_dtmValidDate, p_strStorageID);
            return(lngRes);
        }