SparePartsManage

Tables (15)

Line・期別情報 (line_ki_info)

  • Line名 (line_name) — text — NOT NULL
  • 期 (ki) — integer — NOT NULL
  • CPU (cpu) — numeric — NOT NULL
  • 日産生産台数 (masspro) — numeric — NOT NULL
  • 稼働日数 (op_day) — numeric — NOT NULL
  • 部品納期 (order_interval) — numeric — NOT NULL

T_Line_Zoneマスタ (line_zone_master)

  • Zone_No. (zone_no) — text — Primary key — NOT NULL
  • Zone名 (zone_name) — text — NOT NULL
  • Line名 (line_name) — text — NOT NULL

T_納期情報マスタ (parts_delivery_master)

  • 部品番号 (part_no) — text — NOT NULL
  • 部品名称 (part_name) — text — NOT NULL
  • 型式 (part_model) — text — NOT NULL
  • メーカー (manufacturer) — text — NOT NULL
  • 部品単価 (price_per_unit) — numeric — NOT NULL
  • 取引先 (supplier) — text — NOT NULL
  • 部品納期 (part_delivery) — numeric — NOT NULL

T_設備マスタ (mc_master)

  • 設備コード (mc_code) — text — Primary key — NOT NULL
  • Zone_No. (zone_no) — text — Foreign key → T_Line_Zoneマスタ.Zone_No. — NOT NULL
  • 設備名 大分類 (mc_name_upper) — text — NOT NULL
  • 設備名 中分類 (mc_name_lower) — text — NOT NULL
  • CELL数 (cell_quantity) — integer — NOT NULL
  • ディスコン年 (discontinue) — date — NOT NULL
  • HMS設備管理番号 (hms_mc_no) — text — NOT NULL
  • key — text — NOT NULL

⑤設備毎_部品最適予備品数算出情報 (best_stock_info)

  • 部品番号 (part_no) — text
  • 部品名称 (part_name) — text
  • 型式 (part_model) — text
  • メーカー (manufacturer) — text
  • 単価(円) (price_per_unit) — numeric
  • 取引先 (supplier) — text
  • 部品納期 (part_delivery) — text
  • 区分 (maintenance_type) — text
  • 設備コード (mc_code) — text
  • 設備名 大分類 (mc_name_upper) — text
  • 設備名 中分類 (mc_name_lower) — text
  • CELL数 (cell_quantity) — integer
  • Zone_No. (zone_no) — text
  • Zone名 (zone_name) — text
  • Line名 (line_name) — text
  • モジュール (module) — text
  • 期 (ki) — integer
  • CPU (cpu) — numeric
  • 日産生産台数 (masspro) — numeric
  • 稼働日数 (op_day) — numeric
  • 発注間隔 (order_interval) — numeric
  • 停止影響有無 (stop_yn) — text
  • ラインディスコンまで (mc_until_end_y) — numeric
  • 該当設備の生産台数影響 (masspro_loss_mc) — numeric
  • 5年間年平均出庫数 (avg_out_qty_y) — numeric
  • 生産損失台数 (masspro_loss_qty) — numeric
  • 生産損失金額 (masspro_loss_mo) — numeric
  • 生産損失 (masspro_loss_t) — numeric
  • 不良資産額 (bad_assets_mo) — numeric
  • 判定結果 (judge) — text
  • 最適予備品数 (best_stock) — numeric
  • 設定在庫 (set_stock) — numeric
  • 安全在庫 (safety_stock) — numeric
  • 安全係数 (safety_c) — numeric
  • 標準偏差 (standard_d) — numeric
  • 5年間月平均出庫数 (avg_out_qty_m) — numeric
  • 欠品許容率(%) (no_stock_rate) — numeric
  • バラつき幅 (dispersion) — numeric
  • 1年前出庫数_合計 (out_qty_y1) — numeric
  • 2年前出庫数_合計 (out_qty_y2) — numeric
  • 3年前出庫数_合計 (out_qty_y3) — numeric
  • 4年前出庫数_合計 (out_qty_y4) — numeric
  • 5年前出庫数_合計 (out_qty_y5) — numeric

【HMS】入庫履歴 (hms_in_info)

  • 入庫日 (logdate) — date — 本システム|入庫登録|でユーザが指定した「入庫日時」を入力
  • 入庫数 (unit_no) — numeric — 本システム|入庫登録|でユーザが指定した「入庫数」を入力
  • 入庫者 (responsible_person) — text — 本システム|入庫登録|でユーザが指定した「入庫者」を入力
  • 入庫理由 (reason_1) — text — 本システム|入庫登録|でユーザが選択した「入庫理由」を入力 ⇒入力理由は、新規、予備部品0、追加、その他の4択とする
  • 詳細 (reason_2) — text — 本システム|入庫登録|でユーザが入力した入庫理由「詳細」内容を入力
  • 部品番号 (part_no) — text — 本システム|入庫登録|で選択した部品の「部品番号」を入力
  • 部品名称 (part_name) — text — 本システム|入庫登録|で選択した部品の「部品名称」を入力
  • 型式 (part_model) — text — 本システム|入庫登録|で選択した部品の「型式」を入力
  • メーカー (manufacturer) — text — 本システム|入庫登録|で選択した部品の「メーカー」を入力
  • 新古 (part_conditiont) — text — 本システム|入庫登録|で選択した部品の新品/古品/修理品を入力
  • モジュール (module) — text — 本システム|入庫登録|で選択した部品の「モジュール」を入力
  • 倉庫 (stockpile) — text — 本システム|入庫登録|で選択した部品の「倉庫」を入力
  • 棚 (rack) — text — 本システム|入庫登録|で選択した部品の「棚」を入力
  • 在庫数 (stock) — numeric — 本システム|入庫登録|で選択した部品の「在庫数」を入力
  • 単価 (price_per_unit) — numeric — 本システム|入庫登録|で選択した部品の「単価」を入力
  • 備考 (etc) — text — 本システム|入庫登録|で選択した部品の「備考」を入力

【HMS】出庫履歴 (hms_out_info)

  • No (info_no) — integer — 入力制限あり,D列(入力区分)の空欄の先頭行に追加※入力行判定について参照,但し、その行のA列(No)が空欄の場合はエラーとする
  • 反映対象 (reflection) — text
  • 期 (ki) — integer
  • 入力区分 (maintenance_type) — text — 本システムから、操作した画面により、突発/計画のいずれかを入力
  • 管理No (management_no) — text — 本システムから「T」のみ入力,T以降の記載はユーザが行う
  • (空欄) (logtime) — timestamp — ユーザーが本アプリの出庫日時UIにて入力した日時を入力
  • ライン名 (line_name) — text
  • マシン名 (mc_name_upper) — text
  • 設備名 (mc_name_lower) — text
  • R/L (rl) — text
  • 号機No (machine_no) — text
  • UNIT名 (unit_name) — text
  • 稼働開始時間 (operate_datetime) — timestamp — yyyy/mm/dd/ hh:mm
  • 停止時間(分) (stop_time) — numeric
  • 対応者 (responsible_person) — text — 本システム|出庫登録|で選択した1名の名前を入力
  • 異常コード (error_code) — text
  • 事象 (problem) — text
  • 一次原因(何が) (object_1) — text
  • 区分(どうなって) (reason_1) — text
  • 何がおきた (happen_1) — text
  • 真原因(何が) (what_2) — text
  • 区分(どうなって) (object_2) — text
  • 何がおきた (reason_2) — text
  • 区分 (happen_2) — text
  • 処置or対策内容 (measure) — text
  • 型式or図番 (part_model) — text — 本システム|出庫登録|で選択した部品の「型式」を入力
  • 名称 (part_name) — text — 本システム|出庫登録|で選択した部品の「部品名称」を入力
  • メーカー (manufacturer) — text — 本システム|出庫登録|で選択した部品の「メーカー」を入力
  • 数 (unit_no) — numeric — 本システム|出庫登録|でユーザが指定した「出庫数」を入力
  • 単位 (unit) — numeric
  • 新/修/古 (parts_condition) — text — 本システム|出庫登録|で選択した部品の新品/古品/修理品を入力
  • 単価(円) (price_per_unit) — numeric — 本システム|出庫登録|で選択した部品の単価を入力\
  • 総額(円) (whole_price) — numeric — 本システム|出庫登録|でユーザが選択した部品の単価と、指定した「出庫数」を掛けたものを入力
  • 補足 (etc) — text — 本システム|出庫登録|でユーザが入力した出庫理由の「詳細」を入力(課題管理表#3)
  • 不具合理由 (problem_reason) — text — 本システム|出庫登録|でユーザが選択した出庫理由を入力(課題管理表#2)
  • 設備管理No (hms_mc_no) — text — すべての部品で出力
  • ユニットコード (unit_code) — text — 重点管理部品の場合のみ、ユニットコードを出力

【HMS】在庫情報 (hms_stock_info)

  • 部品番号 (part_no) — text
  • 旧部品番号 (part_no_old) — text
  • 部品名称 (part_name) — text
  • 型式 (part_model) — text
  • メーカー (manufacturer) — text
  • 新古 (part_conditiont) — text — 新品/中古/修理品
  • モジュール (module) — text
  • 倉庫 (stockpile) — text
  • 棚 (rack) — text
  • 在庫数 (stock) — integer
  • 部品単価 (price_per_unit) — numeric
  • 備考 (maintenance_type) — text — 備考、突発/突発ダミー/計画/水平展開

不足数情報 (lack_info)

  • 部品番号 (part_no) — text
  • 部品名称 (part_name) — text
  • 型式 (part_model) — text
  • メーカー (manufacturer) — text
  • 部品単価 (price_per_unit) — numeric
  • 取引先 (supplier) — text
  • 部品納期 (part_delivery) — numeric
  • 区分 (maintenance_type) — text
  • 最適予備品数_合計 (best_stock_t) — text
  • 残計画数_合計 (r_plan_t) — numeric
  • 貯蔵数_合計 (stock_t) — numeric
  • 発注数_合計 (order_t) — numeric
  • 不足数_合計 (lack_t) — numeric

在庫情報 (stock_info)

  • 部品番号 (part_no) — text
  • 旧部品番号 (part_no_old) — text
  • 部品名称 (part_name) — text
  • 型式 (part_model) — text
  • メーカー (manufacturer) — text
  • 新古 (part_conditiont) — text — 新品/中古/修理品
  • モジュール (module) — text
  • 倉庫 (stockpile) — text
  • 棚 (rack) — text
  • 在庫数 (stock) — integer
  • 部品単価 (price_per_unit) — numeric
  • 備考 (maintenance_type) — text — 備考、突発/突発ダミー/計画/水平展開

日間入庫出庫情報 (in_out_info_d)

  • 入出庫日時 (logtime) — timestamp
  • 入庫/出庫 (in_out) — text — 入庫/出庫
  • 部品名称 (part_name) — text
  • 型式 (part_model) — text
  • メーカー (manufacturer) — text
  • 倉庫 (stockpile) — text
  • 棚 (rack) — text
  • 管理No (management_no) — text
  • モジュール (module) — text
  • ライン名 (line_name) — text
  • マシン名 (machine_name) — text
  • 設備名 (mc_name) — text
  • R/L (rl) — text
  • 号機No (machine_no) — text
  • UNIT名 (unit_name) — text
  • 区分 (maintenance_type) — text
  • 対応者 (responsible_person) — text
  • 数 (unit_no) — numeric
  • 単位 (unit) — numeric
  • 新/修/古 (parts_condition) — text
  • 単価(円) (price_per_unit) — numeric
  • 総額(円) (whole_price) — numeric
  • 設備管理No (hms_mc_no) — text
  • ユニットコード (unit_code) — text
  • ハンディー出庫部門 (handy_department) — text
  • 使用部門 (user_department) — text
  • 購入部門 (perchase_department) — text
  • メモ (memo) — text

月間入庫出庫情報 (in_out_info_m)

  • 設備コード (mc_code) — text
  • 設備名 大分類 (mc_name_upper) — text
  • 設備名 中分類 (mc_name_lower) — text
  • CELL数 (cell_quantity) — integer
  • Zone_No. (zone_no) — text
  • Zone名 (zone_name) — text
  • Line名 (line_name) — text
  • モジュール (module) — text
  • 部品番号 (part_no) — text
  • 部品名称 (part_name) — text
  • 型式 (part_model) — text
  • メーカー (manufacturer) — text
  • 取引先 (supplier) — text
  • 単位 (unit) — numeric
  • 単価(円) (price_per_unit) — numeric
  • 部品納期 (part_delivery) — text
  • 区分 (maintenance_type) — text
  • 年月 (year_month) — date — yyyy-mm-01
  • 出庫数_月間 (out_qty_m) — numeric
  • 入庫数_月間 (in_qty_m) — numeric

発注数情報_主 (order_info_sum)

  • 注文No. (order_no) — text
  • 発行日 (order_date) — date
  • 期-月 (order_ki_m) — text
  • 発注項目 (order_item) — text
  • 取引先№ (supplier_no) — text
  • 取引先名 (supplier) — text
  • TTL (ttl) — numeric
  • 費用科目No. (expense_item_no) — text
  • 費用科目名 (expense_item) — text
  • 要求課 (user_department) — text
  • 部品交換履歴管理表No. (parts_change_no) — text
  • 区分 (maintenance_type) — text
  • 計画No. (plan_no) — text

発注数情報_副 (order_info)

  • 注文No. (order_no) — text
  • 発行日 (order_date) — date
  • 期-月 (order_ki_m) — text
  • 発注項目 (order_item) — text
  • 取引先№ (supplier_no) — text
  • 取引先名 (supplier) — text
  • TTL (ttl) — numeric
  • 費用科目No. (expense_item_no) — text
  • 費用科目名 (expense_item) — text
  • 要求課 (user_department) — text
  • 部品交換履歴管理表No. (parts_change_no) — text
  • 区分 (maintenance_type) — text
  • 計画No. (plan_no) — text
  • 部品番号 (part_no) — text
  • 部品名称 (part_name) — text
  • 型式 (part_model) — text
  • メーカ (manufacturer) — text
  • 発注数(個) (order_qty) — numeric
  • 希望単価 (d_unit_price) — numeric
  • 希望予算 (d_budget) — numeric
  • 見積金額 (e_unit_price) — numeric
  • 希望納期 (d_deliver) — numeric
  • 受領者 (recipient) — text

計画数情報 (plan_info)

  • 設備コード (mc_code) — text — NOT NULL
  • 設備名 大分類 (mc_name_upper) — text — NOT NULL
  • 設備名 中分類 (mc_name_lower) — text — NOT NULL
  • CELL数 (cell_quantity) — integer — NOT NULL
  • ディスコン年 (discontinue) — date — NOT NULL
  • Zone_No. (zone_no) — text
  • Zone名 (zone_name) — text
  • Line名 (line_name) — text
  • 部品番号 (part_no) — text
  • 部品名称 (part_name) — text
  • 型式 (part_model) — text
  • メーカ (manufacturer) — text
  • 部品単価 (price_per_unit) — numeric
  • 取引先 (supplier) — text
  • 部品納期 (part_delivery) — numeric
  • 区分 (maintenance_type) — text
  • 計画数 (plan_qty) — numeric
  • 計画No. (plan_no) — text
  • 計画日 (plan_day) — date
  • 計画期-月 (plan_ki_m) — text