Ejemplo n.º 1
0
        /// <summary>
        /// 获取药品最基本信息
        /// </summary>
        /// <param name="p_strAssistCode">查询条件</param>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <param name="p_dtbMedicine">返回结果</param>
        /// <returns></returns>
        public long m_lngGetBaseMedicine(string p_strAssistCode, string p_strStorageID, out DataTable p_dtbMedicine)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC));
            lngRes = objSvc.m_lngGetBaseMedicine(objPrincipal, p_strAssistCode, p_strStorageID, out p_dtbMedicine);
            return(lngRes);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 设置审核者

        /// </summary>
        /// <param name="p_lngSEQArr">审核药品序列号</param>
        /// <param name="p_strEMPID">审核者ID</param>
        /// <returns></returns>
        internal long m_lngSetCommitUser(long[] p_lngSEQArr, string p_strEMPID)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC));
            lngRes = objSvc.m_lngSetCommitUser(objPrincipal, p_lngSEQArr, p_strEMPID);
            return(lngRes);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 删除指定初始库存
        /// </summary>
        /// <param name="p_lngSEQ">序列号</param>
        /// <returns></returns>
        internal long m_lngDeleteMedicineInitial(long p_lngSEQ)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC));
            lngRes = objSvc.m_lngDeleteMedicineInitial(objPrincipal, p_lngSEQ);
            return(lngRes);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// 修改原始库存
        /// </summary>
        /// <param name="p_objMSVOArr">原始库存</param>
        /// <returns></returns>
        internal long m_lngModifyMedicineInitial(clsMS_MedicineInitial_VO[] p_objMSVOArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC));
            lngRes = objSvc.m_lngModifyMedicineInitial(objPrincipal, p_objMSVOArr);
            return(lngRes);
        }
Ejemplo n.º 5
0
        /// <summary>
        /// 审核药品
        /// </summary>
        /// <param name="p_objDetailArr">库存明细</param>
        /// <param name="p_objStorageArr">库存主表内容</param>
        /// <param name="p_lngSEQArr">审核行序列</param>
        /// <param name="p_strEmpID">审核人ID</param>
        /// <param name="p_blnIsImmAccount">是否审核即入帐</param>
        /// <returns></returns>
        internal long m_lngCommitMedicineInfo(clsMS_StorageDetail[] p_objDetailArr, clsMS_Storage[] p_objStorageArr, long[] p_lngSEQArr, string p_strEmpID, bool p_blnIsImmAccount)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC));
            lngRes = objSvc.m_lngCommitMedicineInfo(objPrincipal, p_objDetailArr, p_objStorageArr, p_lngSEQArr, p_strEmpID, p_blnIsImmAccount);
            return(lngRes);
        }
Ejemplo n.º 6
0
        /// <summary>
        /// 退审

        /// </summary>
        /// <param name="p_lngSEQ">序列</param>
        /// <param name="p_strInitialID">序列</param>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <param name="p_strMedicineID">药品ID</param>
        /// <param name="p_strLotNO">批号</param>
        /// <param name="p_dblInAmount">入库数量</param>
        /// <param name="p_strVendorID">供应商</param>
        /// <param name="p_dcmCallPrice">购入价</param>
        /// <returns></returns>
        internal long m_lngUnCommit(long p_lngSEQ, string p_strInitialID, string p_strStorageID, string p_strMedicineID, string p_strLotNO, double p_dblInAmount, string p_strVendorID, decimal p_dcmCallPrice)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsInventoryRecordSVC));
            lngRes = objSvc.m_lngUnCommit(objPrincipal, p_lngSEQ, p_strInitialID, p_strStorageID, p_strMedicineID, p_strLotNO, p_dblInAmount, p_strVendorID, p_dcmCallPrice);
            return(lngRes);
        }