Ejemplo n.º 1
0
        /// <summary>
        /// 获取明细表内容
        /// </summary>
        /// <param name="p_lngSeries2ID">主表序列</param>
        /// <param name="p_dtbValue">明细表内容</param>
        /// <returns></returns>
        internal long m_lngGetStockPlanDetail(long p_lngSeries2ID, out DataTable p_dtbValue)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC));
            lngRes = objSvc.m_lngGetStockPlanDetail(objPrincipal, p_lngSeries2ID, out p_dtbValue);
            return(lngRes);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 审核申请单
        /// </summary>
        /// <param name="lngSEQ">主表序列</param>
        /// <param name="m_strExamer">审核人</param>
        /// <param name="m_datExamDate">审核时间</param>
        /// <returns></returns>
        internal long m_lngCommitStockPlan(long lngSEQ, string m_strExamer, DateTime m_datExamDate)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC));
            lngRes = objSvc.m_lngCommitStockPlan(objPrincipal, lngSEQ, m_strExamer, m_datExamDate);
            return(lngRes);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 删除指定主表信息
        /// </summary>
        /// <param name="p_lngSeriesID">主表序列</param>
        /// <returns></returns>
        internal long m_lngDeleteMainStockPlan(long[] p_lngSeriesID)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC));
            lngRes = objSvc.m_lngDeleteMainStockPlan(objPrincipal, p_lngSeriesID);
            return(lngRes);
        }
Ejemplo n.º 4
0
        internal long m_lngUnCommit(long[] lngSEQArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC));
            lngRes = objSvc.m_lngUnCommit(objPrincipal, lngSEQArr);
            return(lngRes);
        }
Ejemplo n.º 5
0
        /// <summary>
        /// 插入主表和明细表数据
        /// </summary>
        /// <param name="m_objMainVo"></param>
        /// <param name="m_objDetailArr"></param>
        /// <returns></returns>
        public long m_lngAddNewPlanMedInfo(int m_intCommit, ref clsMS_StockPlan_VO m_objMainVo, ref clsMS_StockPlan_Detail_VO[] m_objDetailArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC));
            lngRes = objSvc.m_lngAddNewPlanMedInfo(objPrincipal, m_intCommit, ref m_objMainVo, ref m_objDetailArr);
            return(lngRes);
        }
Ejemplo n.º 6
0
        internal long m_lngGetDetailForGenerate(string m_strStorageID, ref DataTable dtbResult)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC));
            lngRes = objSvc.m_lngGetDetailForGenerate(objPrincipal, m_strStorageID, ref dtbResult);
            return(lngRes);
        }
Ejemplo n.º 7
0
        /// <summary>
        /// 获取药品最基本信息
        /// </summary>
        /// <param name="p_strAssistCode">查询条件</param>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <param name="p_dtbMedicine">返回结果</param>
        /// <returns></returns>
        internal long m_lngGetBaseMedicine(string p_strAssistCode, string p_strStorageID, out DataTable p_dtbMedicine)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC));
            lngRes = objSvc.m_lngGetBaseMedicineWithGross(objPrincipal, p_strAssistCode, p_strStorageID, out p_dtbMedicine);
            return(lngRes);
        }
Ejemplo n.º 8
0
        /// <summary>
        /// 根据序列号删除药品id
        /// </summary>
        /// <param name="m_lngSeqid"></param>
        /// <returns></returns>
        public long m_lngDelMedDetail(long m_lngSeqid)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC));
            lngRes = objSvc.m_lngDelPlanMedDetail(objPrincipal, m_lngSeqid);
            return(lngRes);
        }
Ejemplo n.º 9
0
        /// <summary>
        /// 获取主表内容
        /// </summary>
        /// <param name="p_dtmBeginDate">查询开始时间</param>
        /// <param name="p_dtmEndDate">查询结束时间</param>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <param name="p_strMedicineName">药品名称</param>
        /// <param name="p_strVendorName">供应商名称</param>
        /// <param name="p_strStockPlanID">单据号</param>
        /// <param name="p_strMedicinePreptype">药品剂型</param>
        /// <param name="p_dtbValue">主表内容</param>
        /// <returns></returns>
        internal long m_lngGetStockPlan(DateTime p_dtmBeginDate, DateTime p_dtmEndDate, string p_strStorageID,
                                        string p_strMedicineName, string p_strVendorName, string p_strStockPlanID, string p_strMedicinePreptype, out DataTable p_dtbValue)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC));
            lngRes = objSvc.m_lngGetStockPlan(objPrincipal, p_dtmBeginDate, p_dtmEndDate, p_strStorageID, p_strMedicineName, p_strVendorName, p_strStockPlanID, p_strMedicinePreptype, out p_dtbValue);
            return(lngRes);
        }
Ejemplo n.º 10
0
 /// <summary>
 /// 获取明细表内容(打印)台山
 /// </summary>
 /// <param name="p_lngSeries2ID">主表序列</param>
 /// <param name="p_intState">单据状态</param>
 /// <param name="p_dtbValue">明细表内容</param>
 internal void m_lngGetStockPlanForPrintTaiShan(long p_lngSeries2ID, int p_intState, out DataTable p_dtbValue)
 {
     com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC objSvc =
         (com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC));
     objSvc.m_lngGetStockPlanForPrintTaiShan(objPrincipal, p_lngSeries2ID, p_intState, out p_dtbValue);
 }
Ejemplo n.º 11
0
 /// <summary>
 /// 自动计算需采购数量
 /// </summary>
 /// <param name="p_strStorageID"></param>
 /// <param name="p_strMedicineID"></param>
 /// <param name="p_intRealAmount"></param>
 /// <param name="p_intTopAmount"></param>
 /// <param name="p_intNeapAmount"></param>
 internal void m_mthGetAmount(string p_strStorageID, string p_strMedicineID, out double p_intRealAmount, out double p_intTopAmount, out double p_intNeapAmount)
 {
     com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC objSvc =
         (com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC));
     objSvc.m_mthGetAmount(objPrincipal, p_strStorageID, p_strMedicineID, out p_intRealAmount, out p_intTopAmount, out p_intNeapAmount);
 }
Ejemplo n.º 12
0
 /// <summary>
 /// 是否已审核
 /// </summary>
 /// <param name="p_strBillNo"></param>
 /// <param name="p_intStatus"></param>
 internal void m_mthGetCommitStatus(string p_strBillNo, out int p_intStatus)
 {
     com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC objSvc =
         (com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsStockPlanSVC));
     objSvc.m_mthGetCommitStatus(objPrincipal, p_strBillNo, out p_intStatus);
 }