Skip to content

feat(android-history): 履歴詳細と PDF にデンソーのかんばん項目を記載する (#111) - #116

Merged
rimtty merged 1 commit into
masterfrom
codex/denso-android-history
Sep 7, 2026
Merged

rimtty merged 1 commit into
masterfrom
codex/denso-android-history

Conversation

@rimtty

@rimtty rimtty commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Closes #111 (parent #106). Builds on #113 / #114.

変更

  • HistoryDeliveryGroups.kt: MatchEntry.densoRecord()detectDestination == DENSO ガード。寛容な KanbanQrRecord.parse がデンソーの QR を澤井として通すため、判定は仕向地で行う)。
  • HistoryPdfContent.kt: appendGroupwhen (destination) にし、DENSO は かんばん 3 行(部品番号 6-4・収容数・指示数 / 次区・指示・納入日・便 / 管理番号・アイテムNo・受入)+ 各箱の記録(かんばん連番を併記)。澤井・モルテンの出力は不変。
  • HistoryExportText.kt / feature/history strings(ja/en)/ HistoryUiText / HistoryUiResources: デンソー項目のラベル 10 個を追加。
  • HistoryScreen.HistoryEntryDetail: when (destination) で DENSO 分岐(13 項目)。管理コードは既存のバーコード節。
  • CodeMatcher.formatPartNumber の既定引数を削除し、全呼び出しが仕向地を明示。

テスト

  • HistoryPdfContentTest +2(JA / EN、カード番号納品番号数 が出ないことも断言)、HistoryDeliveryGroupsTest +1、HistoryExportTextTest(Denso 追加)、HistoryJsonExporterTest +1、HistoryScreenTest +2
  • lintDebug testDebugUnitTest: 446 tests, 0 failures。:app:assembleRelease 成功。Pixel 7 で :feature:history:connectedDebugAndroidTest 17 件緑。

🤖 Generated with Claude Code

…nd PDF

The history detail and the PDF report select the record by the session's
destination instead of the lenient Kanban parse, add a Denso section
with the kanban fields (form type, part number as 6-4, packaging, pack
quantity, next process, instruction, kanban serial, management number,
delivery date, run, instructed quantity, item number, receiving code),
and print the kanban serial with every box. The default destination of
formatPartNumber is removed so every caller names its destination.
Sawai and Molten output is unchanged.

Refs #111
@rimtty
rimtty merged commit 1dddadf into master Sep 7, 2026
3 checks passed
@rimtty
rimtty deleted the codex/denso-android-history branch September 7, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android: 履歴詳細と PDF にデンソーのかんばん項目を記載する

1 participant