Ejemplo n.º 1
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_dtmValidDate">有效期</param>
        /// <param name="p_dblInPrice">购入价</param>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <returns></returns>
        internal long m_lngAddStorageDetailAvailaGross(double p_dblAvailaGross, string p_strMedicineID, string p_strLotNO, string p_strInStorageID, DateTime p_dtmValidDate, double p_dblInPrice, 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_lngAddStorageDetailAvailaGross(objPrincipal, p_dblAvailaGross, p_strMedicineID, p_strLotNO, p_strInStorageID, p_dtmValidDate, p_dblInPrice, p_strStorageID);
            return(lngRes);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 添加库存明细表库存数量(可用库存)
        /// </summary>
        /// <param name="p_objOutArr">更改库存VO</param>
        /// <returns></returns>
        internal long m_lngAddStorageDetailAvailaGross(clsMS_StorageGrossForOut[] p_objOutArr)
        {
            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_lngAddStorageDetailAvailaGross(objPrincipal, p_objOutArr);
            return(lngRes);
        }