已閱讀5頁,還剩76頁未讀, 繼續(xù)免費閱讀
版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 1 頁 / 共 81 頁 中國石化數(shù)據(jù)倉庫項目 數(shù)據(jù)模型設計功能書 采購/價格主題 zmrocpu01 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 2 頁 / 共 81 頁 修改記錄修改記錄 版本版本日期日期作者作者狀態(tài)狀態(tài)審核審核 1.0 2005-6-6 楚榮江編寫設計文檔 芮萍 2.0 2005-7-26楚榮江修改設計文檔芮萍 3.02005-8-08楚榮江修改設計文檔芮萍 4.02005-8-12楚榮江修改設計文檔芮萍 5.02005-8-15芮萍修改設計文檔芮萍 6.02005-9-5芮萍修改設計文檔芮萍 7.02005-09-22吉雅圖修改設計文檔 8.02005-12-1趙珅修改設計文檔 客戶確認客戶確認:_ 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 3 頁 / 共 81 頁 目目錄錄 1.需求描述需求描述 .5 2.數(shù)據(jù)模型(星型結構)數(shù)據(jù)模型(星型結構) .6 3.數(shù)據(jù)模型(技術特性)數(shù)據(jù)模型(技術特性) .7 3.1.特性(ch).7 3.2.時間特性 .8 3.3.關鍵指標 (kf).9 3.4.ods 對象.10 3.5.infocube.1 3.5.1.basiscube 1 3.5.2.multicube 3 3.5.3.remotecube.3 3.6.aggregate.1 無 aggregate應用 .1 4.數(shù)據(jù)源系統(tǒng)分析數(shù)據(jù)源系統(tǒng)分析 .1 5.bw-data flow.6 5.1.data source6 5.1.1.data flow in infocube zmrocpu01 6 5.1.2.data flow in ods zmropu01.7 5.1.3.data flow in ods zmropu02.8 5.1.4.data flow in ods zmrore03(詳細見需求主題文檔)8 5.2.data source9 5.3.transfer rule.10 5.4.update rule.1 5.4.1.infosourceods.1 odsinfocube1 5.5.enhancement.1 6.query.1 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 4 頁 / 共 81 頁 6.1.采購狀況分析(zmrocpu01_ q01) 1 6.2.按分子公司查詢不同供應商的采購分額(zmrocpu01_ q02) 2 6.3.按采購類型查詢采購狀況(zmrocpu01_ q03) 2 6.4.按工程項目查詢采購狀況(zmrocpu01_ q04) 2 6.5.按物料查詢采購狀況 (zmrocpu01_ q05)4 6.6.按物料的價格分析(zmrocpu01_ q51) 2 6.7.供應商供應價格分析(zmrocpu01_ q52) 4 6.8.不同時期的采購價格(zmrocpu01_ q53) 5 6.9.按區(qū)域?qū)Σ煌髽I(yè)的采購價格(zmrocpu01_ q54) 1 6.10.指導價執(zhí)行情況分析(zmrocpu01_ q55) 1 6.11.供應商業(yè)績查詢(zmrocpu01_ q81) 2 6.12.按采購類型查詢供應商業(yè)績(zmrocpu01_ q82) 4 7.web application template6 7.1.class與相應的 template6 7.2.class define6 7.3.code1 7.4.implement1 8.authorization.1 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 5 頁 / 共 81 頁 1.需求需求描述描述 附件附件 下列文件詳細描述了本文檔所涉及的各個部門業(yè)務分析需求: 編號編號文件名稱文件名稱狀態(tài)狀態(tài) 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 6 頁 / 共 81 頁 2.數(shù)據(jù)模型(星型結構)數(shù)據(jù)模型(星型結構) 事實表事實表采購憑證采購憑證 組織結構組織結構 供應商供應商 dimension id 有效的采購訂單價值 采購訂單項數(shù) 訂單數(shù)量 凈價 實際交貨數(shù)量 采購訂單總價值 最后一次交貨日期 異常采購標識 超計劃供貨天數(shù) 數(shù)量 指導性凈價 指導性總價 混合至公司代碼的供 應商編號 采購憑證號 采購憑證的項目編號 上網(wǎng)采購標識 采購憑證批準標識 工程項目編號 采購訂單+行項目號 憑證計劃行的計劃的 交貨日期 上網(wǎng)采購標識標記 采購類型不規(guī)范標記 最后一次入庫日期(c) 公司代碼 工廠 采購組織 單位單位 物料 物料組 物資編碼_公司代碼 時間時間 數(shù)據(jù)請求數(shù)據(jù)請求 基本單位 本地貨幣 日歷天 日歷年/月 日歷年 記帳日期 物料組物料組 數(shù)據(jù)請求包 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 7 頁 / 共 81 頁 3.數(shù)據(jù)模型(技術特性)數(shù)據(jù)模型(技術特性) 3.1.特性特性(ch) generalbexmaster data info-object (ch) techn. namedata type daten- length display- attribute convert .routin text in spalt header auth. relev. master data ? time dependent ? 工廠0plantchar4 采購憑證號zmrebelnnumc10 公司代碼0comp_code char4 物料0materialchar18 x 物料組0matl_grou p char9 x 采購組織0purch_org char4 上網(wǎng)采購標識zmrihrezchar1 采購憑證批準標識zmrfrgkechar1 工程項目編號zmrprjnochar24 x 采購憑證的項目編 號 0oi_ebelpnumc5 采購訂單+行項目 號 zmrpoitemchar15 憑證計劃行的計劃 的交貨日期 0scl_deldat dats8 混合至公司代碼的 供應商編號 0ven_compc char10 x 物資編碼_公司代 碼 zmatcompcchar18 x 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 8 頁 / 共 81 頁 generalbexmaster data info-object (ch) techn. namedata type daten- length display- attribute convert .routin text in spalt header auth. relev. master data ? time dependent ? 采購類型不規(guī)范標 記 zmrnormtchar1 上網(wǎng)采購標識標記 zmrihrezfchar1 最后一次入庫日期 (c) zmrbldatcdats8 供應商0vendor char10x 地理區(qū)域zmrarea char6 物料組大類zmrlarge char9x 專業(yè)類型zmrmajor char9x 物料組中類zmrmedium char9x 3.2. 時間特性時間特性 gerneralbex info-object (ch) techn. name data- type data- length display- attribute? convert .routin text in spalt header auth. relev. others 日歷天0caldaydats8 日歷年/月0calmont h numc6 日歷年0calyearnumc4 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 9 頁 / 共 81 頁 3.3.關鍵指標關鍵指標 (kf) type / unitaggregation info-object (kf) techn. namekf-typeunitaggregation min, max, sum exception- aggregation agg. reference characteristic others 有效的采購訂單價值0order_valamount0loc_currcy 采購訂單項數(shù)0po_itemsnumber 訂單數(shù)量0po_qtyquantity0base_uom 凈價0netpriceamount0loc_currcy 實際交貨數(shù)量0pdlv_qtyquantity0base_uom 采購訂單總價值zmrdmbtramount0loc_currcy 最后一次交貨日期zmrbudatdate 異常采購標識zmrhqflgint4 超計劃供貨天數(shù)zmrdfdayint4 數(shù)量0quantityquantity 指導性凈價zmrnerprcamount0loc_currcy 指導性總價zmrtolprcamount0loc_currcy additional properties info-object (kf) decimal -places displaybex description 有效的采購訂單價值2 采購訂單項數(shù) 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 10 頁 / 共 81 頁 additional properties info-object (kf) decimal -places displaybex description 訂單數(shù)量 凈價 實際交貨數(shù)量 采購訂單總價值2 最后一次交貨日期 異常采購標識 超計劃供貨天數(shù) 數(shù)量3 指導性凈價 指導性總價 3.4.ods 對象對象 ods objecttechn. name key-fieldsdata-fieldspsa-ods update ods-cube aggregation remark 采購憑證信息zmropu010comp_code 0po_qty zmrebeln0netprice 0oi_ebelp0order_val 0loc_currcy 0base_uom zmrdmbtr 0pdlv_qty 0material 0matl_group 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 11 頁 / 共 81 頁 ods objecttechn. name key-fieldsdata-fieldspsa-ods update ods-cube aggregation remark 0plant 0ven_compc 0purch_org 0doctype zmrihrez zmrfrgke 0po_items zmrprjno zmrbudat 0calmonth 0calday 0calyear 0scl_deldat 0gr_date zmrarea 物資采購指導價zmropu020materialzmrnerprc 0calmonthzmrtolprc 0base_uom0loc_currcy 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 1 頁 / 共 81 頁 3.5.infocube no.infocubetechn. nameinfoareabasis-cubemulti-cuberemote-cube 1采購憑證信息zmrocpu01zmro_pu 3.5.1.basiscube basiscube: zmrocipu01 characteristics dimensioncharacteristicsnavigation attribut remark 物料 物料組 物資編碼_公司代碼 物料組大類 物料組中類 專業(yè)類型 物料組 舊物料號 供應商混合至公司代碼的供 應商編號 組織結構工廠 公司代碼區(qū)域 采購組織 采購憑證采購憑證號 采購憑證的項目編號 上網(wǎng)采購標識 采購憑證批準標識 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 2 頁 / 共 81 頁 dimensioncharacteristicsnavigation attribut remark 工程項目編號 采購訂單+行項目號 憑證計劃行的計劃的 交貨日期 上網(wǎng)采購標識標記 采購類型不規(guī)范標記 最后一次入庫日期 (c) 地理區(qū)域地理區(qū)域 time characteristics characteristicstechn. nameremark 日歷天0calday 日歷年/月0calmonth 日歷年0calyear key firgure no.key figuretechn. nameunit 1有效的采購訂單價值0order_val0loc_currcy 2采購訂單項數(shù)0po_items 3訂單數(shù)量0po_qty0base_uom 4凈價0netprice0loc_currcy 5實際交貨數(shù)量0pdlv_qty0base_uom 6采購訂單總價值zmrdmbtr0loc_currcy 7數(shù)量0quantity0unit 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 3 頁 / 共 81 頁 no.key figuretechn. nameunit 8最后一次交貨日期zmrbudat 9異常采購標識zmrhqflg 10超計劃供貨天數(shù)zmrdfday 11指導性凈價zmrnerprc0loc_currcy 12指導性總價zmrtolprc0loc_currcy 3.5.2.multicube multicubetechn. namecharacteristicskey figurerelated basis-cuberemark 無 multicube 應用 3.5.3.remotecube remotecubetechn. namecharacteristicskey figurerelated source system remark 無 remotecube 應用 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 1 頁 / 共 81 頁 3.6.aggregate aggregattechn. namecubecharacteristics/ attribute aggregation levelremark 無 aggregate 應用 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 1 頁 / 共 81 頁 4.數(shù)據(jù)源系統(tǒng)分析數(shù)據(jù)源系統(tǒng)分析 datasource: 以安慶的傳輸規(guī)則為模板以安慶的傳輸規(guī)則為模板 key figure/ characteristics techn. namesourc- system tablefield name數(shù)據(jù)源中的字段描述數(shù)據(jù)源中的字段描述additional text table compounding with others 促銷0rt_promoaktnr促銷 沖銷標識0stornorocancel標識符: 取消數(shù)據(jù)記錄 憑證日期0doc_date bedat采購憑證日期 采購憑證類型0doctypebsart采購憑證類型 采購憑證分類0doc_catbstyp采購憑證分類 記賬日期0pstng_datebudat訂單的已收到貨物或發(fā) 票收取的入帳日期 采購憑證號zmrebelnebeln采購憑證號 采購組0pur_groupekgrp采購組 采購組織0purch_orgekorg采購組織 本位幣0loc_currcyhwaer本位幣 有效期間開始0val_startkdatb有效期開始 有效期末0val_endkdate有效期結束 供應商0ven_compclifnr供應商帳戶號 不同的開發(fā)票方0inv_ptylifre不同的開發(fā)票方 供貨供應商0suppl_vendllief供貨供應商 邏輯系統(tǒng)0log_syslogsy邏輯系統(tǒng) 邏輯采購系統(tǒng)0logsys_purorglogsy 邏輯系統(tǒng) 供應工廠0supp_plantreswk轉(zhuǎn)儲單的供貨(發(fā)出)工 廠 采購憑證狀態(tài)0po_statusstatu采購憑證的狀態(tài) 創(chuàng)建日期0entry_datesydat采購憑證的輸入日期 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 2 頁 / 共 81 頁 key figure/ characteristics techn. namesourc- system tablefield name數(shù)據(jù)源中的字段描述數(shù)據(jù)源中的字段描述additional text table compounding with others 購買訂單貨幣0order_currwaers采購訂單貨幣 匯率0exchg_ratewkurs匯率 訂單原因0pur_reasonbsgru訂單的原因 應用公司0bwapplnmbwapplnm 應用程序組件 bw: 交易碼0processkeybwvorgsap bw 事務代碼 最終的交貨0compl_delelikz“ 交貨已完成 “ 制造商部分0mpn_matnrematn物料編碼 最終發(fā)票0final_inverekz最后發(fā)票標識 合同0contractkonnr重要的采購協(xié)議號 主要協(xié)議的項0cont_itemktpnr基本采購協(xié)議的項目編 號 庫存地點0stor_loclgort庫存地點 基本單位0base_uomlmein基本計量單位 物料組0matl_groupmatkl物料組 物料0materialmatnr物料號碼 訂單單位0po_unitmeins訂單單位 凈價0netpricenetpr凈價 價格單位0price_unitpeinh價格單位 項目類別0itm_catpstyp采購憑證中的項目類別 產(chǎn)品描述0prod_descrtxz01短文本 分母(除數(shù))0denomintrumren訂單單位到基本單位轉(zhuǎn) 換的值 分子0numeratorumrez有關訂貨價格單位轉(zhuǎn)換 為基本單位的分子 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 3 頁 / 共 81 頁 key figure/ characteristics techn. namesourc- system tablefield name數(shù)據(jù)源中的字段描述數(shù)據(jù)源中的字段描述additional text table compounding with others 基于 gr 的發(fā)票確 認 0gr_base_ivwebre標識: 基于收貨的發(fā)票校 驗 工廠0plantwerks工廠 評估收據(jù)結算0eval_r_sxersy評估收據(jù)的結算(ers) 預留刪除標記zmrxloekloekz采購憑證刪除指示 總定單值(定單貨幣) 0pur_grovalbwbrtwr 以訂單貨幣計的全部訂 單值 訂單價值0order_valbweffwr有效訂單值 bw: 采購價值0cppvlcbwgeobw: 本地貨幣的成本值 成本值采購貨幣0cppvocbwgeoobw: 訂單貨幣的成本值 bw: 以本幣計的零 售額 0cpsvlcbwgvobw: 本地貨幣的零售值 以本幣計的銷售價 值 0cpstlcbwgvpbw: 使用本幣的含稅零 售值 小計 10subtot_oc1bwkzwi1從條件定價過程小計 1 小計 20subtot_oc2bwkzwi2從條件定價過程小計 2 小計 30subtot_oc3bwkzwi3從條件定價過程小計 3 小計 40subtot_oc4bwkzwi4從條件定價過程小計 4 小計 50subtot_oc5bwkzwi5從條件定價過程小計 5 小計 60subtot_oc6bwkzwi6從條件定價過程小計 6 批量0batchcharg批次編號 delta po/gr cp0cpdeogpvo c dbwgeo成本增量采購訂單/貨物 收據(jù) 增量 po/gr 定單0cpdeogquo u dbwmng增量采購訂單/收貨按 bun 的數(shù)量 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 4 頁 / 共 81 頁 key figure/ characteristics techn. namesourc- system tablefield name數(shù)據(jù)源中的字段描述數(shù)據(jù)源中的字段描述additional text table compounding with others 計劃行刪除日期0scl_deldateindt項目交貨日期 計劃行0sched_lineetenr交貨計劃行計數(shù)器 催促信編號0no_rmdrsmahnz緊急消息編號 (催付者) 統(tǒng)計日期0stat_dateslfdt相關交貨日的統(tǒng)計 計劃行時間點0sched_timeuzeit時間 凈訂單價值0net_po_valbwnetwr用訂單貨幣計算的凈訂 單值 交貨數(shù)量0pdlv_qtywemng收到貨物數(shù)量 上網(wǎng)采購標識zmrihrezihrez客戶或供應商的內(nèi)部參 考 最后一次交貨日期zmrbudatzmrbudat憑證記帳日期 工程項目編號zmrprjnozprjno項目編號 會計年度變式0fiscvarntperiv會計年度變式 計劃行日期0sched_datescl_bedat 計劃行日期 sas 行的計數(shù)器0no_sclnoscl計劃協(xié)議計劃行的計數(shù) 器 商品供應商0supplierpwlif商品供應商 出票方0inv_partyprest出票方 供貨工廠0sup_plantpliwk已經(jīng)分配合作伙伴角色 的供貨工廠 合作伙伴供應商0partnerplief已經(jīng)分配合作伙伴角色 的供應商 訂貨地址0ord_addrpbest訂單地址 采購訂單數(shù)量0po_qtybwmngbw: 使用訂單單位的數(shù) 量 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 5 頁 / 共 81 頁 datasource: flatfile 文本文件文本文件 key figure/ characteristics techn. namesourc- system tablefield name 數(shù)據(jù)源中的字段描述數(shù)據(jù)源中的字段描述related text table compounding with others 物料0material物料material 本位幣0loc_curr cy 本位幣loc_currcy 日歷年/月0calmonth日歷年/月calmonth 指導價凈價zmrnerpr c 指導價凈價/bic/zmrnerprc 指導價總價zmrtolprc指導價總價/bic/zmrtolprc datasource: :見匯總的主數(shù)據(jù)的數(shù)據(jù)源的分析:見匯總的主數(shù)據(jù)的數(shù)據(jù)源的分析 datasource: :見匯總的主數(shù)據(jù)的數(shù)據(jù)源的分析:見匯總的主數(shù)據(jù)的數(shù)據(jù)源的分析 datasource: :見匯總的主數(shù)據(jù)的數(shù)據(jù)源的分析:見匯總的主數(shù)據(jù)的數(shù)據(jù)源的分析 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 6 頁 / 共 81 頁 5.bw-data flow 5.1.data source 5.1.1.data flow in infocube zmrocpu01 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 7 頁 / 共 81 頁 5.1.2.data flow in ods zmropu01 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 8 頁 / 共 81 頁 5.1.3.data flow in ods zmropu02 5.1.4.data flow in ods zmrore03(詳細見需求主題文檔)(詳細見需求主題文檔) 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 9 頁 / 共 81 頁 5.2.data source data sourcetype b = bct s = inforset v = view f = function modul flatfile infoset/view/ function module name field namedescriptionattribute s = select h = hide d = delta 2lis_02_sclb 0material物料s 0calmonth日歷年/月s 0loc_currcy本位幣 zmrnerprc指導價凈價 zmropu02_t01flatfile zmrtolprc指導價總價 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 10 頁 / 共 81 頁 5.3.transfer rule infosourceinfoobjecttech. namemethod f=trans.-field c=constant r = routine field name/ constant routin description 促銷0rt_promofaktnr 沖銷標識0stornofrocancel 憑證日期0doc_date fbedat 采購憑證類型0doctypefbsart 采購憑證分類0doc_catfbstyp 記賬日期0pstng_datefbudat 采購憑證號zmrebelnfebeln 采購組0pur_groupfekgrp 采購組織0purch_orgfekorg 本位幣0loc_currcyfhwaer 有效期間開始0val_startfkdatb 有效期末0val_endfkdate 供應商0ven_compcflifnr 不同的開發(fā)票方0inv_ptyflifre 供貨供應商0suppl_vendfllief 邏輯系統(tǒng)0log_sysf logsy 邏輯采購系統(tǒng)0logsys_purforglogsy 供應工廠0supp_plantfreswk 采購憑證狀態(tài)0po_statusfstatu 創(chuàng)建日期0entry_datefsydat 2lis_02_scl 購買訂單貨幣0order_currfwaers 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 11 頁 / 共 81 頁 infosourceinfoobjecttech. namemethod f=trans.-field c=constant r = routine field name/ constant routin description 匯率0exchg_ratefwkurs 訂單原因0pur_reasonfbsgru 應用公司0bwapplnmfbwapplnm bw: 交易碼0processkeyfbwvorg 最終的交貨0compl_delfelikz 制造商部分0mpn_matnrfematn 最終發(fā)票0final_invferekz 合同0contractfkonnr 主要協(xié)議的項0cont_itemfktpnr 庫存地點0stor_locflgort 基本單位0base_uomflmein 物料組0matl_groupfmatkl 物料0materialfmatnr 訂單單位0po_unitfmeins 凈價0netpricefnetpr 價格單位0price_unitfpeinh 項目類別0itm_catfpstyp 產(chǎn)品描述0prod_descrftxz01 分母(除數(shù))0denomintrfumren 分子0numeratorfumrez 基于 gr 的發(fā)票確認0gr_base_ivfwebre 工廠0plantfwerks 評估收據(jù)結算0eval_r_sfxersy 預留刪除標記zmrxloekfloekz 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 12 頁 / 共 81 頁 infosourceinfoobjecttech. namemethod f=trans.-field c=constant r = routine field name/ constant routin description 總定單值(定單貨幣)0pur_grovalfbwbrtwr 訂單價值0order_valfbweffwr bw: 采購價值0cppvlcfbwgeo 成本值采購貨幣0cppvocfbwgeoo bw: 以本幣計的零售 額 0cpsvlcfbwgvo 以本幣計的銷售價值0cpstlcfbwgvp 小計 10subtot_oc1fbwkzwi1 小計 20subtot_oc2fbwkzwi2 小計 30subtot_oc3fbwkzwi3 小計 40subtot_oc4fbwkzwi4 小計 50subtot_oc5fbwkzwi5 小計 60subtot_oc6fbwkzwi6 批量0batchfcharg delta po/gr cp0cpdeogpvocfdbwgeo 增量 po/gr 定單0cpdeogquoufdbwmng 計劃行刪除日期0scl_deldatfeindt 計劃行0sched_linefetenr 催促信編號0no_rmdrsfmahnz 統(tǒng)計日期0stat_datefslfdt 計劃行時間點0sched_timefuzeit 凈訂單價值0net_po_valfbwnetwr 交貨數(shù)量0pdlv_qtyfwemng 上網(wǎng)采購標識zmrihrezfihrez 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 13 頁 / 共 81 頁 infosourceinfoobjecttech. namemethod f=trans.-field c=constant r = routine field name/ constant routin description 最后一次交貨日期zmrbudatfzmrbudat 工程項目編號zmrprjnofzprjno 會計年度變式0fiscvarntfperiv 計劃行日期0sched_datefscl_bedat sas 行的計數(shù)器0no_sclfnoscl 商品供應商0supplierfpwlif 出票方0inv_partyfprest 供貨工廠0sup_plantfpliwk 合作伙伴供應商0partnerfplief 訂貨地址0ord_addrfpbest 采購訂單數(shù)量0po_qtyfbwmng 采購憑證批準標識zmrfrgkerfrgke release if tran_structure-frgke eq o or tran_structure-frgke eq r or tran_structure-frgke eq z. result = tran_structure-frgke. else. result = . endif. 地理區(qū)域zmrareac04 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 14 頁 / 共 81 頁 infosourceinfoobjecttech. namemethod f=trans.-field c=constant r = routine field name/ constant routin description 物料0materialfmaterial 本位幣0loc_currcyfloc_currc y 日歷年/月0calmonthfcalmonth 指導價凈價zmrnerprcf/bic/zmrner prc zmropu02_t01 文本文件 指導價總價zmrtolprcf/bic/zmrtol prc 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 1 頁 / 共 81 頁 5.4.update rule 5.4.1.infosourceods start routine loop at data_package. * for zhenhai ,only zzh3 has release process, except zzh4,zzh5. if data_package-plant eq zrcc . data_package-/bic/zmrfrgke = o. endif. if data_package-doctype eq zzh4 or data_package-doctype eq zzh5 . data_package-/bic/zmrfrgke = o. endif. if data_package-/bic/zmrxloek ne or “del. flag data_package-matl_group eq or “material group * item cagetory data_package-itm_cat eq 2 or “consignment data_package-itm_cat eq 7 or “ stock transfer data_package-itm_cat eq 9 or “ service data_package-doctype eq ub or data_package-/bic/zmrfrgke eq or * normal purchasing order - bwvorg = 001. data_package-processkey ne 001 . if data_package-processkey eq 021 and data_package-plant eq zrcc. continue. endif. delete data_package index sy-tabix. endif . endloop. 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 1 頁 / 共 81 頁 key figure odsupdate rulekey figuremethod s = source field c = constant m = master attribut r = routine i = initial value field name/ constant routin description 有效的采購訂單價值s凈采購定單值 result = comm_structure-net_po_val. 采購訂單項數(shù)c1 0po_qty 訂單數(shù)量 s0po_qty 訂單數(shù)量 0netprice 凈價 s0netprice 凈價 zmropu01zmropu01_t01 zmrbudat 最后一次交貨日期 szmrbudat 最后一次交貨日 期 zmrnerprc 指導價凈價 szmrnerprc 指導價凈價 zmropu02zmropu02_t01 zmrtolprc 指導價總價 szmrtolprc 指導價總價 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 1 頁 / 共 81 頁 characteristics and time characteristics odsupdate ruleinfoobjectmethod s=source field c = constant m = master attribute r = routine i = initial value field name/ constant routin description zmropu01zmropu01_t010comp_code 公司代碼 rcompany codecase comm_structure-plant(2). *1* when gq. result = 1670. *2* when sp. result = 2480. *3* when yp. result = 2430. *4* when xz. result = 2150. *5* when yz. result = 2610. *6* 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 2 頁 / 共 81 頁 odsupdate ruleinfoobjectmethod s=source field c = constant m = master attribute r = routine i = initial value field name/ constant routin description when cl. result = 1801. *7* when jl. result = 1710. *8* when ys. result = 1590. when yh. result = 2550. *9* when so. result = 1180. *10* when ap. result = 1880. *11* 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 3 頁 / 共 81 頁 odsupdate ruleinfoobjectmethod s=source field c = constant m = master attribute r = routine i = initial value field name/ constant routin description when jn. result = 2060. *12* when jm. result = 1970. *13* when jo. result = 1460. *14* when zh . result = 2241. when zr . result = 2230. endcase. 0oi_ebelp 采購憑證行項目 編號 s0oi_ebelp 采購憑證的項目編號 0base_uom 基本計量單位 s0base_uom 基本計量單位 0calday 日歷天 s0doc_date 憑證日期 0calmonthr result = comm_structure-doc_date+0(6). 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 4 頁 / 共 81 頁 odsupdate ruleinfoobjectmethod s=source field c = constant m = master attribute r = routine i = initial value field name/ constant routin description 日歷年/月 0calyear 日歷年 r result = comm_structure-doc_date+0(4). 0scl_deldat 憑證計劃行的計 劃的交貨日期 0scl_deldat 憑證計劃行的計劃的 交貨日期 zmrebeln 采購憑證號 szmrebeln 采購憑證號 0plant 工廠 s0plant 工廠 0matl_group 物料組 s0matl_group 物料組 0material 物料 s0material 物料 0purch_org 采購組織 s0purch_org 采購組織 zmrfrgke 采購憑證批準標 識 szmrfrgke 采購憑證批準標識 zmrihrezr if comm_structure-/bic/zmrihrez = . result = n. 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 5 頁 / 共 81 頁 odsupdate ruleinfoobjectmethod s=source field c = constant m = master attribute r = routine i = initial value field name/ constant routin description 上網(wǎng)采購標識 else. result = y. endif. zmrprjno 工程項目編號 szmrprjno 工程項目編號 0doctype 采購憑證類型 s0doctype 采購憑證類型 0ven_compc 混合至公司代碼 的供應商編號 s0ven_compc 混合至公司代碼的供 應商編號 0loc_currcy 本位幣 s0loc_currcy 本位幣 zmrarea 地理區(qū)域 szmrarea 地理區(qū)域 0material 物料 s0material 物料 日歷年/月 0calmonth ryear/month result = comm_structure-doc_date+0(6). 0loc_currcy 本位幣 s0loc_currcy 本位幣 zmropu02zmropu02_t01 基本計量單位s 中國石化 bw 系統(tǒng)試點項目 sinopec_erp 數(shù)據(jù)建模文檔 第 1 頁 / 共 81 頁 odsinfocube start routine采購憑證信息采購憑證信息(8zmropu01) data: code type i. loop at data_package. * reset code = -1. code = -1. if data_package-matl_group = . code = 28. else. case data_package-matl_group+0(2). when 01 or 04 or 20. code = 0. when 02. if data_package-matl_group+0(4) = 0205 or data_package-matl_group+0(4) = 0227. code = 0. else. code = 28. endif. when 06. if data_package-matl_group+0(4) = 0601. code = 0. else. code = 28. endif. when 08. case data_package-matl_group+0(4). when 0801. if data_package-matl_group+0(6) = 080110 or data_package-matl_group+0(6) = 080112 or data_package-matl_group+0(6) = 080114. code = 28. else.
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年度綠色出行解決方案民間擔保借款合同4篇
- 男方協(xié)議離婚書2025年度電子版制作與版權保護合同3篇
- 二零二五年度智能電網(wǎng)設備研發(fā)與銷售合同范本4篇
- 二零二五版內(nèi)資股協(xié)議轉(zhuǎn)讓知識產(chǎn)權保護合同4篇
- 二零二五年度爬架租賃與施工現(xiàn)場環(huán)境保護合同2篇
- 2025年度城市公園綠地日常養(yǎng)護維修服務合同規(guī)范3篇
- 二零二五年度名筑印象住宅電梯品牌代理銷售合同4篇
- 二零二五年內(nèi)蒙古文化旅游融合發(fā)展合同規(guī)范4篇
- 2025年度瓷磚鋪貼與新型建筑材料研發(fā)合同4篇
- 二零二五年度山莊生態(tài)旅游合作開發(fā)合同范本2篇
- 二零二五年度無人駕駛車輛測試合同免責協(xié)議書
- 2025年湖北華中科技大學招聘實驗技術人員52名歷年高頻重點提升(共500題)附帶答案詳解
- 黑龍江省哈爾濱市2024屆中考數(shù)學試卷(含答案)
- 高三日語一輪復習助詞「と」的用法課件
- 毛渣采購合同范例
- 無子女離婚協(xié)議書范文百度網(wǎng)盤
- 2023中華護理學會團體標準-注射相關感染預防與控制
- 五年級上冊小數(shù)遞等式計算200道及答案
- 2024年廣東高考政治真題考點分布匯 總- 高考政治一輪復習
- 燃氣管道年度檢驗報告
- GB/T 44052-2024液壓傳動過濾器性能特性的標識
評論
0/150
提交評論