在线亚洲字幕中文字幕,欧美熟女人妻一区二区三区,欧美一区二区精品少妇

午夜在线视频一区二区-亚洲一区成人免费电影-超碰欧美一区二区三区-大香蕉大香蕉日本大香蕉


      獲得積分
      資料庫會員登錄
      搜索: [高級搜索]
      下載首頁 | 資源分類 | 下載排行
      您的位置: 首頁 > 細分領域系統 > 物資 設備 后勤 材料 供應室管理相關
       
      分類導航
      下載排行
      最新資源
      設備管理系統數據流
      資源大小:12.78 KB 資源類型:文檔
      下載積分: 0
      更多
      -->
      下載統計:總下載:0,本月下載:0,本周下載:0,今日下載:0
      發表評論 錯誤報告 加入收藏夾
      資源介紹
      一、        購增
      1、        設備購增
      1)購增
      設備名稱:TagSql = 419 ,表sb_zd_equipname
      分類:表sb_zd_class
      單位:表sb_zd_unit
      計量:表sb_zd_measure_type
      生產廠家:表sb_zd_manufacture
      折舊類型:表sb_zd_depreciation_type
      入庫序列號:select in_series from sb_configure where kzh_no = '01' 對應sb_in_detl.in_series
      入庫單據號:select in_docu_no from sb_configure where kzh_no = '01'對應sb_in_detl.in_docu_no
      入出類型:SELECT * FROM sb_zd_in_out_type WHERE (in_out_flag = 'IN') AND (kind = 1)
      供應商:表sb_zd_supplyer

      如果入出類型為:購入,則保存時寫入sb_in_detl[入庫明細表],同時寫入sb_main_equipment[主設備表]
      兩表關聯用kzh_no和in_series;sb_main_equipment.state=’02’ 在庫狀態,其字段值來源于sb_zd_state
      如果入出類型為:入舊帳頁,同時寫入sb_move_detl[出庫明細表],而sb_main_equipment.state=’04’ 在用狀態
      Sb_move_detl和sb_main_equipment兩表用equip_id關聯。
      如果一種設備,數量n個,一次入庫。則sb_in_detl中一條記錄,而sb_main_equipment有n條記錄,In_series相同equip_id不同。

      2)退貨
      Sb_in_detl中寫入一條記錄,in_series為原入庫記錄的in_series的負值
      Sb_main_equipment.state=’03’ 退貨狀態
      2、        設備信息

      3、        附件購增
      1)入庫單據號:select appendix_in_docu_no from sb_configure where kzh_no = '01'
      2)Update sb_main_equipment set appendix_flag = '1' where equip_id = '00005605'
      更改主設備信息表的附件標志appendix_flag
      3) sb_appendix[設備附件表]中插入記錄 sb_appendix和sb_main_equipment用equip_id關聯
      系統初始化中:附件價值直接增加到主設備上 ,無效?[sb_configure.add_appendix_to_equip]
      4、        分期付款
      1)設備名稱:TagSql=429 ,查找sb_in_detl.first_pay_value 的記錄。 此原始記錄的為在設備購增的時候,實付金額手工改動的記錄。
      2)付款單據號:select pay_docu_no from sb_configure where kzh_no = '01'
      3)記錄保存在表:sb_pay_detl[分期付款明細表]  與sb_in_detl用kzh_no和in_series關聯。Sb_pay_detl.sum_pay_value為每次付款后的付款總金額,如果大于sb_in_detl.buy_price * sb_in_detl.buy_amount則不能保存。
      5、        設備增貶值
      1)        設備名稱TagSql=424
      2)        增殖:update sb_main_equipment set depre_price = 150300,remain_value = remain_value + 300 where equip_id = '00001069' 更改設備原值和殘值(加),記錄保存在表:sb_value_increment
      3)        貶值:update sb_main_equipment set depre_price = 1900,remain_value = remain_value + -50 where equip_id = '00002042'更改設備原值和殘值(減), 記錄保存在表:sb_value_increment ,字段incre_value為負數
      二、        使用
      1、        出庫調配
      出庫類型:select * from sb_zd_in_out_type where kind like '2'  and in_out_flag like '%'  and deleted_flag like '0'
      用途:select * from sb_zd_usage
      原因:select * from sb_zd_move_cause
      科室地點的TagSql=2
      保存:
      1)更改出庫單號
      Update sb_configure set move_docu_no=SubString(('000'+Convert(char(4),move_docu_no+1)),len('000'+Convert(Char(4),move_docu_no+1))-3,4) where kzh_no = '01'
      2)更改主設備信息表
      update sb_main_equipment set state = '04', usage = '01', inner_acct_no = '1010109', place_dept = '1010109', keep_oper = '', contact_oper = '', allo_unit = Null where equip_id = '00005660'
      update sb_main_equipment set use_date ='2007-11-26' where equip_id = '00005660' and use_date is null
      3)出庫記錄明細表寫入
      sb_move_detl
      2、        設備銷減
      業務類型:select * from sb_zd_in_out_type where kind like '3' and in_out_flag like '%' and deleted_flag like '0'
      銷減原因:select * from sb_zd_move_cause
      保存:
      1)        銷減明細寫入:sb_waste
      2)        更改主設備表的狀態:update sb_main_equipment  set state = '07' where equip_id =  '00005591' and  state = '04'
      3、        附件耗用
      入出類別:select * from sb_zd_in_out_type where kind like '3' and in_out_flag like '%' and deleted_flag like '0'
      保存
      1)更改設備附件表的當前數量
      update sb_appendix set curr_amount = curr_amount - 1 where equip_id = '00001069' and appendix_series = 1
      2)附件耗用明細記錄寫入
      sb_appendix_use
      4、        成本效益
      保存在表:sb_cost_benefit
      三、        維修
      1、        維修登記
      保存在表:sb_maintenance_record
      四、        計量
      1、        計量登記
      保存在表:sb_measure_record
      五、        財務
      1、        月結
      調用7074號報表
      exec sp_executesql N'exec sb_month_report_wj @P1,@P2,@P3,@P4,@P5
      ', N'@P1 datetime,@P2 datetime,@P3 varchar(2),@P4 datetime,@P5 varchar(10)', '10 26 2007 12:00AM', '11 26 2007 12:00AM', '01', '10 26 2007 12:00AM', '全院'
      保存:
      1)        匯總記錄寫在:sb_report
      2)        更改入庫明細表的report_date
      exec sp_executesql N'update sb_in_detl  set specification = @P1, invoice_name = @P2, report_date = @P3
      where in_series = @P4 and kzh_no = @P5 and input_date = @P6
      ', N'@P1 varchar(32),@P2 varchar(50),@P3 datetime,@P4 int,@P5 char(2),@P6 datetime', 'TX100LA', '多普勒胎心監護儀', '11 26 2007  7:10PM', 900, '01', '06 26 2007  3:30PM'
      3)        更改出庫明細表sb_move_detl的report_date
      2、        設備折舊
      預覽調用6052號報表,執行
      exec sp_executesql N'exec sb_depreciation_preview @P1, @P2,@P3,@P4
      ', N'@P1 datetime,@P2 datetime,@P3 varchar(2),@P4 varchar(5)', '11 28 2007 12:00AM', '11 28 2007 12:00AM', '01', '00000'
      保存執行存儲過程:
      exec sb_depreciation '11 28 2007 12:00AM', '11 28 2007 12:00AM', '01', '00000'
      3、        供應商結款
      預結:調用7105號報表
      結款:
      exec sp_executesql N'update sb_in_detl  set
      acct_date = @P1,
      acct_docu_no = @P2,
      acct_oper = @P3
      where
      input_date = @P4 and
      in_docu_no = @P5 and
      supplyer_code = @P6 and
      in_series = @P7 and
      acct_date is null and
      acct_docu_no is null and
      buy_price = @P8 and
      kzh_no = @P9 and
      acct_oper is null
      ', N'@P1 datetime,@P2 char(12),@P3 char(5),@P4 datetime,@P5 char(12),@P6 char(6),@P7 int,@P8 float,@P9 char(2)', '11 26 2007  7:26PM', '200711260001', '00000', '11 26 2007  6:34PM', '200711261704', '000002', 2161, 1.200000000000000e+004, '01'
      4、        折舊變更
      六、        報表
      1、        明細查詢
      2、        查詢統計
      3、        設備卡片
      七、        字典
      1、        設備名稱
      2、        設備分類
      3、        折舊類型
      4、        基本字典
      5、        往來單位
      6、        庫帳號
      7、        內部帳號
      8、        國標分類
      八、        系統
      1、        初始化
      2、        用戶管理
      下載地址
       下載地址1
      按字母檢索

      下載須知:
      大部份資源無需注冊即可下載
      需要積分的資源要在會員中心注冊會員并用 積分體系中提示的方法賺取積分才能下載。

      免責聲明:
      所有資源只能用于參考學習,不能用于任何商業用途,否則后果自負!