Repository navigation
Conversation
工順は1000文字、展開先の作業指示は500文字だったため、501文字以上を書いた 工順は PostgreSQL / SQL Server で指図の展開に失敗していた。 API入力とマスタCSVの上限も1000文字に揃え、超える記述は工順の登録で拒否する。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
項目側の対象品目/対象工程に「または」で合致する項目を展開時に自動選択していたため、 品目を指定した項目がその品目の全工程の作業指示に載り、品目と工程の組合せや 同じ工程が2回ある工順の工程ごとの条件を表せなかった(I-30-20-10 とのずれ)。 - 工順の工程と工程管理項目の紐付け(RoutingControlItem)を追加し、展開はこの紐付けどおりに写す - ControlItem から対象品目・対象工程を削除(作業手順書と同じく紐付けは工順側だけに持つ) - 紐付けられるのは有効な項目だけ。紐付け中の項目は単票APIでもCSV取込でも無効化できない - CSV:工程管理項目から TargetProductCode・TargetProcessCode を外し、工順に ControlItemCodes を追加 - 工順画面に工程管理項目の複数選択を追加。自由記述は「補足」として残す - Spec.md 改訂124、サンプルCSV・利用者ガイド・CodeMap を更新 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
工程を追加すると選んだ候補設備・工程管理項目は内部で空にしていたが、 利用者が選んだ選択状態は selected 属性を外しても画面に残るため、 表示だけが前の工程のままになり、選んだつもりで何も紐付かない工程ができた。 工程を追加するたびに一覧を作り直す。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
BOP(工順)の点検で見つかった2点を直す。MES.md の I-30-20-10(BOPに登録された作業に工程管理条件を定義する)、B-30-30-04 に当たる。
1. 工程管理項目の自由記述の長さを揃える(Spec.md 改訂123)
工順は1000文字、展開先の作業指示は500文字だったため、501文字以上を書いた工順は PostgreSQL / SQL Server で指図の展開に失敗していた(SQLiteは長さを守らせないため表に出なかった)。工順・作業指示・API・マスタCSVを1000文字に揃え、超える記述は工順の登録で拒否する。
2. 工程管理項目を工順の工程ごとに紐付ける(Spec.md 改訂124)
項目側の対象品目/対象工程に「または」で合致する項目を展開時に自動選択していたため、次の問題があった。
変更点:
RoutingControlItem(工順の工程×工程管理項目)を追加し、展開はこの紐付けどおりに写すControlItemから対象品目・対象工程を削除(作業手順書と同じく紐付けは工順側だけに持つ)MasterDeactivationPolicy)TargetProductCode・TargetProcessCodeを外し、工順にControlItemCodes(セミコロン区切り)を追加3. 工順画面の複数選択の表示を直す
工程を追加した後、内部の選択は空になるのに選択欄の表示に前の工程の選択が残っていた(候補設備の選択欄も同じ)。工程を追加するたびに一覧を作り直す。
確認
scripts/I18nCheck.ps1取りこぼしなし注意
WidenWorkOrderControlItems・LinkControlItemsToRouting)。本番運用前のため、既存の対象品目/対象工程のデータは移行しない🤖 Generated with Claude Code