物資系統模塊及數據表說明

中文字幕精品无码一区二区-黄色伊人-久久精品无码av-男女插插插视频-日韩bbw-永久影院-三级av免费-美国av导航-99成人在线观看-美腿丝袜一区-激情欧美在线观看

  • <menu id="4qs4o"></menu>
  • <samp id="4qs4o"><fieldset id="4qs4o"></fieldset></samp>
  • <samp id="4qs4o"><tfoot id="4qs4o"></tfoot></samp>

  • 獲得積分
    資料庫會員登錄
    搜索: [高級搜索]
    下載首頁 | 資源分類 | 下載排行
    您的位置: 首頁 > 細分領域系統 > 物資 設備 后勤 材料 供應室管理相關
     
    分類導航
    下載排行
    最新資源
    物資系統模塊及數據表說明
    資源大小:12.38 KB 資源類型:文檔
    下載積分: 0
    更多
    -->
    下載統計:總下載:0,本月下載:0,本周下載:0,今日下載:0
    發表評論 錯誤報告 加入收藏夾
    資源介紹
    子系統名稱:WZ
    一、        計劃管理
    1、        采購計劃
    表wz_in_plan
    2、        請領計劃
    表wz_in_plan
    Chis.ini[other]中comm_apply=0[;公共申領端 1:公共申領端;0:非公共申領端]
    如果wz_dict中的trust_flag=’1’ [物資項目維護中的托管標記],則wz_in_plan.in_out_plan=’IN’
    如果是trust_flag=’0’ 則wz_in_plan.in_out_plan=’OUT’
    入庫管理
    1、        采購入庫
    1)入庫單錄入
    A、入庫類型:select * from wz_zd_in_out_type  where in_out_flag=‘IN’and kind=‘1’;保存時寫入wz_in_detl [物資入庫明細表],對應字段in_type
    B、供應商:TagSql=417 ,表:wz_zd_supplyer,綁定的庫帳號 wz_zd_kzh,相關的庫房帳號wz_zd_group;保存對應wz_in_detl的字段supplyer_code、kzh_no、group_no_in
    C、采購人:TagSql=8 ,表:a_employee_mi [人事字典表]
    D、支付方式來自表:select * from zd_cheque_type
    E、物資名稱:TagSql=416 ,相關聯的表:wz_dict [物資字典表]、wz_base [庫存表]、wz_zd_unit [單位]、wz_zd_class [物資分類]、wz_zd_group[庫房帳號]、wz_zd_manufacture[生產廠家];因為wz_dict中不同與yp_dict,其沒有價格,所以第一次入庫,采購價為空,如果第二次入庫,默認取上一次的價格wz_in_detl中的buy_price

    保存數據寫入:wz_in_detl. 入庫序號取自wz_configure的in_seri,對應wz_in_detl.in_seri
    單據號取自wz_configure的in_pageno,對應wz_in_detl.in_docu_no
    第一次Current_stock_amount = buy_amount

    如果入庫類型為:專購入庫,則窗口左下方的內部帳號、請領人激活,系統自動將入庫單轉換為出庫單,寫入wz_in_detl 同時寫入wz_out_detl [出庫明細表]

    2)退貨單錄入
    同入庫單寫入wz_in_detl表中,buy_amount、buy_value為負數;in_type=12 ;out_date=原入庫記錄的in_date,out_seri=原入庫記錄的in_seri

    2、        入庫審核
    1)入庫單據審核
    A、審核保存時update wz_in_detl set check_flag = ''1'',check_oper = ''00000'',stock_amount = (select stock_amount from wz_base where material_code = ''000156'' and group_no = ''10''),stock_value = (select stock_value from wz_base where material_code = ''000156'' and group_no = ''10'') where in_date = ''2007-11-11 10:32:36'' and in_seri = 17
    更改wz_in_detl中的審核標記、審核人、入庫前的庫存量
    B、update wz_base set stock_amount = stock_amount + 100, stock_value = stock_value + 250000 where material_code = '000156' and group_no = '10'
    更改物資庫存表的庫存數量stock_amount、庫存金額stock_value
    2)退貨單據審核
    A、更改wz_in_detl中的審核標記check_flag、審核人check_oper、退貨前的庫存量stock_amount
    B、update wz_in_detl set current_stock_amount = current_stock_amount + -100, current_stock_value = current_stock_value + -100 * 2500 where in_date = '2007-11-11 10:32:36' and in_seri = 17
    更改wz_in_detl的原入庫記錄的當前庫存量current_stock_amount,當前庫存金額current_stock_value [此入庫批次]
    C、更改物資庫存表的庫存數量stock_amount、庫存金額stock_value

    二、        出庫管理
    1、        物資出庫
    1)出庫單錄入
    A、        出庫類型:select * from wz_zd_in_out_type where kind = '2' and code not in ('29','30') and deleted_flag = '0'
    B、        申請科室:TagSql=415 相關表:wz_zd_inner_acct_no [內部帳號] 與 wz_zd_acct_property[帳號屬性]
    C、        可以選擇申請科室的請領單號,數據來自wz_in_plan中的accept_flag = '0' and send_flag='1'
    D、保存數據寫入:wz_out_detl. 出庫序號取自wz_configure的out_seri,對應wz_out_detl.out_seri
    單據號取自wz_configure的out_pageno,對應wz_out_detl.draw_no
    E、update wz_in_detl set current_stock_amount = current_stock_amount - 5, current_stock_value = current_stock_value - 3.851 * 5 where in_date = '2007-01-08 18:34:14' and in_seri = 925
    更改原入庫記錄的庫存量、庫存金額[批次]
    F、更改物資庫存表的庫存數量stock_amount、庫存金額stock_value
    2)退庫單錄入
    A、update wz_in_detl set current_stock_amount = current_stock_amount - -3, current_stock_value = current_stock_value - 3.851 * -3 where in_date = '2007-01-08 18:34:14' and in_seri = 925
    更改原入庫記錄的庫存量、庫存金額[批次]
    B、update wz_base set stock_amount = stock_amount - -3, stock_value = stock_value - 3.851 * -3 where material_code = '000531' and group_no = '10'
    更改物資庫存表的庫存數量stock_amount、庫存金額stock_value
    C、寫入wz_out_detl表中issue_amount 為負數,out_type=’22’

    2、        耐用品登記
    A、        登記類型:SELECT * FROM wz_zd_in_out_type where kind = '3'
    B、        寫入wz_durable_register 表中,分登記和報廢,對應out_type為31和32

    三、        庫存管理
    1、        物資盤點
    A、        盤贏 wz_out_detl中out_type=’41’ ,issue_amount是負數
    B、        盤虧wz_out_detl中out_type=’42’ ,issue_amount是正數

    2、        物資報損
    Wz_out_detl中out_type=’44’ ,issue_amount是正數

    四、        財務
    1、        供應商結款
    Update wz_in_detl set pay_type='1',acct_oper='00000',acct_date='2007-11-11 16:49:39',acct_pageno=1,invoice_no='12' where in_date='2007-11-11 10:32:36' and in_seri=17
    更改wz_in_detl的pay_type[付款類型]、acct_oper[結算員]、acct_date[結算日期]、acct_pageno[結算單據號,來自wz_configure.acct_pageno]、invoice_no[發票號]

    2、        月報
    Report_code=’4301’,調用存儲過程wz_month_report,結帳時update了wz_in_detl、wz_out_detl中的report_date,同時將匯總結果寫入wz_report表中。

    3、        發票查詢

    4、        庫存明細帳

    五、        查詢統計

    六、        數據維護
    1、        物資項目維護 –》wz_dict
    2、        庫存物資維護 –》wz_base
    3、        供應商字典   -》wz_zd_supplyer
    下載地址
     下載地址1
    按字母檢索

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

    免責聲明:
    所有資源只能用于參考學習,不能用于任何商業用途,否則后果自負!
    主站蜘蛛池模板: 叶城县| 无锡市| 姜堰市| 普兰县| 新安县| 紫金县| 河曲县| 南陵县| 铜川市| 浪卡子县| 修武县| 马尔康县| 会泽县| 葫芦岛市| 禄丰县| 临猗县| 合江县| 缙云县| 怀安县| 玛多县| 本溪市| 黔西县| 佛教| 霞浦县| 五莲县| 巧家县| 中超| 石台县| 文登市| 台州市| 循化| 福建省| 利津县| 田阳县| 策勒县| 松桃| 北碚区| 屏山县| 娄底市| 万盛区| 麻城市|